From owner-freebsd-stable@freebsd.org Wed Aug 19 12:24:14 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7B559BC47D for ; Wed, 19 Aug 2015 12:24:14 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B6CA1378 for ; Wed, 19 Aug 2015 12:24:13 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t7JCH8md004419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 19 Aug 2015 14:17:08 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-stable@freebsd.org Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.9/8.14.9) with ESMTP id t7JCH6WL036172; Wed, 19 Aug 2015 19:17:07 +0700 (KRAT) (envelope-from eugen@grosbein.net) Message-ID: <55D473C2.6090604@grosbein.net> Date: Wed, 19 Aug 2015 19:17:06 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: =?UTF-8?B?TWFya28gQ3VwYcSH?= , FreeBSD Stable Subject: Re: ping from web application References: <20150818150924.5e9bef04@efreet> In-Reply-To: <20150818150924.5e9bef04@efreet> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2015 12:24:14 -0000 On 18.08.2015 20:09, Marko Cupać wrote: > Hi, > > I use web applicaton (net-mgmt/phpipam) which should have the ability > to check hosts' availability via ping. I can even specify path to ping > executable. > > This functionality does not work on FreeBSD by default, and suggested > workaround is to set setuid bit on /sbin/ping. /sbin/ping DOES have setuid on FreeBSD by default, so phpipam fails for some other reason, e.g. wrong path to ping executable or wrong (linux-like?) arguments.