Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/npf/npfctl Document list



details:   https://anonhg.NetBSD.org/src/rev/533336cf5142
branches:  trunk
changeset: 349907:533336cf5142
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 27 20:55:11 2016 +0000

description:
Document list

diffstat:

 usr.sbin/npf/npfctl/npfctl.8 |  22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 1fb53bc0f324 -r 533336cf5142 usr.sbin/npf/npfctl/npfctl.8
--- a/usr.sbin/npf/npfctl/npfctl.8      Tue Dec 27 20:32:58 2016 +0000
+++ b/usr.sbin/npf/npfctl/npfctl.8      Tue Dec 27 20:55:11 2016 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: npfctl.8,v 1.18 2016/05/24 05:46:57 wiz Exp $
+.\"    $NetBSD: npfctl.8,v 1.19 2016/12/27 20:55:11 christos Exp $
 .\"
 .\" Copyright (c) 2009-2014 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 2, 2014
+.Dd December 27, 2016
 .Dt NPFCTL 8
 .Os
 .Sh NAME
@@ -153,6 +153,24 @@
 Process the configuration file, print the byte-code of each rule
 and dump the raw configuration.
 This is primarily for developer use.
+.It Ic list Oo Fl 46hNnw Oc Op Fl i Ar ifname
+Display a list of tracked connections:
+.Bl -tag -width xxxxxxxxx -compact -offset 3n
+.It Fl 4
+Display only IPv4 connections.
+.It Fl 6
+Display only IPv6 connections.
+.It Fl h
+Don't display a header.
+.It Fl N
+Try to resolve addresses.
+.It Fl n
+Only show NAT connections.
+.It Fl w
+Don't restrict display width.
+.It Fl i Ar ifname
+Display only connections through the named interface.
+.El
 .El
 .Sh PERFORMANCE
 Reloading the configuration is a relatively expensive operation.



Home | Main Index | Thread Index | Old Index