Adding more useful hooks
-
I don’t know if this is the appropriate place for feature requests, but I’ve been working with this plugin recently and noticed that one of the 6G firewall rules was causing some urls of a website I maintain to get blocked.
Using the advanced options, I was able to remove the query string blocking and resolve it that way, however, that disables all checks on the query string rather than the specific check on some special characters I needed to remove.
Since the particular rules are implemented in php, modifying them isn’t that easy. Especially considering the current implementation, modifications would probably have to be very intrusive. I’m not sure if it’s even possible without changing the plugin’s code, which is not preferable.
I found no relevant hooks, so if in the future more hooks can be added that allow for more fine-tuned control of the plugin’s rules, that would be very useful. Some possibilities would be hooks that allow you to filter the patterns used by rules, or hooks that allow you to filter the rules themselves.
- You must be logged in to reply to this topic.