Giter Club home page Giter Club logo

Comments (13)

DarthGandalf avatar DarthGandalf commented on July 2, 2024 3

from znc.

schoentoon avatar schoentoon commented on July 2, 2024

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.

kylef avatar kylef commented on July 2, 2024

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.

schoentoon avatar schoentoon commented on July 2, 2024

I think it'd be smart to do that on *-Lined: then, so pretty much on any kind of network ban.

from znc.

psychon avatar psychon commented on July 2, 2024

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.

schoentoon avatar schoentoon commented on July 2, 2024

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.

hintss avatar hintss commented on July 2, 2024

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.

Mikaela avatar Mikaela commented on July 2, 2024

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.

Mikaela avatar Mikaela commented on July 2, 2024

#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.

mgedmin avatar mgedmin commented on July 2, 2024

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.

DarthGandalf avatar DarthGandalf commented on July 2, 2024

@mgedmin the log which you shown on IRC, is from Supybot, not ZNC...

from znc.

Mikaela avatar Mikaela commented on July 2, 2024

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.

 avatar commented on July 2, 2024

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)

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.