GithubHelp home page GithubHelp logo

Comments (5)

glguy avatar glguy commented on August 28, 2024

Freenode has been under a DDoS attack this weekend and glirc2 only attempts to reconnect 6 times by default. It's probably done retrying. The other possibility is that the connection to freenode has stalled the the OS hasn't realized that. Current the client expects that socket connection attempts will eventually complete.

The reconnection logic works fine in general so far as I know. I'm not keen to tweak it to deal with DDoS situations.

If the sever closes the connection due to the server being full, that's a normal closure and not a failed connection, so the client doesn't continue to reconnect to the server.

from irc-core.

hvr avatar hvr commented on August 28, 2024

fwiw, I had the reconnect attempts set to "60";

also some irc servers disconnect you if you're not quick enough to authorize the nickname; I just had a case where

08:20 caps acknowledged: multi-prefix 
08:20 ERROR Closing link: (hvr@....) [Registration timeout] 
08:20 client connection closed 

So while this is indeed a failure at the application layer, there'd still be value in having a 2nd layer reconnect logic IMO... what would znc have done?

from irc-core.

glguy avatar glguy commented on August 28, 2024

If the connection timed out because you don't authenticate the client shouldn't reconnect. If the server tells you it's full or that you aren't authorized you shouldn't reconnect. I think these situations call for the user to make a judgement call as to how they're like to proceed. In particular with the manual authentication failure where the user is actively sitting at the client manual reconnect makes the most sense. The current reconnect logic is focused on network failures.

from irc-core.

glguy avatar glguy commented on August 28, 2024

I know that my ZNC found itself offline this weekend requiring manual intervention during the ddos

from irc-core.

hvr avatar hvr commented on August 28, 2024

fair enough... :-)

from irc-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.