How to decode HTTP2 DATA stream

asked 2020-05-08 06:40:53 +0000

electronics.sunny@gmail.com gravatar image

updated 2020-05-08 06:43:20 +0000

Hello Folks,

I have captured HTTP2 packets and decoded it as HTTP2. While my DATA payload is application/json form , how i can view it in application/json format.

Looks like it is due to compression. If i run and capture single http2 then i can see payload in json format, if i run it in bulk request i am not able to see it in json format

Kindly help

edit retag flag offensive close merge delete

Comments

Can you share an example pcap?
If you follow the TCP stream, does the last packet show the Reassembled body?

Chuckc gravatar imageChuckc ( 2020-05-08 16:13:21 +0000 )edit

Hi,

I have the same issue - and as far as I see, tshark not decoding the data is because the pcap does not include the connection setup. Would appreciate support as well in finding a solution.

Thanks, Octavian.

OctavianD gravatar imageOctavianD ( 2020-05-14 07:31:20 +0000 )edit

Hi, In the development version you can use "decode as" and select JSON which workls in some cases but I think code changes are needed. I have suggested these changes to the support library used to decode http2 https://github.com/nghttp2/nghttp2/pu...

Anders gravatar imageAnders ( 2020-05-14 10:15:50 +0000 )edit