+ Reply to Thread
Results 1 to 8 of 8

Thread: Black list unwanted spam bot by user agen and IP

  1. #1
    Danielx386 is offline x10 Elder Danielx386 is an unknown quantity at this point
    Join Date
    Oct 2009
    Location
    Australia
    Posts
    698

    Black list unwanted spam bot by user agen and IP

    I'm not sure if this the right place for this, but is there a list of user agents and their IP address of spambots and other nasties?

    Daniel

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Black list unwanted spam bot by user agen and IP

    I've seen a list of either or but not both. Most of them are just site rippers like people using wget and other tools. User-agent isn't that dependable, I could give a user agent string that says I'm using a PSP to browse the forums if I wanted to, even though I'm on my computer.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    Danielx386 is offline x10 Elder Danielx386 is an unknown quantity at this point
    Join Date
    Oct 2009
    Location
    Australia
    Posts
    698

    Re: Black list unwanted spam bot by user agen and IP

    Ok, can someone give me a list of known bad ip address?

  4. #4
    nxtitle is offline x10Hosting Member nxtitle is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    8

    Re: Black list unwanted spam bot by user agen and IP

    Take a look at http://proxybl.org
    Essentially they have a spider that goes around looking for open proxies, and adds everything that could be an open proxy into a blocklist. This blocklist is accessed by DNS.

    They explain how exactly to use it, however if you still don't know to use it then reply back to this post and I should see it.

  5. #5
    Danielx386 is offline x10 Elder Danielx386 is an unknown quantity at this point
    Join Date
    Oct 2009
    Location
    Australia
    Posts
    698

    Re: Black list unwanted spam bot by user agen and IP

    This look good, is there a way that I can intergrate this with wordpress? Or better yet, put in a .htaccess file?

  6. #6
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    Re: Black list unwanted spam bot by user agen and IP

    Quote Originally Posted by Danielx386 View Post
    Ok, can someone give me a list of known bad ip address?
    User agent strings are getting less reliable for weeding out spammers mainly because they can easily spoofed and that increasingly we are seeing more 'mechanical turks' being employed. Hapless souls who think that they can earn a living posting links or harvesting email addresses at one cent a time.

    <%
    'declare variables
    Dim sIP
    Dim sIParray(40)
    'assign our blocked IP addresses to our array
    sIParray(0) = "84.108.121.252"
    sIParray(1) = "87.118.108.40"
    sIParray(2) = "88.119.247.27"
    sIParray(3) = "89.139.190.183"
    sIParray(4) = "91.207.225.2"
    sIParray(5) = "94.102.63.15"
    sIParray(6) = "212.95.54.175"
    sIParray(7) = "194.8.75.206"
    sIParray( = "212.178.15.201"
    sIParray( = "194.8.75.155"
    sIParray( = "194.8.75.64"
    sIParray(9) = "91.64.167.67"
    sIParray(10) = "84.178.3.101"
    sIParray(11) = "194.8.75.157"
    sIParray(12) = "194.8.74.53"
    sIParray(12) = "188.163.41.9"
    sIParray(13) = "194.8.74.124"
    sIParray(14) = "89.149.244.88"
    sIParray(15) = "194.8.75.155"
    sIParray(16) = "60.19.24.7"
    sIParray(17) = "188.134.40.30"
    sIParray(1 = "194.8.75.151"
    sIParray(19) = "217.162.98.26"
    sIParray(20) = "194.8.75.96"
    sIParray(21) = "89.28.114.111"
    sIParray(22) = "213.219.103.117"
    sIParray(23) = "94.102.63.13"

    'retrieve the visitors IP address
    sIP = Request.ServerVariables("REMOTE_ADDR")

    'loop through the banned IPs using the UBound function
    For i = 0 to UBound(sIParray)
    'check if IP address matches any of the blocked IPs
    If sIP = sIParray(i) Then
    Response.Redirect "browser closer.html"
    End If
    Next
    %>

    There are other ways of doing this, htaccess for instance.
    Incidently these are all fresh spammer IPs from the last few days from my forum.
    --------------------------------------------------------------------
    Add a little more flavour to the access denied page with a nifty little bit of perl script or even javascript that will crash the offending browser for good measure.
    --------------------------------------------------------------
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


  7. #7
    Danielx386 is offline x10 Elder Danielx386 is an unknown quantity at this point
    Join Date
    Oct 2009
    Location
    Australia
    Posts
    698

    Re: Black list unwanted spam bot by user agen and IP

    And I can just put this in the header of the wordpress theme?

    By the way, thankyou for posting up this list
    Last edited by Danielx386; 10-16-2009 at 10:33 PM.

  8. #8
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    Re: Black list unwanted spam bot by user agen and IP

    Dynamic drive has useful little online tool for htaccess banning , just input the IP and it generates the script for you.

    http://tools.dynamicdrive.com/userban/

    The VB script is a bit rough and will probably need a few tweaks but the principle should work for most.
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers