From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?bWF0amHFvg==?= Subject: Re: AW: Possible bug in iptables : -m --uid-owner not working with ping Date: Mon, 22 Oct 2012 20:56:49 +0200 Message-ID: <508596F1.6090802@lavabit.com> References: <50855A6B.1070000@lavabit.com> <304595783255CB4682E86E67D63E6FEE2AEA96@dc2008r2.sh-solutions.intern> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: Jan Engelhardt Cc: Steffen Heil , Netfilter user mailing list , rob0@gmx.co.uk, Eric Lebond Thank you all for your explanations. And yes, my ping is suid and this solves my problems. Best regards, Matja=C5=BE On 10/22/2012 06:19 PM, Jan Engelhardt wrote: > On Monday 2012-10-22 16:43, Steffen Heil (Mailinglisten) wrote: > >> Hi >> >> On my system /bin/ping has suid-bit set. >> So it it always executed as root, not as the user invoking it. >> >> As far as I know, ping requires root privileges... > > Linux supports > > socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP) > > since v3.0, so ping does not _strictly_ need root anymore - and > meanwhile fixes your owner "mismatch". >