Add test-nft script
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
87cdd8fa50
commit
a277ba3eae
8
linux/test-nft.sh
Executable file
8
linux/test-nft.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh -Cefux
|
||||
# Check if netfilter kicks kernel upon loading rules
|
||||
# Georg Pfuetzenreuter <mail+opensuse@georg-pfuetzenreuter.net>
|
||||
[ "$(id -u)" = 0 ] || exit 1
|
||||
/root/bin/mkdummies.sh
|
||||
nft -f /etc/nftables.conf
|
||||
dmesg -T|tail
|
||||
dmesg -T|grep trace
|
Loading…
Reference in New Issue
Block a user