diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-09-10 14:54:48 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-09-10 14:54:48 +0000 |
commit | 0d054b4fe0c1348f01664b61e8440d7dfd82f976 (patch) | |
tree | 08e31975d216e9ea5cc63d54e514ded37e6bef07 | |
parent | 33d64896abc9e79070ec22125a832e7d8ef87878 (diff) |
some pflow tweaks;
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 29 | ||||
-rw-r--r-- | share/man/man4/pflow.4 | 11 |
2 files changed, 22 insertions, 18 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 9e395d4740a..2bd303a7677 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.169 2008/09/09 14:00:51 henning Exp $ +.\" $OpenBSD: ifconfig.8,v 1.170 2008/09/10 14:54:47 jmc 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 9 2008 $ +.Dd $Mdocdate: September 10 2008 $ .Dt IFCONFIG 8 .Os .Sh NAME @@ -897,24 +897,31 @@ packets entering the MPLS domain. .Sh PFLOW .Nm ifconfig .Ar pflow-interface -.Op Oo Fl Oc Cm flowdst Ar addr:port +.Oo Oo Fl Oc Cm flowdst Ar addr : +.Ar port Oc .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. +.It Cm flowdst Ar addr : Ns Ar port +Set the receiver address and the port for +.Xr pflow 4 +packets. Both must be defined to export pflow data. -addr is the IP address and port is the port number of the flow collector. +.Ar addr +is the IP address and +.Ar 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. +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. +Set the source IP address for pflow packets. +.Ar addr +is the IP address used as sender of the UDP packets and may be used to +identify the source of the data on the pflow collector. .It Fl flowsrc -unset the source address. +Unset the source address. .El .\" PFSYNC .Sh PFSYNC diff --git a/share/man/man4/pflow.4 b/share/man/man4/pflow.4 index 0ba7e23e480..a2d42d7c918 100644 --- a/share/man/man4/pflow.4 +++ b/share/man/man4/pflow.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pflow.4,v 1.2 2008/09/09 15:47:15 henning Exp $ +.\" $OpenBSD: pflow.4,v 1.3 2008/09/10 14:54:47 jmc Exp $ .\" .\" Copyright (c) 2008 Henning Brauer <henning@openbsd.org> .\" Copyright (c) 2008 Joerg Goltermann <jg@osn.de> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISINGOUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 9 2008 $ +.Dd $Mdocdate: September 10 2008 $ .Dt PFLOW 4 .Os .Sh NAME @@ -46,12 +46,9 @@ The interface will attempt to export multiple pflow records in one UDP packet, but will not hold a record for longer than 30 seconds. The packet size and thus the maximum number of flows is controlled by the -.Ar mtu -parameter of ifconfig -(see the -.Xr ifconfig 8 .Cm mtu -parameter). +parameter of +.Xr ifconfig 8 . .Pp Each packet seen on this interface has one header and a variable number of flows. |