You are not logged in.

#1 2013-01-05 12:33:49

Sakikin
Member
Registered: 2012-12-30
Posts: 1

Can't get irssi to connect to tor hidden service

Basicly, I want to simply connect to freenode via their hidden service over tor, and am having some difficulty getting everything working properly. First it was torify complaining there was no torsocks, so I install it from the AUR the manual way by downloading, extracting, building and installing.

I put "mapaddress 10.40.40.40 p4fsi4ockecnea7l.onion" at the end of /etc/tor/torrc. I tailed it to see if it was really edited or not, and it is.

I downloaded cap_sasl.pl to ~/.irssi/config, did "/script load cap_sasl.pl" and says it could not load the specified math lib(s), and says it falls back to Math::BigInt::Calc

Then I do "/sasl set irc.freenode.net myname mypassword DH-BLOWFISH" and it seems to work, no errors

Then "/connect -network irc.freenode.net 10.40.40.40" and it gives me

06:27 
06:27 -!- Irssi: Loaded script cap_sasl
06:27 -!- Irssi: SASL: added irc.freenode.net: [DH-BLOWFISH] myname *
06:28 -!- Irssi: Looking up 10.40.40.40



06:28 -!- Irssi: Connecting to 10.40.40.40 [10.40.40.40] port 6667
06:28 -!- Irssi: Unable to connect server 10.40.40.40 port 6667 [Resource temporarily unavailable]

[bunch of whitespace here]


 [06:28] [myuseraccountname] [1:irc.freenode.net (change with ^X)]                                                                      
[(status)] 06:28:21 libtorsocks(4190): connect: Connection is to a local address (10.40.40.40), may be a TCP DNS request to a local DNS server so have to reject to be safe. Please report a bug to http://code.google.com/p/torsocks/issues/entry if this is prev [] [1]            

Sorry if I missed anything obvious, I was pretty much following the wiki as much as possible, and looked on the freenode and tor sites too. Also, I have never used irssi much before, nor do I have much experience with irc.

edit: fixed some spelling error and me calling freenode, freenet (easy to type the wrong thing)

Last edited by Sakikin (2013-01-05 12:48:49)

Offline

#2 2013-01-12 00:21:25

jynnantonix
Member
Registered: 2012-09-07
Posts: 33

Re: Can't get irssi to connect to tor hidden service

Did you restart tor after changing torrc?  Is tor running?  Specifically, this line:

[(status)] 06:28:21 libtorsocks(4190): connect: Connection is to a local address (10.40.40.40), may be a TCP DNS request to a local DNS server so have to reject to be safe. Please report a bug to http://code.google.com/p/torsocks/issues/entry if this is prev [] [1]  

means that the local address was not converted to the .onion address.  Either because tor isn't running or wasn't restarted

Offline

Board footer

Powered by FluxBB