🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ToR Hidden Service

#304070
From: Grant Taylor
Date: Sun, 28 Apr 2019 00:58
89 lines
4566 bytes
On 4/27/19 2:42 PM, Neodome Admin wrote:
> If you install I2P, point your IRC client to 127.0.0.1:6668. I think 
> channel name is #i2p-dev. I used to follow I2P development closely, and 
> back in those days I2P development team was really kind and helpful. 
> Hopefully this is still the case.

ACK

I'll keep that i mind.

> I'm not aware of any possible issues that might arise if remote peer 
> will resolve as localhost for outgoing connections.

It's not as much as the name that they resolve to as it is the IP 
address their connection comes from.

Prime example:  Many MTA tutorials that I've read suggest allowing 
localhost (127.0.0.1 and / or ::1) to be allowed to relay email cart 
blanch through the local MTA.  As such, someone could leverage Tor / I2P 
/ et al. to use your MTA as an open relay.  This is a prime example of 
why I want Tor / I2P / et al. clients to NOT appear as from 127.0.0.1 / 
::1 on my machine.

Many other services have similar assumptions.

> I2P tunnel with destination set to novabbs b32 address.

ACK

So you're using localhost:<specific ports> to differentiate / identify 
destinations for outgoing NNTP connections.

> Yes.

ACK

> That would make sense if I had multiple I2P/Tor peers, so I won't 
> have to create new tunnel for each new peer.

ACK

> However, I also would have to make sure innfeed is trying to resolve 
> Tor/I2P address via SOCKS proxy. I don't think innfeed currently 
> supports proxies.

No, you wouldn't, if you were using different destination IP.  You can 
use /etc/hosts entries to resolve the name to a specific IP.

You route the different destination IPs via a tun2socks gateway.

tun2socks TL;DR:  tun2socks connects to a tun interface and pretends to 
be a remote gateway that ""routes traffic via a SOCKS server.

It is possible to configure the kernel routing table such that a given 
destination IP is reachable via the tun2socks gateway.  This causes the 
kernel to send the traffic through the tunnel device, which sends it 
into tun2socks.  This works great in and of itself.

As I type this, I realized that this is already after name resolution. 
So that information is lost.  I wonder if there is a way to have 
tun2socks fabricate a name for the SOCKS server to resolve.

I'm guessing that it's possible to use a full SOCKS server (Dante or the 
SOCKS server that's in the same package as tun2socks) to chain SOCKS 
servers in such a way as to re-introduce the name based on the 
""destination IP.

I think this means that we have the Lego bricks to allow arbitrary 
destination IPs from the command line to be routed through tun2socks, 
one or more SOCKS servers, into Tor / I2P.

Ultimately you should be able to have stock INN work with names that 
resolve to connections that are routed through Tor / I2P.

> I guess you don't really /need/ multiple daemons. I'm running three 
> of them because I would like to have different config file for each 
> possible case - Internet, Tor, and I2P. Currently Tor and I2P configs 
> are pretty much the same, but that might change in the future.

Fair enough.

Thank you for explaining.  :-)  I always like learning what others do 
and why they do it.



-- 
Grant. . . .
unix || die
Technical Details
Message-ID: <qa2u6a$8t1$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <q9l92k$j92$1@tncsrv09.home.tnetconsulting.net> <q9ogid$vhs$1@neodome.net> <q9oiv8$fr3$1@tncsrv09.home.tnetconsulting.net> <qa0061$emp$1@neodome.net> <qa07v8$jkj$1@tncsrv09.home.tnetconsulting.net> <qa2eri$aer$1@neodome.net>

Show Full Headers
Complete Article Headers
Message-ID: <qa2u6a$8t1$1@tncsrv09.home.tnetconsulting.net>
Subject: Re: ToR Hidden Service
Date: Sat, 27 Apr 2019 18:58:57 -0600
From: Grant Taylor <gtaylor@tnetconsulting.net>
References: <q9l92k$j92$1@tncsrv09.home.tnetconsulting.net> <q9ogid$vhs$1@neodome.net> <q9oiv8$fr3$1@tncsrv09.home.tnetconsulting.net> <qa0061$emp$1@neodome.net> <qa07v8$jkj$1@tncsrv09.home.tnetconsulting.net> <qa2eri$aer$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: TNet Consulting
Lines: 89
NNTP-Posting-Host: alpha.home.tnetconsulting.net
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: tncsrv09.home.tnetconsulting.net 1556413450 9121 198.18.18.251 (28 Apr 2019 01:04:10 GMT)
X-Complaints-To: newsmaster@tnetconsulting.net
NNTP-Posting-Date: Sun, 28 Apr 2019 01:04:10 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.5.3
In-Reply-To: <qa2eri$aer$1@neodome.net>
Content-Language: en-US