diff options
author | delphij <delphij@FreeBSD.org> | 2008-12-19 23:00:23 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2008-12-19 23:00:23 +0000 |
commit | 2d9e1680b9c0bc58be27f7f061fb926050d6aeb3 (patch) | |
tree | bfee07a42b159cfd2ebda68b4727ecadb8c63cc0 /contrib/netcat/nc.1 | |
parent | baa715ff9c569b2fe35defd1ffcc21c115cec54a (diff) | |
download | FreeBSD-src-2d9e1680b9c0bc58be27f7f061fb926050d6aeb3.zip FreeBSD-src-2d9e1680b9c0bc58be27f7f061fb926050d6aeb3.tar.gz |
Merge nc(1) from OpenBSD 4.4. While there, rename our '-O' (no
tcp options) to '--no-tcpopt' in order to resolve a comflicit
with OpenBSD's -O semantics.
Diffstat (limited to 'contrib/netcat/nc.1')
-rw-r--r-- | contrib/netcat/nc.1 | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/contrib/netcat/nc.1 b/contrib/netcat/nc.1 index 02e11b7..480196a 100644 --- a/contrib/netcat/nc.1 +++ b/contrib/netcat/nc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.45 2007/05/31 19:20:13 jmc Exp $ +.\" $OpenBSD: nc.1,v 1.47 2008/05/06 16:21:03 jmc Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd $Mdocdate$ +.Dd $Mdocdate: May 6 2008 $ .Dt NC 1 .Os .Sh NAME @@ -36,9 +36,12 @@ .Sh SYNOPSIS .Nm nc .Bk -words -.Op Fl 46DdEhklnOorStUuvz +.Op Fl 46DdEhklnorStUuvz .Op Fl e Ar IPsec_policy +.Op Fl I Ar length .Op Fl i Ar interval +.Op Fl -no-tcpopt +.Op Fl O Ar length .Op Fl P Ar proxy_username .Op Fl p Ar source_port .Op Fl s Ar source_ip_address @@ -118,6 +121,8 @@ each direction is needed. Prints out .Nm help. +.It Fl I Ar length +Specifies the size of the TCP receive buffer. .It Fl i Ar interval Specifies a delay time interval between lines of text sent and received. Also causes a delay time between connections to multiple ports. @@ -146,10 +151,13 @@ option are ignored. .It Fl n Do not do any DNS or service lookups on any specified addresses, hostnames or ports. -.It Fl O +.It Fl -no-tcpopt Disables the use of TCP options on the socket, by setting the boolean TCP_NOOPT socket option. +.It Fl O Ar length +Specifies the size of the TCP send buffer. +When .It Fl o .Dq Once-only mode . By default, |