GNU bug report logs - #18914
2.0.11 REPL server listens on 127.0.0.1 but not "localhost"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: taylanbayirli@HIDDEN ("Taylan Ulrich Bayırlı/Kammer"); dated Fri, 31 Oct 2014 15:53:03 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 18914 <at> debbugs.gnu.org:


Received: (at 18914) by debbugs.gnu.org; 12 Jul 2016 07:17:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 03:17:56 2016
Received: from localhost ([127.0.0.1]:47528 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bMrx6-0007gE-8R
	for submit <at> debbugs.gnu.org; Tue, 12 Jul 2016 03:17:56 -0400
Received: from pb-sasl2.pobox.com ([64.147.108.67]:53019
 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wingo@HIDDEN>) id 1bMrx4-0007g6-2G
 for 18914 <at> debbugs.gnu.org; Tue, 12 Jul 2016 03:17:54 -0400
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
 by pb-sasl2.pobox.com (Postfix) with ESMTP id DEC4F23E2A;
 Tue, 12 Jul 2016 03:17:52 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type; s=sasl; bh=MRcMeL/MjV4qMbpmssNxnAyENuM=; b=O6yi9i
 +RImvvSLQmH6vMkVUOQIXFb4Jw87m7XVoEEZR05QbIRwu3oDCvlDDDwK2wfrj2v/
 Z5JTdEWKjFJ1iKg2uIjuUB6u7Gd9OB8bGJ3a58SqOVrepBnxYaqghnn0DGKMx6ms
 uqzbInrhnv184CjpoPtaxdyk5jC+Se9k8gWKY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type; q=dns; s=sasl; b=QDFhnK31TzhCrDIUq0KX7Ve7kis5t/hm
 5TDrXTrg7oFnsVORIz+UMqgLzcsAHJfYOJ5ci1Lu/r5jDvv9Tz2liVo314mBnRKM
 hTwv8AjOYc54To0600GfhrjExJQwIUYuIrePRoCm2Pcpbgzc04IJej/GvXQYV74I
 QJ6Rd8TlF2s=
Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1])
 by pb-sasl2.pobox.com (Postfix) with ESMTP id C664523E29;
 Tue, 12 Jul 2016 03:17:52 -0400 (EDT)
Received: from clucks (unknown [88.160.190.192])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by pb-sasl2.pobox.com (Postfix) with ESMTPSA id DEB8623E28;
 Tue, 12 Jul 2016 03:17:51 -0400 (EDT)
From: Andy Wingo <wingo@HIDDEN>
To: taylanbayirli@HIDDEN (Taylan Ulrich =?utf-8?Q?=22Bay=C4=B1rl=C4=B1?=
 =?utf-8?Q?=2FKammer=22?=)
Subject: Re: bug#18914: 2.0.11 REPL server listens on 127.0.0.1 but not
 "localhost"
References: <20141101205635.UI3ZE.44485.root@cdptpa-web20>
 <878ujtbusi.fsf@HIDDEN> <87por9tyih.fsf@HIDDEN>
