0010-noflush-new-chain_0 206 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

# assert input feed from buffer doesn't trip over
# added nul-chars from parsing chain line.

$XT_MULTI iptables-restore --noflush <<EOF
*filter
:foobar - [0:0]
-A foobar -j ACCEPT
COMMIT
EOF