What does the "0/24" in deny from 18.104.22.168/24 refer to, please, and how would I make this cover 22.214.171.124?
[edited by: roshaoar at 10:31 pm (utc) on Mar 10, 2014]
10:16 pm on Mar 10, 2014 (gmt 0)
Google: CIDR Notation.
10:27 pm on Mar 10, 2014 (gmt 0)
Got it - thanks. Was googling forward slashes which really didn't help. *hit self with mallet*
2:20 am on Mar 11, 2014 (gmt 0)
how would I make this cover 126.96.36.199
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.)
12:11 pm on Mar 11, 2014 (gmt 0)
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.