From: Andi Kleen <ak@suse.de>
To: Tony Gale <gale@syntax.dera.gov.uk>
Cc: Andi Kleen <ak@suse.de>,
linux-kernel@vger.kernel.org,
Jussi Hamalainen <count@theblah.org>
Subject: Re: IP defrag (was RE: ipchains blocking port 65535)
Date: Wed, 17 Jan 2001 19:01:26 +0100 [thread overview]
Message-ID: <20010117190126.B2859@gruyere.muc.suse.de> (raw)
In-Reply-To: <20010117183547.A2528@gruyere.muc.suse.de> <XFMail.20010117174430.gale@syntax.dera.gov.uk>
In-Reply-To: <XFMail.20010117174430.gale@syntax.dera.gov.uk>; from gale@syntax.dera.gov.uk on Wed, Jan 17, 2001 at 05:44:30PM -0000
On Wed, Jan 17, 2001 at 05:44:30PM -0000, Tony Gale wrote:
>
> On 17-Jan-2001 Andi Kleen wrote:
> >
> > Connection tracking always defrags as needed.
> > masquerading/NAT/iptables
> > with connection tracking uses that.
> >
> > This means that if any of these are enabled and your machine acts
> > as a
> > router lots of CPU could get burned in defragmentation, and packets
> > will not forwarded until all fragments arrived.
>
> Hmm... ok, what if I'm on a single nic system using ipchains on the
> input and want to always defrag before they hit the ipchains
> filter, what settings would I need? No masq., no NAT. (bearing in
> mind that ipchains differentiates between SYN+frag and noSYN+frag.
You probably need to just load ip_conntrack_standalone and make sure it runs.
It has a higher priority than ipchains in the prerouting chain and should just defragment
things.
Better would it be to just write a small netfilter module with a higher
priority than ipchains that always defrags.
Actually I thought I've once seen such a beast, but it doesn't seem to
be included in the main kernel now that I look for it. It's all only a few
lines of code anyways.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2001-01-17 18:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-17 13:40 ipchains blocking port 65535 Jussi Hamalainen
2001-01-17 14:50 ` Tony Gale
2001-01-17 17:12 ` Jussi Hamalainen
2001-01-17 17:15 ` IP defrag (was RE: ipchains blocking port 65535) Tony Gale
2001-01-17 17:35 ` Andi Kleen
2001-01-17 17:44 ` Tony Gale
2001-01-17 18:01 ` Andi Kleen [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=20010117190126.B2859@gruyere.muc.suse.de \
--to=ak@suse.de \
--cc=count@theblah.org \
--cc=gale@syntax.dera.gov.uk \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®