[LARTC] MARK target question

Peter Rabbitson rabbit@rabbit.us
Sat, 8 May 2004 19:00:35 -0500


This is more of a NF question but it is tightly related to LARTC as well. In the following example:

-t mangle -A PREROUTING -i eth0 -j MARK 0x1
....
-t mangle -A INPUT -i eth0 -j MARK 0x2

Since MARK is a non-terminatring target, what would be the resulting mark on a packet comming from the outside and 
destined for a local process?

Thanks

P.S. I agree, the example looks stupid, but on the other hand the real life case where this situation occurs is 
rather confusing and therefore not very suitable.