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
|