🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: It's become mail2dizum

#331210
From: D
Date: Fri, 12 Sep 2025 22:31
142 lines
5862 bytes
On Fri, 12 Sep 2025 15:00:33 -0500, Soul Patch <soul.patch@127.0.0.1> 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. I'm
>researching and tinkering to lower the amount of friction for doing such a complicated
>task. Then I would like to create a script wizard that automatically installs and
>configures on Debian.
>news.software.nntp
>Message-ID: <109teo9$139dq$1@paganini.bofh.team>
>If you or anyone else has ideas please chime in.

p.s.  these follow-ups could be of interest to a.p.a-s subscribers . . .
(usenet could be "atom-bomb proof" against being hijacked by tor-mailers)

>From: "Billy G." <contact-5c2e-000@pugleaf.net>
>Newsgroups: news.software.nntp
>Subject: Re: TOR config for INN to prevent DNS IP/hostname leakage
>Date: Fri, 12 Sep 2025 21:46:16 +0100
>Message-ID: <10a20qo$2dnnn$1@reader-nyc.newsdeef.eu>
>References: <109teo9$139dq$1@paganini.bofh.team>
> <109u8af$2afb2$1@reader-nyc.newsdeef.eu> <109vcqa$16jqr$1@paganini.bofh.team>
> <10a0si3$2co9p$1@reader-nyc.newsdeef.eu>
>Injection-Info: reader-nyc.newsdeef.eu;
>
>On 12.09.25 11:27, Billy G. wrote:
>> On 11.09.25 21:54, Soul Patch wrote:
>>> It is just a matter of figuring out how.
>> 
>> Setting up incoming "reader" connections via TOR hidden service is easy.
>> You only have to make sure they arrive via a local ip or interface that
>> works with ACL and is not 127.0.0.1.
>> this can be done with haproxy:
>> ``` haproxy.cfg
>> frontend nntp1563
>>         mode tcp
>>         bind :::1119
>>         bind :::1563 ssl crt /etc/haproxy/fully.pem
>>         default_backend local119b
>> 
>> backend local119b
>>         mode tcp
>>         source 172.16.9.136
>>         server reader-nyc-vlan 172.16.9.136:119 maxconn 128
>> ```
>> EOF haproxy.cfg
>> 
>> To get incoming peering working you'd have to setup unique hidden
>> services for every of your peers and route each of them to a unique
>> haproxy frontend port which maps to a unique backend with a unique
>> local/vlan as source ip or setting up incoming.conf will not work.
>> 
>> Now figure out how to connect INNfeed via TOR socks to other peers,
>> where each of your peers needs it's own .onion address and haproxy setup
>> to have ACL/incoming.conf working
>> 
>
>AI says:
>
>**Network-level transparent proxy**
>Set up iptables rules to redirect traffic:
>```bash
># Redirect innfeed traffic through a transparent proxy
>iptables -t nat -A OUTPUT -p tcp --dport 119 -j REDIRECT --to-port 8080
>```
>
>OR
>
>**Using socat or ssh tunneling**
>Create local ports that forward through proxy:
>```bash
># SSH tunnel example
>ssh -L 11900:target-news-server:119 proxy-server
>
>OR
>
>**Using tsocks**
>Similar to proxychains but older:
>```bash
># Configure /etc/tsocks.conf
>server = 127.0.0.1
>server_port = 9050
>server_type = 5
># Run with tsocks
>tsocks innfeed -c /etc/news/innfeed.conf
>```
>
>OR
>
>**Using proxychains or proxychains-ng**
>This is probably the most straightforward method:
>```bash
># Install proxychains-ng
>sudo apt-get install proxychains-ng  # Debian/Ubuntu
>sudo yum install proxychains-ng      # RHEL/CentOS
># Configure /etc/proxychains.conf
>[ProxyList]
>socks5 127.0.0.1 9050    # For Tor
># or
>socks5 proxy.example.com 1080  # For other SOCKS5 proxies
># Run innfeed through proxychains
>proxychains innfeed -c /etc/news/innfeed.conf
>```
>
>## **Recommended approach:**
>For most use cases, **proxychains-ng** is the easiest and most reliable
>method. It works transparently with innfeed without requiring any
>changes to INN2 configuration.
>
>The key is to modify your INN2 startup scripts to launch innfeed through
>the proxy wrapper instead of directly. You'll need to update
>`/etc/news/newsfeeds` or your init scripts accordingly.
>
>Would you like me to elaborate on any of these approaches or help with
>specific configuration details?
[end quote]

also . . .

>From: "Billy G." <contact-5c2e-000@pugleaf.net>
>Newsgroups: news.software.nntp
>Subject: Re: TOR config for INN to prevent DNS IP/hostname leakage
>Date: Fri, 12 Sep 2025 21:53:57 +0100
>Organization: github.com/go-while
>Message-ID: <10a219a$2do5f$1@reader-nyc.newsdeef.eu>
>References: <109teo9$139dq$1@paganini.bofh.team>
> <109u8af$2afb2$1@reader-nyc.newsdeef.eu> <109vcqa$16jqr$1@paganini.bofh.team>
> <10a0si3$2co9p$1@reader-nyc.newsdeef.eu>
> <10a20qo$2dnnn$1@reader-nyc.newsdeef.eu>
>Injection-Info: reader-nyc.newsdeef.eu;
>
>On 12.09.25 21:46, Billy G. wrote:
>> AI says:
>> ...
>
>Hit send but missed some text.
>
>- iptables won't work: TOR is not a transparent proxy.
>~ socat: no idea, try it
>+ tsocks / pchains: run innfeed via any might be worth a try
[end quote]

recommend posing nntp server peering questions to this group of experts:
news:news.admin.peering
Technical Details
Message-ID: <20250912.183156.a9c12a4c@dirge.harmsk.com>
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!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!sewer!news.dizum.net!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>

Show Full Headers
Complete Article Headers
Message-ID: <20250912.183156.a9c12a4c@dirge.harmsk.com>
Subject: Re: It's become mail2dizum
Date: Fri, 12 Sep 2025 18:31:56 -0400
From: D <noreply@dirge.harmsk.com>
References: <20250911142203.D80443E631@mail.tcpreset.net> <10a18ai$ltu9$1@news.tcpreset.net> <10a18lk$lucp$1@news.tcpreset.net> <10a1u20$1fujq$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!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mail
Content-Transfer-Encoding: 7bit
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 2001::1/128