1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Blocking all traffic from Russia

Discussion in 'Security' started by Sticky Nebula, Jun 25, 2009.

  1. #1
    I keep a close on my on Google Analytics, and the past few days I have been getting 1 or 2 hits from Russia and their average time on site each day is over an hour with a ton of pageviews.

    For everyone else that visits my site, their average time is between 1-5 minutes. Also since these few hits from my site I have been getting different keywords showing up such as "info@+mydomain.com" and all sorts of other weird stuff is showing up on my analytics.

    I got over 20,000 unique hits over the past month and less than 10 from Russia, is there a way I can just block out all the traffic from there, or at least a few cities? Thanks a lot of your help.
     
    Sticky Nebula, Jun 25, 2009 IP
  2. RectangleMan

    RectangleMan Notable Member

    Messages:
    2,825
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Do you run a dedicated? Try mod_geoip. If you aren't running a dedicated see if you can get your host to install it. It works perfect to block by country.
     
    RectangleMan, Jun 26, 2009 IP
  3. awesometbn

    awesometbn Peon

    Messages:
    268
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Check out blockacountry.com or do a search for IP addresses listed by country. Below is the section you would need to copy and paste into your .htaccess file if you wanted to block all of the Russian Federation. Otherwise you can edit to only block certain subnets.

    EDIT: I couldn't paste the list of IP addresses because it was too big.

     
    awesometbn, Jul 12, 2009 IP
  4. drewtoby

    drewtoby Well-Known Member

    Messages:
    763
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #4
    why do you want to block visitors?
     
    drewtoby, Jul 13, 2009 IP
  5. alleballe

    alleballe Guest

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Why? I mean what are you afraid of? The russian mafia :p? Lol
     
    alleballe, Jul 14, 2009 IP
  6. bubbakush

    bubbakush Guest

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i had some issues with alot of russian ips spamming or phishing on my forums and sites so i decided to block the whole country and i have not had issues since.
    you can try this website

    blockacountry.com
     
    bubbakush, Jul 15, 2009 IP
  7. Sticky Nebula

    Sticky Nebula Guest

    Messages:
    164
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yeah I'm sick of the spamming with such low quality traffic from russia anyway. Thanks for the help.
     
    Sticky Nebula, Jul 27, 2009 IP
  8. jeffh23

    jeffh23 Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I've done the same with Nigeria and several other countries. Just get the list, do a google search, of ip addresses and block out the addresses. I've blocked out entire class b's. Works great.
     
    jeffh23, Jul 29, 2009 IP
  9. 1gbinhosting

    1gbinhosting Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Install geoip from maxmind.com, work fine.
     
    1gbinhosting, Aug 2, 2009 IP
  10. darksec

    darksec Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    countryipblocks.net

    they provide lots of formats too
    * Network/CIDR
    * Network/Netmask
    * IP Range
    * .htaccess deny
    * .htaccess allow
    * Decimal/CIDR
    * Hex/CIDR
     
    darksec, Aug 9, 2009 IP
  11. blwire

    blwire Peon

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    blwire, Aug 9, 2009 IP