kiltum (kiltum) wrote,

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

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

--- 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  --        reject-with icmp-port-unreachable

Я, конечно, иду читать доки ... но меня терзают недец-ц-цкие сомнения ..

  • Post a new comment


    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