Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 366151

Summary: net-analyzer/hping: Add a suid USE flag
Product: Gentoo Linux Reporter: Hank Leininger <hlein>
Component: Current packagesAssignee: Netmon Herd <netmon>
Status: RESOLVED UPSTREAM    
Severity: enhancement Keywords: EBUILD, PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://wiki.hping.org/50
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Add a 'suid' USE flag to hping-3_pre20051105-r3.ebuild
Modify hping so that it allows all functionality when setuid

Description Hank Leininger 2011-05-05 22:54:12 UTC
hping by design disables certain functionality when setuid root.

I trust me, but I'd rather be able to run hping without su/sudo.

So, here are patches to hping and to the ebuild to add a 'suid' USE flag.

As written, hping will be installed root:wheel mode 4110 (setuid root, but only runnable by members of group wheel).  Perhaps a dedicated group should be used instead.

Reproducible: Always
Comment 1 Hank Leininger 2011-05-05 22:55:35 UTC
Created attachment 272245 [details, diff]
Add a 'suid' USE flag to hping-3_pre20051105-r3.ebuild
Comment 2 Hank Leininger 2011-05-05 22:56:31 UTC
Created attachment 272247 [details, diff]
Modify hping so that it allows all functionality when setuid