[Wireshark-dev] Dealing with wrong Content-Types in HTTP

2021-05-30 Thread Nicolás Alvarez
Hello developers, While looking at traffic from Apple devices, I'm seeing lots of non-browser HTTP(S) requests and responses that have incorrect Content-Type headers. For example, when an iPhone talks to Apple CoreLocation servers, it sends HTTPS requests with Content-Type: application/x-www-form-

Re: [Wireshark-dev] Calling a dissector: Type for data parameter

2021-05-30 Thread João Valverde via Wireshark-dev
It would be nice to fix this in a way that could be used from Lua, to make Lua dissectors first-class citizens and allow them to talk to C dissectors (and vice-versa). On 30/05/21 11:36, Graham Bloice wrote: When I made that change to MQTT I failed to notice that it called other dissectors wit

Re: [Wireshark-dev] Calling a dissector: Type for data parameter

2021-05-30 Thread Graham Bloice
When I made that change to MQTT I failed to notice that it called other dissectors with different data pointers, and although specifically modified for SparkplugB, felt that passing the topic as data was sufficiently general to be useful. As others have noted, I guess the issue here is that to be