yoursunny / NDNts

NDN libraries for the Modern Web
https://ndnts-docs.ndn.today
ISC License
31 stars 9 forks source link

How to use wireshark to parse packet of websocket? #11

Closed killerdbob closed 2 years ago

killerdbob commented 2 years ago

Hi, I would like to ask if there is a way to parse ndnts packet by using wireshark? I found that it is possible to analyse udp and tcp packets, but websocket only shows small fragments.

yoursunny commented 2 years ago

WebSocket and WebTransport are encrypted traffic. It isn't possible to see the payload in Wireshark.

You can use the FwTracer type from @ndn/fw package to see packet names on the console. If you need more information from the packets, look at how FwTracer is implemented, and implement your own logic with these hooks.

killerdbob commented 2 years ago

ok thankyou