SAF-002: Network Egress Firewall on Docker Networks¶
This Reference preserves the recorded requirement contract.
The front matter states its lifecycle status; this editorial notice does not change that status.
An ACTIVE contract is not a historical implementation or qualification result.
The statement, rationale, identifiers, and traceability below keep their recorded meaning.
The original file is available at source revision 6d35d245f11a.
Statement¶
Lab Docker networks shall enforce egress controls preventing containers from reaching the internet. At minimum, networks carrying attack traffic shall use Docker's internal: true flag or equivalent iptables rules to block outbound connectivity.
Rationale¶
All 4 Docker networks currently use driver: bridge without internal: true, meaning lab containers can reach the internet. An autonomous agent could inadvertently scan or attack external targets.
Traceability¶
- TESTS → TEST
tests/test_consistency.py(TestNetworkEgressControls consistency tests) - DOCUMENTS → GITHUB_ISSUE
231(SAF-002: Network Egress Firewall on Docker Networks) - IMPLEMENTS → CODE_FILE
docker-compose.yml(Docker Compose network definitions with internal: true) - DOCUMENTS → DOCUMENTATION
docs/architecture/networking.md(Network architecture egress controls documentation)