🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ToR Hidden Service

#304064
From: Neodome Admin
Date: Sat, 27 Apr 2019 20:42
97 lines
4948 bytes
Grant Taylor <gtaylor@tnetconsulting.net> wrote:
> On 4/26/19 4:19 PM, Neodome Admin wrote:
>> I uderstand why.
> 
> }:-)
> 
>> I2P can do it without problems. Actually, that's what me and i2pn.org 
>> admin are doing. Usually I2P generates random key for a tunnel every 
>> time new tunnel is created, however, there is an option to generate 
>> persistent keys, and there is an option to generate bogus IP based on 
>> three first bytes of the key. Those two options combines together allow 
>> one to always see connection from the same 127.x.x.x address. For example, 
>> here is what I see in my inn.status:
> 
> Interesting.
> 
> I would like to avoid general I2P traffic being anywhere in the 127/8 
> class A (sized) network.  I've managed to do that with Tor.
> 
> I'll have to research if it's possible to alter the first byte of the 
> I2P addresses to something other than 127.

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.

>> That IP address never changes. When I had another I2P peer (it was my 
>> own server that I was going to shut down), I had two separate entries 
>> in logs. That helps to track the flow of traffic, not to mention that 
>> I use connections from 127.0.0.1 for something else (my mail2news.)
> 
> ACK
> 
>> Outgoing traffic is easy to see too. Here's what I have in innfeed.conf:
>> 
>> peer novabbs {
>> ip-name: localhost
>> port-number: 9130
>> max-connections: 8
>> }
> 
> Hum.  I don't like the idea of a remote system being identified as 
> localhost in any capacity.  Sure, another name can resolve to the 
> address.  But my dislike is rooted in the 127/8 on lo.

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

>> Unfortunately, I don't know of easy way to do the same thing with 
>> Tor. Outgoing connections don't seem to be an issue, but incoming ones 
>> are different story. I assume one will have to manually create second 
>> local loopback address and bind Tor tunnel to that address.
> 
> What do you have listening on localhost:9130?

I2P tunnel with destination set to novabbs b32 address.

> Does I2P have an ability to listen on localhost:9130?

Yes.

> Or are you using 
> something, possibly socat, to listen and then SOCKSify the traffic to 
> the I2P SOCKS server?

That would make sense if I had multiple I2P/Tor peers, so I won't have to
create new tunnel for each new peer. 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.

> I would probably be inclined to allocate an IP address for the remote 
> peer and use some networking magic (routing and tun2socks) to make 
> traffic to said IP go through {Tor,I2P}'s SOCKS server.
> 
>> Clients connecting to my server via Tor/I2P are handled differently.
> 
> ACK
> 
>> I have dedicated tunnels for clients and three NNRPD daemon instances 
>> that are handling connections from those tunnels.
> 
> Why do you need the multiple NNRPD daemons?  Do you /need/ to have them? 
>  Or do you /want/ to have (three of) them for some reason?

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.

> I think I would want /something/ that I can use like a static IP (or 
> possibly name) to identify peers that I have an established relationship 
> with.  Incoming clients using the remailer is transient and I'm less 
> concern about.

-- 
Neodome
Technical Details
Message-ID: <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!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>

Show Full Headers
Complete Article Headers
Message-ID: <qa2eri$aer$1@neodome.net>
Subject: Re: ToR Hidden Service
Date: Sat, 27 Apr 2019 20:42:26 +0000
From: Neodome Admin <admin@neodome.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>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Injection-Info: neodome.net; mail-complaints-to="abuse@neodome.net"
User-Agent: NewsTap/5.3.3 (iPhone/iPod Touch)
Content-Transfer-Encoding: 8bit
Newsgroups: alt.privacy.anon-server
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Injection-Date: Sat, 27 Apr 2019 20:42:26 -0000 (UTC)
X-Received-Bytes: 4988
X-Received-Body-Crc: 637232792
Organization: Neodome
Cancel-Lock: sha1:mJqJ/3YYV08zt46p/Ufcmt0z+do=