diff options
author | Bob Gilligan <gilligan@sydney.vyatta.com> | 2007-12-14 18:26:36 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@sydney.vyatta.com> | 2007-12-14 18:26:36 -0800 |
commit | 543de3ad1e144d0ab8f31a47bee8b21bb1fae264 (patch) | |
tree | 6d3b8ec7df301c01c1a0e9b203a0ce50ea03064d /templates | |
download | vyatta-op-firewall-543de3ad1e144d0ab8f31a47bee8b21bb1fae264.tar.gz vyatta-op-firewall-543de3ad1e144d0ab8f31a47bee8b21bb1fae264.zip |
Initial commit of operational mode templates and scripts for the
firewall subsystem.
Diffstat (limited to 'templates')
7 files changed, 21 insertions, 0 deletions
diff --git a/templates/clear/firewall/name/node.tag/counters/node.def b/templates/clear/firewall/name/node.tag/counters/node.def new file mode 100644 index 0000000..7db183a --- /dev/null +++ b/templates/clear/firewall/name/node.tag/counters/node.def @@ -0,0 +1,3 @@ +help: Clear firewall counters +run: iptables -Z $4 + diff --git a/templates/show/firewall/node.def b/templates/show/firewall/node.def new file mode 100644 index 0000000..84d9b08 --- /dev/null +++ b/templates/show/firewall/node.def @@ -0,0 +1,3 @@ +help: Show firewall information +run: ${vyatta_sbindir}/vyatta-show-firewall.pl --all /opt/vyatta/xsl/show_firewall.xsl + diff --git a/templates/show/firewall/node.tag/detail/node.def b/templates/show/firewall/node.tag/detail/node.def new file mode 100644 index 0000000..bb41ddb --- /dev/null +++ b/templates/show/firewall/node.tag/detail/node.def @@ -0,0 +1,3 @@ +help: Show firewall rules (detail output) +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall_tail.xsl + diff --git a/templates/show/firewall/node.tag/detail/rule/node.tag/node.def b/templates/show/firewall/node.tag/detail/rule/node.tag/node.def new file mode 100644 index 0000000..70f91b3 --- /dev/null +++ b/templates/show/firewall/node.tag/detail/rule/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show firewall rules (detail output) +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall_tail.xsl $6 + diff --git a/templates/show/firewall/node.tag/node.def b/templates/show/firewall/node.tag/node.def new file mode 100644 index 0000000..6465754 --- /dev/null +++ b/templates/show/firewall/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show firewall rules (summary output) +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall.xsl + diff --git a/templates/show/firewall/node.tag/rule/node.tag/node.def b/templates/show/firewall/node.tag/rule/node.tag/node.def new file mode 100644 index 0000000..f862b10 --- /dev/null +++ b/templates/show/firewall/node.tag/rule/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show firewall rules (summary output) +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall.xsl $5 + diff --git a/templates/show/firewall/node.tag/statistics/node.def b/templates/show/firewall/node.tag/statistics/node.def new file mode 100644 index 0000000..2d160a5 --- /dev/null +++ b/templates/show/firewall/node.tag/statistics/node.def @@ -0,0 +1,3 @@ +help: Show firewall counter information +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall_statistics.xsl + |