summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2008-09-09 14:00:52 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2008-09-09 14:00:52 +0000
commitd2cf33fbc7e540e01cd850f89bcc83ca6e582b65 (patch)
tree236c8f2c4898f30ba8f4dbd94dc9c16fd654cb68 /sbin
parenteafa0437596580a038262a0363fdd2115f6f1726 (diff)
document pflow stuff, Joerg Goltermann <jg@osn.de> with some changes by me
(I am sure jmc will make this even betterer)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.830
1 files changed, 28 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 5789f1a4db9..9e395d4740a 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.168 2008/09/07 18:58:35 jmc Exp $
+.\" $OpenBSD: ifconfig.8,v 1.169 2008/09/09 14:00:51 henning Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $
.\"
@@ -31,7 +31,7 @@
.\"
.\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94
.\"
-.Dd $Mdocdate: September 7 2008 $
+.Dd $Mdocdate: September 9 2008 $
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -179,6 +179,7 @@ At least the following devices can be created on demand:
.Xr lo 4 ,
.Xr mpe 4 ,
.Xr pflog 4 ,
+.Xr pflow 4 ,
.Xr ppp 4 ,
.Xr pppoe 4 ,
.Xr sl 4 ,
@@ -422,6 +423,8 @@ interface groups
.It
.Xr mpe 4
.It
+.Xr pflow 4
+.It
.Xr pfsync 4
.It
.Xr pppoe 4
@@ -890,6 +893,29 @@ pseudo-interface, set the MPLS label to
This value is a 20-bit number which will be used as the MPLS header for
packets entering the MPLS domain.
.El
+.\" PFLOW
+.Sh PFLOW
+.Nm ifconfig
+.Ar pflow-interface
+.Op Oo Fl Oc Cm flowdst Ar addr:port
+.Op Oo Fl Oc Cm flowsrc Ar addr
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+.It Cm flowdst Ar addr:port
+set the receiver address and the port for the pflow packets.
+Both must be defined to export pflow data.
+addr is the IP address and port is the port number of the flow collector.
+Pflow data will be sent to this address/port.
+.It Fl flowdst
+unset the receiver address and stop sending pflow data.
+.It Cm flowsrc Ar addr
+set the source IP adress for the pflow packets.
+addr is the IP address used as sender of the UDP packets and may be used to
+identify the source on the pflow collector.
+.It Fl flowsrc
+unset the source address.
+.El
.\" PFSYNC
.Sh PFSYNC
.Nm ifconfig