Date: Tue, 12 Jul 2016 09:17:44 +0200
In-Reply-To: <87por9tyih.fsf@HIDDEN> (Andy Wingo's message of "Wed, 22 Jun
 2016 10:32:06 +0200")
Message-ID: <87eg6z2ulj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Pobox-Relay-ID: BEEB799C-4800-11E6-BA9F-28A6F1301B6D-02397024!pb-sasl2.pobox.com
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: 18914
Cc: 18914 <at> debbugs.gnu.org, dsmich@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

On Wed 22 Jun 2016 10:32, Andy Wingo <wingo@HIDDEN> writes:

> Works for me, with Guile 2.0.11 also.  Could it be that "nc" is trying
> to connect to an IPv6 address?

Pretty sure that's what's going on here.  When Guile makes server
sockets, it assumes it should listen on a single family/address/port
triple.  Specifically for INADDR_LOOPBACK that's going to be IPv4
127.0.0.1 and not IPv6 at all.  Probably we should use getaddrinfo if
the user supplies a "host", and use that to plumb through a list of
addresses on which to bind (and/or connect).

Andy




Information forwarded to bug-guile@HIDDEN:
bug#18914; Package guile. Full text available.

Message received at 18914 <at> debbugs.gnu.org:


Received: (at 18914) by debbugs.gnu.org; 22 Jun 2016 08:32:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 22 04:32:18 2016
Received: from localhost ([127.0.0.1]:50328 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bFda6-0007fs-G2
	for submit <at> debbugs.gnu.org; Wed, 22 Jun 2016 04:32:18 -0400
Received: from pb-sasl1.pobox.com ([64.147.108.66]:55605
 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wingo@HIDDEN>) id 1bFda4-0007fk-68
 for 18914 <at> debbugs.gnu.org; Wed, 22 Jun 2016 04:32:16 -0400
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
 by pb-sasl1.pobox.com (Postfix) with ESMTP id CECFF1966B;
 Wed, 22 Jun 2016 04:32:14 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type:content-transfer-encoding; s=sasl; bh=DKIsB9RyA2c9
 wX2GiGhZupjBoqA=; b=I3UEwa62uDIPpT3XRLx0aphT6ltgYLhpGbyW1y5wiJIl
 Y1qLwH9t/6rmDeIZN7xV4peBM3pgQJLtL7f8tpzSATNAxI4zLUspY2irXulUe2CD
 CAnLuGrJ3FaOdc6AIO2tEH0qGINamjtdh2VL5af7vSBcUgAAsQg1ui/TTYUsCFY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type:content-transfer-encoding; q=dns; s=sasl; b=PwXbeQ
 2/lUNCVEl6vwHACStfCoKfFKPk3itndgkTp3xyQ9d1NUOKjr2GOageBQLtEeQpx1
 /+p+BFOZiVrcIXP+WiJhLcKkyUsIWfaMn5KkWcX1SBkkCel2L9V9xjSo13cPGgeg
 RoBDSKWN/ws2aULzMoYH+7M3wi6vYdvQIJ4zw=
Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1])
 by pb-sasl1.pobox.com (Postfix) with ESMTP id C7D9219669;
 Wed, 22 Jun 2016 04:32:14 -0400 (EDT)
Received: from clucks (unknown [88.160.190.192])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by pb-sasl1.pobox.com (Postfix) with ESMTPSA id E375619668;
 Wed, 22 Jun 2016 04:32:13 -0400 (EDT)
From: Andy Wingo <wingo@HIDDEN>
To: taylanbayirli@HIDDEN (Taylan Ulrich =?utf-8?Q?=22Bay=C4=B1rl=C4=B1?=
 =?utf-8?Q?=2FKammer=22?=)
Subject: Re: bug#18914: 2.0.11 REPL server listens on 127.0.0.1 but not
 "localhost"
References: <20141101205635.UI3ZE.44485.root@cdptpa-web20>
 <878ujtbusi.fsf@HIDDEN>
Date: Wed, 22 Jun 2016 10:32:06 +0200
In-Reply-To: <878ujtbusi.fsf@HIDDEN> ("Taylan Ulrich
 =?utf-8?Q?=5C=22Bay=C4=B1rl=C4=B1=2FKammer=5C=22=22's?= message of "Sun, 02
 Nov 2014 14:23:41 +0100")
Message-ID: <87por9tyih.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Pobox-Relay-ID: D23F7A00-3853-11E6-A139-C1836462E9F6-02397024!pb-sasl1.pobox.com
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: 18914
Cc: 18914 <at> debbugs.gnu.org, dsmich@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.4 (-)

Hi,

Works for me, with Guile 2.0.11 also.  Could it be that "nc" is trying
to connect to an IPv6 address?

Andy

On Sun 02 Nov 2014 14:23, taylanbayirli@HIDDEN (Taylan Ulrich "Bay=C4=B1=
rl=C4=B1/Kammer") writes:

> <dsmich@HIDDEN> writes:
>
>> Seems to work fine on master
>
> I just built from the master branch to be sure and can still reproduce.
>
>> Maybe try strace, possibly limiting it with -e connect, to reveal what
>> it's actually doing.
>
> Not sure what I should be looking for, but there is no connect() call,
> no occurrence of "localhost" in the whole output, but the following
> snippet at some point:
>
> ...
> socket(PF_INET, SOCK_STREAM, IPPROTO_IP) =3D 8
> fcntl(8, F_GETFL)                       =3D 0x2 (flags O_RDWR)
> lseek(8, 0, SEEK_CUR)                   =3D -1 ESPIPE (Illegal seek)
> setsockopt(8, SOL_SOCKET, SO_REUSEADDR, [1], 4) =3D 0
> bind(8, {sa_family=3DAF_INET, sin_port=3Dhtons(37146), sin_addr=3Dinet_ad=
dr("127.0.0.1")}, 16) =3D 0
> mmap(NULL, 8720384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_S=
TACK, -1, 0) =3D 0x7f35aaf81000
> mprotect(0x7f35aaf81000, 4096, PROT_NONE) =3D 0
> clone(child_stack=3D0x7f35ab7d0ff0,
> flags=3DCLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SY=
SVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
> parent_tidptr=3D0x7f35ab7d19d0, tls=3D0x7f35ab7d1700,
> child_tidptr=3D0x7f35ab7d19d0) =3D 2099
> futex(0x7fffd27a33fc, FUTEX_WAIT_PRIVATE, 1, NULL) =3D 0
> ...
>
> which is also the sole occurrence of '127.0.0.1'.  Seems to come from
> `make-tcp-server-socket' in module/system/repl/server.scm where it
> passes INADDR_LOOPBACK, an integer whose value is 127.0.0.1 as a uint32,
> to bind().  I don't know at what point it's normally supposed to make
> the association with "localhost".
>
> Any further help in how to debug this is appreciated.  I have little
> knowledge of the POSIX networking API.
>
> Taylan




Information forwarded to bug-guile@HIDDEN:
bug#18914; Package guile. Full text available.

Message received at 18914 <at> debbugs.gnu.org:


Received: (at 18914) by debbugs.gnu.org; 2 Nov 2014 13:23:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 02 08:23:53 2014
Received: from localhost ([127.0.0.1]:45056 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Xkv8K-0002tO-Im
	for submit <at> debbugs.gnu.org; Sun, 02 Nov 2014 08:23:52 -0500
Received: from mail-la0-f49.google.com ([209.85.215.49]:47045)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <taylanbayirli@HIDDEN>) id 1Xkv8H-0002tA-Re
 for 18914 <at> debbugs.gnu.org; Sun, 02 Nov 2014 08:23:51 -0500
Received: by mail-la0-f49.google.com with SMTP id ge10so8014475lab.8
 for <18914 <at> debbugs.gnu.org>; Sun, 02 Nov 2014 05:23:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-type;
 bh=k5YU0GK2J5DmVXlOtPj6c6Gp842okOlU4jys5PrkPK4=;
 b=C23Wzn8enHFnvKYRhw2uFhouUJzZVvm8bJonCKTeCR/P2ergE4UIpYLwyizUuLgDxr
 b+7B3ygIpwDg2cWTD8F1FT5AXem5y4cJdJjgJCcMuICjZffQ8JCanDWrgAaqppw97aS/
 IK3e84v6xhDDAwoy8K8rQWrORmLOv1EL9nDKZzgrxJhq/lUCTatqP+siXl1kUUUfbfuz
 HJy/NzFcpyWzLr+eGYRSInQl6uHWZIVsz7oW+k2egbn6vmhv+XsCu0llOFgHEYzCT9+p
 TjX7y7Pujrnd1r/wjotXbIenvxcNslgEf0taCszdBoONeeWMLy4CWgKnZ8j9/Acqje2p
 HaOA==
X-Received: by 10.153.7.170 with SMTP id dd10mr42856368lad.45.1414934623521;
 Sun, 02 Nov 2014 05:23:43 -0800 (PST)
Received: from taylan.uni.cx
 (p200300514A13A28C0213E8FFFEED36FB.dip0.t-ipconnect.de.
 [2003:51:4a13:a28c:213:e8ff:feed:36fb])
 by mx.google.com with ESMTPSA id dw2sm6717233lbc.38.2014.11.02.05.23.42
 for <multiple recipients>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Sun, 02 Nov 2014 05:23:42 -0800 (PST)
From: taylanbayirli@HIDDEN (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?=
 =?utf-8?Q?=2FKammer?=)
To: <dsmich@HIDDEN>
Subject: Re: bug#18914: 2.0.11 REPL server listens on 127.0.0.1 but not
 "localhost"
References: <20141101205635.UI3ZE.44485.root@cdptpa-web20>
Date: Sun, 02 Nov 2014 14:23:41 +0100
In-Reply-To: <20141101205635.UI3ZE.44485.root@cdptpa-web20>
 (dsmich@HIDDEN's message of "Sat, 1 Nov 2014 16:56:35 -0400")
Message-ID: <878ujtbusi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 18914
Cc: 18914 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

<dsmich@HIDDEN> writes:

> Seems to work fine on master

I just built from the master branch to be sure and can still reproduce.

> Maybe try strace, possibly limiting it with -e connect, to reveal what
> it's actually doing.

Not sure what I should be looking for, but there is no connect() call,
no occurrence of "localhost" in the whole output, but the following
snippet at some point:

...
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 8
fcntl(8, F_GETFL)                       = 0x2 (flags O_RDWR)
lseek(8, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
setsockopt(8, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(8, {sa_family=AF_INET, sin_port=htons(37146), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
mmap(NULL, 8720384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f35aaf81000
mprotect(0x7f35aaf81000, 4096, PROT_NONE) = 0
clone(child_stack=0x7f35ab7d0ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f35ab7d19d0, tls=0x7f35ab7d1700, child_tidptr=0x7f35ab7d19d0) = 2099
futex(0x7fffd27a33fc, FUTEX_WAIT_PRIVATE, 1, NULL) = 0
...

which is also the sole occurrence of '127.0.0.1'.  Seems to come from
`make-tcp-server-socket' in module/system/repl/server.scm where it
passes INADDR_LOOPBACK, an integer whose value is 127.0.0.1 as a uint32,
to bind().  I don't know at what point it's normally supposed to make
the association with "localhost".

Any further help in how to debug this is appreciated.  I have little
knowledge of the POSIX networking API.

Taylan




Information forwarded to bug-guile@HIDDEN:
bug#18914; Package guile. Full text available.

Message received at 18914 <at> debbugs.gnu.org:


Received: (at 18914) by debbugs.gnu.org; 1 Nov 2014 20:56:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 01 16:56:45 2014
Received: from localhost ([127.0.0.1]:44855 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Xkfj3-0006jB-0j
	for submit <at> debbugs.gnu.org; Sat, 01 Nov 2014 16:56:45 -0400
Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.228]:64807
 helo=cdptpa-oedge-vip.email.rr.com)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dsmich@HIDDEN>) id 1Xkfiz-0006ix-9A
 for 18914 <at> debbugs.gnu.org; Sat, 01 Nov 2014 16:56:42 -0400
Authentication-Results: cdptpa-oedge01 smtp.user=dsmich@HIDDEN;
 auth=pass (LOGIN)
Received: from [107.14.174.248] ([107.14.174.248:28947] helo=cdptpa-web20)
 by cdptpa-oedge01 (envelope-from <dsmich@HIDDEN>)
 (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTPA
 id FE/80-07476-30945545; Sat, 01 Nov 2014 20:56:35 +0000
Message-ID: <20141101205635.UI3ZE.44485.root@cdptpa-web20>
Date: Sat, 1 Nov 2014 16:56:35 -0400
From: <dsmich@HIDDEN>
To: =?utf-8?Q?Taylan_Ulrich_Bay=C4=B1rl=C4=B1/Kammer?=
 <taylanbayirli@HIDDEN>
Subject: Re: bug#18914: 2.0.11 REPL server listens on 127.0.0.1 but not
 "localhost"
In-Reply-To: <87d297c0sz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (Normal)
Sensitivity: Normal
X-Originating-IP: from 104.139.20.85 by webmail.roadrunner.com;
 Sat, 1 Nov 2014 20:56:35 +0000
X-RR-Connecting-IP: 107.14.168.118:2525
X-Cloudmark-Score: 0
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 18914
Cc: 18914 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


---- "Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer" <taylanbayirli@HIDDEN> wro=
te:=20
> <dsmich@HIDDEN> writes:

> > What does /etc/hosts say?
>=20
> tub@taylan:~$ cat /etc/hosts
> 127.0.0.1=09localhost
> 127.0.1.1=09taylan.uni.cx   taylan
>=20
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> tub@taylan:~$
>=20
> This is on Debian and I don't remember manually mucking with the file.
>=20
> Were you not able to reproduce the bug?

Seems to work fine on master

dsmith@stumpy:~$ ncat localhost 37146
GNU Guile 2.1.0.1583-7dba1
Copyright (C) 1995-2014 Free Software Foundation, Inc.
...


Maybe try strace, possibly limiting it with -e connect, to reveal what it's=
 actually doing.

-Dale





Information forwarded to bug-guile@HIDDEN:
bug#18914; Package guile. Full text available.

Message received at 18914 <at> debbugs.gnu.org:


Received: (at 18914) by debbugs.gnu.org; 31 Oct 2014 22:49:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 31 18:49:29 2014
Received: from localhost ([127.0.0.1]:44191 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XkL0a-0002Nl-Pu
	for submit <at> debbugs.gnu.org; Fri, 31 Oct 2014 18:49:29 -0400
Received: from mail-la0-f45.google.com ([209.85.215.45]:42417)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <taylanbayirli@HIDDEN>) id 1XkL0W-0002NV-NM
 for 18914 <at> debbugs.gnu.org; Fri, 31 Oct 2014 18:49:26 -0400
Received: by mail-la0-f45.google.com with SMTP id pn19so1605859lab.4
 for <18914 <at> debbugs.gnu.org>; Fri, 31 Oct 2014 15:49:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-type;
 bh=zAMSZu5dSlOW3+h7usiq0/smyTWd1xIJI7Th42N4JyA=;
 b=uKBh8RwJVePP5/QjQ96IOrr9mPZ6aTUqP2YsmT+kDGKnzzibsoWLh07PVGtqjVK83K
 4TZOEkgDH9tWnZZ1IeoemJeI7MeT/W8uUzbcXQRR3x3XC1YZoatfuuYLE9U5R27ydvug
 53uQhveFw34bbPJ2zZNczolVxe5Afc9I48pPSXUmfIiIwJmvK0xspSXv11wp16v0uH3D
 sP2Jx/OMzso+X9ipSj/QYKBvkgaL7puJNpC4nfDJmDvTJLSe9dTdtpgJiNVH3NGlnGKh
 l0+0Q3hEfL7TmB/YGl6Kf2DYFH7sVmTBqGhQExbB4hn/3T5G95krPp/EDVOkgF22W1ap
 ipGA==
X-Received: by 10.152.30.33 with SMTP id p1mr29243806lah.78.1414795758323;
 Fri, 31 Oct 2014 15:49:18 -0700 (PDT)
Received: from taylan.uni.cx
 (p200300514A13A26E0213E8FFFEED36FB.dip0.t-ipconnect.de.
 [2003:51:4a13:a26e:213:e8ff:feed:36fb])
 by mx.google.com with ESMTPSA id kg9sm4922920lbc.45.2014.10.31.15.49.17
 for <multiple recipients>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Fri, 31 Oct 2014 15:49:17 -0700 (PDT)
From: taylanbayirli@HIDDEN (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?=
 =?utf-8?Q?=2FKammer?=)
To: <dsmich@HIDDEN>
Subject: Re: bug#18914: 2.0.11 REPL server listens on 127.0.0.1 but not
 "localhost"
References: <20141031223353.QITFY.33555.root@cdptpa-web17>
Date: Fri, 31 Oct 2014 23:49:16 +0100
In-Reply-To: <20141031223353.QITFY.33555.root@cdptpa-web17>
 (dsmich@HIDDEN's message of "Fri, 31 Oct 2014 18:33:53 -0400")
Message-ID: <87d297c0sz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 18914
Cc: 18914 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

<dsmich@HIDDEN> writes:

> I wonder, could localhost be resolving to your ethernet IP address?
> Or maybe resolving to an IPv6 address?

tub@taylan:~$ nslookup localhost
Server:		127.0.0.1
Address:	127.0.0.1#53

Name:	localhost
Address: 127.0.0.1

tub@taylan:~$

The local DNS server is dnsmasq.

> What does /etc/hosts say?

tub@taylan:~$ cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	taylan.uni.cx   taylan

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
tub@taylan:~$

This is on Debian and I don't remember manually mucking with the file.

Were you not able to reproduce the bug?

Taylan




Information forwarded to bug-guile@HIDDEN:
bug#18914; Package guile. Full text available.

Message received at 18914 <at> debbugs.gnu.org:


Received: (at 18914) by debbugs.gnu.org; 31 Oct 2014 22:34:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 31 18:34:01 2014
Received: from localhost ([127.0.0.1]:44187 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XkKld-0001xf-9m
	for submit <at> debbugs.gnu.org; Fri, 31 Oct 2014 18:34:01 -0400
Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.225]:38321
 helo=cdptpa-oedge-vip.email.rr.com)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dsmich@HIDDEN>) id 1XkKlb-0001xS-Cm
 for 18914 <at> debbugs.gnu.org; Fri, 31 Oct 2014 18:34:00 -0400
Authentication-Results: cdptpa-oedge02 smtp.user=dsmich@HIDDEN;
 auth=pass (LOGIN)
Received: from [107.14.174.248] ([107.14.174.248:41851] helo=cdptpa-web17)
 by cdptpa-oedge02 (envelope-from <dsmich@HIDDEN>)
 (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTPA
 id DC/A6-09569-15E04545; Fri, 31 Oct 2014 22:33:53 +0000
Message-ID: <20141031223353.QITFY.33555.root@cdptpa-web17>
Date: Fri, 31 Oct 2014 18:33:53 -0400
From: <dsmich@HIDDEN>
To: 18914 <at> debbugs.gnu.org, 
 =?utf-8?Q?Taylan_Ulrich=09Bay=C4=B1rl=C4=B1/Kammer?= <taylanbayirli@HIDDEN>
Subject: Re: bug#18914: 2.0.11 REPL server listens on 127.0.0.1 but not
 "localhost"
In-Reply-To: <87k33hbr6j.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (Normal)
Sensitivity: Normal
X-Originating-IP: from 66.178.229.165 by webmail.roadrunner.com;
 Fri, 31 Oct 2014 22:33:53 +0000
X-RR-Connecting-IP: 107.14.168.130:2525
X-Cloudmark-Score: 0
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 18914
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


---- "Taylan Ulrich
=09Bay=C4=B1rl=C4=B1/Kammer" <taylanbayirli@HIDDEN> wrote:=20
> After starting 'guile --listen', I can connect to it via 127.0.0.1 but
> not "localhost": "Ncat: Connection refused."  I don't know if
> listening on "localhost" by default has any security implications?

I wonder, could localhost be resolving to your ethernet IP address?  Or may=
be resolving to an IPv6 address?

What does /etc/hosts say?

-Dale





Information forwarded to bug-guile@HIDDEN:
bug#18914; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Oct 2014 15:52:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 31 11:52:50 2014
Received: from localhost ([127.0.0.1]:41412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XkEVN-0004D7-L6
	for submit <at> debbugs.gnu.org; Fri, 31 Oct 2014 11:52:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37460)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <taylanbayirli@HIDDEN>) id 1XkEVK-0004Cj-T9
 for submit <at> debbugs.gnu.org; Fri, 31 Oct 2014 11:52:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1XkEQQ-0007Vf-3t
 for submit <at> debbugs.gnu.org; Fri, 31 Oct 2014 11:52:41 -0400
