🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #268498

Re: https mail to dizum memguarded proxy interface

#268498
From: Nomen Nescio
Date: Thu, 04 Jun 2026 11:31
34 lines
1866 bytes
On 02 Jun 2026, Victor <mail2dizum@proxy.interface> posted some
news:20260602203811.9AB04401F6@qee4i7sags6phsvb2yodwecfj7noimfhhalsjktsvi
krwotxzis3raad.onion: 

> Marco Moock wrote:
>> Am 02.06.26 um 22:16 schrieb Victor:
>>> 127.0.0.1 instead of localhost in ProxyPass to avoid IPv4/IPv6 
>>> resolution ambiguity.
>> 
>> Can you explain that further?
>> 
> 
> First, address selection. 
> When localhost resolves to more than one address, etc/hosts, the
> connecting side decides which to try first. That choice is governed by
> /etc/gai.conf and the RFC 6724 destination-address selection
> algorithm, which by default prefers IPv6. 
> 
> So localhost tends to be attempted as ::1 before 127.0.0.1.
> 
> Second, what the backend listens on. 
> 
> The Go server binds explicitly to 127.0.0.1:SomePort,
> IPv4 only, nothing on ::1. 
> 
> So when the resolver hands back the IPv6 loopback first, the proxy
> reaches for [::1]:SomePort, finds no socket, and you get a connection
> refused surfacing as an intermittent 502. 
> 
> AFAIK
> burrrp

Very good.
Technical Details
Message-ID: <c4da86bb85d3c32c8d91c62f8eabaf07@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!sewer!news.dizum.net!not-for-mail
References: <10vne43$6obk$1@solani.org> <20260602203811.9AB04401F6@qee4i7sags6phsvb2yodwecfj7noimfhhalsjktsvikrwotxzis3raad.onion>

Show Full Headers
Complete Article Headers
From: Nomen Nescio <nobody@dizum.com>
References: <10vne43$6obk$1@solani.org>
 <20260602203811.9AB04401F6@qee4i7sags6phsvb2yodwecfj7noimfhhalsjktsvikrwotxzis3raad.onion>
Subject: Re: https mail to dizum memguarded proxy interface
Message-ID: <c4da86bb85d3c32c8d91c62f8eabaf07@dizum.com>
Date: Thu,  4 Jun 2026 13:31:56 +0200 (CEST)
Newsgroups: alt.privacy,alt.privacy.anon-server,news.software.readers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!sewer!news.dizum.net!not-for-mail
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 2001::1/128