Subject: kern/4360: specific IP address UDP ports don't get broadcasts
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
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
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        NetBSD 1.3_ALPHA
>Environment:
	
System: NetBSD kolvir.arlington.ma.us 1.3_ALPHA NetBSD 1.3_ALPHA (KOLVIR) #9: Sat Oct 25 22:52:08 EDT 1997 jtk@kolvir.arlington.ma.us:/u4/sandbox/src/sys/arch/i386/compile/KOLVIR i386


>Description:
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.

>How-To-Repeat:
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.

>Fix:

>Audit-Trail:
>Unformatted: