EasyRule not working on 2.1
-
I'm running 2.1 and pfBlocker. I noticed when i click on an IP for a easyrule block, i get this error and nothing is created or updated:
Status : EasyRule This is the Easy Rule status page, mainly used to display errors when adding rules. If you are seeing this, there apparently was not an error, and you navigated to the page directly without telling it what to do. This page is meant to be called from the block/pass buttons on the Firewall Logs page, Status > System Logs, Firewall Tab.
-
What is the full URL shown at the top that it's trying to access?
Are you trying to use it with an IPv6 IP or an IPv4 IP?
Usually that error would only come up if it didn't receive any parameters, or I suppose if it couldn't interpret them.
-
Trying to block IPv4 addresses
https://192.168.0.1:xxx/easyrule.php?action=block&int=wan&src=&ipproto=inet
i'm thinking it should have an IP address somewhere in the url
-
yeah I see what the problem is. I'll commit a fix here shortly.
-
as always, thanks you Jim!
-
Fix is inโฆ
https://github.com/bsdperimeter/pfsense/commit/11f1c38c3c0b167deb2f1814312e1247becce5c6
-
that did it! thank you again