1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I block certain networks

Discussion in 'Commission Junction' started by BodyAthletics, Mar 9, 2014.

  1. BodyAthletics

    BodyAthletics Newbie

    Joined:
    Jan 17, 2013
    Messages:
    12
    Likes Received:
    0
    Getting a lot of spam traffic from one internet network. How can I block this network from the site?
     
  2. artizhay

    artizhay BANNED BANNED

    Joined:
    Nov 21, 2010
    Messages:
    1,867
    Likes Received:
    1,335
    These should be good starting points for you:
    http://www.javascriptkit.com/howto/htaccess5.shtml
    http://incredibill.me/htaccess-block-country-ips
    http://www.webmasterworld.com/forum92/6459.htm

    Just deny access to the IP block of the network in the root .htaccess file.
     
  3. konthelion

    konthelion Newbie

    Joined:
    Jan 25, 2010
    Messages:
    1
    Likes Received:
    0
    You can block them using .htdeny or iptables from Ip2location's country blocker. See Ip2location free firewall list for generating the IP list.