From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Clarification on connections in the ESTABLISHED state...
Date: Thu, 04 Oct 2007 16:11:01 -0500 [thread overview]
Message-ID: <470556E5.5090008@riverviewtech.net> (raw)
I need a little bit of clarification on what packets in a connection are
considered to be the ESTABLISHED state.
"... ESTABLISHED meaning that the packet is associated with a connection
which has seen packets in both directions, ..."
In short, does the response packet to the first outgoing request packet
qualify as ESTABLISHED or is it just NEW because there has not already
been in the past packets that have gone both directions?
So if you consider the three way TCP handshake, if the current packet
counts the states would be as such:
Outgoing SYN NEW
Incoming SYN, ACK ESTABLISHED
Outgoing ACK, ACK ESTABLISHED
Or if you only consider the previous packets and not the current packet,
the states would be as such:
Outgoing SYN INVALID
Incoming SYN, ACK NEW
Outgoing ACK,ACK ESTABLISHED
So, would someone please educate me here and tell me which it is? Does
state count only previous packets and not the current packet or does it
count all packets including the current packet?
Grant. . . .
reply other threads:[~2007-10-04 21:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=470556E5.5090008@riverviewtech.net \
--to=gtaylor@riverviewtech.net \
--cc=gtaylor+reply@riverviewtech.net \
--cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox