[smokeping-users] hping probe

Seth Lyons slyons at fxcm.com
Mon Sep 20 23:57:19 CEST 2010


I am running hping2, not hping3 (which is still in development).  When setuid this happens:


-----Original Message-----
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] 
Sent: Monday, September 20, 2010 5:50 PM
To: Seth Lyons
Cc: Ralf Hildebrandt; smokeping-users at lists.oetiker.ch
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 <slyons at fxcm.com> wrote:
> I tried that.  Unfortunately hping cannot be run setuid.
>
> -----Original Message-----
> From: smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch 
> [mailto:smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch] On 
> Behalf Of Ralf Hildebrandt
> Sent: Monday, September 20, 2010 5:39 PM
> To: smokeping-users at lists.oetiker.ch
> Subject: Re: [smokeping-users] hping probe
>
> * Seth Lyons <slyons at fxcm.com>:
>
>> 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
>  ralf.hildebrandt at charite.de | http://www.charite.de
>
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>



More information about the smokeping-users mailing list