Matthias Behr

Results 87 comments of Matthias Behr

can you run sharkd from command line? Search for sharkd.exe in your install folder.

(once found please post the output of ``` sharkd --version ```

@actanta which version of the extension are you using?

hmm. interesting. So you did 3 changes: a) removing the stdio:['pipe', 'pipe', 'pipe']] from spawn options b) removing shell:true c) setting loadReq['prevFrame'] to 1 instead of false Can you tell...

According to node.js spec e.g. a) should anyhow be the default value (so removing it should be fine per se but it should help to fix the issue ;-) https://nodejs.org/docs/latest-v20.x/api/child_process.html#optionsstdio

For c) this is interesting as well. The wireshark wiki doesn't help a lot: https://wiki.wireshark.org/sharkd-JSON-RPC-Request-Syntax#frame Checking the wireshark/sharkd source from 4.0. branch "prev_frame" is defined as: https://gitlab.com/wireshark/wireshark/-/blame/release-4.0/sharkd_session.c#L396 ``` {"frame", "prev_frame",...

Ah. now I understand: you do use wireshark 4.2 (not 4.0..). There is was actually changed: https://gitlab.com/wireshark/wireshark/-/blob/release-4.2/sharkd_session.c#L406 ``` {"frame", "prev_frame", 2, JSMN_PRIMITIVE, SHARKD_JSON_UINTEGER, SHARKD_OPTIONAL}, // commented as * (o) prev_frame...

@hababy see above. could you check my questions? thx!

@hababy I fixed this in v2.1.1. Can you check? Works for me on mac with wireshark v4.0.10, v4.2.7 and v4.4.0.

ok. will take a look at the shell:true today