All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables/nat and out of window packets
@ 2007-02-16 17:00 Pedro Abreu
  0 siblings, 0 replies; only message in thread
From: Pedro Abreu @ 2007-02-16 17:00 UTC (permalink / raw)
  To: netfilter

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-16 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-16 17:00 iptables/nat and out of window packets Pedro Abreu

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.