Can somebody tells me how to use tcpdump to filter out udp or tcp traffic on a specific source and destination ip and save the output into a csv file? Its not necessary a csv file if I can convert the pcap file into a csv by using an etl tool.
Also I am interested in a 100ms time resolution when I collect the data, can I do it with tcpdump?
Thanks.
I doubt you could ask tcpdump to write in a CSV file, this tool is too simple.
But you could ask tshark(it's a console utility from the wireshark package) to do it.
see https://ask.wireshark.org/questions/2935/creating-a-csv-file-with-tshark