Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ipf/dist ipf(8): document all -l options



details:   https://anonhg.NetBSD.org/src/rev/f63786c6a349
branches:  trunk
changeset: 366639:f63786c6a349
user:      gutteridge <gutteridge%NetBSD.org@localhost>
date:      Fri Jun 03 21:43:37 2022 +0000

description:
ipf(8): document all -l options

References to "none", "state", and "nat" were missing in places.
Addresses PR bin/36763 from Wolfgang Stukenbrock.

diffstat:

 external/bsd/ipf/dist/man/ipf.8   |  7 ++++---
 external/bsd/ipf/dist/tools/ipf.c |  4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 30b075190106 -r f63786c6a349 external/bsd/ipf/dist/man/ipf.8
--- a/external/bsd/ipf/dist/man/ipf.8   Fri Jun 03 19:59:59 2022 +0000
+++ b/external/bsd/ipf/dist/man/ipf.8   Fri Jun 03 21:43:37 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ipf.8,v 1.1.1.1 2012/03/23 21:20:11 christos Exp $
+.\"    $NetBSD: ipf.8,v 1.2 2022/06/03 21:43:37 gutteridge Exp $
 .\"
 .TH IPF 8
 .SH NAME
@@ -94,9 +94,10 @@
 .B \-I
 Set the list to make changes to the inactive list.
 .TP
-.B \-l \0<pass|block|nomatch>
+.B \-l \0<block|pass|nomatch|none|state|nat>
 Use of the \fB-l\fP flag toggles default logging of packets.  Valid
-arguments to this option are \fBpass\fP, \fBblock\fP and \fBnomatch\fP.
+arguments to this option are \fBpass\fP, \fBblock\fP, \fBnomatch\fP,
+\fBnone\fP, \fBstate\fP, and \fBnat\fP.
 When an option is set, any packet which exits filtering and matches the
 set category is logged.  This is most useful for causing all packets
 which don't match any of the loaded rules to be logged.
diff -r 30b075190106 -r f63786c6a349 external/bsd/ipf/dist/tools/ipf.c
--- a/external/bsd/ipf/dist/tools/ipf.c Fri Jun 03 19:59:59 2022 +0000
+++ b/external/bsd/ipf/dist/tools/ipf.c Fri Jun 03 21:43:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipf.c,v 1.3 2018/02/04 08:19:42 mrg Exp $      */
+/*     $NetBSD: ipf.c,v 1.4 2022/06/03 21:43:37 gutteridge Exp $       */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -66,7 +66,7 @@
 static void usage()
 {
        fprintf(stderr, "usage: ipf [-6AdDEInoPrRsvVyzZ] %s %s %s\n",
-               "[-l block|pass|nomatch|state|nat]", "[-cc] [-F i|o|a|s|S|u]",
+               "[-l block|pass|nomatch|none|state|nat]", "[-cc] [-F i|o|a|s|S|u]",
                "[-f filename] [-T <tuneopts>]");
        exit(1);
 }



Home | Main Index | Thread Index | Old Index