#6891 closed enhancement (fixed)
Disable IP banning
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | MathCaptchaPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Is there a way to disable IP banning? In our trac, we regularly get the "System offline." message although none of us has used the system anonymously and failed any captchas. So the spam bot produces false-positives that prevent us from any access.
Attachments (0)
Change History (5)
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|
comment:2 Changed 15 years ago by
I investigated this issue further: The problem is, that our trac runs on a dedicated machine behind mod_proxy of the Apache webserver. This means that all requests get tunneled through the webserver and forwarded to the trac server. Therefore all requests at trac have the same IP address, namely the one of the webserver. Hence all spam requests together with all good requests have the same IP. Hence filtering by IP is no good idea on the trac level.
I image, many bigger projects or institutions would want to use mod_proxy which seems to be not working with MathCaptcha.
comment:3 Changed 7 years ago by
Owner: | changed from Rob McMullen to Ryan J Ollos |
---|
I'll look into adding a parameter that controls that.
In the meantime, you can edit the MathCaptcha.py source and at line 84 change
ban_after_failed_attempts
to some large integer.