Skip to content

Conversation

@theFong
Copy link
Member

@theFong theFong commented Jan 31, 2026

⚠️ DO NOT MERGE - TEST PR

This PR tests that the firewall validation correctly detects when iptables rules are missing.

Setup:

Expected Result:

  • Shadeform Provider Validation should FAIL because without the iptables fix, servers on 0.0.0.0 are accessible from outside

This validates that our test actually catches the security issue.

@theFong theFong requested a review from a team as a code owner January 31, 2026 17:51
@theFong theFong force-pushed the test/firewall-validation-should-fail branch 3 times, most recently from 0b6b71c to c079400 Compare January 31, 2026 18:41
- Add networking_validation.go with ValidateFirewallBlocksPort and
  ValidateDockerFirewallBlocksPort to verify servers on 0.0.0.0 are
  not accessible from outside
- Extract instance validation functions to instance_validation.go
- Add RunFirewallValidation to validation suite
- Integrate ValidateFirewallBlocksPort into RunInstanceLifecycleValidation
@theFong theFong force-pushed the test/firewall-validation-should-fail branch from c079400 to a3f8a62 Compare January 31, 2026 19:02
@theFong
Copy link
Member Author

theFong commented Jan 31, 2026

Test PR successful - proved that ValidateDockerFirewallBlocksPort correctly detects when iptables DOCKER-USER rules are missing. See PR #81 for the actual validation code.

@theFong theFong closed this Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants