netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Kirch <okir@suse.de>
To: Nivedita Singhvi <niv@us.ibm.com>
Cc: David Stevens <dlstevens@us.ibm.com>,
	netdev@oss.sgi.com, snortwiz@hotmail.com
Subject: Re: OSDL Bugzilla #2399: A user can remotely route a packet through eth0 on a Linux machine
Date: Tue, 11 May 2004 22:53:19 +0200	[thread overview]
Message-ID: <20040511205319.GB26049@suse.de> (raw)
In-Reply-To: <40A12646.7080605@us.ibm.com>

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@suse.de   |
---------------+ 

      reply	other threads:[~2004-05-11 20:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-11 18:07 OSDL Bugzilla #2399: A user can remotely route a packet through eth0 on a Linux machine Nivedita Singhvi
2004-05-11 18:53 ` David Stevens
2004-05-11 19:15   ` Nivedita Singhvi
2004-05-11 20:53     ` Olaf Kirch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040511205319.GB26049@suse.de \
    --to=okir@suse.de \
    --cc=dlstevens@us.ibm.com \
    --cc=netdev@oss.sgi.com \
    --cc=niv@us.ibm.com \
    --cc=snortwiz@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).