libebt_nflog.txlate 455 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
ebtables-translate -A INPUT --nflog
nft add rule bridge filter INPUT log group 1 counter

ebtables-translate -A INPUT --nflog-group 42
nft add rule bridge filter INPUT log group 42 counter

ebtables-translate -A INPUT --nflog-range 42
nft add rule bridge filter INPUT log group 1 snaplen 42 counter

ebtables-translate -A INPUT --nflog-threshold 100 --nflog-prefix foo
nft add rule bridge filter INPUT log prefix "foo" group 1 queue-threshold 100 counter