ng_netflow.4 (233422) | ng_netflow.4 (233648) |
---|---|
1.\" Copyright (c) 2004-2005 Gleb Smirnoff <glebius@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 2004-2005 Gleb Smirnoff <glebius@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man4/ng_netflow.4 233422 2012-03-24 13:37:57Z joel $ | 25.\" $FreeBSD: head/share/man/man4/ng_netflow.4 233648 2012-03-29 05:02:12Z eadler $ |
26.\" 27.Dd March 2, 2011 28.Dt NG_NETFLOW 4 29.Os 30.Sh NAME 31.Nm ng_netflow 32.Nd Cisco's NetFlow implementation 33.Sh SYNOPSIS --- 32 unchanged lines hidden (view full) --- 66.Dv NG_NETFLOW_MAXIFACES 67(default 65536) hooks named 68.Va iface0 , iface1 , 69etc., 70and the same number of hooks named 71.Va out0 , out1 , 72etc., 73plus two export hooks: | 26.\" 27.Dd March 2, 2011 28.Dt NG_NETFLOW 4 29.Os 30.Sh NAME 31.Nm ng_netflow 32.Nd Cisco's NetFlow implementation 33.Sh SYNOPSIS --- 32 unchanged lines hidden (view full) --- 66.Dv NG_NETFLOW_MAXIFACES 67(default 65536) hooks named 68.Va iface0 , iface1 , 69etc., 70and the same number of hooks named 71.Va out0 , out1 , 72etc., 73plus two export hooks: |
74.Va export | 74.Va export |
75(for NetFlow version 5) and | 75(for NetFlow version 5) and |
76.Va export9 | 76.Va export9 |
77(for NetFlow version 9). Export can be done simultaneously for all supported 78export hooks. By default (ingress NetFlow enabled) node does NetFlow accounting of data 79received on 80.Va iface* 81hooks. 82If corresponding 83.Va out 84hook is connected, unmodified data is bypassed to it, otherwise data is freed. --- 103 unchanged lines hidden (view full) --- 188ifaceX hook). Option NG_NETFLOW_CONF_EGRESS enables egress NetFlow (for data 189coming from outX hook). Option NG_NETFLOW_CONF_ONCE defines that packet should 190be accounted only once if it several times passes via netflow node. Option 191NG_NETFLOW_CONF_THISONCE defines that packet should be accounted only once 192if it several times passes via exactly this netflow node. Last two options are 193important to avoid duplicate accounting when both ingress and egress NetFlow 194are enabled. 195.It Dv NGM_NETFLOW_SETTEMPLATE | 77(for NetFlow version 9). Export can be done simultaneously for all supported 78export hooks. By default (ingress NetFlow enabled) node does NetFlow accounting of data 79received on 80.Va iface* 81hooks. 82If corresponding 83.Va out 84hook is connected, unmodified data is bypassed to it, otherwise data is freed. --- 103 unchanged lines hidden (view full) --- 188ifaceX hook). Option NG_NETFLOW_CONF_EGRESS enables egress NetFlow (for data 189coming from outX hook). Option NG_NETFLOW_CONF_ONCE defines that packet should 190be accounted only once if it several times passes via netflow node. Option 191NG_NETFLOW_CONF_THISONCE defines that packet should be accounted only once 192if it several times passes via exactly this netflow node. Last two options are 193important to avoid duplicate accounting when both ingress and egress NetFlow 194are enabled. 195.It Dv NGM_NETFLOW_SETTEMPLATE |
196Sets various timeouts to announce data flow templates | 196Sets various timeouts to announce data flow templates |
197(NetFlow v9-specific). This message requires 198.Vt "struct ng_netflow_settemplate" 199as an argument: 200.Bd -literal -offset 4n 201struct ng_netflow_settemplate { 202 uint16_t time; 203 uint16_t packets; 204}; 205.Ed 206.Pp 207Value of time field represents time in seconds to re-announce data templates. 208Value of packets field represents maximum packets count between 209re-announcing data templates. 210.It Dv NGM_NETFLOW_SETMTU | 197(NetFlow v9-specific). This message requires 198.Vt "struct ng_netflow_settemplate" 199as an argument: 200.Bd -literal -offset 4n 201struct ng_netflow_settemplate { 202 uint16_t time; 203 uint16_t packets; 204}; 205.Ed 206.Pp 207Value of time field represents time in seconds to re-announce data templates. 208Value of packets field represents maximum packets count between 209re-announcing data templates. 210.It Dv NGM_NETFLOW_SETMTU |
211Sets export interface MTU to build packets of specified size (NetFlow v9-specific). | 211Sets export interface MTU to build packets of specified size (NetFlow v9-specific). |
212This message requires 213.Vt "struct ng_netflow_setmtu" 214as an argument: 215.Bd -literal -offset 4n 216struct ng_netflow_settemtu { 217 uint16_t mtu; 218}; 219.Ed --- 129 unchanged lines hidden --- | 212This message requires 213.Vt "struct ng_netflow_setmtu" 214as an argument: 215.Bd -literal -offset 4n 216struct ng_netflow_settemtu { 217 uint16_t mtu; 218}; 219.Ed --- 129 unchanged lines hidden --- |