diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-06-10 11:36:08 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-06-10 11:36:08 -0700 |
commit | cf6044455bedf4fba9611dcb3745d4f535c3a3ff (patch) | |
tree | 3aef1052bb8a2414cc62d950ad6bbb37d420b69c /templates-op | |
parent | e59c2db5e7edd67d6d847c4f328566917ac2530d (diff) | |
download | vyatta-nat-cf6044455bedf4fba9611dcb3745d4f535c3a3ff.tar.gz vyatta-nat-cf6044455bedf4fba9611dcb3745d4f535c3a3ff.zip |
* make 'show nat translations' cmnds work with conntrack-tools 0.9.14
* might have to build conntrack-tools locally to patch it for filtering
src and dst nat entries together
Diffstat (limited to 'templates-op')
6 files changed, 6 insertions, 6 deletions
diff --git a/templates-op/show/nat/translations/destination/monitor/detail/node.def b/templates-op/show/nat/translations/destination/monitor/detail/node.def index 5f8cb0b..2f9dd00 100644 --- a/templates-op/show/nat/translations/destination/monitor/detail/node.def +++ b/templates-op/show/nat/translations/destination/monitor/detail/node.def @@ -1,4 +1,4 @@ help: Show active NAT destination translations events detail run: LESSOPEN=cat echo Type control-C to quit - sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe --verbose + sudo /usr/sbin/conntrack -E -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe --verbose diff --git a/templates-op/show/nat/translations/destination/monitor/node.def b/templates-op/show/nat/translations/destination/monitor/node.def index 4b51368..383f880 100644 --- a/templates-op/show/nat/translations/destination/monitor/node.def +++ b/templates-op/show/nat/translations/destination/monitor/node.def @@ -1,4 +1,4 @@ help: Show active NAT destination translations events run: LESSOPEN=cat echo Type control-C to quit - sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe + sudo /usr/sbin/conntrack -E -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe diff --git a/templates-op/show/nat/translations/monitor/detail/node.def b/templates-op/show/nat/translations/monitor/detail/node.def index e96aa6f..19d0c7a 100644 --- a/templates-op/show/nat/translations/monitor/detail/node.def +++ b/templates-op/show/nat/translations/monitor/detail/node.def @@ -1,4 +1,4 @@ help: Show active NAT translations events verbose run: LESSOPEN=cat echo Type control-C to quit - sudo /usr/sbin/conntrack -E -n -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe --verbose
\ No newline at end of file + sudo /usr/sbin/conntrack -E -n -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe --verbose diff --git a/templates-op/show/nat/translations/monitor/node.def b/templates-op/show/nat/translations/monitor/node.def index ed8786f..c871dad 100644 --- a/templates-op/show/nat/translations/monitor/node.def +++ b/templates-op/show/nat/translations/monitor/node.def @@ -1,4 +1,4 @@ help: Show active NAT translations events run: LESSOPEN=cat echo Type control-C to quit - sudo /usr/sbin/conntrack -E -n -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe + sudo /usr/sbin/conntrack -E -n -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe diff --git a/templates-op/show/nat/translations/source/monitor/detail/node.def b/templates-op/show/nat/translations/source/monitor/detail/node.def index 4d69843..d0ac59d 100644 --- a/templates-op/show/nat/translations/source/monitor/detail/node.def +++ b/templates-op/show/nat/translations/source/monitor/detail/node.def @@ -1,4 +1,4 @@ help: Show active NAT source translations events run: LESSOPEN=cat echo Type control-C to quit - sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe --verbose
\ No newline at end of file + sudo /usr/sbin/conntrack -E -n -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe --verbose diff --git a/templates-op/show/nat/translations/source/monitor/node.def b/templates-op/show/nat/translations/source/monitor/node.def index 2956935..fcaec10 100644 --- a/templates-op/show/nat/translations/source/monitor/node.def +++ b/templates-op/show/nat/translations/source/monitor/node.def @@ -1,4 +1,4 @@ help: Show active NAT source translations events run: LESSOPEN=cat echo Type control-C to quit - sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe + sudo /usr/sbin/conntrack -E -n -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe |