diff options
author | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2011-11-16 11:49:20 -0800 |
---|---|---|
committer | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2011-11-16 11:49:20 -0800 |
commit | 7e81c147324fc173e01edfbe1f09f28af6fc71dc (patch) | |
tree | e7b88f66ff9cf3c763146abd3f1653517b4d1780 /templates-op/show/conntrack | |
parent | f8b27a32f423144429f83ea3edbf12c4cd09e4f3 (diff) | |
download | vyatta-conntrack-7e81c147324fc173e01edfbe1f09f28af6fc71dc.tar.gz vyatta-conntrack-7e81c147324fc173e01edfbe1f09f28af6fc71dc.zip |
bug 7411:Added initial code for IPv6, templates and script
Diffstat (limited to 'templates-op/show/conntrack')
6 files changed, 13 insertions, 1 deletions
diff --git a/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.def b/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.def index 88b6eb1..85b1b36 100644 --- a/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.def +++ b/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.def @@ -1,3 +1,3 @@ help: Show Conntrack entries for the destination IP -allowed: echo "<x.x.x.x:pp> +allowed: echo -n '<IPv4-address>' '<IPv4-address:port>' diff --git a/templates-op/show/conntrack/table/ipv6/node.def b/templates-op/show/conntrack/table/ipv6/node.def new file mode 100644 index 0000000..ef40625 --- /dev/null +++ b/templates-op/show/conntrack/table/ipv6/node.def @@ -0,0 +1,2 @@ +help: Show Conntrack entries for IPv6 protocol +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-conntrack.pl -family $4 diff --git a/templates-op/show/conntrack/table/ipv6/source/node.def b/templates-op/show/conntrack/table/ipv6/source/node.def new file mode 100644 index 0000000..f3f6c84 --- /dev/null +++ b/templates-op/show/conntrack/table/ipv6/source/node.def @@ -0,0 +1 @@ +help: Show Conntrack entries for the source IP diff --git a/templates-op/show/conntrack/table/ipv6/source/node.tag/destination/node.def b/templates-op/show/conntrack/table/ipv6/source/node.tag/destination/node.def new file mode 100644 index 0000000..4813e87 --- /dev/null +++ b/templates-op/show/conntrack/table/ipv6/source/node.tag/destination/node.def @@ -0,0 +1,3 @@ +help: Show Conntrack entries for the destination IP +allowed: echo -n '<IPv6-address>' '<[IPv6-address]:port>' + diff --git a/templates-op/show/conntrack/table/ipv6/source/node.tag/destination/node.tag/node.def b/templates-op/show/conntrack/table/ipv6/source/node.tag/destination/node.tag/node.def new file mode 100644 index 0000000..49bb02b --- /dev/null +++ b/templates-op/show/conntrack/table/ipv6/source/node.tag/destination/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show Conntrack entries for the destination IP +allowed: echo -n '<IPv6-address>' '<[IPv6-address]:port>' +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-conntrack.pl -family $4 -source_IP $6 -dest_IP $8 diff --git a/templates-op/show/conntrack/table/ipv6/source/node.tag/node.def b/templates-op/show/conntrack/table/ipv6/source/node.tag/node.def new file mode 100644 index 0000000..cf84af6 --- /dev/null +++ b/templates-op/show/conntrack/table/ipv6/source/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show Conntrack entries for the source IP +allowed: echo -n '<IPv6-address>' '<[IPv6-address]:port>' +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-conntrack.pl -family $4 -source_IP $6 |