From: "tirexx" <tirexx@mail.ru>
To: netfilter@lists.samba.org
Subject: -m state ESTABLISHED, NEW etc...
Date: Thu, 30 May 2002 17:27:34 +0300 [thread overview]
Message-ID: <004401c207e6$249c22c0$3401000a@ryanchenko> (raw)
Hi all
TCP connection flow by this scenario
Can someone explain me where pass borders of state ESTABLISHED, NEW.
1-> SYN
2<- SYN ACK
3-> ACK
connected
....
4-> ACK
5<- ACK
....
6-> FIN
7<- ACK
8<- FIN
9-> ACK
closed
I think so:
1,2,3 NEW
2,3,4,5,6,7,8,9 ESTABLISHED
2,3,4,5,6,7,8,9 RELATED
i`m wrong?
with this rules outgoing connect work
incomming connect not work
this demonstrate 2,3,4,5,6,7,8,9 = ESTABLISHED
iptables -A FORWARD -o eth_external -i eth_internal -p tcp -d
x.x.x.x --dport x -j ACCEPT
iptables -A FORWARD -i eth_external -o eth_internal -p tcp -s
x.x.x.x --sport x -m state --state ESTABLISHED -j ACCEPT
reply other threads:[~2002-05-30 14:27 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='004401c207e6$249c22c0$3401000a@ryanchenko' \
--to=tirexx@mail.ru \
--cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox