• Resolved kapaweb

    (@kapaweb)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @kapaweb

    The 6G firewall and other firewall rules work before the actual WordPress code. in wp-config.php the aios-bootstrap.php was added which fires the rule first then if it is not an issue it runs other WordPress code so hooks or filters to modify the rules seem not possible.

    The rules pattern ( query string to match) some how possible to change It should be good.

    You can not change it directly in plugin code as the new version will have files updated and your changes will be gone.

    I will create an internal ticket for this.

    Regards

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @kapaweb,

    8G firewall rules we are working on will allow the user to be able to add custom rules and modify the existing rules ( exclude the pattern).

    This future will be in the upcoming version of AIOS.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.