NetBSD Problem Report #33796

From  Thu Jun 22 22:51:20 2006
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 4DE5A63B8B4
	for <>; Thu, 22 Jun 2006 22:51:20 +0000 (UTC)
Message-Id: <>
Date: Fri, 23 Jun 2006 00:51:16 +0200 (CEST)
From: Rhialto <>
Subject: inetd should be less fussy with resolved addresses in inetd.conf
X-Send-Pr-Version: 3.95

>Number:         33796
>Category:       bin
>Synopsis:       inetd should be less fussy with resolved addresses in inetd.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 22 22:55:00 +0000 2006
>Originator:     Rhialto
>Release:        NetBSD 3.0


System: NetBSD 3.0 NetBSD 3.0 (Radls Doordringend Onjuiste Akkoord) #0: Sat Jan 28 16:44:07 CET 2006 amd64
Architecture: x86_64
Machine: amd64
	In my inetd.conf, I have these lines, among others:
telnet		stream	tcp	nowait	root	/usr/libexec/telnetd	telnetd -k
telnet		stream	tcp6	nowait	root	/usr/libexec/telnetd	telnetd -k resolves to multiple addresses, IPv4 and IPv6.
	inetd logs this in syslog:
	Jun 22 23:57:25 radl inetd[207]: telnet/tcp6: resolved to multiple addr
	and then does not bind to them all, only to the IPv4 one.

$ telnet
Trying 2222:222:2222::1...
telnet: connect to address 2222:222:2222::1: Connection refused
Trying fe80::222:2222:2222:2222%sk0...
telnet: connect to address fe80::222:2222:2222:2222%sk0: Connection refused
Connected to
Escape character is '^]'.
Trying SRA secure login:
User (rhialto): 

	I would expect that the telnet/tcp line binds to all tcp4
	addresses and that the telnet/tcp6 line binds to all tcp6
	addresses (which it does not do; it binds to none of them).
	That is what makes most sense (the Principle Of Least

	Configure dns as above and telnet to the multi-protocolled name.

	Loop over all addresses associated with the name when opening
	listening sockets.

___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/        -- Cetero censeo "authored" delendum esse.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.