From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: Re: (web server) serving on both ipv6 and ipv4? Date: Wed, 19 Jan 2022 13:27:00 -0500 Message-ID: References: <87k0ewi0w2.fsf@web.de> <3bbd5a2c267f9e58657b0087e26c92ed36d1b81b.camel@telenet.be> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10987"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix) Cc: "Dr. Arne Babenhauserheide" , guile-devel@gnu.org To: Maxime Devos Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Wed Jan 19 19:27:27 2022 Return-path: Envelope-to: guile-devel@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 1nAFg6-0002g7-Ki for guile-devel@m.gmane-mx.org; Wed, 19 Jan 2022 19:27:26 +0100 Original-Received: from localhost ([::1]:47270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAFg5-0000zG-Em for guile-devel@m.gmane-mx.org; Wed, 19 Jan 2022 13:27:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAFfn-0000pb-E4 for guile-devel@gnu.org; Wed, 19 Jan 2022 13:27:07 -0500 Original-Received: from s1.lexort.com ([71.19.148.97]:60662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAFfl-0005v9-I7 for guile-devel@gnu.org; Wed, 19 Jan 2022 13:27:06 -0500 Original-Received: by s1.lexort.com (Postfix, from userid 10853) id 2CCDD41075B; Wed, 19 Jan 2022 13:27:01 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lexort.com; s=mail; t=1642616821; bh=DyfyWNOsaG9z/CHkQTN9OtApvFyvW94XGky3PdmtjnI=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=OVWO/MSinp4xX2rtr7vfLkj588BRKocYHiJjN75ADZu9zOzBjf4mkAgg1/ZuZuvSr +K7VBHQ84ICkqwjWHGy9K/7E6rAcnJETFeLids39z3he6+1MrsixOokpmstU6EUJ/9 hO3rtLIZHLwbFm/7QwttZO5q4aaMOs/cghcHzdvQ= OpenPGP: id=098ED60E In-Reply-To: <3bbd5a2c267f9e58657b0087e26c92ed36d1b81b.camel@telenet.be> (Maxime Devos's message of "Wed, 19 Jan 2022 09:51:07 +0100") Received-SPF: pass client-ip=71.19.148.97; envelope-from=gdt@lexort.com; helo=s1.lexort.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:21042 Archived-At: --=-=-= Content-Type: text/plain Maxime Devos writes: > Maybe the IPV6_V6ONLY (see the ipv6(7) man page) is relevant here. > Alternatively, you could run two servers in parallel: one bound to an > IPv4 address and another bound to an IPv6 address. My feeling is that IPV6_ONLY is best avoided, for portability, and because mapped addresses (an IPv6 address with the v4 address embedded) are awkward. So I think it's best to listen on v4 and v6 separately. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQS7wyAjWilQwVHG9Vsf2nroCY7WDgUCYehX9QAKCRAf2nroCY7W DrZVAJ4zCyblE2Y68WX3oASOSpTT7xuTgACfT3K2PvSNEYwrRXDw3q7jwjsj5Mg= =BxlA -----END PGP SIGNATURE----- --=-=-=--