🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89347

Re: Usenet peering over Tor

#89347
From: Retro Guy
Date: Sat, 21 May 2022 03:50
48 lines
3320 bytes
Grant Taylor wrote:

> On 5/18/22 3:12 AM, Retro Guy wrote:
>> I have done this and it works fine. My previous partner in this 
>> project (rocksolid), trw, wrote a script to handle peering over tor 
>> and it works well. I'll post the script below. If you want to test, 
>> I'll be happy to test with you. Again, credit to trw for the script.

> My concern about peering over Tor is the absence of sending system 
> identification.  It is typical for peering privileges to be associated 
> with the source IP.  So, based on the very nature of Tor -- as I 
> understand it -- anyone that knows the Tor hidden service address will 
> be viewed as the same source and thus have the same privileges.

Yes, that's true. I2P makes it much easier.

> Does this mean that people will be using something else at the NNTP 
> level to manage peer identification and permissions therein?

While I'm not sure if using or understanding it correctly, I use a 'password'
in innfeed and incoming.conf. While it seems to work ok, I'm not sure why
you can set a username in innfeed, but not incoming.conf. It's been a while
since I've spent much time on this.

> Or is there some sort of Tor restriction on clients that can connect to 
> a Tor hidden service?

The newer v3 tor addresses are a bit better, as they shouldn't be known to
anyone unless you provide them the address. I do use a different address
for each peer.

>>                 socat TCP4-LISTEN:"$localport",reuseaddr,fork 
>> SOCKS4A:"$proxyip":"$onion":"$onionport",socksport="$proxyport"

> I don't see anything in the socat command to belay my concern.

> It seems as if the command simply stands up a local listening socket 
> that passes through the Tor network to a news server that's behind a Tor 
> hidden service.

Yes, that's exactly what it's doing, nothing more.

> What am I missing?

All your concerns are valid, so I don't think you're missing anything.

-- 
Retro Guy
Technical Details
Message-ID: <d4486ae4a0726e951ed7f46be3004d01@news.novabbs.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <t60624$94k$1@dont-email.me> <04d569cad213f99655ed8364caeb11b7@news.novabbs.org> <t699eg$ko8$1@tncsrv09.home.tnetconsulting.net>

Show Full Headers
Complete Article Headers
Message-ID: <d4486ae4a0726e951ed7f46be3004d01@news.novabbs.org>
Subject: Re: Usenet peering over Tor
Date: Sat, 21 May 2022 03:50:47 +0000
From: retro.guy@rocksolidbbs.com (Retro Guy)
References: <t60624$94k$1@dont-email.me> <04d569cad213f99655ed8364caeb11b7@news.novabbs.org> <t699eg$ko8$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: Rocksolid Light
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187"; logging-data="23140"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (www.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$DIZ2zUMVEeHgIVBWOTyJeeCzZo2n4dHlbz/6j8cmBVaGeIxDfPceW
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf ?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B H0=hZt'[%)4kG|