🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: It's become mail2dizum

#331214
From: Soul Patch
Date: Sat, 13 Sep 2025 02:57
47 lines
3600 bytes
On Fri, 12 Sep 2025 21:17:33 -0500
Soul Patch <soul.patch@127.0.0.1> wrote:

> On Fri, 12 Sep 2025 22:58:30 +0200
> Gabx <info@tcpreset.invalid> wrote:
> 
> > Gabx wrote:
> > > Soul Patch wrote:  
> > >> Anyway, I'm trying to figure out the best way to run INN news server 
> > >> totally hidden behind TOR so it can be peered behind TOR encrypted 
> > >> tunnels and hidden services.   
> > > If I understand correctly, you don't just want your server to be 
> > > reachable by onion address from Usenet clients, but you want it also 
> > > accessible to peers using its onion address.
> > > 
> > > That seems impossible to me, actually.
> > > Unless your peers are using Tor themselves.
> > > 
> > > Something like this i think:
> > >   
> > >> torsocks innfeed  
> > 
> > I'll venture a guess.
> > Try using socat to redirect all incoming connections through the onion 
> > address, like this:
> > 
> > socat TCP4-LISTEN:9119,fork 
> > SOCKS4:127.0.0.1:abc123def456.onion:119,socksport=9050
> > 
> > Just an idea, I expect to be insulted, lol!!!
> 
> I like it. Nothing to insult here. It's actually a clever angle.
> 
> I though about routing through a pair of TOR hidden services, using one as an outbound and the other as a loopback target. This would significantly slow things down, but really, it's not like there are going to be tens of thousands of people beating down the door to post.
> 
> Another though I have is that all peers can set up authenticated loopback proxies for their other peers. This would target hybrid clearnet and TOR peering and cut half the onion network latency. But it is also an extra point of failure.
> 
> -- 
> Soul Patch
> 

So far it seems it might be possible to create a separate onion address for each incoming peer, then use named pipes with netcat for bidirectional exchange on the same loopback IP.

Probably simpler is the bind=${IP} parameter in SOCAT with a IP-based netfilter. The same port can be used on different localhost IP addresses, allowing bidirectional forking based upon which IP/port pair the traffic enters. So if traffic is coming in on IP_A it can be forwarded to INN on IP_B. And if traffic is leaving INN on IP_B it can be routed to the socks proxy by netfilter.

-- 
Soul Patch
Technical Details
Message-ID: <10a2mg5$1m1fh$4@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mail
References: <20250911142203.D80443E631@mail.tcpreset.net> <10a18ai$ltu9$1@news.tcpreset.net> <10a18lk$lucp$1@news.tcpreset.net> <10a1u20$1fujq$1@paganini.bofh.team> <10a212b$mqvr$1@news.tcpreset.net> <10a21hp$mrd3$1@news.tcpreset.net> <10a2kf1$1m1fh$2@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Message-ID: <10a2mg5$1m1fh$4@paganini.bofh.team>
Subject: Re: It's become mail2dizum
Date: Fri, 12 Sep 2025 21:57:44 -0500
From: Soul Patch <soul.patch@127.0.0.1>
References: <20250911142203.D80443E631@mail.tcpreset.net> <10a18ai$ltu9$1@news.tcpreset.net> <10a18lk$lucp$1@news.tcpreset.net> <10a1u20$1fujq$1@paganini.bofh.team> <10a212b$mqvr$1@news.tcpreset.net> <10a21hp$mrd3$1@news.tcpreset.net> <10a2kf1$1m1fh$2@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.privacy,sci.crypt
Organization: To protect and to server
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 Sep 2025 02:56:05 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1770993"; posting-host="vHZbniadmvagnl3zgXaZ5Q.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
X-TOR-Router: sha256:MTc2LjY1LjE0OS44NA== --
X-Notice: Filtered by postfilter v. 0.9.3