All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roberto Nibali <ratz@tac.ch>
To: Harald Welte <laforge@gnumonks.org>
Cc: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>,
	netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] tcp window tracking patch with SACK support
Date: Wed, 06 Nov 2002 12:33:09 +0100	[thread overview]
Message-ID: <3DC8FDF5.7050906@tac.ch> (raw)
In-Reply-To: 20021018144818.GJ2408@naboo.club.berlin.ccc.de

Hello,

>>As it was reported several times on the mailing list, the tcp window
>>tracking patch could cause long SMTP delays in some cases.
>>
>>After dumping a lot of traffic and replaying the streams it turned
>>out that the book-keeping inside the patch could go out of sync when SACK
>>was used. In another words, SACK was not supported by the patch and it
>>could cause legitimate packets to be blocked.

First I wasn't able to reproduce it on a normal box with low traffic but then I 
asked our management if I could test it out on one of our main packetfilters and 
after 3 minutes I saw those strange DROPs and retransmits with interesting TCP 
flag combinations indicating the SACK. While this firewall has a steady 30Mbit/s 
  sustained filtering rate 7/24 with 8 interfaces and around 1200 rules, I 
expected some rules not to work because not only did I use the tcp window 
tracking patch but the packetfilter was still running ipchains with a 2.2.x kernel.

To get to the point: All rules were transitioned (I added the MetaFW layer for 
iptables to our fw suite) and worked very well but the SMTP ones somehow 
generated too many DROPs. I accredit this to the missing SACK support in the tcp 
window tracking patch. I wasn't able to tcpdump nor trace packets back in 
another way because of strict security constraints (don't ask).

>>It'd be very helpful if sites which experienced the long SMTP delays could
>>give a try to the new version of the patch and then send a report: 'yeah,
>>it's seems to be OK' or 'nope, still bad'. :-)
>  
> well, I'd rather not test it on kashyyyk.netfilter.org for some time...

Actually you should, because the problem will be spotted very soon and you can 
then quickly failback to the old kernel without pissing off too many people.

> so I really have to rely on others for testing. Please tell me about
> your erxperience with this new patch.

I will now (after I have more or less proven that without this SACK patch we're 
running into problems too) patch my kernel and try it again. Unfortunately I 
have only a very limited test period because if I screw up 30 fulltime engineers 
won't be able to work properly. My initial test which only lasted for 20 minutes 
cost us around $4000. I will report back as soon as I have done testing with 
this new patch.

Regards,
Roberto Nibali, ratz
-- 
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

  reply	other threads:[~2002-11-06 11:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-17 16:39 [PATCH] ip_nat_mangle_udp_packet() updated netfilter
2002-10-18 11:09 ` [PATCH] tcp window tracking patch with SACK support Jozsef Kadlecsik
2002-10-18 14:48   ` Harald Welte
2002-11-06 11:33     ` Roberto Nibali [this message]
2002-11-18  9:48       ` Roberto Nibali
2002-11-18 14:08         ` netfilter
2002-10-18 14:52 ` [PATCH] ip_nat_mangle_udp_packet() updated Harald Welte

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=3DC8FDF5.7050906@tac.ch \
    --to=ratz@tac.ch \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=laforge@gnumonks.org \
    --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.