All of lore.kernel.org
 help / color / mirror / Atom feed
* Questions regarding routing in the stack
@ 2005-07-21 14:30 JC
  2005-07-21 16:24 ` Carl Holtje ;021;vcsg6;
  0 siblings, 1 reply; 10+ messages in thread
From: JC @ 2005-07-21 14:30 UTC (permalink / raw)
  To: netfilter

I was hoping someone could possibly shed some light into this or at
least point me to the right direction...

I am trying to develop a kernel module level solution for dynamic host
multihoming. This requires that I mangle packets from specific
applications running on the system right in the stack and basically
change the interface the packets are sent from (at least two
interfaces).

I understand that I need to register my mangling function with one of
the 5 netfilter hooks (the ROUTING one?), grab the interesting packets
and change..... something in the skbuff.

What really evades me is where/when does routing *exactly* happen. If
I know at which point it happens, I should tap right after it and
change the interface to the one I want. Or this whole idea could be
bad and I end up breaking something in the
packet and it gets dropped...

Of course, that needs to happen for both locally generated traffic and
incoming traffic, so that I link the incoming packets to the right
applications.

regards,
JC


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-07-24 11:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-21 14:30 Questions regarding routing in the stack JC
2005-07-21 16:24 ` Carl Holtje ;021;vcsg6;
2005-07-21 17:18   ` JC
2005-07-21 17:42   ` Jan Engelhardt
2005-07-22 22:45     ` Donald Murray
2005-07-23  0:26       ` R. DuFresne
2005-07-23 11:11         ` Jan Engelhardt
2005-07-23 22:25           ` R. DuFresne
2005-07-24  7:33             ` Jan Engelhardt
2005-07-24 11:18               ` R. DuFresne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.