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