Forum Moderators: phranque

Message Too Old, No Replies

deny from . "0/24"

         

roshaoar

9:45 pm on Mar 10, 2014 (gmt 0)

10+ Year Member



Hello,

What does the "0/24" in deny from 23.244.230.0/24 refer to, please, and how would I make this cover 23.244.230.237?

Thank you

[edited by: roshaoar at 10:31 pm (utc) on Mar 10, 2014]

g1smd

10:16 pm on Mar 10, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Google: CIDR Notation.

roshaoar

10:27 pm on Mar 10, 2014 (gmt 0)

10+ Year Member



Got it - thanks. Was googling forward slashes which really didn't help. *hit self with mallet*

lucy24

2:20 am on Mar 11, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



how would I make this cover 23.244.230.237

It already does. That's what .0/24 means. You can also say
Deny from 23.244.230

omitting the last sector. (Only in IPv4! IPv6 behaves differently.)

roshaoar

12:11 pm on Mar 11, 2014 (gmt 0)

10+ Year Member



Thanks Lucy. This notation is proving useful. I have one of those natty 'most popular pages' things but it is being usurped by ridiculous traffic from China bots to one seriously obscure page. Solved now, I think.