diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2019-05-10 17:28:54 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2019-05-10 17:28:54 +0000 |
commit | 3bf246c0bf58e2cbd22927dde8b3d46f1382e982 (patch) | |
tree | 448999596ac1f024e25360c1af34d75b35301f5e /nc.1 | |
parent | 09ac48e1c32eeedc204f8543f59cf29a7459298b (diff) | |
download | src-3bf246c0bf58e2cbd22927dde8b3d46f1382e982.tar.gz src-3bf246c0bf58e2cbd22927dde8b3d46f1382e982.zip |
Import netcat from OpenBSD 6.0.vendor/netcat/6.0
Notes
Notes:
svn path=/vendor/netcat/dist/; revision=347446
svn path=/vendor/netcat/6.0/; revision=347447; tag=vendor/netcat/6.0
Diffstat (limited to 'nc.1')
-rw-r--r-- | nc.1 | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.71 2015/09/25 14:56:33 schwarze Exp $ +.\" $OpenBSD: nc.1,v 1.74 2016/07/02 05:58:00 jmc Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 12 2015 $ +.Dd $Mdocdate: July 2 2016 $ .Dt NC 1 .Os .Sh NAME @@ -40,6 +40,8 @@ .Op Fl I Ar length .Op Fl i Ar interval .Op Fl K Ar keyfile +.Op Fl M Ar ttl +.Op Fl m Ar minttl .Op Fl O Ar length .Op Fl P Ar proxy_username .Op Fl p Ar source_port @@ -171,6 +173,11 @@ options. Additionally, any timeouts specified with the .Fl w option are ignored. +.It Fl M Ar ttl +Set the TTL / hop limit of outgoing packets. +.It Fl m Ar minttl +Ask the kernel to drop incoming packets whose TTL / hop limit is under +.Ar minttl . .It Fl N .Xr shutdown 2 the network socket after EOF on the input. @@ -337,8 +344,8 @@ sockets, a destination is required and is the socket path to connect to option is given). .Pp .Ar port -can be a single integer or a range of ports. -Ranges are in the form nn-mm. +can be a specified as a numeric port number, or as a service name. +Ports may be specified in a range of the form nn-mm. In general, a destination port must be specified, unless the |