Black list unwanted spam bot by user agen and IP

Danielx386

Member
Messages
711
Reaction score
9
Points
18
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
 

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
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.
 

nxtitle

New Member
Messages
8
Reaction score
0
Points
0
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.
 

Danielx386

Member
Messages
711
Reaction score
9
Points
18
This look good, is there a way that I can intergrate this with wordpress? Or better yet, put in a .htaccess file?
 

cybrax

Community Advocate
Community Support
Messages
764
Reaction score
27
Points
0
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(8) = "212.178.15.201"
sIParray(8) = "194.8.75.155"
sIParray(8) = "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(18) = "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.
--------------------------------------------------------------
 

Danielx386

Member
Messages
711
Reaction score
9
Points
18
And I can just put this in the header of the wordpress theme?

By the way, thankyou for posting up this list :)
 
Last edited:

cybrax

Community Advocate
Community Support
Messages
764
Reaction score
27
Points
0
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.
 
Top