Module Name: src
Committed By: christos
Date: Tue Dec 27 20:55:11 UTC 2016
Modified Files:
src/usr.sbin/npf/npfctl: npfctl.8
Log Message:
Document list
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/npf/npfctl/npfctl.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npfctl/npfctl.8
diff -u src/usr.sbin/npf/npfctl/npfctl.8:1.18 src/usr.sbin/npf/npfctl/npfctl.8:1.19
--- src/usr.sbin/npf/npfctl/npfctl.8:1.18 Tue May 24 01:46:57 2016
+++ src/usr.sbin/npf/npfctl/npfctl.8 Tue Dec 27 15:55:11 2016
@@ -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 @@ Print various statistics.
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.