Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flood detection #10

Open
ldilley opened this issue Mar 1, 2015 · 0 comments
Open

Add flood detection #10

ldilley opened this issue Mar 1, 2015 · 0 comments

Comments

@ldilley
Copy link
Owner

ldilley commented Mar 1, 2015

If a client is sending too much data in a short amount of time, disconnect them. This can be done by way of the following:

�a) a timer and input counter or
b.) if x messages are received (tracked by an input counter), compare a timestamp from 10 messages ago with the current timestamp. This timestamp information can be held in an array for each user. If the difference is too small, disconnect the user.

Or leave it to bots/channel operators, IRC operators, and IRC administrators to remove the offender. This feature may be too resource intensive for a heavily populated server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant