From: Henrik Nordstrom <hno@marasystems.com>
To: netfilter-devel <netfilter-devel@lists.samba.org>
Subject: TCP tracking states
Date: Sat, 6 Jul 2002 00:38:59 +0200 [thread overview]
Message-ID: <200207060038.59577@henrik.marasystems.com> (raw)
The recent discussions and Oskar Andreassons work on a iptables
tutorial made me take a closer look into the TCP tracking states, and
I notices a couple of odd things that looks like they may be bugs..
1. What is the use of LAST_ACK? From what I can tell this state can
only be reached if the connection is already in the LAST_ACK state..
2. The support for half-closed connections is very poor, and differs a
lot depending on which side closed first.
To deal with 2, may I propose that the following symmetric FIN state
machine is used instead of the odd assymetric one used today:
ESTABLISHED / FIN -> FIN_WAIT
FIN_WAIT / ACK(R) -> CLOSE_WAIT
CLOSE_WAIT / FIN(R) -> TIME_WAIT (or a new FIN_WAIT2 state)
TIME_WAIT / ACK -> TIME_WAIT
And for completeness
FIN_WAIT / FIN(R) -> TIME_WAIT (or a new FIN_WAIT2 state)
Regards
Henrik
next reply other threads:[~2002-07-05 22:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-05 22:38 Henrik Nordstrom [this message]
2002-07-05 22:50 ` TCP tracking states Henrik Nordstrom
2002-07-05 23:15 ` Henrik Nordstrom
2002-07-09 11:18 ` Jozsef Kadlecsik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200207060038.59577@henrik.marasystems.com \
--to=hno@marasystems.com \
--cc=netfilter-devel@lists.samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.