Commit 5b29ea0
fix: add UDP DROP rule to prevent DNS exfiltration
The OUTPUT filter chain only dropped TCP traffic, leaving UDP
unfiltered. This allowed direct DNS queries to external servers
(e.g., dig @8.8.8.8) to succeed, defeating the DNS exfiltration
prevention. Add iptables -A OUTPUT -p udp -j DROP alongside the
existing TCP DROP rule.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 51da036 commit 5b29ea0
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
253 | 255 | | |
| 256 | + | |
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
| |||
0 commit comments