AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
File capture in wireshark http1/27/2023 I think it should be possible with wireshark, but with tcpdump it was a lot easier for me to direct the output to a file and do some pre-filtering on port 443 (the SSL port). A lot of packets were captured, but I couldn’t find the right ones. Wireshark can, of course, be used to capture traffic but I used tcpdump. And since Hadi Hariri made it sound very easy I gave it a shot. But I wanted more, the raw decoded HTTP/2 packets. This inspector is of course a great way to analyze your traffic, since it’s in the browser you don’t need to worry about ssl decoding. When you click the first entry (something like ‘200 GET / ‘) you should see HTTP/2.0 at the Version field on the right. Now enable the network inspector in Firefox ( alt-command-Q ) and enter in the location bar. When you changed a setting you should restart the browser for the settings to become active. In my version of Firefox there are 4 settings, which should all be set to true. Go to about:config in your location bar and search for ‘spdy.enabled’. Http/2 should be enabled by default, but when you want to disable it (to show the HTTP/1.1 SSL traffic for example) or have to troubleshoot you might have to change things. There are plenty of good explanations and when you follow all the links at the Sources-section of this article you should have enough information to understand this article. But with a but of tuning it should work on other Mac version, Linux and Chrome too. This article is written for Mac (Yosemite) and Firefox (42). The method I’ll explain to decode HTTP/2 can also be applied to HTTP/1.1Ī little warning : my network/security knowledge is a bit rusty since I’m a Java programmer and don’t do this stuff on a daily basis. He made it sound very easy, but since I wrote this article it was a bit harder. Hadi mentioned Wireshark had support to solve this problem. Soon I faced SSL-decoded-packet-problems (in practice all HTTP/2 traffic is encrypted). Since I’m a curious guy I wanted to know what was happening at packet level in this awesomeness. Many of the solutions of HTTP/2 are solutions to problems I face daily. Last JavaOne I attended ‘HTTP 2.0 – What do I need to know?’, an excellent talk by Hadi Hariri.
0 Comments
Read More
Leave a Reply. |