Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: What's the best way to block these IP's?
Date: Sun, 19 Jun 2005 10:07:19 -0400	[thread overview]
Message-ID: <20050619140719.GA4788@bender.817west.com> (raw)
In-Reply-To: <004701c5742f$e5d47c40$45d4a8c0@martin>

On Sat, Jun 18, 2005 at 01:02:31PM -0500, Netfilter wrote:
> Thanks fo the reply... I noticed the error of the "/32" CIDR right after I 
> sent it.
> Brain fart on my part.
> I just wanted to know if
> 218.0.0.0 without the" /*"  would work. (blocking the whole 218.0.0.0 
> block)

the default prefix length when none is specified is /32, so no...using
218.0.0.0 in a rule is not the same as 218.0.0.0/8; it is the same as
218.0.0.0/32.

<need coffee>
 would it really have been such a daunting task to just add a rule using
 both notations and compared the results?
</need coffee>

-j

--
"Peter: Now, I know you're a feminist, and I think that's adorable, but
 this is grown-up time and I'm the man."
        --Family Guy


  reply	other threads:[~2005-06-19 14:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-18 16:46 What's the best way to block these IP's? Netfilter
2005-06-18 17:46 ` /dev/rob0
2005-06-18 18:02   ` Netfilter
2005-06-19 14:07     ` Jason Opperisano [this message]
2005-06-18 20:56 ` Cedric Blancher
  -- strict thread matches above, loose matches on Subject: below --
2005-06-18 16:29 Netfilter

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=20050619140719.GA4788@bender.817west.com \
    --to=opie@817west.com \
    --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