[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1HuRS1-0002aE-00@gondolin.me.apana.org.au>
Date: Sat, 02 Jun 2007 21:07:17 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: mick_mccreath@...securecomputing.com (Mick McCreath)
Cc: netdev@...r.kernel.org
Subject: Re: raw sockets ignore IP_HDRINCL data
Mick McCreath <mick_mccreath@...securecomputing.com> wrote:
>
> When I run traceroute -i eth1 5.4.3.2, the UDP packets are routed out
> eth2.
>
> Has anybody seen this behaviour with traceroute??
Well the version of traceroute here actually does a BINDTODEVICE so it
will go out of the right interface. It also binds the socket so that
it gets the right source address.
I can see your point of view that it would be nice if the kernel read
the IP headers in making its routing decision. However, the current
behaviour has been there forever and it's unclear what we might break
by changing it.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists