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; 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: Sat, 1 Nov 2014 21:00:02 UTC

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