Siduction Forum

Siduction Forum => Software - Support => Topic started by: bluelupo on 2014/12/09, 13:26:51

Title: ping/ICMP as the user does not work
Post by: bluelupo on 2014/12/09, 13:26:51
Hi everyone,
yesterday I must note that at a painful siduction freshly installed a ping as ordinary users not in the local network, to still the Internet works (Operation permitted). As root, however, does a ping as expected.

A comparison with a 2013er version of siduction revealed no abnormalities (file permissions, iptables rules, etc.) of the current /bin/ping.

In my search for a solution thanks to a tip from hendrikL (Thank you) the reference to the package iputils-ping is in siduction chat, please. This package must be removed once and re-install, then the ping works as a user correctly again.

Presumably it gets even give this a bug, but I still investigating any time here.


# apt-get purge iputils-ping
# apt-get install iputils-ping
Title: Re: ping/ICMP as the user does not work
Post by: oduffo on 2014/12/09, 14:35:26
Hi,

instead of apt-get install iputils-ping
I had to do
apt-get install inetutils-ping and everything is fine now.

Ping works as expected for every user.

Gruß
oduffo
Title: Re: ping/ICMP as the user does not work
Post by: hendrikL on 2014/12/10, 03:05:11
Hi,
we are working on it, to fix that issue!

An other solution is to set the permissions with "setcap" so you don't have to reinstlall iputils-ping
libcap2-bin has to be installed, if you have systemd, than it should be. Check it!

be root

setcap cap_net_raw+ep /bin/ping
setcap cap_net_raw+ep /bin/ping6


with "getcap" you can see if the permissions are ok


root@hhl:/home/hhl# getcap `which ping`
/bin/ping = cap_net_raw+ep
root@hhl:/home/hhl# getcap `which ping6`
/bin/ping6 = cap_net_raw+ep


in the hope that work for you

greetz hendrikL