Comments (13)
from znc.
How about disabling automatically reconnect in case of a network ban? Nicer would obviously for the user to configure the behavior in such cases. But then again we should consider what kind of behaviors do we want in case of such events? Also maybe it would be smart to make a module for something like this? So the user can already configure the behavior, kinda.
from znc.
Based on what @schoentoon says, perhaps we can set IRCEnableConnect to false if we see "G-Lined" in the ERROR message. Such as follows:
ERROR Closing link: ([email protected]) [G-Lined: Testing this stuff!]
from znc.
I think it'd be smart to do that on *-Lined: then, so pretty much on any kind of network ban.
from znc.
That would make everybody who uses "G-Lined: Foo" as his quit message quite sad (yes, this was seen in the wild, someone wante to feel cool, I guess). In this case e.g. /znc jump wouldnt actually reconnect.
from znc.
I know what you mean. How about only checking for it when you get disconnected by an "ERROR Closing link"? Or just entirely disabling this when something with G-Lined is set as their quit message.
from znc.
I'm pretty sure most ircds disconnect you with an ERROR Closing link when you /quit
also, unrealircd has "User banned from blah" and "User permanently banned from blah" as error lines when you're g-lined...
from znc.
This would be very helpful, for example now that ChatSpike somehow turned SSL off for all ports and ZNC tried connecting to it a lot and then also getting Z-lined.
- Related issue: #829 (network-line messages are not visible through bans)
also 👎 for detecting network bans and aborting connections entirely. There are many accidentally too wide network bans at freenode that are often lifted soon and just slowing down repeated reconnects would help with Z-lines about connecting too fast.
from znc.
#764 is another issue which this would fix, if the server suddenly changes SSL certificates, ZNC just floods the server and disconnects forever while it could slow down the attempts until user came and verified the certificates.
from znc.
I recently ran out of disk space on a server. While investigating I found an 88 GB ZNC log file, 80 GB of which were filled with IRC reconnection attempts from one 24-hour period.
UPDATE: I'm not a smart person and cannot tell an IRC bouncer from an IRC bot. Please ignore.
from znc.
@mgedmin the log which you shown on IRC, is from Supybot, not ZNC...
from znc.
During night one network changed it's certificate and when I woke up I had 326 700 lines of flood from ZNC asking me if I trust the certificate or not.
I believe *this musn't happen.' Can we get this as blocker for 1.7.0 before ZNCs start getting banned widely due to this issue and getting whtaever-lined?
Edit: I said 50 000 lines, WeeChat Android said 326 700 lines.
from znc.
How is this still not fixed 9 years later? When an IRC server is down ZNC tries to reconnect every 90 seconds and spams my Pushover notifications.
from znc.
Related Issues (20)
- Add OpenID Connect support HOT 3
- Add some way to bypass channel mode cache (or just remove it) HOT 6
- Feature request: ability to disable the "The channel could not be joined, disabling it" behavior HOT 1
- Client connecton stalled after CAP ACK HOT 3
- Portainer Add Template > ZNC - no login
- Add Security Headers to webadmin HOT 5
- Cannot load python modules via webadmin w/ Debian 12/Python 3.11.x/znc-1.9.x HOT 2
- can't remove some channels from chansaver HOT 5
- Reconnecting too fast HOT 6
- Missing `RPL_TOPICWHOTIME` from server results in incorrect `RPL_TOPICWHOTIME` sent to client
- Update the Copyright notice
- Perform /timer unknown command HOT 3
- Watch module ZNC HOT 7
- Missing : in PASS command
- Likely race condition in build system related to `generated.tar.gz` HOT 3
- identd and identfile doeset works HOT 10
- Cannot add/edit networks through Webui "The requested module does not acknowledge web requests" HOT 6
- Expired Certificate for wiki.znc.in HOT 4
- listsockets printing 1970's dates. HOT 4
- return znc.HALTCORE ignored in OnJoinMessage 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 znc.