ip_conntrack_tuple and marks
c-d.hailfinger.devel.2006 at gmx.net
Fri Sep 22 22:33:45 CEST 2006
is it possible to add a nfmark field to ip_conntrack_tuple
so that only packets with a certain mark set are matched to
a connection? I'm trying to filter/nat multiple independent
connections with same ip/proto/port tuples on both sides
and the only distinguishing property of the different
connections is their nfmark. Using NOTRACK doesn't help
because it can only exclude packets from tracking, not
match packets to different expectations.
At first sight, it seems possible to only change a few lines
of code (expectation comparison and setup), but I fear there
might be a lot more to consider.
Any pointers to docs/patches/etc. are appreciated.
More information about the netfilter-devel