kiltum (kiltum) wrote,
kiltum
kiltum

Меня где-то кидают, а где-не пойму

[root@kicker root]# iptables -F
[root@kicker root]# iptables -A INPUT -s 0/0 -d linuxnews.ru -j REJECT
[root@kicker root]# ping linuxnews.ru -c 2
PING linuxnews.ru (212.24.38.150) 56(84) bytes of data.
64 bytes from ftp.asplinux.ru (212.24.38.150): icmp_seq=1 ttl=54 time=6795 ms
64 bytes from ftp.asplinux.ru (212.24.38.150): icmp_seq=2 ttl=54 time=6731 ms

--- linuxnews.ru ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1013ms
rtt min/avg/max/mdev = 6731.306/6763.309/6795.313/32.108 ms, pipe 2
[root@kicker root]# lsmod|grep ipt
ipt_REJECT              4312   1  (autoclean)
iptable_filter          2412   1  (autoclean)
ip_tables              15776   2  [ipt_REJECT iptable_filter]
[root@kicker root]# cat /etc/redhat-release 
Red Hat Linux release 9 (Shrike)
[root@kicker root]# cat /etc/asplinux-release 
ASPLinux release 9 (Ural)
[root@kicker root]# iptables -L -n|grep 212
REJECT     all  --  0.0.0.0/0            212.24.38.150      reject-with icmp-port-unreachable

Я, конечно, иду читать доки ... но меня терзают недец-ц-цкие сомнения ..
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment