Hello!

Please, when you have the time provide some feedback about this patchset
and if some changes are needed to be applied upstream:
https://lists.busybox.net/pipermail/busybox/2025-April/091431.html

Thank you!

On Tue, Apr 15, 2025 at 11:33 AM Radoslav Kolev <[email protected]>
wrote:

> For a long time Linux has supported using dgram sockets
> to avoid requiring root privileges or a setuid ping binary.
> This patch is inspired by a patch Alpine linux carries
> (
> https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/busybox/0015-ping-make-ping-work-without-root-privileges.patch
> )
> but with a number of improvements:
>
> * The rootless option is configurable, and disabled by default, so no
>   concerns about size increase for those that don't want/need it
> * The original patch only works if the fancy output option is enabled
> * With fancy option enabled, it always returned 42 as the ttl value
>   for ipv4
>
> I'm currently doing some more test, but so far it seems to work well
> for me. Any comments/suggestions/testing is welcome.
>
> Best regards,
> Radoslav
>
> Radoslav Kolev (2):
>   Add optional rootless ping support
>   Add using_dgram as member of globals struct
>
>  networking/ping.c | 346 +++++++++++++++++++++++++++++++++-------------
>  1 file changed, 253 insertions(+), 93 deletions(-)
>
> --
> 2.47.1
>
>
_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to