backdrop-contrib / antiscan

Block bad crawlers automatically - module for Backdrop CMS.
GNU General Public License v2.0
1 stars 2 forks source link

Warning: Cannot modify header information - headers already sent #5

Closed izmeez closed 8 months ago

izmeez commented 8 months ago

New to the antiscan module and not sure how to interpret this event. Also running antibot and honeypot modules on the same site. An anonymous visitor to the contact page resulted in the following watchdog entry:

Type = php; Message = Warning: Cannot modify header information - headers already sent by (output started at /core/includes/bootstrap.inc:3133) in antiscan_action() (line 164 of /modules/antiscan/antiscan.module).

Subsequent visits to other legitimate paths were blocked as a result.

The ip address is not in the AbuseIPDB. But, it is a Chinese ip address.

findlabnet commented 8 months ago

This problem is explained here: https://github.com/backdrop-contrib/ip_blocking?tab=readme-ov-file#known-issues

I will also add this explanation to the README.md for this module.

izmeez commented 8 months ago

This is very helpful, thank you.

izmeez commented 8 months ago

Closing issue as solved.