there is a way to aply a filter in a command like this: tshark -nr input.pcap -q -z smpp_commands,tree I have a pcap file with several IPs and I want to make a filter with ip.src==x.x.x.x and then show the smpp_commands,tree. thanks and regards asked 22 Jun '13, 16:37 fachav2 |
2 Answers:
I did manage to work this out with:
And if I remove the filter -R "" -2 I will get all the traffic. I have the following wireshark/tshark:
NOTE: That if you specify ip.src you will see only the SMPP commands generated from that IP and not responses or commands generated from the destination IP. Sometimes this is handy because you can see (even count) if all your command have responses and vice-versa. More information you can find from tshark help page: http://www.wireshark.org/docs/man-pages/tshark.html And last but not least HAPPY BIRTHDAY TO WIRESHARK :). answered 15 Jul ‘13, 12:02 Edmond edited 15 Jul ‘13, 14:44 |
Try this tshark -nr <pcapfile> -Y "ip.src==x.x.x.x" -qz smpp_commands,tree If it is not taking -Y then try giving -R. answered 22 Jun '13, 17:01 krishnayeddula edited 22 Jun '13, 17:06 thanks but it did not work. The -Y option crash, but the -R is accepted, but no matter what IP I filter with -R opt. the result is always the same. Any one know any thing about this? (15 Jul '13, 08:37) fachav2 |
multiple passes (-2) that was the option i needed. Yes I have to upgrade my tshark. I will try and let you know about