Up to [local] / src / usr.bin / nc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_0
Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 12 15:54:18 2011 UTC (13 years, 4 months ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.18: +18 -4 lines
Diff to previous 1.18 (colored)
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@