Przeniesienie ping do /usr/bin

Michal Kochanowicz michal w michal.waw.pl
Czw, 15 Sie 2002, 18:45:33 CEST


On Thu, Aug 15, 2002 at 06:19:37PM +0200, Blues wrote:
> Ja nie mam nic przeciwko, ale... Istnieje pakiet poink, który dostarcza
> nie-suidowego ping-a. I z tego powodu akurat samego pinga bym zostawił
> jednak w spokoju tam gdzie jest, bo inaczej będzie konflikt.
> $ rpm -qf /usr/bin/ping
> poink-1.5beta-1
Poink ssie. Z całym szacunkiem dla Michała poink jest niewiarygodny:

Na pierwszym adresie jaki mi przyszedł do głowy:
[root w wieszak tmp]# /usr/bin/ping wp.pl
Nosuid TCP/IP ping 1.5 beta by <lcamtuf w ids.pl>
Pinging wp.pl (212.77.100.101) - delay 1 sec(s), timeout 5 sec(s).
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...
No ping reply from 212.77.100.101 within 5 second(s)...

-- 212.77.100.101 ping statistics --
12 packet(s) transmitted, 0 packet(s) received, 100% packets lost.
round-trip statistics min/avg/max: (not available due to 100% packets lost).
[root w wieszak tmp]# ping wp.pl
PING wp.pl (212.77.100.101) from 172.16.0.4 : 56(84) bytes of data.
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=1 ttl=119 time=16.868 msec
WARNING: failed to install socket filter
: Protocol not available
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=2 ttl=119 time=20.074 msec
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=3 ttl=119 time=22.281 msec
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=4 ttl=119 time=16.747 msec
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=5 ttl=119 time=19.090 msec

--- wp.pl ping statistics ---
5 packets transmitted, 5 received, 0% loss, time 4044ms
rtt min/avg/max/mdev = 16.747/19.012/22.281/2.075 ms
[root w wieszak tmp]#

Niech poink się nazywa poink, bo nie jest równoważnikiem pinga, tylko atrapą,
która działa inaczej.

> mtr jeszcze
Fakt.
-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!



Więcej informacji o liście dyskusyjnej pld-devel-pl