freenode / ircd-seven

freenode's IRC server daemon
Other
200 stars 48 forks source link

Frequent disconnects with Tor #169

Closed kaminsky9444 closed 5 years ago

kaminsky9444 commented 5 years ago

Hello,

I usually use Freenode with Tor, and I notice a problem. After a few days of connection (maximum 3 days), the IRCD of Freenode disconnects me with the following message :

warning SSL read error: server closed connection unexpectedly.

Why can not I go beyond 3 days of connection?.

Tor version : 0.2.9.16-1. Irssi version : 1.2.0. OpenSSL version : 1.1.0j-1~deb9u1.

Thanks you !.

kaminsky9444 commented 5 years ago

I will provide the rawlog in the coming days.

bigpresh commented 5 years ago

I wouldn't consider Tor a reliable connection method for long-standing connections; Tor nodes anywhere along the path can come and go. If you want to stay connected for a long time, Tor is not for you, I'd say.

I'll close this as it won't be an ircd issue, otherwise it would affect non-Tor users too.

mquin commented 5 years ago

Setting "LongLivedPorts 6697" in your torrc may help you get a more reliable path through the network.

I've been able to maintain connections for longer than three days from a system with that set, but drops do still happen occasionally and are likely unavoidable given the design of Tor.

kaminsky9444 commented 5 years ago

@mquin,

After ~ 8 hours .. :

https://nsa40.casimages.com/img/2019/06/22/190622071344122554.jpg.