diff options
author | Bob Gilligan <gilligan@sydney.vyatta.com> | 2007-12-17 14:49:25 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@sydney.vyatta.com> | 2007-12-17 14:49:25 -0800 |
commit | 57aedd6c182e619856d6f5b2b9387407bb1abdce (patch) | |
tree | a350eff02fb91925dbd35cb4cd275c3640ecca21 /templates | |
parent | 543de3ad1e144d0ab8f31a47bee8b21bb1fae264 (diff) | |
download | vyatta-op-firewall-57aedd6c182e619856d6f5b2b9387407bb1abdce.tar.gz vyatta-op-firewall-57aedd6c182e619856d6f5b2b9387407bb1abdce.zip |
Fixed several firewall show command templates files>
Diffstat (limited to 'templates')
8 files changed, 14 insertions, 8 deletions
diff --git a/templates/show/firewall/node.def b/templates/show/firewall/node.def index 84d9b08..a56e847 100644 --- a/templates/show/firewall/node.def +++ b/templates/show/firewall/node.def @@ -1,3 +1,3 @@ help: Show firewall information -run: ${vyatta_sbindir}/vyatta-show-firewall.pl --all /opt/vyatta/xsl/show_firewall.xsl +run: ${vyatta_sbindir}/vyatta-show-firewall.pl -all /opt/vyatta/share/xsl/show_firewall.xsl diff --git a/templates/show/firewall/node.tag/detail/node.def b/templates/show/firewall/node.tag/detail/node.def index bb41ddb..2812bcd 100644 --- a/templates/show/firewall/node.tag/detail/node.def +++ b/templates/show/firewall/node.tag/detail/node.def @@ -1,3 +1,3 @@ help: Show firewall rules (detail output) -run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall_tail.xsl +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/share/xsl/show_firewall_detail.xsl diff --git a/templates/show/firewall/node.tag/detail/rule/node.def b/templates/show/firewall/node.tag/detail/rule/node.def new file mode 100644 index 0000000..6e56d93 --- /dev/null +++ b/templates/show/firewall/node.tag/detail/rule/node.def @@ -0,0 +1,2 @@ +help: Show firewall rules (detail output) + 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 index 70f91b3..2d5d2ee 100644 --- a/templates/show/firewall/node.tag/detail/rule/node.tag/node.def +++ b/templates/show/firewall/node.tag/detail/rule/node.tag/node.def @@ -1,3 +1,4 @@ -help: Show firewall rules (detail output) -run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall_tail.xsl $6 +help: Show detailed information about one firewall rule +allowed: echo -n "<NUMBER>" +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/share/xsl/show_firewall_detail.xsl $6 diff --git a/templates/show/firewall/node.tag/node.def b/templates/show/firewall/node.tag/node.def index 6465754..abc66d4 100644 --- a/templates/show/firewall/node.tag/node.def +++ b/templates/show/firewall/node.tag/node.def @@ -1,3 +1,4 @@ -help: Show firewall rules (summary output) -run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall.xsl +help: Show firewall rules for given chain +allowed: iptables --list -n | grep ^Chain | awk '{ print $2 }' +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/share/xsl/show_firewall.xsl diff --git a/templates/show/firewall/node.tag/rule/node.def b/templates/show/firewall/node.tag/rule/node.def new file mode 100644 index 0000000..68ac29b --- /dev/null +++ b/templates/show/firewall/node.tag/rule/node.def @@ -0,0 +1 @@ +help: Show firewall rules (summary output) diff --git a/templates/show/firewall/node.tag/rule/node.tag/node.def b/templates/show/firewall/node.tag/rule/node.tag/node.def index f862b10..ba37eb7 100644 --- a/templates/show/firewall/node.tag/rule/node.tag/node.def +++ b/templates/show/firewall/node.tag/rule/node.tag/node.def @@ -1,3 +1,4 @@ help: Show firewall rules (summary output) -run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall.xsl $5 +allowed: echo -n "<NUMBER>" +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/share/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 index 2d160a5..be7a8a1 100644 --- a/templates/show/firewall/node.tag/statistics/node.def +++ b/templates/show/firewall/node.tag/statistics/node.def @@ -1,3 +1,3 @@ help: Show firewall counter information -run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/xsl/show_firewall_statistics.xsl +run: ${vyatta_sbindir}/vyatta-show-firewall.pl $3 /opt/vyatta/share/xsl/show_firewall_statistics.xsl |