summaryrefslogtreecommitdiffstats
path: root/wireshark-remote
diff options
context:
space:
mode:
Diffstat (limited to 'wireshark-remote')
-rwxr-xr-xwireshark-remote5
1 files changed, 3 insertions, 2 deletions
diff --git a/wireshark-remote b/wireshark-remote
index 0d4793d..e571eea 100755
--- a/wireshark-remote
+++ b/wireshark-remote
@@ -4,5 +4,6 @@ host="$1"
iface="$2"
#wireshark -k -i <(ssh "$host" tshark -i "$iface" -w - not tcp port 22)
-#wireshark -k -i <(ssh "$host" dumpcap -q -i "$iface" -w /dev/stdout not tcp port 22)
-wireshark -k -i <(ssh "$host" /home/flo/capture.sh "$iface")
+#wireshark -k -i <(ssh "$host" dumpcap -q -i "$iface" -w /dev/stdout 'not\ tcp\ port\ 22')
+wireshark -k -i <(ssh "$host" dumpcap -q -P -i "$iface" -w - -f 'not\ port\ 22')
+#wireshark -k -i <(ssh "$host" /home/flo/capture.sh "$iface")