Posted by idk in I2P

There's this nifty feature that you can embed in browsers that integrate Tor and I2P features where clearnet-acccessible sites can advertise that they have hidden equivalents. This works in Tor Browser Bundle for Tor, and I think Brave implements it as well, and for I2P, my own WebExtension project implements it. The idea is to enable users to find the service the easy(HTTPS, DNS, etc) way, use the HTTPS way to get to the hidden service, and bookmark the hidden service.

To do it is very easy, you just need to add a header or a meta tag, for the header version, it would be

 I2P-LOCATION=http://smv3cryi3n7d5ll7xpvlhstubi5yj4dadeltyrdwdr4onwd2jvvq.b32.i2p

and for the meta-tag version, it's

 <meta http-equiv="i2p-location" content="http://smv3cryi3n7d5ll7xpvlhstubi5yj4dadeltyrdwdr4onwd2jvvq.b32.i2p">

For Tor's version, the equivalent would simply replace i2p-location with onion-location and the .b32.i2p addresses with .onion addresses.

Right now I think only i2pgit.org and eyedeekay.github.io implement it, although I will probably add it to i2p.www with i2p-projekt.i2p as the value soon.

6

Comments

You must log in or register to comment.

Rambler admin wrote

I honestly had no idea this was an option in I2P, but I'll be implementing it soon. Already did this for the onion service, thanks for the heads up!

3

Rambler wrote

I'm not equipped to test it right at this moment, but I did add the I2P-LOCATION to the nginx configuration.

 add_header Onion-Location http://rambleeeqrhty6s5jgefdfdtc6tfgg4jj6svr4jpgk4wjtg3qshwbaad.onion$request_uri;
 add_header I2P-LOCATION http://smv3cryi3n7d5ll7xpvlhstubi5yj4dadeltyrdwdr4onwd2jvvq.b32.i2p$request_uri;

/u/idk can you confirm if it's working on your end? Once ramble.i2p starts showing up in subscription lists I'll change it. (I was only able to access the domain registars on I2P yesterday evening... turns out after a day of trying and failing to get their sites to load all I had to do was restart my router. Sometimes it's the simplest things...)

1

idk OP wrote

It's working for me in I2P in Private Browsing WebExtension. I'm going to have to make some improvements to the UI/style for this on my end though, it's doesn't show up very well when the URL's are this long and that's a problem that needs to be solved. Next release is likely to happen Sunday, and I'll be sure to include some improvements to the feature in that release. Thanks for setting this up.

2

Rambler wrote

Oh hey, it works for me too. Neat!

I'll update the I2P-Location because ramble.i2p should be resolving now for most.

2