Bug 1325092 - Proxy Configuration dialog ignores credentials when no auth proxy url entered
Summary: Proxy Configuration dialog ignores credentials when no auth proxy url entered
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rhn-client-tools
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Gennadii Altukhov
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-08 08:17 UTC by Jan Stavel
Modified: 2018-04-10 10:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-24 17:56:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jan Stavel 2016-04-08 08:17:41 UTC
Description of problem:

  Given registering a system "RHEL6.8 Snapshot4-1 variant Server" using proxy
  Firstboot connects throught a non auth proxy even "use credentials" is checked on.

  This is a little confusing since it opens a space to make inconsistent settings.
  I (as a customer) wanted to use credentials for proxy but
  I entered wrong proxy url (ie. no auth proxy).
 
  And the program did not inform me about this inconsistency.


Version-Release number of selected component (if applicable):

   RHEL6.8 Snapshot4-1 Server variant

How reproducible:

   everytime

Steps to Reproduce:

   Given Firstboot running at RHEL6.8 Snapshot4-1 - variant Server
   When I clicked "Proxy Setup" at "Choose Service"
   then proxy dialog appeared.

   When I checked "I would like to connect via HTTP proxy"
   and I filled "Proxy Location" using value for non auth proxy (auto-services.usersys.redhat.com:3129)
   and I checked "Use Authentication with HTTP Proxy"
   and I filled  wrong/right credentials
   and I clicked "Close"
   then a dialog was closed.

   When I clicked "Forward"
   and I clicked "Forward" again
   then a program connected throught a proxy even I checked "Use Authentication with HTTP Proxy" and filled credentials.


Actual results:

   Program ignores an inconsistency of values entered in Proxy Dialog.

Expected results:

   Program could inform me that I entered an url of a non auth proxy and I checked that I want to use authorization for proxy.

Comment 1 Chris Snyder 2016-04-08 17:55:13 UTC
The proxy dialog used in firstboot belongs to rhn-client-tools.

Comment 5 Gennadii Altukhov 2016-10-24 16:12:59 UTC
Looks like we will not fix this *bug*.

Technical details:
We use a python's httplib.HTTPConnection on a bottom level. Levels:

1) rpclib to communicate with Satellite/RHN
2) transport for rpclib ("ProxyTransport" in a case of HTTP proxy and credentials provided)
3) connection for transport. We use HTTPProxyConnection - this is just httplib.HTTPConnection with additional header "Proxy-Authorization: Basic <encoded_credentials>".
In a case when proxy doesn't require authentification it ignores this header and returns us a connection. 
So we cannot catch this situation.

Comment 6 RHEL Program Management 2016-10-24 17:56:29 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.