From: Erik Schweigert <ejschweigert@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: Connection Tracking able to ignore TCP RST under specific conditions?
Date: Thu, 7 Jan 2010 09:24:36 -0800 [thread overview]
Message-ID: <ac5590b91001070924t181b9a48hb3c3850eb192d89e@mail.gmail.com> (raw)
Hello all,
Problem:
I have run into a network implementation that doesn't conform to the
normal. What occurs is a TCP session will do a:
1. SYN
2. SYN,ACK
3. ACK
4. RST,ACK <---- at which point this closes the connection and the
firewall blocks the rest of the connection
5. SYN <--- The whole sequence is re-done but this time without the RST,ACK
6. SYN,ACK
7. ACK .
8. PSH,ACK
To permit this traffic initially I have created a connection tracking
helper, the problem is that the RST,ACK removes the expectation for
this session. So when the (5) SYN comes in after the (4)RST,ACK the
firewall blocks the connection.
Attempts:
I have tried creating 2 identical expectations, but the RST,ACK clears
both as the port/ip matches on both. Another thought I had was to
create a timer to insert another expectation after a certain time
period (not a fan of this idea).
Suggestions:?
Is there a way I can trap the RST,ACK...or ignore the RST,ACK if I
have seen 1,2,3 above?
Erik
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
reply other threads:[~2010-01-07 17:24 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=ac5590b91001070924t181b9a48hb3c3850eb192d89e@mail.gmail.com \
--to=ejschweigert@gmail.com \
--cc=netfilter-devel@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;
as well as URLs for NNTP newsgroup(s).