Document list

This commit is contained in:
christos 2016-12-27 20:55:11 +00:00
parent cbc7bab49c
commit bc388aee45
1 changed files with 20 additions and 2 deletions

View File

@ -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.