File: libxt_NFLOG.txlate

package info (click to toggle)
iptables 1.8.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,684 kB
  • sloc: ansic: 53,529; sh: 8,343; xml: 772; python: 755; makefile: 271
file content (14 lines) | stat: -rw-r--r-- 650 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
iptables-translate -A FORWARD -j NFLOG --nflog-group 32 --nflog-prefix "Prefix 1.0"
nft 'add rule ip filter FORWARD counter log prefix "Prefix 1.0" group 32'

iptables-translate -A OUTPUT -j NFLOG --nflog-group 30
nft 'add rule ip filter OUTPUT counter log group 30'

iptables-translate -I INPUT -j NFLOG --nflog-threshold 2
nft 'insert rule ip filter INPUT counter log queue-threshold 2 group 0'

iptables-translate -I INPUT -j NFLOG --nflog-size 256
nft 'insert rule ip filter INPUT counter log snaplen 256 group 0'

iptables-translate -I INPUT -j NFLOG --nflog-threshold 25
nft 'insert rule ip filter INPUT counter log queue-threshold 25 group 0'