iptables-save: INPUT DROP [26:8260]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

why does iptables-save print 2 numbers in square brackets?
Is it used for anything? Is it number of inspected packets
(and what's the other number then)?

And what does *filter mean?

Thank you
Alex

$ sudo iptables-save
# Generated by iptables-save v1.3.5 on Tue Dec  2 23:53:56 2008
*filter
:INPUT DROP [26:8260]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [376:82274]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 --tcp-flags
FIN,SYN,RST,ACK SYN -m limit --limit 1/min --limit-burst 3 -j ACCEPT
COMMIT
# Completed on Tue Dec  2 23:53:56 2008

$ cat /etc/*release
CentOS release 5.2 (Final)
2008010200
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux