Connecting to FreeNode with Tor using XChat

I am a regular visitor to FreeNode, and regularly visit channels #myoss. Sometimes I would like to just check up how it’s going, but sadly due to restrictions with the network that I’m in, this is not possible. An alternative is to access FreeNode with Tor using XChat, similarly to what we did with Firefox.

FreeNode is very encouraging of using Tor, and have policies set up to help Tor users. Similarly there are more generic instructions on how to access FreeNode via Tor.

Because of the anonymity provided by Tor, it is also suitable for abuse. There are moral issues with providing everyone anonymity, such as criminal activity, denial of service, and spammers. This is increasingly important with the threat of terrorist attacks, but also with governments cranking down on privacy.

Because of this abuse, you may not be able to connect to FreeNode. Like right now I am getting this message when trying to connect to FreeNode through Tor.

You have been killed by Idoru. (is temporarily blocked due to abuse. Apologies for the inconvenience!)
Closing Link: gateway/tor/session (Killed by Idoru. (Tor is temporarily blocked due to abuse. Apologies for the inconvenience!))

I will not be held responsible for the actions conducted by any person using these instructions. Do this at your own risk. Similarly when Tor starts it warns the user: This is experimental software. Do not rely on it for strong anonymity.

How to set up XChat to work with Tor:

Suitable of Ubuntu Dapper Drake, adapt as necessary.

  1. Run the command: sudo gedit /etc/tor/torrc
  2. Append the line to the end of the file, (might want to add a comment): mapaddress 10.40.40.40 mejokbp2brhw4omd.onion
  3. Save the file, and exit
  4. Restart the Tor service: sudo /etc/init.d/tor restart
  5. Open XChat, and go to: Settings > Preferences
  6. Now drop down to: Network > Network setup
  7. Set the Proxy server to be: localhost
  8. Set the Proxy port to be: 9050
  9. Set the Proxy type to be: Socks5
  10. Save, and go to File > Server List, and create a new Network. I called it “Torified FreeNode”
  11. Open up the network, and add into the server list the IP: 10.40.40.40
  12. Enable the option: Use a proxy server
  13. Save the Network settings, and click: Connect

And there you have it, simple easy to read instructions on how to connect to FreeNode with Tor using XChat.

Of course when you connect to IRC you may be using the same handle you always use, so your not really anonymous in IRC; its just that your ISP would have trouble finding what you are doing.

You should now be on your way to connecting to FreeNode through Tor; unless Tor has been blocked once again by FreeNode.

This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

11 Responses to Connecting to FreeNode with Tor using XChat

  1. nobody says:

    Here are detailed instructions for XChat via SASL
    https://trac.torproject.org/projects/tor/wiki/doc/TorifyHOWTO/IrcSilc#X-Chat

    Worked flawlessly for me.

  2. john says:

    When i try to restart tor, it tells me “Failed to parse/validate config: Failed to bind one of the listener ports.”
    What is wrong with the command there? Or, if that tor proxy doesen’t quite have a 100% uptime, list some
    more. (Good tut tho)

  3. Pingback: HOWTO: Configure Tor + SASL + irc to connect to Freenode | random neuron misfires

  4. hmmm says:

    I get this message with xchat:
    * *** Notice — You need to identify via SASL to use this server

  5. overmind says:

    With new IRCD, (ircd-seven), freenode allows tor, but identification before connection is needed, using SASL, as Esdras said.

    This is my host when I am connected via tor: overmind!debian-tor@gateway/tor-sasl/overmind

    Anyways, I get big lag while I am connected with tor.

    And nice post :)

  6. Esdras says:

    Thanks for the very useful article. :) I had a more specific problem (need for SASL authentication), found a solution and published another article in Portuguese based on yours at http://www.makeinstall.com.br/2010/03/02/acessando-a-freenode-com-xchat-e-tor/ .

  7. Pingback: Acessando a FreeNode com XChat e Tor « make install

  8. MyAzhax says:

    eh, how about i using MIRC and windows?

    -5t7o4shdbhotfuzp.onion- *** Looking up your hostname…
    -
    -5t7o4shdbhotfuzp.onion- *** Checking ident
    -
    -5t7o4shdbhotfuzp.onion- *** No identd (auth) response
    -
    -5t7o4shdbhotfuzp.onion- *** Couldn’t look up your hostname
    -
    Hmmm, that wasn’t the right password
    -
    Closing Link: 127.0.0.1 (Bad Password)

    any help? :(

  9. A C says:

    Thanks very much for the advice. The tutorial worked very well for me.

    @fenris, some channels block or forward Tor users … I’m not sure that there is anything that can be done about that

  10. fenris says:

    thanks for da tips … but ..

    * #ubuntu #ubuntu-proxy-users :Forwarding to another channel

    how do i to join #ubuntu while using the tor becoz it will forward me to #ubuntu-proxy-users

    need ya advise .. thanks ..

  11. Arun says:

    Thanks for the tip !!
    I was really missing freenode :(

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>