Operator guidesTest plans
Test plan · 03-icmp-blocked
03-icmp-blocked
Verifies that outbound ICMP (ping) from the agent namespace is dropped.
What it does
- From inside the agent namespace, pings
1.1.1.1with a single packet and a 2-second timeout. - The ICMP echo request is forwarded through the bridge and dropped.
- If any reply comes back, the test fails. If it times out, the test passes.
How to run
make test-e2e # runs all tests including this oneWhy it matters
ICMP is sometimes overlooked in firewall rules. This test confirms the nftables drop rule covers all IP protocols forwarded through the bridge, not just TCP and UDP.
Network path
agent1 namespace (10.99.0.2)
→ ICMP echo request to 1.1.1.1
→ outcall0 bridge
→ FORWARD chain: iifname "outcall0" drop ← blocked hereScript
scripts/e2e/tests/03-icmp-blocked.sh