surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
feat(devcontainer): Use firewall reject rule for immediate feedback instead of +2min timeouts
| @@ -113,6 +113,9 @@ | ||
| 113 | 113 | # Then allow only specific outbound traffic to allowed domains |
| 114 | 114 | iptables -A OUTPUT -m set --match-set allowed-domains dst -j ACCEPT |
| 115 | 115 | |
| 116 | +# Explicitly REJECT all other outbound traffic for immediate feedback | |
| 117 | +iptables -A OUTPUT -j REJECT --reject-with icmp-admin-prohibited | |
| 118 | + | |
| 116 | 119 | echo "Firewall configuration complete" |
| 117 | 120 | echo "Verifying firewall rules..." |
| 118 | 121 | if curl --connect-timeout 5 https://example.com >/dev/null 2>&1; then |