netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Understanding conntrack: Delete and manual readd of same entry possible?
@ 2009-10-05  7:55 Roman Fiedler
  2009-12-23 23:05 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Roman Fiedler @ 2009-10-05  7:55 UTC (permalink / raw)
  To: netfilter

Hi list,

The failure to conduct a simple test with conntrack makes me believe, 
that I misunderstood some part of the concept.

The testcase:

* Create one forwarded tcp connection via iptables-firewall and leave it 
open
* Delete the conntrack entry of this connection
* Readd the same conntrack entry with conntrack -I
* Verify, that old and new entry looked the same (conntrack -L)
* Send one more byte over the still open tcp connection

The expected result:
* TCP flow continues without creating a new conntrack entry, using the 
one added manually
* ACCEPT via ESTABLISHED rule because of valid conntrack entry

The actual result:
* Conntrack code seems to believe, that packets do not belong to 
conntrack entry
* Conntrack code does not create new conntrack entry
* Conntrack code cannot update conntrack-entry even when packet is accepted.

Can someone enlighten me, if manual entry creation is possible?

Thanks, Roman

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

end of thread, other threads:[~2009-12-29 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-05  7:55 Understanding conntrack: Delete and manual readd of same entry possible? Roman Fiedler
2009-12-23 23:05 ` Pablo Neira Ayuso
2009-12-29 10:42   ` Roman Fiedler
2009-12-29 17:40     ` Pablo Neira Ayuso
2009-12-29 20:06       ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).