Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squid proxy authentication not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kreatuur
n00b
n00b


Joined: 02 May 2005
Posts: 2
Location: South Africa :)

PostPosted: Mon May 02, 2005 8:04 pm    Post subject: Squid proxy authentication not working Reply with quote

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 :lol:
Back to top
View user's profile Send private message
-Craig-
Guru
Guru


Joined: 03 Jun 2004
Posts: 333

PostPosted: Mon May 02, 2005 8:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
kreatuur
n00b
n00b


Joined: 02 May 2005
Posts: 2
Location: South Africa :)

PostPosted: Tue May 03, 2005 11:36 am    Post subject: Reply with quote

Haven't played around much with the TCP packet construction yet. Lemme figure it out first...
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue May 03, 2005 9:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum