Advertisement
RanSitTox1C

Tor Setup With XCHAT Or AnonOps

Feb 15th, 2012
11,550
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1. This Shows You How To Set Up TOR with AnonOps And Any IRC CLIENT. The Example Below Is With Xchat.
  2. I Recommend Gettings Xchat IRC Client.
  3.  
  4. IDENT = 99% of the time its your username. You usually set up the IDENT when you first install the IRC Client.
  5.  
  6. Configuring your client and connecting over TOR
  7.  
  8. Unfortunately due to TOR abuse on our network (and in general on IRC) you will have to create a special account based on IDENT and a hashed password for use with TOR. Follow these instructions then Join #help and give your IDENT and HASH to an oper so you can be added to the account list and connect to the TOR leaf.
  9.  
  10. Since being subtle didn't work, lets try being blunt. If you have no idea how to use your client, how tor works, or how IRC works we can't add you to our tor leaf. We need your ident, if you have no idea what this is go read an RFC or two.
  11.  
  12. In order to connect to our IRC using TOR you will have to configure a few things.
  13.  
  14. First thing is to set up your mIRC to use TOR as a tunnel/proxy. Check the About TOR section if you haven't already then follow these instructions:
  15.  
  16. Press Alt+O to open the options dialog.
  17. Go to Connect -> Proxy section.
  18. Under Connection select Both.
  19. Under Protocol select Socks5.
  20. Under Hostname enter "localhost" (without quotes).
  21. Under Port enter "9050" (without quotes).
  22. Press OK.
  23.  
  24. This sets up your mIRC to use TOR as tunnel/proxy. Keep in mind that ANY server you connect to using the mIRC installation you just configured (not just AnonOps) will use TOR. Some (most) IRC networks however don't allow TOR or require extra custom identification steps (such as us) to be performed while connecting. You should therefore probably have a separate mIRC installation that you will use with TOR.
  25.  
  26. Second, you will need to have an unique IDENT when connecting with TOR.
  27.  
  28. To find out what your IDENT is or change it in mIRC folow these steps:
  29.  
  30. Press Alt+O to open the options dialog.
  31. Go to Connect -> Identd section.
  32. Your IDENT is in the "User ID" box and system is "unix" by default.
  33. Change it to something unique and write it down.
  34.  
  35. Third, you need to have a password which you will pass to the connect command. You need to hash this password, i.e. create a checksum/fingerprint of it to give to an oper. Enter the following in your mIRC status window (replace YourPasswordHere with your actual password).
  36.  
  37. /mkpasswd sha256 YourPasswordHere
  38.  
  39. You should then get something like this in your status window:
  40.  
  41. sha256 hashed password for YourPasswordHere is 9fdd09638a392fc85597efa4d70dd7d652bff840fa16d6eda11a2a111af84748
  42.  
  43. The 9fdd09638a392fc85597efa4d70dd7d652bff840fa16d6eda11a2a111af84748 part is the HASH.
  44.  
  45. Go to our #help channel and talk to an oper. You will need to give him your IDENT which you will use when connecting via TOR and a HASH of your password. The oper will add you to the list or TOR identities after which you can connect to our TOR server.
  46.  
  47. Now that you've set up your client and an oper added you to TOR accounts list you can connect using non-encrypted (non-SSL) or encrypted (SSL) connections. There is also a different type of address you will use to connect using TOR called an .onion address and is currently 2mjtgjozdqg2aumu.onion.
  48.  
  49. For SSL connections you can use
  50.  
  51. /server -m 2mjtgjozdqg2aumu.onion +443 YourPasswordHere
  52.  
  53. The YourPasswordHere is the password you hashed, NOT the hash.
  54.  
  55. Most of TOR relays block IRC exit ports (6667, 6697, etc) because people abuse it for spambots/clones. This is why you'll get best success rate using SSL on port 443 (which is a standard HTTP SSL port) and is allowed by most TOR exit nodes.
  56.  
  57. TOR is a high latency network and can take a long time to connect so you'll probably have a lot of failed connect attempts before you succeed. Keep trying.
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Connecting to IRC using our TOR hidden service
  64.  
  65. Since being subtle didn't work, lets try being blunt. If you have no idea how to use your client, how tor works, or how IRC works we can't add you to our tor leaf. We need your ident, if you have no idea what this is go read an RFC or two.
  66.  
  67. Once you have TOR up and running(check with http://check.torproject.org), then your going to need to configure XChat to connect to TOR properly. The first thing you should be is get your password hashed, and get your ident ready to give to an oper. In XChat your IDENT is called your username, and this is set in the network setup/network list (ctrl + s). You can generate your hash on XChat by connecting to our servers and typing:
  68.  
  69. /quote mkpasswd sha256 PutYourPasswordHere
  70.  
  71. The result will go to the snotices tab, usually labelled AnonOps and located at the top of all your channel tabs. You'll be giving your IDENT and password hash to an oper once you've got XChat setup.
  72.  
  73. So how do I setup XChat?
  74.  
  75. If Tor is working all you have to do is the following. Go to settings>preferences>network setup. On this tab enter the proxy hostname as "127.0.0.1" port as 9050, type as SOCKS5, and Use proxy for "All connections". Now add the hideen service to your network list, add a new network in the network list and name it something. Then enter the following as the server to use:
  76.  
  77. 2mjtgjozdqg2aumu.onion/443
  78.  
  79. Or if for some reason you don't want to save this in your network list use the following command to connect:
  80.  
  81. /server -ssl 2mjtgjozdqg2aumu.onion 443 YourPasswordHere
  82.  
  83. Check "Use SSL for all servers in this network", "Accept invalid SSL certificate", and for the Server Password you need to enter your UNHASHED!!! password. Done. XChat is now setup to connect to the hidden service.
  84.  
  85. Before you come and QQ that the tor node isnt working, read this again. Its something YOU did.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement