Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Rob Sterenborg" <rob@sterenborg.info>
To: netfilter@lists.netfilter.org
Subject: RE: Questions on rules syntax
Date: Thu, 12 Feb 2004 19:41:37 +0100	[thread overview]
Message-ID: <20040212184138.E9C803A4@sterenborg.info> (raw)
In-Reply-To: <402BBD9E.2020003@aros.net>

> I am trying to add a rule that covers part of a class C 
> range.  I want to allow 10.0.0.50 through 10.0.0.254 or 
> simply deny .1 through .50 then 
> allow the whole range.   Is there a syntax that will allow me 
> to do this 
> in one rule?  I have searched extensively before bugging the 
> list for help.

If you search on www.netfilter.org in the Patch-O-Matic Base repository, you
can find :
http://www.netfilter.org/patch-o-matic/pom-base.html#pom-base-iprange

For this, you will have to patch and recompile your own kernel as I don't
think this functionality is enabled in a default kernel from a Linux distro.


Gr,
Rob



  reply	other threads:[~2004-02-12 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-12 17:53 Questions on rules syntax Scott Hall
2004-02-12 18:41 ` Rob Sterenborg [this message]
2004-02-12 19:00 ` Chris Baker

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=20040212184138.E9C803A4@sterenborg.info \
    --to=rob@sterenborg.info \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox