netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* any way to reset all marked connections when using CONNMARK?
@ 2011-02-11 21:24 Chris Friesen
  2011-02-12 11:42 ` Andrew Beverley
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Friesen @ 2011-02-11 21:24 UTC (permalink / raw)
  To: netdev, netfilter-devel, netfilter, coreteam


Hi,

We've got a scenario where we want to use CONNMARK to mark connections
that have passed a large number of rules in order to allow packets from
those connections to skip rules in the future (for performance reasons).

However, when we add new rules we want to ensure that all the
connections need to pass the new rules as well.

It has been proposed to add a custom patch to clear the mark for all
marked connections--is there a better way of doing this?

I thought maybe we could use the CONNMARK as a generation count and
bumping it up each time a rule is added.  This would require updating
the bypass rule each time we modify the other rules though.  If there
are better options I'd like to hear them.

Thanks,
Chris

-- 
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <256863566.648.1297461959805.JavaMail.root@tahiti.vyatta.com>]

end of thread, other threads:[~2011-02-17 18:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11 21:24 any way to reset all marked connections when using CONNMARK? Chris Friesen
2011-02-12 11:42 ` Andrew Beverley
2011-02-15 22:06   ` Chris Friesen
2011-02-15 22:42     ` Jan Engelhardt
2011-02-17 18:58       ` Chris Friesen
     [not found] <256863566.648.1297461959805.JavaMail.root@tahiti.vyatta.com>
2011-02-11 22:11 ` Steven Kath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).