summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwireshark-remote2
1 files changed, 1 insertions, 1 deletions
diff --git a/wireshark-remote b/wireshark-remote
index 6b35f7f..e07e8a5 100755
--- a/wireshark-remote
+++ b/wireshark-remote
@@ -14,4 +14,4 @@ fi
#wireshark-gtk -k -i <(ssh "$host" dumpcap -q -P -i "$iface" -w - -f 'not\ port\ 22')
sed -i "s/^gui\.window_title: .*/gui.window_title: $host $iface $filter/" ~/.config/wireshark/preferences
-wireshark -k -i <(ssh "$host" tcpdump -i "$iface" -w - "'not port 22 $filter'")
+wireshark -k -i <(stdbuf -o0 ssh "$host" stdbuf -o0 sudo stdbuf -o0 tcpdump -s 65535 -i "$iface" -w - "'not port 22 $filter'")