[tor-talk] IPv6 /48 for OnionCat

Bernhard R. Fischer bf at abenteuerland.at
Mon Aug 29 05:11:28 UTC 2016


On 2016-08-28 21:54, Mirimir wrote:
> On 08/28/2016 05:41 AM, Bernhard R. Fischer wrote:
>> On 2016-08-28 08:04, Mirimir wrote:
>>> I see in the OnionCat wiki:[0]
>>>
>>> | We map every unique .onion URL to a unique IPv6 address in
>>> | deterministic reversible manner. ... We generated the static
>>> | IPv6 prefix FD87:D87E:EB43::/48 according to ​RFC4193 ... Now
>>> | we can map e.g. 5wyqrzbvrdsumnok.onion directly to
>>> | FD87:D87E:EB43:edb1:8e4:3588:e546:35ca.
>>>
>>> Is it possible to specify a different /48? I understand that would break
>>> routing from stock OnionCat. But that's actually the goal. Could one
>>> perhaps tweak the source?
>>>
>>> [0] https://www.cypherpunk.at/onioncat_trac/wiki/OnionCat
>>>
>>
>>
>> Hi!
>>
>> Yes, you can specify a different network prefix. But be aware, that this
>> would break routing with other OnionCats, i.e. you'll create your own
>> private network.
>>
>> The prefix is defined hard-coded as the cpp macro TOR_PREFIX in
>> ocat_netdesc.h. Just modify it up to your needs an recompile it.
>>
>> Regards,
>> Bernhard
> 
> Thank you.
> 
> As I understand it, all that matters is using a /48 that won't be
> provisioned by ISPs. In case it hits the public Internet. Right?
> 


Yes, right.


> And I could configure onion services to route among multiple /48
> networks, yes?


Have a look at my previous reply a minute before.

Berhard




More information about the tor-talk mailing list