Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Flood protection #6

Open
ZeroKnight opened this issue May 18, 2015 · 0 comments
Open

Flood protection #6

ZeroKnight opened this issue May 18, 2015 · 0 comments
Assignees

Comments

@ZeroKnight
Copy link
Owner

Implement flood protection, as relying on POE::Component::IRC is not an option. After x messages are sent in y seconds, keep track of a timestamp for the last message sent, then POE::Kernel::delay() the next send in speak() by z seconds.

For the threshold, something like 5 messages within 3 seconds with a 1-2 second throttle seems reasonable.

Also double check that PoCoIRC isn't doing any other throttling/protection

@ZeroKnight ZeroKnight self-assigned this May 18, 2015
@ZeroKnight ZeroKnight added this to the Version 0.2 (True Modularity) milestone May 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant