🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92462

Re: TOR config for INN to prevent DNS IP/hostname leakage

#92462
From: Soul Patch
Date: Fri, 12 Sep 2025 04:17
22 lines
2644 bytes
On Thu, 11 Sep 2025 16:03:34 -0500
Soul Patch <soul.patch@127.0.0.1> wrote:

> On Wed, 10 Sep 2025 22:14:51 -0500
> Soul Patch <soul.patch@127.0.0.1> wrote:
> 
> > I know how to configure TOR and INN behind a hidden service address.
> > 
> > What I don't know is how to prevent DNS host/IP leakage from INN.
> > 
> > Do any INN component(s) bypass inn.conf to report the actual IP and hostname from DNS or /etc/hosts?
> > 
> > If there is any IP or hostname leakage how might I configure to prevent this?  
> 
> 
> If I configure shell proxy variables in ${PATHNEWS}/innshellvars will the INN binaries honor and use those proxy variables?

I think proxying everything over TOR can be done with port forwarding. All the methods in mind are a mite convoluted. I could use iptables or other firewalls like firewalld or ufw. I could use socat. I'm sad that the old onioncat and garlicat are no longer in Debian stable because they would make it simpler. Whatever I use needs to be in Debian stable unless it is world-class amazing software which might grant an exception.

If I use socat I can set up a systemd service to respawn if there is a broken pipe or glitch. This way the anti-leakage measure is secure even if some other software changes the firewall settings while the system is running. Each way I have investigated is a bit convoluted.

I had the idea to run two separate instances of TOR on different ports, using socat on another port to shuttle outgoing feeds to another TOR peer. If anyone has ideas to try I am ready to have at it.
Technical Details
Message-ID: <10a06p1$1d0vf$1@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: <109teo9$139dq$1@paganini.bofh.team> <109vdc3$16jqr$2@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Message-ID: <10a06p1$1d0vf$1@paganini.bofh.team>
Subject: Re: TOR config for INN to prevent DNS IP/hostname leakage
Date: Thu, 11 Sep 2025 23:17:07 -0500
From: Soul Patch <soul.patch@127.0.0.1>
References: <109teo9$139dq$1@paganini.bofh.team> <109vdc3$16jqr$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: news.software.nntp
Organization: To protect and to server
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 12 Sep 2025 04:15:30 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1475567"; posting-host="dOhbh3mI4CwDB7L9ww5/cg.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
X-Notice: Filtered by postfilter v. 0.9.3
X-TOR-Router: sha256:NDUuODQuMTA3LjMz --