netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Target in two chains simultaneously
@ 2009-11-10 22:32 Kristian Evensen
  0 siblings, 0 replies; only message in thread
From: Kristian Evensen @ 2009-11-10 22:32 UTC (permalink / raw)
  To: netfilter

Hello,

I am working on a small project where I need (or at least want) to base 
outgoing TCP load balancing on incoming ACKs. My first idea was to write 
a threaded kernel module using netfilter, but I am not sure if that is 
needed. Also, since every outgoing/incoming packet has to go through 
that module it might affect performance severly.

I am not too familiar with the iptables-architecture, but would it make 
sense to use the same module in two chains (for example OUTPUT and 
INPUT) simultaneously and then share data structures between them? How 
will this perform, and would I need to do any syncronization between the 
shared structures? For example, can the processing of an outgoing packet 
be interrupted by an incoming?

Thanks in advance for any help,
Kristian

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-10 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-10 22:32 Target in two chains simultaneously Kristian Evensen

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).