View previous topic :: View next topic |
Author |
Message |
kreatuur n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 May 2005 Posts: 2 Location: South Africa :)
|
Posted: Mon May 02, 2005 8:04 pm Post subject: Squid proxy authentication not working |
|
|
Although i have my environment variable set with Code: | export HTTP_PROXY="http://username:password@myproxy.co.za:8080" | i can't seem to access any web sites via lynx or links2 etc. This is weird since Mozilla authentication, as well as most browser types, work just fine. Telnetting to the proxy server on 8080 swallows every request (ie CONNECT etc)
The proxy server in question runs squid/2.5.STABLE4. Can someone advise on how to get it to work? thx ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
-Craig- Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 03 Jun 2004 Posts: 333
|
Posted: Mon May 02, 2005 8:47 pm Post subject: |
|
|
I would do this:
- run tcpdump, or ethereal
- sniff the packets when I use wget
- sniff the packets when I use mozilla
- compare |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kreatuur n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 May 2005 Posts: 2 Location: South Africa :)
|
Posted: Tue May 03, 2005 11:36 am Post subject: |
|
|
Haven't played around much with the TCP packet construction yet. Lemme figure it out first... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
think4urs11 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8534934054bad29b51e5fa.jpg)
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Tue May 03, 2005 9:53 pm Post subject: |
|
|
Hi,
1) use lower case for the variable - makes http_proxy instead of HTTP_PROXY
2) set username/password for your proxy in /etc/wget/wgetrc, remove from the export
HTH
T. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|