I spent the last 2h looking for a way to quikly filter pcaps, it seems that it is possible using cmd/bat on windows but I can't find anything for kali linux.
I have a way too big pcap and I want to reduce it size by creating a new pcap without all the traffic that doesn't intrest me, it is really easy to filter by protocol in wireshark (like "dns") but sadly it is just graphical and wireshark doesn't really delete all the other packets with non-whitelisted protocols. Is it possible to filter the pcap save file directly without coding my own python filtering script ?