summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
authorjca <>2016-06-28 17:35:14 +0000
committerjca <>2016-06-28 17:35:14 +0000
commitaa239d08d6dc87fdd121f62e3130aa5d5357cfff (patch)
tree73f19bc916ea3e0c14048b016c16e6bb3831c93f /src/usr.bin/nc/nc.1
parent489edfaf43be1bb7fb8cd79e07e04dd5ef93f81e (diff)
downloadopenbsd-aa239d08d6dc87fdd121f62e3130aa5d5357cfff.tar.gz
openbsd-aa239d08d6dc87fdd121f62e3130aa5d5357cfff.tar.bz2
openbsd-aa239d08d6dc87fdd121f62e3130aa5d5357cfff.zip
Add -M and -m options to specify the outgoing and incoming minimum TTL
Req by and ok blumh@
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 ee57a64a6b..384442b603 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.72 2016/06/02 04:26:32 beck Exp $ 1.\" $OpenBSD: nc.1,v 1.73 2016/06/28 17:35:14 jca Exp $
2.\" 2.\"
3.\" Copyright (c) 1996 David Sacerdote 3.\" Copyright (c) 1996 David Sacerdote
4.\" All rights reserved. 4.\" All rights reserved.
@@ -25,7 +25,7 @@
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\" 27.\"
28.Dd $Mdocdate: June 2 2016 $ 28.Dd $Mdocdate: June 28 2016 $
29.Dt NC 1 29.Dt NC 1
30.Os 30.Os
31.Sh NAME 31.Sh NAME
@@ -40,6 +40,8 @@
40.Op Fl I Ar length 40.Op Fl I Ar length
41.Op Fl i Ar interval 41.Op Fl i Ar interval
42.Op Fl K Ar keyfile 42.Op Fl K Ar keyfile
43.Op Fl M Ar ttl
44.Op Fl m Ar minttl
43.Op Fl O Ar length 45.Op Fl O Ar length
44.Op Fl P Ar proxy_username 46.Op Fl P Ar proxy_username
45.Op Fl p Ar source_port 47.Op Fl p Ar source_port
@@ -171,6 +173,11 @@ options.
171Additionally, any timeouts specified with the 173Additionally, any timeouts specified with the
172.Fl w 174.Fl w
173option are ignored. 175option are ignored.
176.It Fl M Ar ttl
177Set the TTL / Hop Limit of outgoing packets.
178.It Fl m Ar minttl
179Ask the kernel to drop incoming packets whose TTL / Hop Limit is under
180.Ar minttl .
174.It Fl N 181.It Fl N
175.Xr shutdown 2 182.Xr shutdown 2
176the network socket after EOF on the input. 183the network socket after EOF on the input.