Graham Leggett wrote:

> I just need a quick clarification as to how the firewall accounting
> rules work.
> 
> If I have two rules, the first a specific rule, the second a general
> rule, will the kernel log a packet with both rules, or just with the
> rule that matched first?

Packets are checked against *every* accounting rule. If a packet
matches multiple accounting rules, every matching rule will have its
packet and byte counters incremented.

This is different to the behaviour for the input/output/forwarding
rules, where only the first matching rule is used.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to