blob: e58c088c2e846e2e5d93a4b413e960c2fbab3b55 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
RULESET="add table x
add chain x y
add rule x y jump y"
# kernel must return ELOOP
$NFT -f - <<< "$RULESET" 2>/dev/null || exit 0
echo "E: allowing jump to chain loop"
exit 1
|