From e6008ca847d7a9f99a6c144719f6750fd6a042e1 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Nov 2012 11:21:12 -0800 Subject: initial reset command structure for firewall bug 6860 --- templates/reset/firewall/group/address-group/node.def | 1 + templates/reset/firewall/group/address-group/node.tag/node.def | 2 ++ templates/reset/firewall/group/network-group/node.def | 1 + templates/reset/firewall/group/network-group/node.tag/node.def | 2 ++ templates/reset/firewall/group/node.def | 2 ++ templates/reset/firewall/group/port-group/node.def | 1 + templates/reset/firewall/group/port-group/node.tag/node.def | 2 ++ templates/reset/firewall/node.def | 1 + 8 files changed, 12 insertions(+) create mode 100644 templates/reset/firewall/group/address-group/node.def create mode 100644 templates/reset/firewall/group/address-group/node.tag/node.def create mode 100644 templates/reset/firewall/group/network-group/node.def create mode 100644 templates/reset/firewall/group/network-group/node.tag/node.def create mode 100644 templates/reset/firewall/group/node.def create mode 100644 templates/reset/firewall/group/port-group/node.def create mode 100644 templates/reset/firewall/group/port-group/node.tag/node.def create mode 100644 templates/reset/firewall/node.def diff --git a/templates/reset/firewall/group/address-group/node.def b/templates/reset/firewall/group/address-group/node.def new file mode 100644 index 0000000..cdd7faa --- /dev/null +++ b/templates/reset/firewall/group/address-group/node.def @@ -0,0 +1 @@ +help: reset a firewall group diff --git a/templates/reset/firewall/group/address-group/node.tag/node.def b/templates/reset/firewall/group/address-group/node.tag/node.def new file mode 100644 index 0000000..e6ab418 --- /dev/null +++ b/templates/reset/firewall/group/address-group/node.tag/node.def @@ -0,0 +1,2 @@ +help: reset a firewall group +run: /opt/vyatta/bin/sudo-users/vyatta-ipset.pl --action=reset-set --set-name=$5 --set-type="address" diff --git a/templates/reset/firewall/group/network-group/node.def b/templates/reset/firewall/group/network-group/node.def new file mode 100644 index 0000000..cdd7faa --- /dev/null +++ b/templates/reset/firewall/group/network-group/node.def @@ -0,0 +1 @@ +help: reset a firewall group diff --git a/templates/reset/firewall/group/network-group/node.tag/node.def b/templates/reset/firewall/group/network-group/node.tag/node.def new file mode 100644 index 0000000..deead22 --- /dev/null +++ b/templates/reset/firewall/group/network-group/node.tag/node.def @@ -0,0 +1,2 @@ +help: reset a firewall group +run: /opt/vyatta/bin/sudo-users/vyatta-ipset.pl --action=reset-set --set-name=$5 --set-type="network" diff --git a/templates/reset/firewall/group/node.def b/templates/reset/firewall/group/node.def new file mode 100644 index 0000000..2c7f7d9 --- /dev/null +++ b/templates/reset/firewall/group/node.def @@ -0,0 +1,2 @@ +help: reset a firewall group +run: /opt/vyatta/bin/sudo-users/vyatta-ipset.pl --action=reset-set --set-name=all diff --git a/templates/reset/firewall/group/port-group/node.def b/templates/reset/firewall/group/port-group/node.def new file mode 100644 index 0000000..cdd7faa --- /dev/null +++ b/templates/reset/firewall/group/port-group/node.def @@ -0,0 +1 @@ +help: reset a firewall group diff --git a/templates/reset/firewall/group/port-group/node.tag/node.def b/templates/reset/firewall/group/port-group/node.tag/node.def new file mode 100644 index 0000000..f2b06c7 --- /dev/null +++ b/templates/reset/firewall/group/port-group/node.tag/node.def @@ -0,0 +1,2 @@ +help: reset a firewall group +run: /opt/vyatta/bin/sudo-users/vyatta-ipset.pl --action=reset-set --set-name=$5 --set-type="port" diff --git a/templates/reset/firewall/node.def b/templates/reset/firewall/node.def new file mode 100644 index 0000000..cdd7faa --- /dev/null +++ b/templates/reset/firewall/node.def @@ -0,0 +1 @@ +help: reset a firewall group -- cgit v1.2.3