File: pcap_interfaces.map.example

package info (click to toggle)
pmacct 1.7.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,904 kB
  • sloc: ansic: 110,430; sh: 4,794; cpp: 4,375; python: 3,632; makefile: 525
file content (25 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
!
! pcap_interfaces_map
!
! File syntax is key-based. Read full syntax rules in 'pretag.map.example' in
! this same directory.
!
! pmacctd: mandatory keys: ifname.
!
! list of currently supported keys follows:
!
! 'ifname'		MATCH: name of the interface, ie. eth0, ens1, lo, etc.
! 'ifindex'		SET: interface index. A positive 32-bit integer value
!			is expected.
! 'direction'		SET: packet sampling direction. Possible values are
!			'in' and 'out'. It influences whether ifindex should
!			be used to populate in_iface or out_iface. Omitting the
!			direction enables both ingress and egress collection:
!			in this case populating in_iface or out_iface with the
!			supplied ifindex does stops (as it would not be possible
!			anymore to clearly determine direction).
!
! Examples:
!
ifindex=100	ifname=eth0	direction=in
ifindex=200	ifname=ens1	direction=in