Yes, that's exactly what I was looking for (the correct syntax), Cian
Cian Davis wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>>> Correct me if I'm wrong but isn't that range just 18.104.22.168/18 so
> makes for a very simple Deny from?
>> Patrick Stack wrote:
>>>> Anyone know the syntax for banning a block of IP addresses in
>>>> I want to deny access to all IPs from 22.214.171.124 to 126.96.36.199
>> as I'm getting tons of comment spam from this Chinese source. Is
>> there a way to deny with a single line, or do I have to put each
>> one on a separate line like so: deny from 218.98.32. deny from
>> 218.98.33. deny from 218.98.34. deny from 218.98.35. deny from
>> 218.98.36. deny from 218.98.37. deny from 218.98.38. deny from
>> 218.98.39. deny from 218.98.40. deny from 218.98.41. and so on?
>>>> I've googled and read extensively online but haven't come across an
>> answer yet.
>>>> Patrick Stack
>>>>> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v188.8.131.52 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org>> iD8DBQFFMMUi2yUma7R/3b8RAjBkAKDF0mbJ+mmK3XgbN0UW+ryQCXZ2aACfXRf6
> -----END PGP SIGNATURE-----
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!