Re: AW: Possible bug in iptables : -m --uid-owner not working with ping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you all for your explanations.
And yes, my ping is suid and this solves my problems.
Best regards,
Matjaž

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".


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux