diff options
author | jakob <> | 2001-09-02 18:45:41 +0000 |
---|---|---|
committer | jakob <> | 2001-09-02 18:45:41 +0000 |
commit | 90d432ac9607940d576a7a7e658ba0ff6a86c271 (patch) | |
tree | 2d2c1927b752de246c54ae351e631eb2be7443a2 /src/usr.bin/nc/nc.1 | |
parent | 7543c16b6ed60668d4550f8d2acb04dc0a07190b (diff) | |
download | openbsd-90d432ac9607940d576a7a7e658ba0ff6a86c271.tar.gz openbsd-90d432ac9607940d576a7a7e658ba0ff6a86c271.tar.bz2 openbsd-90d432ac9607940d576a7a7e658ba0ff6a86c271.zip |
add very basic proxy support using socks5 client code from niklas@.
ok ericj@.
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r-- | src/usr.bin/nc/nc.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index 53fc6ecfb5..3025e99c4b 100644 --- a/src/usr.bin/nc/nc.1 +++ b/src/usr.bin/nc/nc.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: nc.1,v 1.18 2001/08/30 16:31:51 krw Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.19 2001/09/02 18:45:41 jakob Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1996 David Sacerdote | 3 | .\" Copyright (c) 1996 David Sacerdote |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -37,6 +37,7 @@ | |||
37 | .Op Fl i Ar interval | 37 | .Op Fl i Ar interval |
38 | .Op Fl p Ar source port | 38 | .Op Fl p Ar source port |
39 | .Op Fl s Ar source ip address | 39 | .Op Fl s Ar source ip address |
40 | .Op Fl x Ar proxy address Op :port | ||
40 | .Op Fl w Ar timeout | 41 | .Op Fl w Ar timeout |
41 | .Op Ar hostname | 42 | .Op Ar hostname |
42 | .Op Ar port[s] | 43 | .Op Ar port[s] |
@@ -127,6 +128,13 @@ Use UDP instead of the default option of TCP. | |||
127 | Have | 128 | Have |
128 | .Nm | 129 | .Nm |
129 | give more verbose output. | 130 | give more verbose output. |
131 | .It Fl x Ar proxy address Op :port | ||
132 | Requests that | ||
133 | .Nm | ||
134 | should connect to | ||
135 | .Ar hostname | ||
136 | using a socks5 proxy at address and port. | ||
137 | If port is not specified, port 1080 is used. | ||
130 | .It Fl z | 138 | .It Fl z |
131 | Specifies that | 139 | Specifies that |
132 | .Nm | 140 | .Nm |