mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
firewall: remove last "pfplugin" use #6390
This commit is contained in:
parent
2cfe2fdc1c
commit
57312292ee
1
plist
1
plist
@ -1122,7 +1122,6 @@
|
||||
/usr/local/opnsense/service/conf/actions.d/actions_netflow.conf
|
||||
/usr/local/opnsense/service/conf/actions.d/actions_openssh.conf
|
||||
/usr/local/opnsense/service/conf/actions.d/actions_openvpn.conf
|
||||
/usr/local/opnsense/service/conf/actions.d/actions_pfplugin.conf
|
||||
/usr/local/opnsense/service/conf/actions.d/actions_syslog.conf
|
||||
/usr/local/opnsense/service/conf/actions.d/actions_system.conf
|
||||
/usr/local/opnsense/service/conf/actions.d/actions_template.conf
|
||||
|
||||
@ -124,7 +124,7 @@ abstract class FilterBaseController extends ApiMutableModelControllerBase
|
||||
if ($this->request->isPost()) {
|
||||
if ($rollback_revision != null) {
|
||||
// background rollback timer
|
||||
(new Backend())->configdpRun('pfplugin rollback_timer', [$rollback_revision], true);
|
||||
(new Backend())->configdpRun('filter rollback_timer', [$rollback_revision], true);
|
||||
}
|
||||
return array("status" => (new Backend())->configdRun('filter reload'));
|
||||
} else {
|
||||
@ -136,7 +136,7 @@ abstract class FilterBaseController extends ApiMutableModelControllerBase
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
return array(
|
||||
"status" => (new Backend())->configdpRun('pfplugin cancel_rollback', [$rollback_revision])
|
||||
"status" => (new Backend())->configdpRun('filter cancel_rollback', [$rollback_revision])
|
||||
);
|
||||
} else {
|
||||
return array("status" => "error");
|
||||
|
||||
@ -142,3 +142,15 @@ command:/usr/local/opnsense/scripts/filter/find_table_references.py
|
||||
parameters: %s
|
||||
type:script_output
|
||||
message:check which aliases match the given IP
|
||||
|
||||
[rollback_timer]
|
||||
command:/usr/local/bin/flock -n -E 0 -o /tmp/filter_rollback_timer.lock /usr/local/opnsense/scripts/filter/rollback_timer.php
|
||||
parameters: %s
|
||||
type:script
|
||||
message:wait for api feedback or revert to previous filter plugin config
|
||||
|
||||
[cancel_rollback]
|
||||
command:/usr/local/opnsense/scripts/filter/rollback_cancel.php
|
||||
parameters: %s
|
||||
type:script_output
|
||||
message:cancel filter rollback
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
[rollback_timer]
|
||||
command:/usr/local/bin/flock -n -E 0 -o /tmp/filter_rollback_timer.lock /usr/local/opnsense/scripts/filter/rollback_timer.php
|
||||
parameters: %s
|
||||
type:script
|
||||
message:wait for api feedback or revert to previous filter plugin config
|
||||
|
||||
[cancel_rollback]
|
||||
command:/usr/local/opnsense/scripts/filter/rollback_cancel.php
|
||||
parameters: %s
|
||||
type:script_output
|
||||
message:cancel filter rollback
|
||||
Loading…
x
Reference in New Issue
Block a user