FruitieX / teleirc

A simple Telegram ↔ IRC gateway.
MIT License
273 stars 88 forks source link

Tor support for irc server #159

Open gsantner opened 8 years ago

gsantner commented 8 years ago

Please support connecting to the IRC Server over tor.

E.g. Freenodes has this tor address: https://freenode.net/news/tor-online

Mikaela commented 8 years ago

What currently prevents you from connecting to freenode using Tor with TeleIRC?

FruitieX commented 8 years ago

Hi,

This project uses node-irc to connect to the IRC network, and so if any IRC features are missing, they need to be implemented there. Please either file an issue with them, or wait until we migrate to another IRC library once a better one exists (irc-framework is looking promising).

On a side note: if you have to use Tor, I wouldn't recommend piping your conversations to Telegram as it is not a secure means of communication.

gsantner commented 8 years ago

@Mikaela How would you set/apply a proxy to it?

@FruitieX: The problem is, that IRC leaks the IP of the bot to anyone joining the chat.

Mikaela commented 8 years ago

@Mikaela How would you set/apply a proxy to it?

https://github.com/znc/znc/issues/143#issuecomment-12858126

FruitieX commented 8 years ago

@gsantner ah, that makes more sense.

gsantner commented 8 years ago

@Mikaela Thanks for your notice, I'm trying with that one

@FruitieX Maybe a mention how to do it would be great. I would say this is a critical issue of this application. (or at least the library behind it)

FruitieX commented 8 years ago

If it can be done through a proxy as Mikaela is suggesting, then I'm all for adding an explanation on how to do that in the README.

Mikaela commented 6 years ago

I ended up here via the ZNC issue where I rewrote my comment earlier and I think I am reopening this as this TeleIRC did move to irc-framework which does seem to support SOCKS proxies (I am not a coder and thus not entirely sure though). I think TeleIRC is either missing documentation on how to pass the options to irc-framework or missing support for those options.

Mikaela commented 6 years ago

Loosely related: https://github.com/FruitieX/teleirc/issues/259 as freenode requires SASL EXTERNAL (SASL + CertFP) for Tor connections.