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
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
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
Ok, can someone give me a list of known bad ip address?
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.
This look good, is there a way that I can intergrate this with wordpress? Or better yet, put in a .htaccess file?
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 ;)
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.
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 ;)