Ok, thanks. I've traced the network exchange between client and Squid. Here is containing of http level, as shown by Wireshark: After the classical Syn, Syn/Ack, Ack: Frame #3) Client --> Squid CONNECT www.rsync-test-site.com:873 HTTP/1.0\r\n Request Method: CONNECT Request URI: www.rsync-test-site.com:873 Request Version: HTTP/1.0 Proxy-Authorization: Basic xxxxxxxxxxxx\r\n Credentials: http://user:password Frame #4) Squid --> Client HTTP/1.0 407 Proxy Authentication Required\r\n Request Version: HTTP/1.0 Response Code: 407 Server: squid/2.6.STABLE18\r\n Content-Type: text/html\r\n Content-Length: 1288 X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0\r\n Proxy-Authenticate: Basic realm="Squid proxy-caching web server"\r\n X-Cache: MISS from localhost\r\n Proxy-Connection: close\r\n Next Frames #*) Closing the tcp connexion In frame #3, I can read my correct user and password. I also opened a discussion on the rsync user list, but no answer for the moment. I'm ready to give more trace or debug if needed. Regards, Jean-Jacques -----Message d'origine----- De : Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx] Envoyé : mardi 27 mai 2008 10:54 À : Jean-Jacques ROUGET Cc : squid-users@xxxxxxxxxxxxxxx Objet : Re: squid , rsync and authentication Jean-Jacques ROUGET wrote: > Hello, > > I'm trying downloading file with rsync through a squid proxy > squid-2.6.STABLE18. > Squid authenticates users so I fill in RSYNC_PROXY. > To ensure there's no mistake with user or password, I fill in http_proxy > in the same manner (copy/paste). > Using wget is OK. > Using rsync always return the following: > bad response from proxy -- HTTP/1.0 407 Proxy Authentication > The squid logs also report this 407 code. > > Anybody knows where I'm wrong or what's wrong? Rsync is not passing the authentication details on in the Proxy_Authentication headers properly. You could trace the HTTP request sent by rsync and try to figure it out. It's probably an issue that needs discussing on the rsync user lists. Amos -- Please use Squid 2.6.STABLE20 or 3.0.STABLE5