InspIRCd v4 is still early in development!
If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.
You probably want to use InspIRCd v3 instead.
The "connflood" Module (v4)
Description
This module throttles excessive connections to the server.
Configuration
To load this module use the following <module>
tag:
<module name="connflood">
<connflood>
The <connflood>
tag defines settings about how the connflood module should behave. This tag can only be defined once.
Name | Type | Default Value | Description |
---|---|---|---|
bootwait | Duration | 2m | The duration to wait after starting up before connections should be throttled. |
maxconns | Number | None | The maximum number of connections to allow before throttling. |
period | Duration | None | The duration after which the connection counter is reset. |
timeout | Duration | None | The duration to disallow connections for after passing the throttling threshold. |
quitmsg | Text | None | The message to quit throttled users with. |
Example Usage
<connflood bootwait="2m"
maxconns="3"
period="30s"
timeout="30s"
quitmsg="Throttled">
<connect>
This module extends the core <connect>
tags with the following fields:
Name | Type | Default Value | Description |
---|---|---|---|
useconnflood | Boolean | yes | Whether to throttle users in this class when excessive connections are being made to the server. |
Example Usage
Disables connection flood throttling for users in the BNC class:
<connect name="BNC"
...
useconnflood="no">