metalbear-co / mirrord

Connect your local process and your cloud environment, and run local code in cloud conditions.
https://mirrord.dev
MIT License
3.8k stars 103 forks source link

agent sends close because of mirroring initalization failure? #2896

Open aviramha opened 2 hours ago

aviramha commented 2 hours ago

User tries to steal traffic with operator enabled - agent immediately dies and in operator you can see

{"timestamp":"2024-11-06T10:34:46.411333Z","level":"ERROR","fields":{"message":"Agent sent unexpected message","other":"Close(\"Background task `Sniffer` failed with `Failed to set socket flag PACKET_IGNORE_OUTGOING, this might be due to kernel version before 4.20.\\n    Original error `Protocol not available (os error 92)``\")"},"target":"operator_context::agent::connection","threadId":"ThreadId(2)"}
{"timestamp":"2024-11-06T10

It seems that we made the sniffer fail fatal again somehow?

linear[bot] commented 2 hours ago

MBE-508 agent sends close because of mirroring initalization failure?