Re: about syslogd and printk()

kuznet@ms2.inr.ac.ru
Tue, 21 Jul 1998 19:10:58 +0400 (MSK DST)


Hello!

> Actually it's SOCK_DGRAM and SOCK_PACKET not SOCK_RAW. Using SOCK_DGRAM
> works on ippp0, ppp0, lo, eth0, plip0 - but not sl0. Using SOCK_PACKET
> works on all. In all cases the socket was bound to the interface.
> I can send diald patches and the test code if it helps.

Please, send it me.

> There appears to be another problem with ippp, possibly related
> to masquerading, where outgoing packets get source addresses of
> zero (tcpdump on the remote end shows packets from 0.0.0.0 and
> the local /proc/net/rt_cache shows a source of 0x00000000). As far
> as I can tell, if a masqueraded packet opens the link we get a
> good source address (in this case the packet is received by diald
> on its slip link and forwarded to the actual device once it comes
> up). If the link is already up I seem to get the zero address
> problem - ifconfig, ip link and ipchains show the expected addresses
> but rt_cache and what goes out is wrong.

It is very strange. Looks like bug. This situation is supposed
to be possible only if you explicitly set fake zero address
on this interface. Please, make "ip route ls table cache",
"ip addr ls" and "ip route ls table all".

Alexey Kuznetsov

-
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.altern.org/andrebalsa/doc/lkml-faq.html