All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robin Johnson <robbat2@orbis-terrarum.net>
To: netfilter-devel@lists.netfilter.org
Subject: Re: [NEW EXTENSION] Condition Match
Date: Tue, 29 Oct 2002 18:52:34 -0800	[thread overview]
Message-ID: <3DBF4972.2020305@orbis-terrarum.net> (raw)
In-Reply-To: 3DBED94E.1030107@videotron.ca

Stephane Ouellette wrote:
> To enable the rules, issue:        echo 1 > /proc/net/ipt_condition/quake
> To disable the rules, issue:       echo 0> /proc/net/ipt_condition/quake
Just one suggestion with this, is /proc/net the right part of /proc for this?
/proc/net seems to be statistics reporting only, with /proc/net/sys/ipv{4,6} 
being where options are controlled.

> As of this writing, the condition match module supports only one 
> condition per rule.  I think I will add in a near future the possibility 
> to match on many conditions at the same time, using the syntax:     
> --condition file1,file2,file3. . .
This may be getting somewhat complex, but would it be possible to have binary 
ops on the conditions?
eg: --condition file1 --conditionand file2 etc. But this MIGHT be getting a 
little complex IMHO ;-).

Other than that, it looks like a wonderful idea to be able to turn off/on rules 
as needed.

  parent reply	other threads:[~2002-10-30  2:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29 18:54 [NEW EXTENSION] Condition Match Stephane Ouellette
2002-10-29 23:00 ` Brad Chapman
2002-10-30  2:52 ` Robin Johnson [this message]
2002-10-30  4:43 ` allen
2002-10-30  9:04   ` Harald Welte
2002-10-30 10:34     ` Peter Surda
2002-10-30 11:59     ` Brad Chapman
2002-11-01  1:34   ` Stephane Ouellette
2002-11-02 14:47 ` Harald Welte
  -- strict thread matches above, loose matches on Subject: below --
2002-11-01  1:51 Stephane Ouellette
2002-11-02  0:41 ` allen

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=3DBF4972.2020305@orbis-terrarum.net \
    --to=robbat2@orbis-terrarum.net \
    --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.