Searched refs:XT_MULTI (Results 1 – 25 of 41) sorted by relevance
12
7 [[ $XT_MULTI == */xtables-nft-multi ]] || { echo "skip $XT_MULTI"; exit 0; }11 $XT_MULTI ebtables --init-table12 $XT_MULTI ebtables -A INPUT -p IPv4 -i lo -j ACCEPT13 $XT_MULTI ebtables -P FORWARD DROP14 $XT_MULTI ebtables -A OUTPUT -s ff:ff:ff:ff:ff:ff/ff:ff:ff:ff:ff:ff -j DROP15 $XT_MULTI ebtables -N foo16 $XT_MULTI ebtables -A foo --802_3-sap 0x23 -j ACCEPT17 $XT_MULTI ebtables -A foo --802_3-sap 0xaa --802_3-type 0x1337 -j ACCEPT19 $XT_MULTI ebtables -A foo -p ARP --arp-gratuitous -j ACCEPT20 $XT_MULTI ebtables -A foo -p ARP --arp-opcode Request -j ACCEPT[all …]
4 $XT_MULTI ebtables -L $1 | sed -n 's/.*entries: \([0-9]*\).*/\1/p'8 case "$XT_MULTI" in11 $XT_MULTI ebtables -t $t -L || exit 112 $XT_MULTI ebtables -t $t -X || exit 113 $XT_MULTI ebtables -t $t -F || exit 117 $XT_MULTI ebtables -t $t -L &&18 $XT_MULTI ebtables -t $t -X &&19 $XT_MULTI ebtables -t $t -F27 $XT_MULTI ebtables -t filter -N FOO || exit 128 $XT_MULTI ebtables -t filter -N FOO[all …]
6 [[ $XT_MULTI == */xtables-nft-multi ]] || { echo "skip $XT_MULTI"; exit 0; }8 $XT_MULTI ebtables --init-table9 $XT_MULTI ebtables -A FORWARD -i nodev123 -o nodev432 -j ACCEPT10 $XT_MULTI ebtables -A FORWARD -i nodev432 -o nodev123 -j ACCEPT19 diff -u <(echo -e "$EXPECT") <($XT_MULTI ebtables -L FORWARD)28 diff -u <(echo -e "$EXPECT") <($XT_MULTI ebtables -L FORWARD --Lc)38 diff -u <(echo -e "$EXPECT") <($XT_MULTI ebtables-save | grep -v '^#')48 diff -u <(echo -e "$EXPECT") <($XT_MULTI ebtables-save -c | grep -v '^#')54 diff -u <(echo -e "$EXPECT") <($XT_MULTI ebtables-save -c | grep -v '^#')64 diff -u <(echo -e "$EXPECT") <($XT_MULTI ebtables-save | grep -v '^#')
6 [[ $XT_MULTI == */xtables-nft-multi ]] || { echo "skip $XT_MULTI"; exit 0; }29 $XT_MULTI ebtables --init-table30 $XT_MULTI ebtables-restore <<<$DUMP31 diff -u <(echo -e "$EXPECT") <($XT_MULTI ebtables-save | grep -v '^#')
6 [[ $XT_MULTI == */xtables-nft-multi ]] || { echo "skip $XT_MULTI"; exit 0; }20 $XT_MULTI ebtables-restore <<<$EXPECT21 exec diff -u <(echo -e "$EXPECT") <($XT_MULTI ebtables-save | grep -v '^#')
7 [[ $XT_MULTI == */xtables-nft-multi ]] || { echo "skip $XT_MULTI"; exit 0; }11 $XT_MULTI arptables -F12 $XT_MULTI arptables -A INPUT -s 10.0.0.0/8 -j ACCEPT13 $XT_MULTI arptables -A INPUT -d 192.168.123.1 -j ACCEPT14 $XT_MULTI arptables -A INPUT --source-mac fe:ed:ba:be:00:01 -j ACCEPT15 $XT_MULTI arptables -A INPUT --destination-mac fe:ed:ba:be:00:01 -j ACCEPT16 $XT_MULTI arptables -N foo17 $XT_MULTI arptables -A foo -i lo -j ACCEPT18 $XT_MULTI arptables -A foo -l 6 -j ACCEPT19 $XT_MULTI arptables -A foo -j MARK --set-mark 12345[all …]
7 [[ $XT_MULTI == */xtables-nft-multi ]] || { echo "skip $XT_MULTI"; exit 0; }9 $XT_MULTI arptables -N foo31 diff -u -Z <(echo -e "$VOUT1") <($XT_MULTI arptables -v -A INPUT $RULE1)32 diff -u -Z <(echo -e "$VOUT2") <($XT_MULTI arptables -v -A INPUT $RULE2)33 diff -u -Z <(echo -e "$VOUT3") <($XT_MULTI arptables -v -A INPUT $RULE3)34 diff -u -Z <(echo -e "$VOUT4") <($XT_MULTI arptables -v -A OUTPUT $RULE4)35 diff -u -Z <(echo -e "$VOUT5") <($XT_MULTI arptables -v -A OUTPUT $RULE5)36 diff -u -Z <(echo -e "$VOUT6") <($XT_MULTI arptables -v -A foo $RULE6)50 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI arptables -v -n -L)63 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI arptables-save | grep -v '^#')
6 [[ $XT_MULTI == */xtables-nft-multi ]] || { echo "skip $XT_MULTI"; exit 0; }24 $XT_MULTI arptables -F25 $XT_MULTI arptables-restore <<<$DUMP26 diff -u <(echo -e "$EXPECT") <($XT_MULTI arptables-save | grep -v '^#')
13 diff -u -Z <(echo -e "$VOUT1") <($XT_MULTI iptables -v -A FORWARD $RULE1)14 diff -u -Z <(echo -e "$VOUT2") <($XT_MULTI iptables -v -I FORWARD 2 $RULE2)16 diff -u -Z <(echo -e "$VOUT1") <($XT_MULTI iptables -v -C FORWARD $RULE1)17 diff -u -Z <(echo -e "$VOUT2") <($XT_MULTI iptables -v -C FORWARD $RULE2)30 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI iptables -v -n -L)32 [[ -z $($XT_MULTI iptables -v -N foobar) ]] || exit 134 diff -u -Z <(echo -e "$VOUT1") <($XT_MULTI iptables -v -D FORWARD $RULE1)35 diff -u -Z <(echo -e "$VOUT2") <($XT_MULTI iptables -v -D FORWARD $RULE2)42 diff -u <(echo -e "$EXPECT") <($XT_MULTI iptables -v -F)49 diff -u <(echo -e "$EXPECT") <($XT_MULTI iptables -v -Z)[all …]
5 $XT_MULTI iptables -N foo6 $XT_MULTI iptables -A FORWARD -i eth23 -o eth42 -j ACCEPT7 $XT_MULTI iptables -A FORWARD -i eth42 -o eth23 -g foo8 $XT_MULTI iptables -t nat -A OUTPUT -o eth123 -m mark --mark 0x42 -j ACCEPT17 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI iptables -S)26 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI iptables -v -S)32 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI iptables -S FORWARD)38 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI iptables -v -S FORWARD)43 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI iptables -t nat -S OUTPUT)48 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI iptables -v -t nat -S OUTPUT)[all …]
9 $XT_MULTI iptables -S | grep -v '^-P'12 $XT_MULTI iptables -A FORWARD -m comment --comment "rule 1" -j ACCEPT13 $XT_MULTI iptables -A FORWARD -m comment --comment "rule 2" -j ACCEPT14 $XT_MULTI iptables -A FORWARD -m comment --comment "rule 3" -j ACCEPT16 $XT_MULTI iptables -R FORWARD 2 -m comment --comment "replaced 2" -j ACCEPT24 $XT_MULTI iptables -R FORWARD 1 -m comment --comment "replaced 1" -j ACCEPT32 $XT_MULTI iptables -R FORWARD 3 -m comment --comment "replaced 3" -j ACCEPT
7 $XT_MULTI iptables -N foo8 $XT_MULTI iptables -L | grep 'Chain foo (0 references)'10 $XT_MULTI iptables -A foo -j ACCEPT11 $XT_MULTI iptables -L | grep 'Chain foo (0 references)'13 $XT_MULTI iptables -A FORWARD -j foo14 $XT_MULTI iptables -L | grep 'Chain foo (1 references)'
5 $XT_MULTI iptables -A FORWARD -i eth23 -o eth42 -j DROP6 $XT_MULTI iptables -D FORWARD -i eth23 -o eth42 -j REJECT12 $XT_MULTI iptables -A FORWARD -i eth23 -o eth42 -j MARK --set-mark 2313 $XT_MULTI iptables -D FORWARD -i eth23 -o eth42 -j MARK --set-mark 42
13 diff -u -Z <(echo -e "$VOUT1") <($XT_MULTI ip6tables -v -A FORWARD $RULE1)14 diff -u -Z <(echo -e "$VOUT2") <($XT_MULTI ip6tables -v -I FORWARD 2 $RULE2)16 diff -u -Z <(echo -e "$VOUT1") <($XT_MULTI ip6tables -v -C FORWARD $RULE1)17 diff -u -Z <(echo -e "$VOUT2") <($XT_MULTI ip6tables -v -C FORWARD $RULE2)30 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI ip6tables -v -n -L)32 diff -u -Z <(echo -e "$VOUT1") <($XT_MULTI ip6tables -v -D FORWARD $RULE1)33 diff -u -Z <(echo -e "$VOUT2") <($XT_MULTI ip6tables -v -D FORWARD $RULE2)39 diff -u <(echo -e "$EXPECT") <($XT_MULTI ip6tables -v -F)45 diff -u <(echo -e "$EXPECT") <($XT_MULTI ip6tables -v -Z)47 diff -u <(echo "Flushing chain \`OUTPUT'") <($XT_MULTI ip6tables -v -F OUTPUT)[all …]
5 $XT_MULTI ip6tables -N foo6 $XT_MULTI ip6tables -A FORWARD -i eth23 -o eth42 -j ACCEPT7 $XT_MULTI ip6tables -A FORWARD -i eth42 -o eth23 -g foo8 $XT_MULTI ip6tables -t nat -A OUTPUT -o eth123 -m mark --mark 0x42 -j ACCEPT17 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI ip6tables -S)26 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI ip6tables -v -S)32 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI ip6tables -S FORWARD)38 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI ip6tables -v -S FORWARD)43 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI ip6tables -t nat -S OUTPUT)48 diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI ip6tables -v -t nat -S OUTPUT)[all …]
33 $XT_MULTI iptables -N FOO || exit 134 $XT_MULTI iptables -I INPUT || exit 135 $XT_MULTI iptables -I FOO || exit 136 $XT_MULTI iptables -I FOO || exit 138 $XT_MULTI iptables-save | grep -v "^#" > "$tmpfile" || exit 139 $XT_MULTI iptables-restore < "$tmpfile" || exit 141 $XT_MULTI iptables -N BAR || exit 142 $XT_MULTI iptables -A BAR || exit 144 $XT_MULTI iptables-restore < "$tmpfile" || exit 145 $XT_MULTI iptables-save | grep -v "^#" > "$tmpfile1" || exit 1
3 $XT_MULTI iptables -N c1 || exit 04 $XT_MULTI iptables -N c2 || exit 05 $XT_MULTI iptables -E c1 c2 || exit 17 $XT_MULTI ip6tables -N c1 || exit 08 $XT_MULTI ip6tables -N c2 || exit 09 $XT_MULTI ip6tables -E c1 c2 || exit 1
5 $XT_MULTI iptables -N c16 $XT_MULTI ip6tables -N c18 $XT_MULTI iptables -N c29 $XT_MULTI ip6tables -N c2
5 $XT_MULTI iptables -t filter -N c1 || exit 06 $XT_MULTI iptables -t filter -N c1 || exit 18 $XT_MULTI ip6tables -t filter -N c1 || exit 09 $XT_MULTI ip6tables -t filter -N c1 || exit 1
13 $XT_MULTI iptables -t filter -F14 $XT_MULTI iptables -t filter -X78 $XT_MULTI iptables-restore -w < $dumpfile80 $XT_MULTI iptables-save | grep -v '^#' > $dumpfile88 case "$XT_MULTI" in104 $XT_MULTI iptables-restore -w 15 < $dumpfile &112 $XT_MULTI iptables-save | grep -v '^#' > $tmpfile
10 $XT_MULTI iptables -S | grep -v '^-P'15 $XT_MULTI iptables-restore <<EOF33 $XT_MULTI iptables-restore --noflush <<EOF63 $XT_MULTI iptables-restore <<EOF85 $XT_MULTI iptables-restore --noflush <<EOF105 $XT_MULTI iptables-restore <<EOF113 $XT_MULTI iptables-restore --noflush <<EOF
18 $XT_MULTI iptables-save -f $tmpfile19 $XT_MULTI iptables-restore $tmpfile20 $XT_MULTI iptables-restore -w 5 $tmpfile21 $XT_MULTI iptables-restore -w 5 -W 1 $tmpfile
5 [[ $XT_MULTI == */xtables-nft-multi ]] || { echo "skip $XT_MULTI"; exit 0; }7 $XT_MULTI iptables -A INPUT -p tcp --dport 53 ! -s 192.168.0.1 -j ACCEPT8 $XT_MULTI ip6tables -A INPUT -p tcp --dport 53 ! -s feed:babe::1 -j ACCEPT9 $XT_MULTI ebtables -A INPUT -p IPv4 --ip-src 10.0.0.1 ! -i lo -j ACCEPT
7 case "$XT_MULTI" in13 $XT_MULTI iptables -L -t filter || exit 114 $XT_MULTI ip6tables -L -t filter || exit 117 echo skip $XT_MULTI
3 $XT_MULTI iptables -w -L -n > /dev/null || exit 14 $XT_MULTI iptables -w2 -L -n > /dev/null || exit 16 echo -n '#foo' | $XT_MULTI iptables-restore -w || exit 110 $XT_MULTI iptables -w2 -t $table -L -n > /dev/null13 $XT_MULTI iptables -w2 -p icmp --help | grep -q 'Valid ICMP Types' || exit 115 cat <<EOF | $XT_MULTI iptables-restore -w -n105 cat <<EOF | $XT_MULTI iptables-restore -w -n181 cat <<EOF | $XT_MULTI iptables-restore -w -n205 cat <<EOF | $XT_MULTI iptables-restore -w -n230 $XT_MULTI iptables-save -t $table | grep -v '^#' >> "$tmpfile"[all …]