Divert mode "Write to ipfw divert socket failed: Permission denied"

Started by Hantritor, February 08, 2026, 04:15:39 PM

Previous topic - Next topic
Sometimes at random point I get those errors that shuts down Suricata. Did some one faced it too?
 
Quote[101868] <Error> -- thread W-8000 failed
[102152] <Warning> -- Write to ipfw divert socket failed: Permission denied

I'm unsure about "Permission denied" but we have a test version that gracefully handles EHOSTUNREACH/ENETUNREACH

https://github.com/opnsense/core/issues/9712#issuecomment-3865139847


Cheers,
Franco

Quote from: franco on February 08, 2026, 05:56:19 PMI'm unsure about "Permission denied" but we have a test version that gracefully handles EHOSTUNREACH/ENETUNREACH

https://github.com/opnsense/core/issues/9712#issuecomment-3865139847


Cheers,
Franco

Thank you Franco!
I'm sorry but i have no idea how to implement the patch, can you please hint how to do that?

Quote from: Hantritor on February 09, 2026, 10:14:09 PMI'm sorry but i have no idea how to implement the patch, can you please hint how to do that?
See : https://github.com/opnsense/core/issues/9712#issuecomment-3866792301 ;)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)