Re: raw sockets ignore IP_HDRINCL data

2007-06-03 Thread Herbert Xu
On Mon, Jun 04, 2007 at 08:52:07AM +1000, Mick McCreath wrote: > > Which traceroute are you using?? > > I am using version 1.4a12 by Van Jacobson downloaded from Lawrence > Berkeley Labs. The one from Debian which is based on the same source. Hmm, it looks like I came to the same conclusion tha

Re: raw sockets ignore IP_HDRINCL data

2007-06-03 Thread Mick McCreath
Hi Herbet, Thanks for the feedback. On Sat, 2007-06-02 at 21:07 +1000, Herbert Xu wrote: > Mick McCreath <[EMAIL PROTECTED]> 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 ver

Re: raw sockets ignore IP_HDRINCL data

2007-06-02 Thread Herbert Xu
Mick McCreath <[EMAIL PROTECTED]> 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 bin

raw sockets ignore IP_HDRINCL data

2007-05-31 Thread Mick McCreath
Hi, I have a multi-homed system like this: eth1: 1.2.3.4 GW: 1.2.3.1 eth2: 2.3.4.5 GW: 2.3.4.1 route ouput snippet is: default 2.3.4.1 0.0.0.0 UG 3 0 0 eth2 default 1.2.3.1 0.0.0.0 UG 4 0 0 eth1 default 2.3.4.1 0.0.0.0 UG 4 0 0 eth2 When I run traceroute -i eth1 5.4.3.2, the UDP packets are ro