Modify

Opened 4 years ago

Last modified 4 years ago

#6891 assigned enhancement

Disable IP banning

Reported by: haf@… Owned by: robm
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 (2)

comment:1 Changed 4 years ago by robm

  • Status changed from new to assigned

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.

comment:2 Changed 4 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.

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.