File tree Expand file tree Collapse file tree 8 files changed +31
-5
lines changed
templates/op/debug/eap-proxy Expand file tree Collapse file tree 8 files changed +31
-5
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ sbin_SCRIPTS =
1010sbin_SCRIPTS += scripts/eap_proxy.py
1111sbin_SCRIPTS += scripts/vyatta-service-eap-proxy-update.sh
1212sbin_SCRIPTS += scripts/vyatta-service-eap-proxy-restart.sh
13+ sbin_SCRIPTS += scripts/vyatta-debug-eap-proxy-tcpdump.sh
1314
1415bin_sudo_users_SCRIPTS =
1516
Original file line number Diff line number Diff line change 1+ vyatta-eap-proxy (0.4.1) unstable; urgency=low
2+
3+ * `debug eap-proxy packets` command
4+
5+ -- Morgan Humes <
[email protected] > Wed, 28 Feb 2019 13:26:30 -0600
6+
17vyatta-eap-proxy (0.4.0) unstable; urgency=low
28
39 * Validate interface references
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ # Use tcpdump to debug EAP traffic
3+ set -x
4+ tcpdump -xx -e -n -vvv -i ${1:- eth0} ether proto 0x888e
Original file line number Diff line number Diff line change 1+ help: Enable EAP Proxy debugging
Original file line number Diff line number Diff line change 1+ help: Capture EAP Proxy packets on configured destination interface
2+ run: if cli-shell-api existsActive service eap-proxy; then
3+ eval $(echo $(/bin/cli-shell-api getSessionEnv $PPID))
4+ cli-shell-api setupSession
5+ IF_DEST=$(cli-shell-api returnValue service eap-proxy dest-interface)
6+ sudo /opt/vyatta/sbin/vyatta-debug-eap-proxy-tcpdump.sh ${IF_DEST}
7+ else
8+ echo EAP Proxy is not configured
9+ fi
Original file line number Diff line number Diff line change 1+ help: Enable EAP Proxy packet debugging
Original file line number Diff line number Diff line change 1+ help: Capture EAP Proxy packets on configured source interface
2+ run: if cli-shell-api existsActive service eap-proxy; then
3+ eval $(echo $(/bin/cli-shell-api getSessionEnv $PPID))
4+ cli-shell-api setupSession
5+ IF_SRC=$(cli-shell-api returnValue service eap-proxy src-interface)
6+ sudo /opt/vyatta/sbin/vyatta-debug-eap-proxy-tcpdump.sh ${IF_SRC}
7+ else
8+ echo EAP Proxy is not configured
9+ fi
You can’t perform that action at this time.
0 commit comments