var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Deny server access by *.com
Anyone using APF Firewall:
Is it possible to ban people, similarly to how it can be done in .htaccess?
deny from .ca
= (canada) deny people from isp's using .ca
and so on..
I already achieve this via htaccess, but this doesn't stop the turds from trying to probe my server for root exploits and whatnot. The majority of probes I get are from a certain country extension.
(FYI: I am not looking to ban canada! just using .ca as an example)
........If this can be done, via what command?
Presently I use:
/etc/apf/deny_hosts.rules (bulk edit)
apf -d 192.168.0.1 single ip (to ban an IP)
no, because you are talking about denying via TLD, which assumes that each IP has a correct and relevant rDNS record assigned, which many do not.
you can ban via IP ranges, but not via their hostnames.
WebCertain - SEO, PPC, PR - The services you need to increase your site traffic. Specialists in over 35 languages and country-specific SEO! www.webcertain.com
Excellent website, saves time for people trying to block a country
That's a very neat site, thanks.
Not sure how accurate it is though, it's missing several ranges for Canada.