开发者

Making Fiddler understand (i.e. decode) an HTTP request/response encoded with protocol buffers

开发者 https://www.devze.com 2023-04-03 08:19 出处:网络
Given: Windows开发者_如何学Python Client-Server communication over HTTP with protocol buffers Agent-Server communication over HTTP with protocol buffers (a different .proto spec)

Given:

  1. Windows开发者_如何学Python
  2. Client-Server communication over HTTP with protocol buffers
  3. Agent-Server communication over HTTP with protocol buffers (a different .proto spec)
  4. Both .proto files are available

Needed: the ability to examine the decoded HTTP traffic per request/response.

Fiddler seems an ideal tool for this and in fact I am using it constantly. However and quite understandable, it cannot decode the requests/responses encoded with protocol buffers. On the other hand I know that:

  1. Fiddler can be extended
  2. Given the respective .proto files, the protocol buffers output can be easily decoded.

My question is whether anyone else has encountered with the same issue and whether there is a way to resolve it.

Of course, I prefer fast and easy solutions over long and hard ones (like writing a Fiddler extension from scratch), but in the absense of the former I guess I would settle for the latter as well.

To all the good samaritans out there - thanks in advance.


Wireshark may be your friend here, since there is an existing plugin: protobuf-wireshark

0

精彩评论

暂无评论...
验证码 换一张
取 消