Re: What's the best way to block these IP's?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux