Wierd problem with raw sockets, 2.2.7 and glibc

Anton Ivanov (anton.ivanov@level3.com)
Wed, 28 Jul 1999 11:36:35 +0100 (BST)


-----BEGIN PGP SIGNED MESSAGE-----

Hi all,
I have ran into a wierd problem with 2.2.7. Here's the description:

When trying to generate traffic from a spoofed source address to a destination
on the same network it goes through. If the address is one hop further it does
not. tcpdump reports that the packets are being send. In real life they aren't.

Note: I am trying to test equipment/software and I need a spoofed source
address (this is not an attempt to kill somebody ;-)

Machibe:
Linux dexter 2.2.7 #24 Fri Jul 2 16:29:33 BST 1999 alpha unknown

kernel config:
firewalling - enabled
forwarding - enabled
qos provisions - compiled in but not enabled

libraries are glibc - 2.0.7

/proc/sys/net/ipv4/conf/ethX/rp_filter is 0 for the interface in question,
default is also 0, other ifaces are 1

Machine is: alpha LX 533

Network interfaces are: 2 x Tulip and 1 x 1GB Hamachi. The interface to which
the packets are to be forwarded is the hamachi

Any help shall be appreciated. I found one ref to a similar problem in the
list archive but there was no actual answer for it there.

In btw: I asked a couple of people to try it on libc-5 systems with 2.2.7 80x86
and it worked.

- ----------------------------------
Anton R. Ivanov
IP Engineer
E-Mail: Anton Ivanov <anton.ivanov@level3.com>
- ----------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQEVAwUBN57dMSlWAw/bM84zAQFd0Qf9FPA8oC52YiEs2yl/XuKknDt3KUMBrhVT
Ph7QmzIuSqE3+F/tmohlCiHDZaCVBkDi13NiQv73elXcD6se2WnLImeMY6TGtE6O
j003S+EmHZYEsYVsxT9VSbhtA6B6zHARqeAPnqL8nWUFvSzwVA51ga0sFpM4dfuH
hKobXM6FwOqkwPAiGeBv4k2rrlz45n3nrEs1TfAJbn18bdoQtiCoYLcISQ4tI4M8
7l/9CZ634bopzfBWA5KnQ2//F7b3VtSSZUbsVUBPIIHgJEcxtIfMEeJYmyLIclGL
w6Uvll5HHRP0Hcd4XJd9A8HDk6Qm0WDsF+LgNf6/8F3wOiO1BZklOw==
=VEoK
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/