From b5e891c97c391f7a6b20c7676883dd9b1e894ef4 Mon Sep 17 00:00:00 2001 From: Gaurav Sinha Date: Wed, 1 Feb 2012 16:34:36 -0800 Subject: Removed unwanted address-group/network group etc. from CLI (cherry picked from commit 50f07ece2595c05179e8ccffa5dd2b28fc8cfc99) --- .../rule/node.tag/destination/group/address-group/node.def | 9 --------- .../rule/node.tag/destination/group/network-group/node.def | 8 -------- .../timeout/custom/rule/node.tag/destination/group/node.def | 1 - .../custom/rule/node.tag/destination/group/port-group/node.def | 8 -------- .../custom/rule/node.tag/source/group/address-group/node.def | 8 -------- .../custom/rule/node.tag/source/group/network-group/node.def | 8 -------- .../conntrack/timeout/custom/rule/node.tag/source/group/node.def | 1 - .../custom/rule/node.tag/source/group/port-group/node.def | 8 -------- .../timeout/custom/rule/node.tag/source/mac-address/node.def | 3 --- 9 files changed, 54 deletions(-) delete mode 100644 templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/address-group/node.def delete mode 100644 templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/network-group/node.def delete mode 100644 templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/node.def delete mode 100644 templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/port-group/node.def delete mode 100644 templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/address-group/node.def delete mode 100644 templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/network-group/node.def delete mode 100644 templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/node.def delete mode 100644 templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/port-group/node.def delete mode 100644 templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/mac-address/node.def (limited to 'templates-cfg/system/conntrack/timeout') diff --git a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/address-group/node.def b/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/address-group/node.def deleted file mode 100644 index 07e791c..0000000 --- a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/address-group/node.def +++ /dev/null @@ -1,9 +0,0 @@ -type: txt -help: Group of addresses - -commit:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \ - --action=check-set-type \ - --set-name=$VAR(@) \ - --set-type=address;" - -allowed: cli-shell-api listActiveNodes firewall group address-group diff --git a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/network-group/node.def b/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/network-group/node.def deleted file mode 100644 index bf018a0..0000000 --- a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/network-group/node.def +++ /dev/null @@ -1,8 +0,0 @@ -type: txt -help: Group of networks - -commit:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \ - --action=check-set-type \ - --set-name=$VAR(@) \ - --set-type=network;" -allowed: cli-shell-api listActiveNodes firewall group network-group diff --git a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/node.def b/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/node.def deleted file mode 100644 index bb11dae..0000000 --- a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Destination group diff --git a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/port-group/node.def b/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/port-group/node.def deleted file mode 100644 index 865d2c5..0000000 --- a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/destination/group/port-group/node.def +++ /dev/null @@ -1,8 +0,0 @@ -type: txt -help: Group of ports - -commit:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \ - --action=check-set-type \ - --set-name=$VAR(@) \ - --set-type=port;" -allowed: cli-shell-api listActiveNodes firewall group port-group diff --git a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/address-group/node.def b/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/address-group/node.def deleted file mode 100644 index 97c748d..0000000 --- a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/address-group/node.def +++ /dev/null @@ -1,8 +0,0 @@ -type: txt -help: Group of addresses - -commit:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \ - --action=check-set-type \ - --set-name=$VAR(@) \ - --set-type=address;" -allowed: cli-shell-api listActiveNodes firewall group address-group diff --git a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/network-group/node.def b/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/network-group/node.def deleted file mode 100644 index bf018a0..0000000 --- a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/network-group/node.def +++ /dev/null @@ -1,8 +0,0 @@ -type: txt -help: Group of networks - -commit:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \ - --action=check-set-type \ - --set-name=$VAR(@) \ - --set-type=network;" -allowed: cli-shell-api listActiveNodes firewall group network-group diff --git a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/node.def b/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/node.def deleted file mode 100644 index 7b36071..0000000 --- a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Source group diff --git a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/port-group/node.def b/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/port-group/node.def deleted file mode 100644 index 865d2c5..0000000 --- a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/group/port-group/node.def +++ /dev/null @@ -1,8 +0,0 @@ -type: txt -help: Group of ports - -commit:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \ - --action=check-set-type \ - --set-name=$VAR(@) \ - --set-type=port;" -allowed: cli-shell-api listActiveNodes firewall group port-group diff --git a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/mac-address/node.def b/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/mac-address/node.def deleted file mode 100644 index ad07881..0000000 --- a/templates-cfg/system/conntrack/timeout/custom/rule/node.tag/source/mac-address/node.def +++ /dev/null @@ -1,3 +0,0 @@ -type: txt -help: Source MAC address -syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type.pl macaddr_negate '$VAR(@)'" ; "invalid MAC address \"$VAR(@)\"" -- cgit v1.2.3