Comments (5)
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.
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.
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.
I know that my ZNC found itself offline this weekend requiring manual intervention during the ddos
from irc-core.
fair enough... :-)
from irc-core.
Related Issues (20)
- Readme.md configuration example does not show correct options HOT 1
- Inconsistent rendering and syntax for optional arguments HOT 2
- Nick tab completion after non-space character HOT 1
- Split scrollback HOT 3
- Consecutive nicks HOT 5
- Smarter handling of away HOT 1
- Don't autosend multi-line selections HOT 11
- Disable CTCP/DCC HOT 3
- Multiline message composition HOT 1
- glirc: error while loading shared libraries: libHSglirc-2.38-f3ec2659b33736663a555db766f5b734a9bf4388e5ac34ccb796dca705a43c03-ghc8.10.4.so: cannot open shared object file: No such file or directory HOT 2
- openFile: inappropriate type (is a directory) HOT 7
- invites do not generate notifications HOT 2
- Implement weechat's "bare" display mode
- Formatted text sent to a `+c` channel should show up as non-formatted text HOT 1
- M-PageUp and M-PageDown do not work HOT 9
- Upload hookup 0.7 to Hackage, please
- Cannot build glirc 2.39 from Hackage HOT 1
- Line Splitting HOT 4
- [feature request] add option to send notifications on mention HOT 5
- /mentions + /grep preview causes severe responsiveness degradation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irc-core.