You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Now nexttrace recommends cap_net_admin,cap_net_raw=eip for the entire binary. In contrast:
mtr and wireshark use dedicated binaries mtr-packet and dumpcap with capabilities, and the main binaries mtr and tshark have no capability.
mtr-packet only has cap_net_bind_service,cap_net_raw=ep, without cap_net_admin and the i flag.
Describe the solution you'd like
Require minimal capabilities that are necessarily needed by nexttrace to function. It will be better if the part that needs the capabilities is split into a separate binary.
Describe alternatives you've considered
The i flag is already not checked. We can just set cap_net_admin,cap_net_raw=ep and will not get warnings.
If only cap_net_raw=ep is set, there will be a warning, but it seems that nexttrace still functions well.
Is your feature request related to a problem? Please describe.
Now nexttrace recommends
cap_net_admin,cap_net_raw=eip
for the entire binary. In contrast:mtr
andwireshark
use dedicated binariesmtr-packet
anddumpcap
with capabilities, and the main binariesmtr
andtshark
have no capability.mtr-packet
only hascap_net_bind_service,cap_net_raw=ep
, withoutcap_net_admin
and thei
flag.Describe the solution you'd like
Require minimal capabilities that are necessarily needed by nexttrace to function. It will be better if the part that needs the capabilities is split into a separate binary.
Describe alternatives you've considered
The
i
flag is already not checked. We can just setcap_net_admin,cap_net_raw=ep
and will not get warnings.If only
cap_net_raw=ep
is set, there will be a warning, but it seems that nexttrace still functions well.Additional context
There is a similar concern at https://aur.archlinux.org/packages/nexttrace#comment-965309
The text was updated successfully, but these errors were encountered: