Bitcoin Forum
March 28, 2024, 10:37:48 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: mIRC TOR Script (that works) + Documentation + More [Total: 30 BTC]  (Read 17498 times)
da2ce7 (OP)
Legendary
*
Offline Offline

Activity: 1222
Merit: 1016


Live and Let Live


View Profile
January 04, 2011, 11:27:38 AM
Last edit: November 19, 2012, 11:32:51 AM by da2ce7
 #1

I have spent most of the day trying to get Tor working (and failed).  The documentation is very poor.

50 BTC bounty for writing a sasl mIRC script that doesn't suck, and is well tested and documented.  (if new script works, and doesn't suck, test and document, the developer of the script then can claim the bounty off me anytime, if the identity can be proven)  Grin  I have been successfully using the SASL-lite script... it so this is null... we still need to update the Guide.

Another 10 BTC bounty for the writing of a full guide explaining how to get Tor working on windows with Bitcoin, mIRC (on Freenode), and Firefox. (50 BTC Paid)

The prize will be awarded on the completion of this task, (judged by da2ce7).

Please write the guide at: https://en.bitcoin.it/wiki/Tor

Bonus Prizes:

- Great X-Chat Tor guide [10 BTC]
- Easy to understand and in-depth explanation of Tor, and it's relationship to Bitcoin. [10 BTC]
- Generic 'going underground' guide.  Linking to well written credible sources, and explaining it's relationship to Bitcoin [10 BTC]


Have Fun!

Edit: changed stuff around, cause 3 months has passed.
Edit: added Freenode restriction, made the bounty's larger.
Edit: updated for paid bounties!
Edit: closed bounties... been a long time.

One off NP-Hard.
1711665468
Hero Member
*
Offline Offline

Posts: 1711665468

View Profile Personal Message (Offline)

Ignore
1711665468
Reply with quote  #2

1711665468
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711665468
Hero Member
*
Offline Offline

Posts: 1711665468

View Profile Personal Message (Offline)

Ignore
1711665468
Reply with quote  #2

1711665468
Report to moderator
Sawzall
Full Member
***
Offline Offline

Activity: 140
Merit: 100



View Profile
January 05, 2011, 02:18:10 AM
 #2

I'll try to write the guide for you, do you mind using Pidgin (universal IM client, supports IRC) instead of mIRC?
da2ce7 (OP)
Legendary
*
Offline Offline

Activity: 1222
Merit: 1016


Live and Let Live


View Profile
January 05, 2011, 06:54:39 AM
 #3

I'll try to write the guide for you, do you mind using Pidgin (universal IM client, supports IRC) instead of mIRC?

Yes, I use mIRC.  The guide is dependent on getting Tor working with mIRC. You are more than welcome to team up with somebody else, and split the prize.

One off NP-Hard.
Sawzall
Full Member
***
Offline Offline

Activity: 140
Merit: 100



View Profile
January 05, 2011, 04:22:50 PM
Last edit: January 05, 2011, 04:34:10 PM by Sawzall
 #4

This guide is going to be pretty specific to you, so perhaps I should write it somewhere other than the Bitcoin wiki page for Tor. I'd be willing to write a guide there for just Tor with Firefox and Bitcoin (no mIRC) for a portion of the bounty.

For the second bonus prize, how in-depth do you want it? In a nutshell, using Tor is like using a series of secure proxies distributed across the world and randomly changing them every ten minutes. Connecting to Bitcoin nodes using Tor makes it almost impossible to trace the IP address sending or recieving a transaction.
Vinnie
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
January 05, 2011, 06:53:02 PM
 #5

Tor+Bitcoing is a win, in my book! If I have a decent number of BTC before this bounty ends, I'll contribute.

Anonymous Cash-By-Mail Exchange: https://www.bitcoin2cash.com
da2ce7 (OP)
Legendary
*
Offline Offline

Activity: 1222
Merit: 1016


Live and Let Live


View Profile
January 05, 2011, 11:02:59 PM
 #6

This guide is going to be pretty specific to you

mIRC is a very commonly used IRC client.  I hardly think that it is 'just-for-me.'  Even so, I'm making the bounty, there is no issue of having a narrow focus.  I'm just under the assumption that I'm not the only person having issues setting it up.

From my view there is no in problem having this included on the Bitcoin wiki.

- Easy to understand and in-depth explanation of Tor, and it's relationship to Bitcoin. [20 BTC]

This needs to explain clearly, with diagrams: how tor works (and the general onion network concept), why tor is helpful for Bitcoin, limitations on privacy, contrast to other networks like freenet.

I think a solid 500 word document with a few diagrams should suffice the bounty.  Be creative, It needs to be aimed at somebody that is just starting out with all this Bitcoin-tor stuff.  It should also contain lots of link to more tougher documents.

One off NP-Hard.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 06, 2011, 08:57:48 PM
 #7

I have spent most of the day trying to get Tor working (and failed).  The documentation is very poor.
...
Annother 60 BTC bounty for the writing of a full guide explaining how to get Tor working on windows with Bitcoin, mIRC (on Freenode), and Firefox.

hi, using tor + firefox is tricky
unless you change your behaviour or maintain your personal proxy settings, it will be difficult
(sites will try to store cookies on your pc, do you allow/deny/make exceptions?)
if you go with easy rules, you won't protect much your privacy
if you go with strict rules, you won't have much browse fun.

irc + tor should be easy
irc + bitcoin should work

you made me install irc after 7 years Smiley

You can't build a reputation on what you are going to do.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 06, 2011, 10:55:38 PM
 #8

I have spent most of the day trying to get Tor working (and failed).  The documentation is very poor.

just to be sure, we're doing the same thing, please be a little more specific.
do you use windows? if yes, which release? Smiley
i assume that mirc is only available for windows but there has been a lot of changes between XP and let's say Win 7

I have never had problems using tor+vidalia/privoxy bundle + plugin for firefox.
changing application settings to use tor i can do only for windows or mac os 10.4/10.5.

You can't build a reputation on what you are going to do.
da2ce7 (OP)
Legendary
*
Offline Offline

Activity: 1222
Merit: 1016


Live and Let Live


View Profile
January 06, 2011, 11:09:04 PM
 #9

I'm using windows 7 x64  Grin  I have got tor working for Firefox, privoxy, mIRC (irc.lfnet.org:6667).  However the one part that I have been unable to get working is Freenode on mIRC.   Angry  This is because of the useless and un-documented sasl scripts.

I found getting Firefox, Privoxy, mIRC documentation all jumbled, out-of-date, or hard to understand.  It was quite a mission to get that far.  I have made this bounty so that hopefully somebody can spend the time to make some good guides.  Grin

One off NP-Hard.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 08, 2011, 05:34:36 AM
 #10

ok, I connected to freenode irc server and registered my nickname (to be able to connect via tor & sasl)
now i work on the sasl support in irc client (to use the nickname/password)

i think you got this error msg (at least i'm stuck there at the moment)
-anthony.freenode.net- *** Notice -- You need to identify via SASL to use this server

You can't build a reputation on what you are going to do.
da2ce7 (OP)
Legendary
*
Offline Offline

Activity: 1222
Merit: 1016


Live and Let Live


View Profile
January 08, 2011, 05:51:47 AM
 #11

ok, I connected to freenode irc server and registered my nickname (to be able to connect via tor & sasl)
now i work on the sasl support in irc client (to use the nickname/password)

i think you got this error msg (at least i'm stuck there at the moment)
-anthony.freenode.net- *** Notice -- You need to identify via SASL to use this server


Yep you got to the point that I got stuck at... The documentation for SASL with mIRC is virtually non-existent. (and what exist's is of very poor quality).

One off NP-Hard.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 08, 2011, 06:38:28 AM
 #12

ok, I connected to freenode irc server and registered my nickname (to be able to connect via tor & sasl)
now i work on the sasl support in irc client (to use the nickname/password)

i think you got this error msg (at least i'm stuck there at the moment)
-anthony.freenode.net- *** Notice -- You need to identify via SASL to use this server


Yep you got to the point that I got stuck at... The documentation for SASL with mIRC is virtually non-existent. (and what exist's is of very poor quality).

ok, two things you could try

execute /dialog -m SASL.main SASL.main command in your mirc app to see if you get a window to manage SASL connections or an error message, please. the F2 button did not work for me but the /dialog command does pretty much the same. This was pretty much my main problem. to add sasl support to mirc.

the second problem was the .dll itself. while using the dll advertised on http://freenode.net/sasl/ it did not work.
as soon as i changed it for this one http://honk-honk.org/SASL/SASL.dll
it started to work for me.

here's a quick and dirty howto to share with you how i did it.

1) register a nick name with freenode's nickserv
2) copy the SASL.dll and sasl.mrc to mirc directory
3) execute /dialog -m SASL.main SASL.main (at this point you might see an error about the .dll)
4) if you see a dialog window, you can add a Freenode entry with all the parameters requested
5) save, connect

and of course run tor/vidalia locally and configure mirc to use tor as a local proxy

i'm not familiar with wiki style editing, so i just might drop the screenshots in my homepage and split the bounty with the final publisher if applicable Wink

i'm currently on the irc forum as ptmhd (what a surprise Wink

ptmhd is debian-tor@gateway/tor-sasl/ptmhd * martin
ptmhd on #bitcoin-discussion
ptmhd using anthony.freenode.net Irvine, CA, USA
ptmhd is connecting from *@gateway/tor-sasl/ptmhd 255.255.255.255
ptmhd has been idle 4secs, signed on Sat Jan 08 07:16:24
ptmhd is logged in as ptmhd
ptmhd End of /WHOIS list.

i'm connected from a win xp box.
i'll try to get the windows 7 box using irc/tor as well as a proof for that.
screenshots comming soon. hope this helps for the moment

You can't build a reputation on what you are going to do.
da2ce7 (OP)
Legendary
*
Offline Offline

Activity: 1222
Merit: 1016


Live and Let Live


View Profile
January 08, 2011, 07:01:09 AM
 #13

cool, good work! You have got further than me.  Cheesy  What bounty are you aiming for?

50 BTC bounty for writing a sasl mIRC script that doesn't suck, and is well tested and documented.
Bounty has been about 5% completed. I would not call this well tested or documented.  Maybe if the existing script works, however there is no documentation that explains _why_ it works.

Another 60 BTC bounty for the writing of a full guide explaining how to get Tor working on windows with Bitcoin, mIRC (on Freenode), and Firefox.
This bounty you have just the your foot in the door.  A full guide needs to be easy to understand and show clear instructions.  The 5 points you have posted now is barely a proof of concept.

The reason I make such bounties is because I'm lazy and don't want to do it myself.  Grin  I'm not going to spend lots of time porting it over to the wiki.   Good start so far! Hope my bar isn't too high.

One off NP-Hard.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 08, 2011, 07:29:47 AM
 #14

before i get some sleep i post my notes. this should match the request for a tutorial IRC (mIRC client) with Freenode server.
not explaining SASL as such nor how tor works. prerequisite is having tor running on your pc

1. pimp your mirc installation (add sasl support)

download those 2 files and copy them to your mirc directory
http://honk-honk.org/SASL/SASL.dll
http://honk-honk.org/SASL/sasl.mrc

load SASL.mrc into your remotes
(p.ex. Alt + R to open script editor, Ctrl + L to load a file, browse to sasl.mrc)
OK or save & exit

2. register your nick with freenode nickserv

connect without using tor & execute
/msg nickserv register <password> <email>

-NickServ- An email containing nickname activation instructions has been sent to <email>
-NickServ- If you do not complete registration within one day, your nickname will expire.

go to your email and follow the instructions (copy/paste 1 command from mail to irc)

3. in mirc execute /dialog -m SASL.main SASL.main

you should see this
<img src="http://uber.1337.sk/~ptmhd/btc/da2ce7/20110108-sasl-manager.png">

configure Freenode network using the GUI interface, and connect as you would any server
<img src="http://uber.1337.sk/~ptmhd/btc/da2ce7/20110108-sasl-network-config.png">
use the nick/password as registered in step 2.

4. in mirc setup the proxy & irc server
 
use tor as your proxy
<img src="http://uber.1337.sk/~ptmhd/btc/da2ce7/20110108-mirc-proxy.png">

connect to the freenode irc via tor
<img src="http://uber.1337.sk/~ptmhd/btc/da2ce7/20110108-irc-server.png">




Troubleshooting:

symptom: you see unable to open 'A:\Path\to\mirc\SASL.dll' message
remedy: try different SASL.dll (freenode vs honk-konk)

symptom: error Notice -- You need to identify via SASL to use this server
remedy: correct your SASL settings, see 3. /dialog  -m SASL.main SASL.main

You can't build a reputation on what you are going to do.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 08, 2011, 07:33:35 AM
 #15

The reason I make such bounties is because I'm lazy and don't want to do it myself.  Grin  I'm not going to spend lots of time porting it over to the wiki.   Good start so far! Hope my bar isn't too high.

your bounty, your rules Wink
no idea if i'll be in the mood to learn wiki markup and format it

i'm familiar with tor so the only really tricky part was the irc/sasl.
if you get stuck somewhere, i'll try to help you.

i'm lazy as well and now also tired. C U later

You can't build a reputation on what you are going to do.
da2ce7 (OP)
Legendary
*
Offline Offline

Activity: 1222
Merit: 1016


Live and Let Live


View Profile
January 08, 2011, 08:28:20 AM
 #16


You are using port 8118, that port is for Privoxy, there is no need to go through Privoxy for IRC.  Use port 9050 instead.

One off NP-Hard.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 08, 2011, 05:46:35 PM
 #17


You are using port 8118, that port is for Privoxy, there is no need to go through Privoxy for IRC.  Use port 9050 instead.

ok, thanks for the tip. i do not really distinguish between using tor directly or tor via privoxy
but i'm going give it a try for irc. port 9050 works well for tor

to setup bitcoin client to connect via tor, select Settings -> Options
<img src="http://uber.1337.sk/~ptmhd/btc/da2ce7/20110108-btc-options.png">

and check "Connect through socks 4 proxy" with the address 127.0.0.1 and port 9050
<img src="http://uber.1337.sk/~ptmhd/btc/da2ce7/20110108-btc-client-tor-as-proxy.png">

as a kind of proof, here the bandwidth use statistics (did not use the pc for anything else)
<img src="http://uber.1337.sk/~ptmhd/btc/da2ce7/20110108-btc-tor-trafic.png">

You can't build a reputation on what you are going to do.
da2ce7 (OP)
Legendary
*
Offline Offline

Activity: 1222
Merit: 1016


Live and Let Live


View Profile
January 09, 2011, 12:05:27 AM
 #18

after spending a little bit of time debugging yet again... I have got SASL working on Tor.  The issue was that my password was too long.

One off NP-Hard.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 09, 2011, 12:36:33 AM
 #19

after spending a little bit of time debugging yet again... I have got SASL working on Tor.  The issue was that my password was too long.

thanks for the info.
btw, could you share what's the maximum recommended pwd lenght?

You can't build a reputation on what you are going to do.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 09, 2011, 03:38:17 AM
Last edit: January 09, 2011, 04:08:07 AM by ptmhd
 #20


You are using port 8118, that port is for Privoxy, there is no need to go through Privoxy for IRC.  Use port 9050 instead.

I had som difficulties to configure mIRC with the 9050 port so I keep the settings as on the image.
The 8118 port is a valit tor proxy and works for the purpose of connecting.

If no one else finishes earlier than me, I will continue to add material to the wiki.
The Bitcoin part was easy. What worries me is the web sites and their cookies + AJAX & other advanced technologies that can trick the browser to disclose the IP address despite instructed to use tor.

I think the SASL script and dll work just fine. Finished installing SASL support on my other pc and it woks. Shame on me for the F2 button that does not work and user should type /dialog -m ... manually.

EDIT: i just got the idea why it does not work with 9050 port for Freenode + IRC + Tor
The service is already an onion service. It might work completely without?
But seems i'm too tired to have valid ideas.

You can't build a reputation on what you are going to do.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!