All of lore.kernel.org
 help / color / mirror / Atom feed
* How does netfilter decide which in/out-interface a packet has
@ 2010-03-03 15:54 Christoph Anton Mitterer
  2010-03-03 17:09 ` Pascal Hambourg
  0 siblings, 1 reply; 6+ messages in thread
From: Christoph Anton Mitterer @ 2010-03-03 15:54 UTC (permalink / raw)
  To: netfilter

Hi.

How does netfilter decide which in/out-interface a packet has? I mean  
the following:
Image I have a host with the following interfaces and addresses:
lo: 127.x.x.x and :1/128
eth0: 88.88.88.88
99.99.99.99 is a remote address (packets come in via eth0)

Now consider the following cases (source --> destination):
"internal traffic":
127.x.x.x   --> 127.x.x.x     => quite clear, in=lo out=lo
127.x.x.x   --> 88.88.88.88   => in=??? out=???
88.88.88.88 --> 88.88.88.88   => in=??? out=???
88.88.88.88 --> 127.x.x.x     => in=??? out=???

"incoming traffic (from remote):
99.99.99.99 --> 127.x.x.x     => is that possible at all? how would  
the in=/out= be?
99.99.99.99 --> 88.88.88.88   => quite clear, in=eth0 out=n/a

"outgoing traffic (to remote):
127.x.x.x --> 99.99.99.99     => is that possible at all? how would  
the in=/out= be?
88.88.88.88 --> 99.99.99.99   => quite clear, in=n/a out=eth0


Thanks,
Chris.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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

end of thread, other threads:[~2010-03-07 12:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-03 15:54 How does netfilter decide which in/out-interface a packet has Christoph Anton Mitterer
2010-03-03 17:09 ` Pascal Hambourg
2010-03-04 10:28   ` Christoph Anton Mitterer
2010-03-04 22:59     ` Pascal Hambourg
2010-03-07  3:14       ` Christoph Anton Mitterer
2010-03-07 12:45         ` Pascal Hambourg

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.