2 ms·
Yes raw sockets and yes it required root privileges. It’s not ideal but this is why this was a good exercise in good C practices. In my case the program was ver
by IgorPartola 6y ago
Yes raw sockets and yes it required root privileges. It’s not ideal but this is why this was a good exercise in good C practices. In my case the program was very straightforward so not a lot of attack surface to begin with. But yes overall pretty dangerous stuff. I am sure a comment about rewriting the Linux kernel and every other bit of C in Rust will materialize below sooner or later :)