… | |
… | |
339 | |
339 | |
340 | /* CONFIGURE: Time until a blocked host can access the server again. */ |
340 | /* CONFIGURE: Time until a blocked host can access the server again. */ |
341 | #define DEFAULT_BLOCKTIME 3600 |
341 | #define DEFAULT_BLOCKTIME 3600 |
342 | |
342 | |
343 | /* CONFIGURE: Maximum numbers of hosts that get blocked. */ |
343 | /* CONFIGURE: Maximum numbers of hosts that get blocked. */ |
344 | #define BLOCKLIST_LENGTH 1000 |
344 | #define BLOCKLIST_LENGTH 200 |
345 | |
345 | |
346 | /* CONFIGURE: The listen() backlog queue length. The 1024 doesn't actually |
346 | /* CONFIGURE: The listen() backlog queue length. The 1024 doesn't actually |
347 | ** get used, the kernel uses its maximum allowed value. This is a config |
347 | ** get used, the kernel uses its maximum allowed value. This is a config |
348 | ** parameter only in case there's some OS where asking for too high a queue |
348 | ** parameter only in case there's some OS where asking for too high a queue |
349 | ** length causes an error. Note that on many systems the maximum length is |
349 | ** length causes an error. Note that on many systems the maximum length is |