Received: from lists.gnu.org ([2001:4830:134:3::11]:41950)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1XkEQQ-0007Va-1f
 for submit <at> debbugs.gnu.org; Fri, 31 Oct 2014 11:47:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59377)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1XkEPL-0006td-UN
 for bug-guile@HIDDEN; Fri, 31 Oct 2014 11:47:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1Xjq9Z-0004D8-UV
 for bug-guile@HIDDEN; Thu, 30 Oct 2014 09:52:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:35899)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1Xjq9Z-0004Cp-JR
 for bug-guile@HIDDEN; Thu, 30 Oct 2014 09:52:41 -0400
Received: by mail-lb0-f170.google.com with SMTP id 10so4382126lbg.15
 for <bug-guile@HIDDEN>; Thu, 30 Oct 2014 06:52:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=date:message-id:from:to:subject:mime-version:content-type
 :content-transfer-encoding;
 bh=0JzTetDbJnT2dL5lha+WasvSGcJyblKt6NZIX42OH3E=;
 b=JxNRYqSyXLpMZvqFv4aGEZvPviUlwX9TyZNwaQBldu8d13S6Esc67KCFOrer+1tlwg
 17Z6VhSEdsJGUuoWhgOiC4AIpHW611wz8eoMtexymJj5iwiThJFQskHYZ1vmDBlBXY8g
 Ak4e8V/SDiHWtRIVr/RClmz1Kqu8P/EebzoMf+NvtmeRMz0pqs+tVq9580PzJPjJwTMs
 0D3f0d1pthhiKNnGuMmyA/Oi8vGfvtRWXNdEf2cmM9bwsBtUeKUjnRxZVg3/Dvlqdt7I
 kt5HKM4Ggwpi1A+5gwwuQihAYL82IIVjbvz+lT0sanuS5w07nGUtg83wl2A0eEgPg34b
 IbMQ==
X-Received: by 10.152.42.172 with SMTP id p12mr19145091lal.11.1414677158903;
 Thu, 30 Oct 2014 06:52:38 -0700 (PDT)
Received: from taylan.uni.cx
 (p200300514A13A2110213E8FFFEED36FB.dip0.t-ipconnect.de.
 [2003:51:4a13:a211:213:e8ff:feed:36fb])
 by mx.google.com with ESMTPSA id e3sm3237440lae.5.2014.10.30.06.52.38
 for <bug-guile@HIDDEN>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Thu, 30 Oct 2014 06:52:38 -0700 (PDT)
Date: Thu, 30 Oct 2014 14:52:36 +0100
Message-Id: <87k33hbr6j.fsf@HIDDEN>
From: taylanbayirli@HIDDEN ("Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?=
 =?utf-8?Q?=2FKammer=22?=)
To: bug-guile@HIDDEN
Subject: 2.0.11 REPL server listens on 127.0.0.1 but not "localhost"
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

After starting 'guile --listen', I can connect to it via 127.0.0.1 but
not "localhost": "Ncat: Connection refused."  I don't know if
listening on "localhost" by default has any security implications?


Shell 1:

tub@taylan:~$ guile --listen
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)>


Shell 2:

tub@taylan:~$ ncat localhost 37146
Ncat: Connection refused.
tub@taylan:~$ ncat 127.0.0.1 37146
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)>


Taylan




Acknowledgement sent to taylanbayirli@HIDDEN ("Taylan Ulrich Bayırlı/Kammer"):
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#18914; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.