DALnet / bahamut

The Bahamut IRC Daemon
http://www.dal.net/?page=Bahamut
Other
59 stars 42 forks source link

Better ircd channel flood protection #147

Open rscs opened 4 years ago

rscs commented 4 years ago

From user kisser in #bahamut

Implement +f mode from unrealircd to help with channel join/part/nick change/text floods.

https://pastebin.com/Fw4RFeCk

kobishmueli commented 4 years ago

Isn't join flooding is already dealt with +j? N is already dealt with NO_NICK_CHANGE xflag C is already dealt with NO_CTCP xflag

In anyway, it sounds too complicate to add a single mode with 9999 settings, better just split them into different xflag features if we really want to add all of them.

Kobi.

rscs commented 4 years ago

It's more sophisticated than that. NO_NICK_CHANGE blocks ALL nick changes; NO_CTCP blocks ALL CTCP. This feature only blocks those things if there's an active flood and then automatically removes the restriction.

eaescob commented 4 years ago

This gives users some more flexibility. Unsure how unreal implements this but might be worth identifying a way of adding something similar to bahamut.

crigler commented 4 years ago

One or more flood control XFLAGs that could automatically turn on other XFLAGs under certain conditions could work if we wanted this feature.