• Resolved serget123

    (@serget123)


    Whenever I turn on full WAF mode it always seems to turn itself off after some time. What could be causing this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Which file has a firewall directive: .htaccess, php.ini or .user.ini ?
    Did you check it to see if the directive was removed? Did you check the file timestamp too? Maybe the file is automatically restored or edited by another plugin or application?

    Thread Starter serget123

    (@serget123)

    Sorry, could you walk me through how I would check which of the files has a firewall directive?

    Plugin Author nintechnet

    (@nintechnet)

    Click on the “Activate Full WAF mode” button and, after configuring it, select “I want to make the changes myself”. That will show you the name and full path of the file that needs to be edited. Then, change back to “Let NinjaFirewall make the necessary changes”, and click “Finish Installation”.

    Thread Starter serget123

    (@serget123)

    Ok, thank you. Looks like the code is being added to user.ini. How can I check whether the directive is being removed/timestamps and whether another plugin is accessing it?

    Plugin Author nintechnet

    (@nintechnet)

    Next time the Full WAF mode is deactivated, download the file over FTP and check if you see the firewall auto_prepend_file directive or if it was removed. Check also the timestamp of the file.

    curtm275

    (@curtm275)

    I was also having this issue, and it appears my user.ini file was being edited by the MalCare plugin, which I think was deactivating the Full WAF mode in Ninja Firewall. I use Cloudways hosting and they have MalCare Bot Protection enabled. Is it recommended to use both MalCare Bot Protection and Ninja Firewall? If not, which is better?

    Plugin Author nintechnet

    (@nintechnet)

    You can only have one application that loads via the .user.ini.
    NinjaFirewall has a bot protection.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Full WAF mode turning off by itself’ is closed to new replies.