From aa239d08d6dc87fdd121f62e3130aa5d5357cfff Mon Sep 17 00:00:00 2001 From: jca <> Date: Tue, 28 Jun 2016 17:35:14 +0000 Subject: Add -M and -m options to specify the outgoing and incoming minimum TTL Req by and ok blumh@ --- src/usr.bin/nc/nc.1 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/nc/nc.1') 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 @@ -.\" $OpenBSD: nc.1,v 1.72 2016/06/02 04:26:32 beck Exp $ +.\" $OpenBSD: nc.1,v 1.73 2016/06/28 17:35:14 jca 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: June 2 2016 $ +.Dd $Mdocdate: June 28 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. -- cgit v1.2.3-55-g6feb