Code:
Connections_To_Ban = 5 # Ban the client after connecting this many times
Ban_Counter_Reset_Interval = 30 # Seconds till the connection count is reset
Temporary_Ban_Duration = 120 # Seconds host remains banned
This will ban for 2 minutes (120 seconds) if they connect 5 or more times in 30 seconds.