🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92459

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

#92459
From: Soul Patch
Date: Thu, 11 Sep 2025 20:54
28 lines
2650 bytes
On Thu, 11 Sep 2025 11:29:30 +0100
"Billy G." <contact-5c2e-000@pugleaf.net> wrote:

> On 11.09.25 04:14, Soul Patch 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?
> >   
> 
> What is IP or hostname leakage? To whom should it leak to?

IP and hostname are set in the INN configuration by the admin. In that area the hostname would be set to the TOR .onion address. INN would need to be configured to use the TOR DNS port for resolving .onion hostnames. This is the most important part of preventing address leakage.

Leakage would occur if INN responded to a client or peer with the ARPA IP or hostname instead of the .onion hostname given in the configuration.

> 
> INN needs connections from/to other peers via ip or dns.
> You most likely will not find anyone here peering via TOR.

This doesn't matter. What matters is the task of preventing the clearnet IP or domain from being leaked over the TOR connections.

> You can connect readers via TOR and that's it.

What I can and can't do is a matter of obtaining the right knowledge. Unless INN is specifically designed with the purpose of being anti-proxy, then there is very likely some way to force it to connect and resolve via TOR. It is just a matter of figuring out how.
Technical Details
Message-ID: <109vcqa$16jqr$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> <109u8af$2afb2$1@reader-nyc.newsdeef.eu>

Show Full Headers
Complete Article Headers
Message-ID: <109vcqa$16jqr$1@paganini.bofh.team>
Subject: Re: TOR config for INN to prevent DNS IP/hostname leakage
Date: Thu, 11 Sep 2025 15:54:02 -0500
From: Soul Patch <soul.patch@127.0.0.1>
References: <109teo9$139dq$1@paganini.bofh.team> <109u8af$2afb2$1@reader-nyc.newsdeef.eu>
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: Thu, 11 Sep 2025 20:52:26 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1265499"; posting-host="FoIZmoOG10G9Axklfhws3Q.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
X-TOR-Router: sha256:NDUuODQuMTA3LjIyMg== --
X-Notice: Filtered by postfilter v. 0.9.3