CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2011/02/12 08:54:18
Modified files: usr.bin/nc : socks.c Log message: fix from pr 6207. a bit more of an explanation: we write the correct number of bits when connecting via a SOCKS 5 proxy over ipv6, but we also need to read the same number depending on the received address type. this issue is not noticeable with ssh's SOCKS 5 support since it always set the address type as ipv4. this fixes connections via SOCKS 5 proxies which set their address type as ipv6 when using ipv6. after review with, and ok, nicm@