From: Roberto Nibali <ratz@drugphish.ch>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: Roberto Nibali <ratz@tac.ch>,
Netfilter-devel <netfilter-devel@lists.netfilter.org>
Subject: Re: TCP window tracking patch status query for further design considerations
Date: Wed, 09 Oct 2002 01:15:36 +0200 [thread overview]
Message-ID: <3DA36718.7010903@drugphish.ch> (raw)
In-Reply-To: Pine.LNX.4.33.0210090017160.24530-100000@blackhole.kfki.hu
> Read Guido's article on which the patch is based:
> http://www.iane.nl/users/guido/papers/tcp_filtering.ps.gz
I actually did, even twice, but not carefully enough.
> The constant is a little bit bigger than the maximal possible window size
> without window scaling. The macro tries to take window scaling into
> account.
Got it.
>>Shouldn't it be (or what is the point of having MAXACKWINCONST):
>>
>>+#define MAXACKWINDOW(sender) ((sender)->td_maxwin > MAXACKWINCONST ?
>> MAXACKWINCONST : (sender)->td_maxwin)
>
>
> No, it'd make the possible ACK window smaller in the case of window
> scaling.
Makes sense now, why didn't it before?
> Those packets are either corrupted or invalid ones sent deliberately
> and would (wrongly) be reported as out of window ones.
> Most of the out of window log entries created by the earlier patch
> releases was generated because the code was not protected against such
> packets.
I understand. Thank you.
Regards,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc
prev parent reply other threads:[~2002-10-08 23:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-07 15:56 TCP window tracking patch status query for further design considerations Roberto Nibali
2002-10-08 10:17 ` Jozsef Kadlecsik
2002-10-08 12:08 ` Roberto Nibali
2002-10-08 13:55 ` Roberto Nibali
2002-10-08 22:16 ` Jozsef Kadlecsik
2002-10-08 22:22 ` Roberto Nibali
2002-10-09 13:20 ` Roberto Nibali
2002-10-08 14:55 ` Roberto Nibali
2002-10-08 22:32 ` Jozsef Kadlecsik
2002-10-08 23:15 ` Roberto Nibali [this message]
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=3DA36718.7010903@drugphish.ch \
--to=ratz@drugphish.ch \
--cc=kadlec@blackhole.kfki.hu \
--cc=netfilter-devel@lists.netfilter.org \
--cc=ratz@tac.ch \
/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.