From 3435b2514ccd75fa9919ec5cdbe5e4e7e10b0818 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 18 Jul 2020 14:43:03 +0200 Subject: monitor: ndp: T2706: remove ability to send commands The "monitor" operational mode tree is for listening in on logfiles, chatter on the wire or other things - it subscribes to the system. Hence it should under no circumstances - ever - generate data. Sending our those requests, same as e.g. calling ndisc6 should be placed under a different node. Which one? I yet have no idea. --- op-mode-definitions/monitor-ntp.xml | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 op-mode-definitions/monitor-ntp.xml (limited to 'op-mode-definitions/monitor-ntp.xml') diff --git a/op-mode-definitions/monitor-ntp.xml b/op-mode-definitions/monitor-ntp.xml new file mode 100644 index 000000000..e25eccf3a --- /dev/null +++ b/op-mode-definitions/monitor-ntp.xml @@ -0,0 +1,44 @@ + + + + + + + Monitors the NDP information received by the router through the device + + sudo ndptool monitor + + + sudo ndptool monitor --ifname=$4 + + Monitor ndp protocol on specified interface + + + + + + + sudo ndptool monitor --ifname=$4 --msg-type=$6 + + Monitor ndp protocol on specified interface + + rs ra ns na + + + + + + + sudo ndptool monitor --msg-type=$4 + + Monitor ndp protocol on specified interface + + rs ra ns na + + + + + + + + -- cgit v1.2.3