Netbios packets sent over loopback device?

Keith Owens (kaos@melbpc.org.au)
Sun, 25 Feb 1996 22:40:16 +0000


1.3.68 ELF. Running SAMBA on a machine and playing with the firewall
code at the same time, firewall verbose logging enabled with a patch to
display the via device. Only nmbd was running at the time. One
strange result was

Deny UDP via 127.0.0.1 192.168.1.1:137 192.168.1.255:137

Why is a netbios broadcast packet going via the loopback interface?
All other packets for 192.168.1.xxx are going via eth0 as required.
Route is

Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
my.ppp.link * 255.255.255.255 UH 1500 0 2 ppp0
192.168.1.0 * 255.255.255.0 U 1500 0 6 eth0
127.0.0.0 * 255.0.0.0 U 3584 0 1 lo
default my.ppp.link * UG 1500 0 0 ppp0

Taking the loopback interface down changes the via address to 0.0.0.0.