I want to start wireshark from the command line using a capture filter so that when wireshark starts it begins capturing immediately and is only capturing packets that I am interested in. I thought the -f would be the ticket but I am not sure what is going on here? It seems to be thinking that -f is a capture file? Thanks
asked 26 Oct ‘11, 08:33 Grunt edited 26 Oct ‘11, 09:57 grahamb ♦ |
One Answer:
You have a quoting issue and a syntax issue. As the capture filter includes spaces you must quote it, and to filter on tcp port 443, the capture filter would be
If you are just capturing for later analysis then you may want to look into dumpcap. answered 26 Oct '11, 09:56 grahamb ♦ |