netdev
[Top] [All Lists]

Re: OSDL Bugzilla #2399: A user can remotely route a packet through eth0

To: Nivedita Singhvi <niv@xxxxxxxxxx>
Subject: Re: OSDL Bugzilla #2399: A user can remotely route a packet through eth0 on a Linux machine
From: Olaf Kirch <okir@xxxxxxx>
Date: Tue, 11 May 2004 22:53:19 +0200
Cc: David Stevens <dlstevens@xxxxxxxxxx>, netdev@xxxxxxxxxxx, snortwiz@xxxxxxxxxxx
In-reply-to: <40A12646.7080605@us.ibm.com>
References: <OF94DCEE79.E30FBAF0-ON88256E91.0067773D-88256E91.0067C495@us.ibm.com> <40A12646.7080605@us.ibm.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Tue, May 11, 2004 at 12:15:18PM -0700, Nivedita Singhvi wrote:
> I think the only issue here is if an application that
> binds to an interface should see packets coming in
> from another - if that is what is happening here?.

Well, to bind to an interface you need to use SO_BINDTODEVICE.

Everything else is just another address. You can even assign an address
to the dummy device and as long as you create static arp entries,
pinging that address from other hosts will work.

Olaf
-- 
Olaf Kirch     |  The Hardware Gods hate me.
okir@xxxxxxx   |
---------------+ 

<Prev in Thread] Current Thread [Next in Thread>