All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Martijn Posthuma <m.posthuma@sangine.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: SYN,URG combination considered INVALID by tcp conntrack
Date: Thu, 07 Sep 2006 17:01:06 +0200	[thread overview]
Message-ID: <45003432.4040705@trash.net> (raw)
In-Reply-To: <20060907090859.d246b66a.m.posthuma@sangine.com>

Martijn Posthuma wrote:
>>>Does someone know of a good reason that this flag combination is excluded?
>>
>>No, I guess it should be considered valid. Out of interest, did the
>>SYN packets actually carry data?
> 
> 
> Not in this case (it turned out to be a non initialized variable). We are hoping to be able to do this in the future to ie speed up the restart of a interrupted ftp-session.

Mhh .. we can certainly change it (I don't see any harm in this), but
I don't think you will have much success with this. Linux for example
will simple ignore the data and wait for the sender to retransmit.
According to this comment solaris will even give you an error:


/* Now we have several options: In theory there is
 * nothing else in the frame. KA9Q has an option to
 * send data with the syn, BSD accepts data with the
 * syn up to the [to be] advertised window and
 * Solaris 2.1 gives you a protocol error. For now
 * we just ignore it, that fits the spec precisely
 * and avoids incompatibilities. It would be nice in
 * future to drop through and process the data.
 *
 * Now that TTCP is starting to be used we ought to
 * queue this data.
 * But, this leaves one open to an easy denial of
 * service attack, and SYN cookies can't defend

 * against this problem. So, we drop the data
 * in the interest of security over speed.
 */

  reply	other threads:[~2006-09-07 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-06 12:47 SYN,URG combination considered INVALID by tcp conntrack Martijn Posthuma
2006-09-06 18:20 ` Patrick McHardy
2006-09-07  7:08   ` Martijn Posthuma
2006-09-07 15:01     ` Patrick McHardy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-09-05 12:46 Martijn Posthuma
2007-02-13 11: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=45003432.4040705@trash.net \
    --to=kaber@trash.net \
    --cc=m.posthuma@sangine.com \
    --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.