Closed robertgarrigos closed 3 years ago
Thanks for your input, can you describe the scenario in which this problem(s) occurred? By design you cannot block your own IP.
It's happening, sometimes, when uploading an image through a standard image field. The ajax call is triggering the block. I have to go to the database and delete the entry of my ip.
Do you have the "Antiscan" module installed? If so, which of "Restricted path patterns" do you use?
The default ones: user/ and admin/. I see, I could add the file/ajax/ one, isn't?
If I understand correctly, you mean "Not blockable path patterns" in the "Antiscan" module. You have the "Test mode" checkbox below in the module settings form, which gives you the ability to test any path pattern you want without self-blocking. Anyway, in the next release of "Antiscan" module (few more days) I'll add check for current logged in user IP for this module too. Let me know if you need any help.
thanks @findlabnet
However, I added the fiel/ajax/ path to that antiscan setting, and it's still blocking me, not always, though.
If you try file/*
as temporary solution?
In new version this will be fixed.
Version 1.x-1.0.5 of Antiscan module are available for now with notable additions. Thanks again @robertgarrigos for testing, this issue can be closed. If you have any further questions, please use the module issue queue at https://github.com/backdrop-contrib/antiscan/issues.
Thanks @findlabnet
I'm having problems with this module when it blocks me when doing admin tasks. Wouldn't it be nice to have a way to avoid a blocking by role? Or just a whitelist of ips?