All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Harald Welte <laforge@netfilter.org>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Re: [RFC] TTL target goes mainline ?
Date: Fri, 26 Aug 2005 13:43:55 +0200	[thread overview]
Message-ID: <430F007B.20605@trash.net> (raw)
In-Reply-To: <20050826111832.GT4226@rama.de.gnumonks.org>

Harald Welte wrote:
> Hi!
> 
> As we are in the process of pushing more 'new' code from
> patch-o-matic-ng into the mainline kernel, I was thinking whether or not
> we should also submit potentially-dangerous targets such as the TTL
> target to the kernel.
> 
> The TTL target allows setting, incrementing and decrementing of the TTL,
> and is therefore extremely dangerous. OTOTH, there are ISP's that check
> whether you use a router or not (and thus filter or not) by looking at
> the TTL of every packet that comes in on your link - so there is a
> practical use of this to a number of people.
> 
> At some point the kernel had a CONFIG_DANGEROUS, but that had been
> removed. I think CONFIG_DANGEROUS would be exactly the right thing for
> TTL manipulations.
> 
> So my proposal is to only allow decrementing (or setting to a value
> below the original one) the TTL unless CONFIG_EXPERIMENTAL is set. 

Why not, people can just as easy shoot themselves using bridging or
tc actions. But I'm not sure about enabling only parts of functionality
without CONFIG_EXPERIMENTAL, why not simply depend entirely on it?

  reply	other threads:[~2005-08-26 11:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26 11:18 [RFC] TTL target goes mainline ? Harald Welte
2005-08-26 11:43 ` Patrick McHardy [this message]
2005-08-26 13:19   ` Harald Welte
2005-08-26 13:41     ` Patrick McHardy
2005-08-26 15:16       ` Phil Oester
2005-08-26 15:24         ` Patrick McHardy
2005-08-26 19:20           ` David S. Miller
2005-08-26 12:10 ` Bill Rugolsky Jr.
2005-08-26 17:27 ` Maciej Soltysiak

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=430F007B.20605@trash.net \
    --to=kaber@trash.net \
    --cc=laforge@netfilter.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.