Drop privileges for udhcp
Bobby Mah
bitsmaker at gmail.com
Wed Feb 23 15:36:16 UTC 2022
Hello folks!
I would like udhcp to use setuid so that it can drop privileges after the
server socket is built. However, the server socket is inside a loop and is
re-created every time there's a bad packet.
I am proposing moving the server socket out of the loop and letting udhcp
die when a bad packet arrives. This way I can add the ability to drop the
privileges after the server socket is created.
Is there a reason to continue re-creating the server socket after a bad
packet arrives? If not, then will the change I propose be deemed acceptable?
Thanks,
Bobby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20220223/51ea9abb/attachment.html>
More information about the busybox
mailing list