[smokeping-users] hping probe

Seth Lyons slyons at fxcm.com
Mon Sep 20 23:09:46 CEST 2010


Smokeping runs as smokeping/smokeping.  I am debugging as the root user.  I thought that running debug ran the program with output to stdout as it normally runs, but apparently not.

I know that hping in general needs to be run as root (and that it doesn't run properly when it's setuid'd).  I'm hoping for a solution that is _not_ running smokeping as root.

-----Original Message-----
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] 
Sent: Monday, September 20, 2010 5:05 PM
To: Seth Lyons
Cc: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] hping probe

What user/group does smokeping run as a daemon?  Are you debugging as root?

Looks like a permission issue with hping, what's ls -l /usr/local/sbin/hping say?

Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373



On Mon, Sep 20, 2010 at 4:22 PM, Seth Lyons <slyons at fxcm.com> wrote:
> I recently began having an issue with the hping probe.  When running 
> smokeping --debug everything works as expected, but when running as a 
> daemon the probe doesn't run and I get the following message in my smokeping log:
>
>
>
> HPing: WARNING: /usr/local/sbin/hping -d 0 -p 80 -S -c 5 www.yahoo.com 
> was not happy: [open_sockraw] socket(): Operation not permitted [main] 
> can't open raw socket
>
>
>
> Any help is greatly appreciated.
>
>
>
> FreeBSD 8.1-RELEASE amd64
>
> hping-2.0.0r3
>
> smokeping-2.4.2_6
>
>
>
> Thanks.
>
>
>
> Seth
>
> _______________________________________________
> 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