Configuring <Limit GET HEAD POST> in httpd.conf file.

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

 



I apologize if this has been answered before. I have had a running
Apache server now for several months. I am constantly getting bombarded
with attempts by IPs from China trying to gain access to my network.
I do not need users from China to have access to my server. I would like
to use something like the list that follows to stop it. Unfortunately,
I am not sure exactly where in my httpd.conf file I should put this so
it works correctly. I have a very basic conf file and am not using
virtual users although I do have SSL working.

This list originates from: <http://www.countryipblocks.net/>

<Limit GET HEAD POST>
order allow,deny
# Country: CHINA
# ISO Code: CN
# Total Networks: 1,927
# Total Subnets:  308,311,808
deny from 1.12.0.0/14
deny from 1.24.0.0/13
deny from 1.45.0.0/16
deny from 1.48.0.0/15
#more entries
#
allow from all
</Limit>

Thanks!

-- 
Carmel â
carmel_ny@xxxxxxxxxxx

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
__________________________________________________________________

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux