Subject: kern/4360: specific IP address UDP ports don't get broadcasts
To: None <>
From: John Kohl <>
List: netbsd-bugs
Date: 10/26/1997 23:39:43
>Number:         4360
>Category:       kern
>Synopsis:       specific IP address UDP ports don't get broadcasts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 26 20:50:01 1997
>Originator:     John Kohl
NetBSD Kernel Hackers `R` Us
>Release:        NetBSD 1.3_ALPHA
System: NetBSD 1.3_ALPHA NetBSD 1.3_ALPHA (KOLVIR) #9: Sat Oct 25 22:52:08 EDT 1997 i386

It appears that UDP servers listening on a specific interface
address/socket pair do not receive broadcasts on those interfaces,
and/or inetd(8) doesn't fork off such servers when broadcast packets arrive.

Bind "ip-address" as an alias on an ethernet interface.

Put a line like this in your inetd.conf:
ip-address:netbios-ns	dgram	udp	wait	root	/usr/local/samba/bin/nmbd nmbd

Cause another host on the network to send a UDP broadcast to this port.

Watch that inetd never forks off nmbd.