All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henrik Nordstrom <hno@marasystems.com>
To: Sven Anders <anders@anduras.de>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: New API / POM modules to merge.... (was: Unique rule ID?!)
Date: Tue, 9 Nov 2004 20:09:07 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.61.0411092003470.7243@filer.marasystems.com> (raw)
In-Reply-To: <4190E80C.8020106@anduras.de>

On Tue, 9 Nov 2004, Sven Anders wrote:

> | The API is being redesigned in pkttables.
>
> Is there documentation for the new API available?

It is "currently" being designed from what I know. Harald?

> Some question:
>
> ~ 1. "TTL or HOPLIMIT: no, it's dangerous"
>
> ~    Why? Don't use it, if it's dangerous - or does it crash the kernel?

It (TTL) in it's current form violates fundamental aspects of IP, easily 
allowing the administrator to "accidently" create configurations which 
will crash the network.

In case of the TTL match it should be sufficient to change

         if (new_ttl != iph->ttl) {

to

         if (new_ttl < iph->ttl) {

and remove the increase option to make it safe, but at the same time you 
loose a lot of the powers of this target so it may not be desireable to 
make this change..

Regards
Henrik

  reply	other threads:[~2004-11-09 19:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20041108134743.217B817BE5@grasshopper.anduras.de>
2004-11-08 20:28 ` Re: Unique rule ID?! Sven Anders
2004-11-08 21:32   ` Henrik Nordstrom
2004-11-09 15:53     ` New API / POM modules to merge.... (was: Unique rule ID?!) Sven Anders
2004-11-09 19:09       ` Henrik Nordstrom [this message]
2004-11-09 21:54         ` New API / POM modules to merge Sven Anders
2004-11-09 23:07           ` Henrik Nordstrom
2004-11-09 23:16             ` Patrick McHardy
2004-11-09 23:27               ` Sven Anders
2004-11-09 23:55                 ` Patrick McHardy
2004-11-09 23:46               ` Henrik Nordstrom

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=Pine.LNX.4.61.0411092003470.7243@filer.marasystems.com \
    --to=hno@marasystems.com \
    --cc=anders@anduras.de \
    --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.