summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
authormarkus <>2002-02-28 18:05:36 +0000
committermarkus <>2002-02-28 18:05:36 +0000
commit409c42a31740ca9da36e066b8f180e668520958c (patch)
tree9bb91c8654057cd73f96714ebbe6969bb46707dc /src/usr.bin/nc/nc.1
parentea9376d8ab0390826e5a195af0edfa4014c15cef (diff)
downloadopenbsd-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.111
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
134should connect to 135should connect to
135.Ar hostname 136.Ar hostname
136using a socks5 proxy at address and port. 137using a SOCKS proxy at address and port.
137If port is not specified, port 1080 is used. 138If port is not specified, port 1080 is used.
138.It Fl z 139.It Fl z
139Specifies that 140Specifies that
@@ -141,6 +142,12 @@ Specifies that
141should just scan for listening daemons, without sending any data to them. 142should just scan for listening daemons, without sending any data to them.
142.It Fl U 143.It Fl U
143Specifies to use Unix Domain Sockets. 144Specifies to use Unix Domain Sockets.
145.It Fl X Ar version
146Requests that
147.Nm
148should use the specified version of the SOCKS protocol when talking to
149a SOCKS proxy.
150If 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