diff options
author | markus <> | 2002-02-28 18:05:36 +0000 |
---|---|---|
committer | markus <> | 2002-02-28 18:05:36 +0000 |
commit | 409c42a31740ca9da36e066b8f180e668520958c (patch) | |
tree | 9bb91c8654057cd73f96714ebbe6969bb46707dc /src/usr.bin/nc/nc.1 | |
parent | ea9376d8ab0390826e5a195af0edfa4014c15cef (diff) | |
download | openbsd-409c42a31740ca9da36e066b8f180e668520958c.tar.gz openbsd-409c42a31740ca9da36e066b8f180e668520958c.tar.bz2 openbsd-409c42a31740ca9da36e066b8f180e668520958c.zip |
add support for SOCKS4 with option -X socks_version, default is 5; ok ericj@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r-- | src/usr.bin/nc/nc.1 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index 5c0cc5e244..759be26a31 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.21 2002/02/19 22:45:18 ericj Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.22 2002/02/28 18:05:36 markus Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1996 David Sacerdote | 3 | .\" Copyright (c) 1996 David Sacerdote |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -39,6 +39,7 @@ | |||
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 x Ar proxy address Op :port |
41 | .Op Fl w Ar timeout | 41 | .Op Fl w Ar timeout |
42 | .Op Fl X Ar socks version | ||
42 | .Op Ar hostname | 43 | .Op Ar hostname |
43 | .Op Ar port[s] | 44 | .Op Ar port[s] |
44 | .Sh DESCRIPTION | 45 | .Sh DESCRIPTION |
@@ -133,7 +134,7 @@ Requests that | |||
133 | .Nm | 134 | .Nm |
134 | should connect to | 135 | should connect to |
135 | .Ar hostname | 136 | .Ar hostname |
136 | using a socks5 proxy at address and port. | 137 | using a SOCKS proxy at address and port. |
137 | If port is not specified, port 1080 is used. | 138 | If port is not specified, port 1080 is used. |
138 | .It Fl z | 139 | .It Fl z |
139 | Specifies that | 140 | Specifies that |
@@ -141,6 +142,12 @@ Specifies that | |||
141 | should just scan for listening daemons, without sending any data to them. | 142 | should just scan for listening daemons, without sending any data to them. |
142 | .It Fl U | 143 | .It Fl U |
143 | Specifies to use Unix Domain Sockets. | 144 | Specifies to use Unix Domain Sockets. |
145 | .It Fl X Ar version | ||
146 | Requests that | ||
147 | .Nm | ||
148 | should use the specified version of the SOCKS protocol when talking to | ||
149 | a SOCKS proxy. | ||
150 | If version is not specified, SOCKS version 5 is used. | ||
144 | .El | 151 | .El |
145 | .Sh EXAMPLES | 152 | .Sh EXAMPLES |
146 | .Bl -tag -width x | 153 | .Bl -tag -width x |