Thanks.
But how do I get this kind of output:
117.97.37.213 217.1.176.55 CLEARCASE 600 371 0x39de (14814)
117.97.37.213 202.56.250.5 DNS 2420 53 0x39df (14815)
117.97.37.213 255.255.255.255 DHCP 68 67 0x39e0 (14816)
117.97.37.213 202.56.250.6 DNS 2420 53 0x39e1 (14817)
117.97.37.213 202.56.250.5 DNS 2420 53 0x39e2 (14818)
117.97.37.213 202.56.250.5 DNS 2420 53 0x39e3 (14819)
117.97.37.213 202.56.250.6 DNS 2420 53 0x39e4 (14820)
117.97.37.213 255.255.255.255 DHCP 68 67 0x39e5 (14821)
I want to print any source ip followed by any dest ip followed by protocol type followed by src port, dest port and finally ip header identification. To start with I tried this:
tshark -e ip.src -e ip.dst -E separator=/s -T text -r my_dns.pcap
but it complained:
tshark: Output fields were specified with "-e", but "-Tfields" was not specified.
thanks,
Hashmat