Skip to contentSkip to conversation

website: add note about sniffing frontend on host side

PATCH New Alexander Aring 1 participant 1 message Feb 2, 2015 IEEE 802.15.4

lore
Share & tools
lore

Alexander Aring

author maintainer
#0 lore raw

PATCH 1/1 website: add note about sniffing frontend on host side

This patch adds a little note how to start a wireshark frontend on the host side and pipe all traffic through a ssh connection.

---
 website/index.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
website/index.txt +8 -0
index 4aaaab7..7331534 100644
@@ -98,6 +98,14 @@ iwpan phy wpan-phy0 interface add monitor%d type monitor
 ---------------------------------------------------------------------
 
 Then bring this interface up and run wireshark, tcpdump, etc... on it.
+Running a wireshark as sniffing frontend on the $HOST and connect to a $TARGET like Raspberry Pi which have some ethernet ssh connection, you can try:
+
+---------------------------------------------------------------------
+ssh root@$TARGET 'tshark -i monitor0 -w -' | wireshark -k -i -
+---------------------------------------------------------------------
+
+This will pipe all sniffing frames from $TARGET side to $HOST running wireshark application.
+Note you need maybe to change the "$TARGET" and "montior0" to your settings.
 
 //////
 Foren6
Signature · 1 line
2.2.2