I am running hping2, not hping3 (which is still in development). When setuid this happens:
-----Original Message----- From: Josh Luthman [mailto:[email protected]] Sent: Monday, September 20, 2010 5:50 PM To: Seth Lyons Cc: Ralf Hildebrandt; [email protected] Subject: Re: [smokeping-users] hping probe This suggests it can: http://www.kyuzz.org/antirez/hping3.html http://lwn.net/1998/1210/hping.html http://www.google.com/search?q=hping+setuid&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 5:49 PM, Seth Lyons <[email protected]> wrote: > I tried that. Unfortunately hping cannot be run setuid. > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On > Behalf Of Ralf Hildebrandt > Sent: Monday, September 20, 2010 5:39 PM > To: [email protected] > Subject: Re: [smokeping-users] hping probe > > * Seth Lyons <[email protected]>: > >> Everything works fine when I run smokeping as root. What permissions >> do you suggest I change? Because of the way hping manipulates >> packets, it must be run as root. Aside from running smokeping as >> root, what is there left to do? > > chown root:root /usr/local/sbin/hping > chmod u+s /usr/local/sbin/hping > > (if hping can be run setuid) > > -- > Ralf Hildebrandt > Geschäftsbereich IT | Abteilung Netzwerk > Charité - Universitätsmedizin Berlin > Campus Benjamin Franklin > Hindenburgdamm 30 | D-12203 Berlin > Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 > [email protected] | http://www.charite.de > > > _______________________________________________ > smokeping-users mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > _______________________________________________ > smokeping-users mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
