[NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plugin

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by virtual_master »

phelix wrote:I am still testing. So far it looks very good :mrgreen:

I could not yet get it running in the Tor browser bundle... do you have any idea why that could be? I deactivated the https everywhere extension to no avail.

It works fine with normal Firefox: http://duskgytldkxiuqc6.onion --> http://federalistpapers.bit
:D Nice to hear that I am not the only one who was not able.

Let me tell you my experience.
I tried on 32 bit xubuntu 10 and 12 VM native and with wine without reading the installation description but didn't worked.
Then I read the descriptions so I tried next on a 64bit W8 system directly. By the bundle option the Mozilla plugin downloaded the blockchain and after it .bit domains mostly worked(if not then worked again after restart).
But doesn't resolve to TOR. Of course not because TOR is not started. However not immediately you realize that Tor and I2P is not working because always there is a standard message on klicking .bit domains which should resolve to Tor or I2P.
Welcome to nginx!
which doesn't correspond to the content on http://duskgytldkxiuqc6.onion.
OK. I need Tor or I2P to work also from the browser.
Next I tried from the TBB but there doesn't work at all the .bit resolving, not even after deactivating the HTTPS and the NOSCRIPT plugins.

So namecoind seems to work when Mozilla started then I tried to connect TBB to namecoind - not succeeded.
TBB(with the plugin) doesn't work also if the option 'bundle' activated.

Now I see 3 possible directions to get forward working the plugin with Tor:
1. to get TBB somehow to work with the plugin (a bundled version TBB with the .bit plugin would be ideal)
2. Mozilla which is working with the plugin without Tor to configure somehow with an alone standing Tor. I still remember the times when this was necessary to get working Tor because TBB didn't existed. This old informations needs to be grabbed out and maybe adapted.
3. To put the working Mozilla with .bit plugin in a Whonix workstation which is connected to the Tor gateway.
However the standard workstation is a 32 bit Debian and a 64 bit system is needed for the plugin.
A 64 bit VM(or isolated machine) needs to be created which is still not tested how it works with the gateway.(but theoretically should work)
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by phelix »

virtual_master wrote:
phelix wrote:I am still testing. So far it looks very good :mrgreen:

I could not yet get it running in the Tor browser bundle... do you have any idea why that could be? I deactivated the https everywhere extension to no avail.

It works fine with normal Firefox: http://duskgytldkxiuqc6.onion --> http://federalistpapers.bit
:D Nice to hear that I am not the only one who was not able.

Let me tell you my experience.
I tried on 32 bit xubuntu 10 and 12 VM native and with wine without reading the installation description but didn't worked.
Then I read the descriptions so I tried next on a 64bit W8 system directly. By the bundle option the Mozilla plugin downloaded the blockchain and after it .bit domains mostly worked(if not then worked again after restart).
But doesn't resolve to TOR. Of course not because TOR is not started. However not immediately you realize that Tor and I2P is not working because always there is a standard message on klicking .bit domains which should resolve to Tor or I2P.
Welcome to nginx!
which doesn't correspond to the content on http://duskgytldkxiuqc6.onion.
OK. I need Tor or I2P to work also from the browser.
Next I tried from the TBB but there doesn't work at all the .bit resolving, not even after deactivating the HTTPS and the NOSCRIPT plugins.

So namecoind seems to work when Mozilla started then I tried to connect TBB to namecoind - not succeeded.
TBB(with the plugin) doesn't work also if the option 'bundle' activated.

Now I see 3 possible directions to get forward working the plugin with Tor:
1. to get TBB somehow to work with the plugin (a bundled version TBB with the .bit plugin would be ideal)
2. Mozilla which is working with the plugin without Tor to configure somehow with an alone standing Tor. I still remember the times when this was necessary to get working Tor because TBB didn't existed. This old informations needs to be grabbed out and maybe adapted.
3. To put the working Mozilla with .bit plugin in a Whonix workstation which is connected to the Tor gateway.
However the standard workstation is a 32 bit Debian and a 64 bit system is needed for the plugin.
A 64 bit VM(or isolated machine) needs to be created which is still not tested how it works with the gateway.(but theoretically should work)
The nginx message sounds like the server does not know about the .bit domain. Are you trying to access someone elses .onion page via a .bit page you set up? That might not work depending on how the server is configured.


Biolizard please pm/bm me an address. I got distracted by the malleability mess and did only test a little but I think you did much more than what was asked for (freespeechme project and website, bundled versions).

Next steps in my eyes:
community needs to embrace and advertise .bit names
nmcontrol api server, then a lightweight option for the plugin
redirect .bit to legacy domains
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by biolizard89 »

phelix wrote:I am still testing. So far it looks very good :mrgreen:

I could not yet get it running in the Tor browser bundle... do you have any idea why that could be? I deactivated the https everywhere extension to no avail.

It works fine with normal Firefox: http://duskgytldkxiuqc6.onion --> http://federalistpapers.bit
I suspect that the TorBrowser issues are due to proxy handling in TorBrowser. TorBrowser does weird things with handling proxies, and I'm not sure what's different. I will definitely investigate this at some point. For what it's worth, even if it were functional with TorBrowser, you wouldn't get the full anonymity of TorBrowser because FreeSpeechMe's SOCKS proxy connector doesn't handle SOCKS authentication, so you lose the benefits of stream isolation. This will also hopefully be fixed in the future.
virtual_master wrote::D Nice to hear that I am not the only one who was not able.

Let me tell you my experience.
I tried on 32 bit xubuntu 10 and 12 VM native and with wine without reading the installation description but didn't worked.
Then I read the descriptions so I tried next on a 64bit W8 system directly. By the bundle option the Mozilla plugin downloaded the blockchain and after it .bit domains mostly worked(if not then worked again after restart).
But doesn't resolve to TOR. Of course not because TOR is not started. However not immediately you realize that Tor and I2P is not working because always there is a standard message on klicking .bit domains which should resolve to Tor or I2P.
Welcome to nginx!
which doesn't correspond to the content on http://duskgytldkxiuqc6.onion.
I'm unable to reproduce the "Welcome to nginx" message on http://federalistpapers.bit. Exactly what URL did you enter into the Firefox address bar? Did FreeSpeechMe generate any warning messages in the top bar?
phelix wrote:Biolizard please pm/bm me an address. I got distracted by the malleability mess and did only test a little but I think you did much more than what was asked for (freespeechme project and website, bundled versions).
I will send the address shortly, thanks. EDIT: Payment address sent via Bitmessage.
phelix wrote:Next steps in my eyes:
community needs to embrace and advertise .bit names
nmcontrol api server, then a lightweight option for the plugin
redirect .bit to legacy domains
A feature to use a remote nmcontrol RPC server will be added to FreeSpeechMe in the near future. Obviously this is only secure if your connection to the remote server is secure and you trust the remote server... so e.g. SSH tunneling to a server you own in a different location. But if people are willing to risk the consequences, they can use this feature as a lite client.

HTTP redirects are also on the horizon, although a bit further out... it needs a full HTTP parser to handle this properly, which will take some effort. But that will also fix the bug with WordPress non-HTTPS sites.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by biolizard89 »

0.5 BTC bounty received from NMDF. Thanks for your support!

@virtual_master: Can you provide more information about the issue you encountered with the Welcome to Nginx message?
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by virtual_master »

biolizard89 wrote:0.5 BTC bounty received from NMDF. Thanks for your support!

@virtual_master: Can you provide more information about the issue you encountered with the Welcome to Nginx message?
Of course. I will make some scree-shots and a more detailed study but I must go now.
Welcome to nginx! appears only by the Mozilla(newest, not by the TBB) with the installed plugin and synchronized blockchain.
Last time I saw only by .bit domains with tor or i2p while the usual .bit domains mostly worked.
Hmmm. Very strange. Now I saw it that appeared once even by dot-bit.bit. But clicking renew page showed the correct page again.
I will add more infos. Thanks.
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by virtual_master »

http://imgur.com/HKJHgQT
http://imgur.com/ZIlJhD6
Image
This is what I found in Wikipedia about nginx:
https://en.wikipedia.org/wiki/Nginx
It seems to be an open source proxy.
This message definitely appears only by Mozilla with freespeach plugin in connection with .bit domains. Maybe this proxy is used in the plugin and this could be a welcome message by the server by start or in some other situations also.
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

MWD
Posts: 180
Joined: Mon Feb 10, 2014 10:31 pm
os: windows
Contact:

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by MWD »

virtual_master wrote:http://imgur.com/HKJHgQT
http://imgur.com/ZIlJhD6
Image
This is what I found in Wikipedia about nginx:
https://en.wikipedia.org/wiki/Nginx
It seems to be an open source proxy.
This message definitely appears only by Mozilla with freespeach plugin in connection with .bit domains. Maybe this proxy is used in the plugin and this could be a welcome message by the server by start or in some other situations also.

That happens occasionally on working domains. Restart Firefox and try it again in a couple moments. Should work then.

MWD
Namecoin, Dot-Bit and MeowBit are a complete new Internet ecosystem, building the roads to Web 4.0. http://www.meowbit.com
Dot-Bit Kitty Pix! The ONLY .bit-only kitty cat website in the world! http://dotbitkittypix.bit

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by virtual_master »

I have restarted it 20 times but it was still the same message.
But now I came forward. I deleted the cache from Mozilla and 'Welcome to ngonx' disappeared.
However it is a no connection message now so it is not much better.
This is all on Win 8 64bit and clean Mozilla with working freespeach plugin and working tor.
Tor connection is working and .bit resolving is working (mostly) but only each separated on the same browser, not the .bit -> tor resolving.
I have connected the clean Mozilla with plugin to the running Tor from the TBB.(with the Vidalia bundle somehow didn't worked)
TBB still couldn't get working with the freespeach plugin. Next I will compare the differences in about:config between clean Mozilla and the TBB Mozilla to find out what is the problem.
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by biolizard89 »

@virtual_master: Can you post the settings you have in FreeSpeechMe preferences in the Namecoin and Proxies tabs? Do the settings in the Proxies tab match your Tor and I2P SOCKS ports? Different Tor releases have used different SOCKS ports, and I2P requires configuration to enable a SOCKS port, so the defaults may not work unmodified.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: [NMDF] 0.4/0.1BTC - Namecoin Tor/I2P Support Firefox Plu

Post by virtual_master »

biolizard89 wrote:@virtual_master: Can you post the settings you have in FreeSpeechMe preferences in the Namecoin and Proxies tabs? Do the settings in the Proxies tab match your Tor and I2P SOCKS ports? Different Tor releases have used different SOCKS ports, and I2P requires configuration to enable a SOCKS port, so the defaults may not work unmodified.
Jeremy, you have put the right hint now. Now it works on Tor. :) :) :)
I was distracted a couple of times by Norton and Windows firewall which blocked namecoind again and again but now I uninstalled Norton.
I also searched the problem in another direction because I had Tor connection on the clean Mozilla but no .onion resolving was working and I thought this is a reason that doesn't work.
The proxy setting in Mozilla was correct (the same as in TBB) 127.0.0.1:9150 to connect to the same running Tor session.
In the plugin the Namecoin menu was on the bundle and tor was also activated. However by the addon-proxy settings it was the default one. As I put there the same setting as in the browser, federalispapers.bit resolved correctly.
Now I deactivated Tor in the browser settings and .bit -> tor resolving is still working. So only the proxy settings in the addon needs to match with the Tor settings.
:) You have done a great work so far.
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

Post Reply