blob: 83c72af13f82659a6c040cba4d33857eb10dc0c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
set -e
RULESET="add table x
add chain x y
delete chain x y
add rule x y jump y"
# kernel must return ENOENT
$NFT -f - <<< $RULESET 2>/dev/null
echo "E: allowing jump loop to unexisting chain"
|