Ask Your Question
-1

How to convert .pcap to text format for twamp without using tshark

asked 2018-08-13 12:10:52 +0000

meena gravatar image

updated 2018-08-14 09:34:59 +0000

grahamb gravatar image

If there is a way to display in key value pair , it's better. Tshark commands are of no use for twamp protocol. Tshark needs information about the way to decode for twamp protocol

edit retag flag offensive close merge delete

Comments

Are you asking for a dissector for twamp protocol, or are there issues with twamp dissection?

Assuming twamp refers to Two-Way Active Measurement Protocol, then a dissector has been built in to Wireshark since version 2.6, so make sure you're using that version, or newer.

If your issue is with dissection of twamp can you share a capture file that illustrates the issue?

grahamb gravatar imagegrahamb ( 2018-08-13 12:34:21 +0000 )edit

Yes twamp is exactly that. In the capture file, need to verify dscp value (that's why want in a key value pair display) . In the text format that I have got using tshark , doesn't parse such information.

meena gravatar imagemeena ( 2018-08-13 17:09:26 +0000 )edit

So can you share a capture file so that we can help you get the tshark output you want, probably using -T fields -e xxx?

dscp doesn't seem to be a twamp field, so are you referring to the IP DSCP field?

grahamb gravatar imagegrahamb ( 2018-08-13 17:36:32 +0000 )edit

Text from capture:

Frame 7: 
    Source Port: 62862
    Destination Port: 862
    [Stream index: 0]
     ...
TwoWay Active Measurement Control Protocol
    Control Command: Request-TW-Session (5)
    IP Version: 4
    .....
    Timeout: -2085978496.000000000 seconds
    Type-P Descriptor: 0x2e000000 (DSCP: 771751936)

this is the captured file. have to verify Type-P Descriptor: 0x2e000000. So is there a command to display in key value pair on CLI this .pcap file

meena gravatar imagemeena ( 2018-08-13 18:04:04 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-08-14 09:33:09 +0000

grahamb gravatar image

Try using:

tshark -r your.pcap -T fields -e frame.number -e twamp.control.type-p
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-08-13 12:10:52 +0000

Seen: 50 times

Last updated: Aug 14