All of lore.kernel.org
 help / color / mirror / Atom feed
* Can I only allow those normal TCP 3-handshake packets through my firewall?
@ 2004-04-28 12:45 u9067580
  2004-04-28 14:50 ` David Cannings
  0 siblings, 1 reply; 2+ messages in thread
From: u9067580 @ 2004-04-28 12:45 UTC (permalink / raw)
  To: netfilter

Hi,

I use a test tool to verify my iptables firewall, but unfortunately it 
doesn't pass. The test tool doesn't follow the normal TCP 3-handshake 
Syn->SynAck->Ack, it goes as below.

1.   A:25205  ---SYN--->  B:80     
2.   A:25205  <---SYN---  B:80
(ie. 25205 and 80 are port numbers)

My test report tells me that it can successfully send a reply (2nd) 
packet, which only has SYN flag, through my firewall. I found the tcp 
tracking state is SYN_RECV from the /proc/net/ip_conntrack after the 2nd 
packet is pass. As my understood, the SYN_RECV only happens when the 
"Syn+Ack" packet is pass, doesn't it?

Besides, can I only allow those normal TCP 3-handshake packets through 
my firewall?

/Jason



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-28 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28 12:45 Can I only allow those normal TCP 3-handshake packets through my firewall? u9067580
2004-04-28 14:50 ` David Cannings

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.