To avoid abuse of the server, and prevent DoS attacks on the relay, there must be a "rate" limiter on the number of message a peer can send per minute:
The throttler can take into account many parameters:
the total number of message over a defined period of time
the rate of the messages (how fast messages are sent per second)
the total size of the messages over a defined period of time.
What to do
When the peer hits a limit an error message is pushed to the peer, and the message is dropped (never pushed to the switch)
A log message is printed (may be as warn) so later we can use this to find a list of abusive twins for investigating
To avoid abuse of the server, and prevent DoS attacks on the relay, there must be a "rate" limiter on the number of message a peer can send per minute:
The throttler can take into account many parameters:
What to do
warn
) so later we can use this to find a list of abusive twins for investigating