Subject: bin/21233: -U option of telnetd not working
To: None <gnats-bugs@gnats.netbsd.org>
From: None <o.vd.linden@quicknet.nl>
List: netbsd-bugs
Date: 04/19/2003 15:24:01
>Number:         21233
>Category:       bin
>Synopsis:       -U option of telnetd not working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 19 13:25:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Onno van der Linden
>Release:        NetBSD 1.6Q
>Organization:
	
>Environment:
	
	
System: NetBSD sheep 1.6Q NetBSD 1.6Q (SHEEP) #0: Sun Apr 6 16:29:49 MEST 2003 onno@sheep:/usr/src/sys/arch/i386/compile/SHEEP i386
Architecture: i386
Machine: i386
>Description:
	telnetd(8) mentions the -U option. When -U is used the variable
        registerd_host_only is set to 1 in the code and is never referenced
        anywhere else.
>How-To-Repeat:
	use the -U option of telnetd
>Fix:
	Either remove the -U option from the telnetd man page or fix the code.
	Fix for the code at line 934 of telnetd.c is to call getnameinfo with
        the NI_NAMEREQD flag set when registerd_host_only is set to 1.
>Release-Note:
>Audit-Trail:
>Unformatted: