CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2025/05/21 02:41:35

Modified files:
        usr.bin/nc     : nc.1 netcat.c socks.c 

Log message:
add SOCKS4A support to nc(1)'s proxy (-X) mode

SOCKS4A is a fairly obscure extension to the olde SOCKS4 protocol that
allows passing the destination as a string rather than a literal IPv4
address, which is the only thing that vanilla SOCKS4 supports.

The motivation for adding something so niche is to test the SOCKS4A
server code in ssh(1)'s dynamic forwarding (-D) support.

ok tb@

Reply via email to