Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pedro Abreu <pedro.abreu@anubisnetworks.com>
To: netfilter@lists.netfilter.org
Subject: iptables/nat and out of window packets
Date: Fri, 16 Feb 2007 17:00:16 +0000	[thread overview]
Message-ID: <1171645216.5317.49.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]

Hi,

a few days ago I had to deal with the following situation:

Mail RELAY:
kernel 2.6.14.4-vs2.1.0 (vs for vserver patch)
iptables v1.2.11
5mbit dedicated link
under my control

Mail STORE:
openbsd firewall (unknown version)
freebsd mail store (unknown version)
3mbit dedicated link
out of my control

RELAY forwards mail to STORE, which is on a totally different network.
All traffic was flowing fine, except for large emails (>100kb was
enough) which would timeout many times while sending the message body,
specially when delivering more than one large mail at a time.

After some investigation, I found that lots of invalid out of window
packets were received by the RELAY when the timeouts occurred, using
"echo 255 > ip_conntrack_log_invalid" for troubleshooting. Apparently,
the solution was to "echo 1 > ip_conntrack_tcp_be_liberal" so that only
RST packets would be considered invalid. I tried that, and it worked.

My question is this: where exactly is the problem?

- A know netfilter problem, for that kernel version?
- A problem with the bsd stack/ipfilter?
- Something else?

Even after all the googling, I'm confused about this.

Thanks for any help.

Pedro Abreu




[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3205 bytes --]

                 reply	other threads:[~2007-02-16 17:00 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=1171645216.5317.49.camel@localhost.localdomain \
    --to=pedro.abreu@anubisnetworks.com \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox