All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joubert Berger <joubertb@gmail.com>
To: Patrick McHardy <kaber@trash.net>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Re: [NETFILTER]: Ignore PSH on SYN/ACK in TCP connection tracking
Date: Tue, 26 Apr 2005 11:15:47 -0400	[thread overview]
Message-ID: <63d3731e050426081525b26dad@mail.gmail.com> (raw)
In-Reply-To: <426C127B.9030108@trash.net>

Will there be a 2.4 patch for this?

--joubert

On 4/24/05, Patrick McHardy <kaber@trash.net> wrote:
> This patch fixes a problem with TCP connection tracking and
> some devices that respond with SYN/ACK/PSH to a SYN packet.
> TCP connection tracking considers these packets to be invalid
> and the connection never reaches an estabished state. Ignore
> PSH on SYN/ACKs.
> 
> 
> [NETFILTER]: Ignore PSH on SYN/ACK in TCP connection tracking
> 
> Signed-off-by: Patrick McHardy <kaber@trash.net>
> 
> ---
> commit 72fbbd2b143c27c9c3793698c04302d066d9e4bc
> tree 790636ed7460d6ca2b20cfd98df33a381fe2f0db
> parent df6c6804ce1d383c878ab071bce8125125d96abc
> author NIIBE Yutaka <gniibe@fsij.org> 1114303196 +0200
> committer Patrick McHardy <kaber@trash.net> 1114303196 +0200
> 
> Index: net/ipv4/netfilter/ip_conntrack_proto_tcp.c
> ===================================================================
> --- 43765d4b40a4a3c64f2a32b684f4041e2f01644d/net/ipv4/netfilter/ip_conntrack_proto_tcp.c  (mode:100644 sha1:e800b16fc9209dd5a26e65d2be4eb83d77a7d7af)
> +++ 790636ed7460d6ca2b20cfd98df33a381fe2f0db/net/ipv4/netfilter/ip_conntrack_proto_tcp.c  (mode:100644 sha1:2b87c1974be605d5bdb1ee769188d7e03fb2ddc8)
> @@ -770,6 +770,7 @@
>  {
>         [TH_SYN]                        = 1,
>         [TH_SYN|TH_ACK]                 = 1,
> +       [TH_SYN|TH_ACK|TH_PUSH]         = 1,
>         [TH_RST]                        = 1,
>         [TH_RST|TH_ACK]                 = 1,
>         [TH_RST|TH_ACK|TH_PUSH]         = 1,
> 
> 
>

  parent reply	other threads:[~2005-04-26 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-24 21:41 [NETFILTER]: Ignore PSH on SYN/ACK in TCP connection tracking Patrick McHardy
2005-04-25  1:43 ` David S. Miller
2005-04-26 15:15 ` Joubert Berger [this message]
2005-04-26 15:22   ` Patrick McHardy

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=63d3731e050426081525b26dad@mail.gmail.com \
    --to=joubertb@gmail.com \
    --cc=joubert@berger-family.org \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.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.