From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#54171: [PATCH] web: default to INADDR_ANY instead of INADDR_LOOPBACK Date: Tue, 01 Mar 2022 09:49:15 +0100 Message-ID: <87zgma83ck.fsf@gnu.org> References: <20220226181132.64743-1-aconchillo@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28384"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: 54171@debbugs.gnu.org To: Aleix Conchillo =?UTF-8?Q?Flaqu=C3=A9?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Mar 01 10:23:33 2022 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nOyjF-0007EY-Af for guile-bugs@m.gmane-mx.org; Tue, 01 Mar 2022 10:23:33 +0100 Original-Received: from localhost ([::1]:37922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOyjE-00039a-5M for guile-bugs@m.gmane-mx.org; Tue, 01 Mar 2022 04:23:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOyCo-0005Rn-K7 for bug-guile@gnu.org; Tue, 01 Mar 2022 03:50:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOyCo-0001Jg-71 for bug-guile@gnu.org; Tue, 01 Mar 2022 03:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOyCo-00019I-4r for bug-guile@gnu.org; Tue, 01 Mar 2022 03:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 01 Mar 2022 08:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54171 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Original-Received: via spool by 54171-submit@debbugs.gnu.org id=B54171.16461245654367 (code B ref 54171); Tue, 01 Mar 2022 08:50:02 +0000 Original-Received: (at 54171) by debbugs.gnu.org; 1 Mar 2022 08:49:25 +0000 Original-Received: from localhost ([127.0.0.1]:35385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOyCC-00018N-V5 for submit@debbugs.gnu.org; Tue, 01 Mar 2022 03:49:25 -0500 Original-Received: from hera.aquilenet.fr ([185.233.100.1]:57158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOyCA-000189-St for 54171@debbugs.gnu.org; Tue, 01 Mar 2022 03:49:23 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5E4E6203; Tue, 1 Mar 2022 09:49:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id plNMA1C9qw4N; Tue, 1 Mar 2022 09:49:16 +0100 (CET) Original-Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id A68711BD; Tue, 1 Mar 2022 09:49:16 +0100 (CET) In-Reply-To: <20220226181132.64743-1-aconchillo@gmail.com> ("Aleix Conchillo =?UTF-8?Q?Flaqu=C3=A9?="'s message of "Sat, 26 Feb 2022 10:11:32 -0800") X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 5E4E6203 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10259 Archived-At: Bon dia! Aleix Conchillo Flaqu=C3=A9 skribis: > Using INADDR_ANY instead of INADDR_LOOPBACK makes it convenient when > starting the web server inside containers without the need to having to > specify INADDR_ANY all the time. This is the default in most libraries > and languages. > > This doesn't break backwards compatibility since INADDR_LOOPBACK is also > included in INADDR_ANY. A potential problem with changing the default is that people using the defaults would all of a sudden have their servers accessible from the outside, which could be a real problem. Also, defaulting to INADDR_LOOPBACK is a conservative choice, with the understanding that you have to explicitly say so if you want your server to be directly accessible from the outside. (In most cases, one would run Guile web servers behind a proxy such as nginx.) So I have a preference for the status quo. WDYT? Ludo=E2=80=99.