🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #336086

Re: https mail to dizum memguarded proxy interface

#336086
From: Victor
Date: Tue, 02 Jun 2026 20:38
24 lines
1733 bytes
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
Technical Details
Message-ID: <20260602203811.9AB04401F6@qee4i7sags6phsvb2yodwecfj7noimfhhalsjktsvikrwotxzis3raad.onion>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nntp4.net!weretis.net!feeder8.news.weretis.net!sewer!news.dizum.net!not-for-mail
References: <10vne43$6obk$1@solani.org>

Show Full Headers
Complete Article Headers
From: Victor <mail2dizum@proxy.interface>
Date: Tue, 02 Jun 2026 20:38:08 +0000
Subject: Re: https mail to dizum memguarded proxy interface
Content-Type: text/plain; charset=utf-8
MIME-Version: 1.0
References: <10vne43$6obk$1@solani.org>
Message-Id: <20260602203811.9AB04401F6@qee4i7sags6phsvb2yodwecfj7noimfhhalsjktsvikrwotxzis3raad.onion>
Newsgroups: alt.privacy.anon-server,alt.privacy,news.software.readers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nntp4.net!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