diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2001-09-02 18:45:42 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2001-09-02 18:45:42 +0000 |
commit | 6fbeb2c8afe193f2bc2f54b45b487b25022e5cc3 (patch) | |
tree | 523a05d73e2fd62efebfe0eee0738ba5fd381498 /usr.bin/nc/nc.1 | |
parent | faecfeb180b3e650f99842d6b05dd69cf1858e77 (diff) |
add very basic proxy support using socks5 client code from niklas@.
ok ericj@.
Diffstat (limited to 'usr.bin/nc/nc.1')
-rw-r--r-- | usr.bin/nc/nc.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1 index 53fc6ecfb5a..3025e99c4b9 100644 --- a/usr.bin/nc/nc.1 +++ b/usr.bin/nc/nc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.18 2001/08/30 16:31:51 krw Exp $ +.\" $OpenBSD: nc.1,v 1.19 2001/09/02 18:45:41 jakob Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. @@ -37,6 +37,7 @@ .Op Fl i Ar interval .Op Fl p Ar source port .Op Fl s Ar source ip address +.Op Fl x Ar proxy address Op :port .Op Fl w Ar timeout .Op Ar hostname .Op Ar port[s] @@ -127,6 +128,13 @@ Use UDP instead of the default option of TCP. Have .Nm give more verbose output. +.It Fl x Ar proxy address Op :port +Requests that +.Nm +should connect to +.Ar hostname +using a socks5 proxy at address and port. +If port is not specified, port 1080 is used. .It Fl z Specifies that .Nm |