Not sure whether it's meant to be this way, but the default homer-app has no tshark in it. So I added it. And still got bad pcap, even if I upload a single SIP frame uncompressed pcap.
One problem: how dumpcap is installed. By default, on alpine, it is root:wireshark, but no attempt except for root:root seemed to work. So:
{"level":"error","msg":"Bad decoding: tshark has been not enabled","time":"2024-09-20T17:54:13Z"}
{"level":"error","msg":"Bad decoding: tshark has been not enabled","time":"2024-09-20T17:57:44Z"}
{"level":"error","msg":"Bad decoding: tshark has been not enabled","time":"2024-09-20T18:14:33Z"}
But apparently my external config doesn't propagate to the docker container. The startup scripts don't configure for tshark. So I manually edited the config in the image.
Then I got the following if I tried 65535 (nobody):
{"level":"info","msg":"running under root/wheel: UID: [0], GID: [0] - [0] - [0]. Changing to user...","time":"2024-09-20T18:42:25Z"}
{"level":"error","msg":"You run external decoder under root! Please set UID/GID in the config","time":"2024-09-20T18:42:25Z"}
Not sure whether it's meant to be this way, but the default homer-app has no tshark in it. So I added it. And still got
bad pcap
, even if I upload a single SIP frame uncompressed pcap.One problem: how
dumpcap
is installed. By default, on alpine, it isroot:wireshark
, but no attempt except forroot:root
seemed to work. So:But, no matter what, I still get a 400 with JSON:
{"data":{},"message":"bad pcap data"}
.I set up my
webapp_config.json
to include:Checked the logs and..
Changed the
webapp_config.json
to:Restart. Check the logs and...
But apparently my external config doesn't propagate to the docker container. The startup scripts don't configure for tshark. So I manually edited the config in the image.
Then I got the following if I tried 65535 (nobody):
So at least a bug in that info line.
And the following if I use 0 (root):
But.... no response. I got NS_ERROR_NET_RESET.
🤷
Maybe it's broken.