mod_flood

Act on repeated floods. Part of the bundled plug-ins.

Flood detection lives in the hub core (the flood_ctl_* options), which decides when a user is flooding; a plug-in decides what to do about it. mod_flood is that action: it counts how many times the hub flags a user for flooding and disconnects them once they cross a grace threshold.

Loading

plugin /var/lib/uhub/mod_flood.so "grace=3 operator_override=1"

Configuration

OptionDefaultDescription
grace3Number of detected floods a user is allowed before being disconnected (minimum 1). Below the threshold the hub applies its built-in drop-and-warn.
operator_override1When enabled, operators and above are exempt from being disconnected.

Behaviour

Each hub-detected flood adds a strike to the offending user. Once the strike count reaches grace, the user is sent “Disconnected: repeated <type> flooding.” and dropped. The strike count resets on logout. Configure the sensitivity of detection itself with the core flood_ctl_* directives.