Ask Your Question
0

tshark - list of protocols in capture

asked 2018-03-26 14:31:27 +0000

ghader gravatar image

updated 2018-03-26 16:23:57 +0000

grahamb gravatar image

hi . how can i write a list of protocols in tshark ? for example i want to see:

packet 1: ip -udp-dns
packet 2: ip-tcp -https

packet 3: ip-udp-rtp

i want to write the list of the packets protocols in a text.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-03-26 14:53:33 +0000

grahamb gravatar image

You can try using the "frame.protocols" pseudo field, e.g.

tshark -r mycapture.pcap -T fields -e frame.protocols
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-03-26 14:31:27 +0000

Seen: 4,156 times

Last updated: Mar 26 '18