simple iptabels question

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



Hello,
I have a question on iptables.  On the arch wiki, the tutorial on a simple stateful firewall includes the creation of the following rule.

# iptables -A INPUT -p tcp --syn -m state --state NEW -j OPEN-TCP

Which, to my understanding, meant only pass new TCP streams with the syn flag (the initialize connection or handshake part 1 of 3) to the user defined chain.  When I checked the output of iptables, I noticed the following rule.


# iptables -L INPUT --line-numbers -v
7    OPEN-TCP   tcp  --  anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN state NEW

Why is iptables also using the FIN, RST and ACK/SYN flags?  Did I not request SYN only like I thought the tutorial said? 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux