On Fri, Mar 28, 2014 at 07:07:42PM +0000, Stuart Henderson wrote: > On 2014/03/28 13:53, Michael W. Lucas wrote: > > > > Yep. Lots of users going through proxy. > > > > Ran tcpdump on the proxy. The only packets that arrived from the > > OpenBSD host were my pings. It appeared that the installer wasn't even > > trying to reach the proxy. > > > > Note "appeared that," there could be something else going on. > > > > Earlier upgrades were over FTP, but tried http this time. > > I would try ^Z'ing to isolate the script. Make sure network is up, then > try ftp -d -o- http://proxyhost:3128/ and see if you get packets (obviously > won't get a good page, expect a 400 or similar error, but enough to see > if it can reach it). Then try http_proxy=http://proxyhost:3128/ ftp -d > -o- http://ftp3.usa.openbsd.org/, etc. Basically try a few things to see > if you can isolate exactly what's working and what's failing.
Thanks for the suggestion. Trying the 31 March snapshot now, because it's there. Once again, the installer doesn't send any packets to the proxy. I ^Z out to a shell, then did: # ftp -d -o- http://proxy:8080 Packets arrived at the proxy, and ftp showed an error. I set http_proxy in the shell and do: # cd /mnt/tmp # ftp http://ftp3.usa.openbsd.org/pub/OpenBSD/snapshots/amd64/bsd.rd Packet sniffing on the network shows that the host is trying to reach ftp3.usa directly, without using the proxy. I booted back into the January snapshot and ran the same command: # env | grep -i http FTP_PROXY=http://concrete.lodden.com:8080 ftp_proxy=http://concrete.lodden.com:8080 HTTP_PROXY=http://concrete.lodden.com:8080 http_proxy=http://concrete.lodden.com:8080 ftp http://ftp3.usa.openbsd.org/pub/OpenBSD/snapshots/amd64/bsd.rd Trying 139.171.199.21... Requesting http://ftp3.usa.openbsd.org/pub/OpenBSD/snapshots/amd64/bsd.rd (via http://concrete.lodden.com) 100% |**************************************************| 8810 KB 00:06 9021473 bytes received in 6.32 seconds (1.36 MB/s) (Yes, OpenBSD doesn't need HTTP_PROXY or FTP_PROXY, but I copy my .cshrc everywhere.) So, to my eyes, it appears that ftp on the new snapshot installer isn't respecting http_proxy. ==ml -- Michael W. Lucas - [email protected], Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
