Results 1 to 5 of 5
  1. #1
    Join Date
    May 2007

    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)

    single edit:
    apf -d single ip (to ban an IP)

  2. #2
    Join Date
    Jun 2008
    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!

  3. #3
    Join Date
    Dec 2002
    Try this resource

  4. #4
    Excellent website, saves time for people trying to block a country


  5. #5
    Join Date
    May 2007
    That's a very neat site, thanks.

    Not sure how accurate it is though, it's missing several ranges for Canada.

  6. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts