i plan to write a shell script (use dumpcap, tshark etc) which can automatically capture traffic on some interface and automatically output every conversation contents , start time of the conversation , end time of the conversation , source ip, source port, destination ip, destination port to a text file. but i have no idea to realize it, can you give me some advice? asked 23 Apr '14, 00:52 fred edited 24 Apr '14, 09:08 grahamb ♦ |
One Answer:
Please take a look at tshark.
You can add whatever field you need with more -e options. Please read the display filter reference to find those fields. Regards answered 23 Apr '14, 11:56 Kurt Knochner ♦ |
good job,thanks.