Opened 8 years ago

Last modified 8 years ago

#6891 assigned enhancement

Disable IP banning

Reported by: haf@… Owned by: Rob McMullen
Priority: normal Component: MathCaptchaPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


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 (2)

comment:1 Changed 8 years ago by Rob McMullen

Status: newassigned

I'll look into adding a parameter that controls that.

In the meantime, you can edit the source and at line 84 change ban_after_failed_attempts to some large integer.

comment:2 Changed 8 years ago by haf@…

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.

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain Rob McMullen.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.