ping port
Haris Koutsouris
harisk at epmhs.gr
Fri Jul 6 02:12:01 EEST 2001
Gia xara, ean uymamai kala yparxei kai entry sto
/proc poy apenergopoei ta icmp.
nomizo kalo tha eitan na deite ta
/proc/sys/net/ipv4/icmp_echo_ignore_all
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
k.l.p
-----Original Message-----
From: linux-greek-users-admin at lists.hellug.gr
[mailto:linux-greek-users-admin at lists.hellug.gr]On Behalf Of D.A.Glynos
Sent: Wednesday, July 04, 2001 10:23 PM
To: Nikos Stylianidis
Cc: linux-greek-users at hellug.gr
Subject: Re: ping port
Den "paizei" se kapoia "porta".
Anoigei raw socket kai stelnei ena ICMP packet-aki tupou Echo Request
ston apenanti host. An o host apantisei me ena Echo Response, to ping
tha sou epistrepsei ton round-trip xrono (pigainela).
Sunepws an thes o host sou na min apantaei se pings,
kaneis (ws root) to ekshs:
iptables -D INPUT -d x.x.x.x -p icmp --icmp-type echo-request -j DROP
...opou x.x.x.x h IP tou mixanimatos sou.
kai gia tou logou to alithes:
root at koko:~ > /usr/local/sbin/iptables -D INPUT -d 212.251.95.196 -p icmp \
--icmp-type echo-request -j DROP
root at koko:~ > ping 212.251.95.196
PING 212.251.95.196 (212.251.95.196): 56 data bytes
--- 212.251.95.196 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
auta.
dimitris
On Wed, 4 Jul 2001, Nikos Stylianidis wrote:
>
> Paidia gias sas,
> exo mia aporia poly apli kai mallon ilithia.
> To ping se pia porta paizei?
>
> Sas eyxaristo ek ton protero
>
> Kalo apogeyma
--
linux-greek-users mailing list -- http://lists.hellug.gr
More information about the Linux-greek-users
mailing list