- [Q}Linux TCP/IP stack routing...

PDA

View Full Version : [Q}Linux TCP/IP stack routing...


Paul
07-24-2004, 06:01 PM
Hi,

When figuring out the next hop, does it consider source as well as destination?

I thought that Routing only looks at destination.
But, Linux routing info entry(in TCP/IP stack) consists of source+destination+TOS.

Any comment?

hcckfn@cmvykd.com.zj
07-24-2004, 06:01 PM
|When figuring out the next hop, does it consider source as well as destination?
|
|I thought that Routing only looks at destination.
|But, Linux routing info entry(in TCP/IP stack) consists of source+destination+TOS.
|
|Any comment?

Consider a multihomed host... (you fill in the rest).

Ida
07-24-2004, 06:02 PM
Yes, Linux looks the route to the source address to find out whether there
is IP Spoofing.

Ida Young
Support of ITShield firewall
www.itshield.com


"Paul" <hotmxptmxm@hotmail.com> wrote in message
news:7bfd3ebd.0306232008.1ece26b5@posting.google.com...
> Hi,
>
> When figuring out the next hop, does it consider source as well as
destination?
>
> I thought that Routing only looks at destination.
> But, Linux routing info entry(in TCP/IP stack) consists of
source+destination+TOS.
>
> Any comment?

Paul
07-24-2004, 06:02 PM
hcckfn@cmvykd.com.zj wrote in message news:<NzQJa.647$g_1.4478@news-server.bigpond.net.au>...
> |When figuring out the next hop, does it consider source as well as destination?
> |
> |I thought that Routing only looks at destination.
> |But, Linux routing info entry(in TCP/IP stack) consists of source+destination+TOS.
> |
> |Any comment?
>
> Consider a multihomed host... (you fill in the rest).

Still, routing is just to find a nexthop and send over to it. Why source matters?