lat9 / access_blocker

Access Blocker (a pseudo-recapcha)
Other
0 stars 1 forks source link

Blocking Messages without IP and always with ipdata #3

Closed Pan2020 closed 5 years ago

Pan2020 commented 5 years ago

All blocks have this message "IP address is identified as a threat by ipdata.co." Even though, it may not be blocked due to ipdata!

I do wonder if it is possible that it was blocked only due to keywords or the mail domain. On all blocks so far, they all have blocked by ipdata.

Also, all blocks have "Access blocked on contact_us page for IP Address (not provided)." No block even give out IP. Only email addresses were given!

lat9 commented 5 years ago

I don't know when I'll get back to this, but will investigate over the next week.

lat9 commented 5 years ago

Ah, I see the cause now! The plugin's debug/trace log was using $_SESSION['REMOTE_ADDR'] instead of the correct $_SERVER['REMOTE_ADDR'].