Page 1 of 1

Packet Mark

Posted: Thu Sep 01, 2005 2:51 pm
by evert
Hi all!

Just wondering about the following: In 2.8 when marking packets you could either set the action to 'accept' or 'passthrough', thereby determining whether the rest of the mangling would be processed for the packet or not.

In 2.9 when I get the action to 'mark packet' does that mean the rules processing stops with the first 'mark packet' rule matching the packet? Or does a packet end up with several markings?

Posted: Thu Sep 01, 2005 7:12 pm
by RaynMan
Can't be sure, but the way it seems is that by default when you mark a packet it carries on as per 'passthrough'...

If you then have an accept action (rather than mark-packet) looking for that mark then it'll stop, otherwise it'll carry on until it finds another rule that applies to it, where it then overwrites the previous mark...

That's how I see it...

Will check some more tonight...

Posted: Thu Sep 01, 2005 7:29 pm
by evert
So I should to it the 'old' way (action either 'accept' or 'passthrough' & do the marking on the left-most tab) to re-create my 2.8 config...?

Posted: Thu Sep 01, 2005 8:17 pm
by evert
Well, that doesn't work... :?

As soon as I change a mangle rule from 'Packet mark' to 'Accept' or 'Passthrough' and use the left-most tab to indicate the marking instead, the packet throughput of that rule drops to 0...