sudo wireshark -o "gui.window_title:Data Server on $SERVER_PORT -" -i lo -p -f "port $SERVER_PORT" -k &
-i lo
capture packets on local loopback interface
-p
don't go into promiscuous mode
-f "port $SERVER_PORT"
use the following filter (specific port)
-k
start capture immediately
No comments:
Post a Comment