From: "Chris Friesen" <cfriesen@nortel.com>
To: Neil Horman <nhorman@tuxdriver.com>
Cc: Linux Network Development list <netdev@vger.kernel.org>
Subject: Re: question on raw sockets and source IP address validation
Date: Thu, 24 Sep 2009 13:37:43 -0600 [thread overview]
Message-ID: <4ABBCA87.2040002@nortel.com> (raw)
In-Reply-To: <20090924192651.GC19787@hmsreliant.think-freely.org>
On 09/24/2009 01:26 PM, Neil Horman wrote:
> That said, its not doing source validation, your socket is actually doing a
> route lookup on the flow from your specified source address to your destination
> address. So you should be able to fool the socket into doing the lookup by
> adding a route to your routing table from your source address to your
> destination address via the interface that you want to send the frames out of.
Hmm...that's an interesting point. Worth investigating for sure.
Thanks,
Chris
prev parent reply other threads:[~2009-09-24 19:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-24 17:53 question on raw sockets and source IP address validation Chris Friesen
2009-09-24 19:26 ` Neil Horman
2009-09-24 19:37 ` Chris Friesen [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=4ABBCA87.2040002@nortel.com \
--to=cfriesen@nortel.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.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).