We had an OUTPUT rule to drop marked packets. Packets are marked with a mark when a user defined rule denies a connection. The thing is that we only intercept NEW connections, and when we deny a connnection using NF_DROP, the packets doesn't flow to the next iptables rule or chain. So it'd be rare to see a packet on the OUTPUT chain marked with the DropMark. Besides, nfq_set_verdict2() doesn't seem to place the mark on the packets (libnetfilter-queue 1.0.5). This OUTPUT rule had 0 hits on different systems and users. |
||
|---|---|---|
| .. | ||
| config.go | ||
| rules.go | ||