NetBSD Problem Report #47227

From www@NetBSD.org  Wed Nov 21 12:43:32 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 8FA5F63DCB2
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Nov 2012 12:43:32 +0000 (UTC)
Message-Id: <20121121124331.29D2863DCB2@www.NetBSD.org>
Date: Wed, 21 Nov 2012 12:43:31 +0000 (UTC)
From: gnrp@komkon2.de
Reply-To: gnrp@komkon2.de
To: gnats-bugs@NetBSD.org
Subject: chat/unrealircd does not listen on IPv4
X-Send-Pr-Version: www-1.0

>Number:         47227
>Category:       pkg
>Synopsis:       chat/unrealircd does not listen on IPv4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 21 12:45:00 +0000 2012
>Last-Modified:  Mon Dec 31 08:20:05 +0000 2012
>Originator:     Julian Fagir
>Release:        6.0-RELEASE
>Organization:
>Environment:
NetBSD $HOSTNAME 6.0 NetBSD 6.0 (GENERIC) sparc64
>Description:
After installing, chat/unrealircd does not listen on IPv4 addresses, but only on IPv6 (which is not active on this server).

Maybe I just didn't read the documentation well enough, but from this line in the configuration (as well as trying to specify the IPv4 address explicitly) it does not work:

listen         *:6667
{
        options
        {
                clientsonly;
        };
};


After selecting -inet6 and rebuilding the package, the server listens also on IPv4.
>How-To-Repeat:
Install chat/unrealircd, run `netstat -an`.
>Fix:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/47227: chat/unrealircd does not listen on IPv4
Date: Mon, 31 Dec 2012 17:17:01 +0900

 On Wed, 21 Nov 2012 21:45:00 +0900, <gnrp@komkon2.de> wrote:

 > After installing, chat/unrealircd does not listen on IPv4 addresses, but only on IPv6 (which is not active on this server).

 Don't you see IPv4-mapped address?
 (also not listed in `netstat -an' for me, but I can connect with IPv4 address)

 -- 
 OBATA Akio / obache@NetBSD.org

NetBSD Home
NetBSD PR Database Search

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