Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
spammers, extermination of
#1
We need a dedicated thread for this, cuz I keep nattering up other threads. Wink
I just saw Popeye's comment in another thread, so I have company. Big Grin

A couple of months ago, I did some research and then some brief experimentation on this, but have to refresh my brain.
Tonight, I'll have unmetered internet for a couple of hours, and just added this to my ToDo list.

First, how bad is the problem?
Roughly how many spam posts do you see per day/week?
Roughly how many are stopped (before anyone sees them) by that external tool you use?

I'll post more tonight, just want to get some info to help me understand the scope of the problem. Smile
"Cause how you get there is the worthier part." Shephard Book to Kaylee, Firefly

Apr-23 Update:
Van engine replaced, completed first two week National Forest shakedown voyage, now heading North!
Thanks for your kind & generous support! Smile

[-] The following 1 user says Thank You to Kaylee for this post:
  • rvpopeye (04-16-2019)
Reply
#2
just an annoyance,the only thing to make it easier would be able to block countries,pakistan and china are the worst but vpn's would get around that

the automated systems gets hundreds/thousands,i zap 2-3 at night,wake up and cammy has zapped 2-3,they come in waves
[-] The following 1 user says Thank You to Blacktank for this post:
  • Kaylee (04-16-2019)
Reply
#3
Have you tried using ".htaccess" to block by country?
I can very easily provide the lines necessary to do so. Smile
That might slow down the site, but we're small enough that it's a worthwhile experiment... plus, it's way-kewl fun to Nuke China, without harming anybody. Smile

Wow, hundreds/thousands of Kills rock! Smile
That alone must be a significant load on the server.

I'm on an early morning schedule this week, so will send you something early evening my time.
You're in a great location for experimenting - you can hack ".htaccess" (after making a local backup), play around a bit, and not have to worry about most of the forum members. Smile
"Cause how you get there is the worthier part." Shephard Book to Kaylee, Firefly

Apr-23 Update:
Van engine replaced, completed first two week National Forest shakedown voyage, now heading North!
Thanks for your kind & generous support! Smile

Reply
#4
Here ya go, all IP address ranges for country "China" (total of 423,224,320 IPs), as of last Friday.
I have it setup with multiple ranges per line, on the theory that's faster, but I'm a programmer, not-a-sysadmin.
Frater can give you better advise. Smile

Here's how you install it:
  • use an SFTP client to go to the public main directory for VD
  • there should be a file named ".htaccess" already there
  • copy the existing ".htaccess" to your computer (it's preciousssss)
  • make a separate copy on your local laptop, then copy it to a CD/DVD/USB-stick or any other backup media (did I mention it's preciousss?!?)
  • add the stuff in the attached plain text file to the bottom of your main local ".htaccess", and always add a blank line or two afterwards
  • very quickly: rename your server ".htaccess" (in case something goes wrong), then copy your local laptop version to the server
  • try accessing VD, and do Some Stuff, and if nothing blows up, breathe a sign of relief Smile
  • if anything is at all wonky, delete or rename the server file that you hacked, and restore/rename the original
That probably sounds a bit intimidating, but it's totally routine admin stuff. Smile
If you make a mistake, almost always it will be real obvious and the whole site will be broken.
Just keep your SFTP client open, and you can very quickly fix things by rolling back the changes.

If you'd rather I do this, feel free to email me some temporary server SFTP/FTP credentials, and I'll do it tonight or early tomorrow.


Attached Files
.zip   china_ips.zip (Size: 20.24 KB / Downloads: 0)
"Cause how you get there is the worthier part." Shephard Book to Kaylee, Firefly

Apr-23 Update:
Van engine replaced, completed first two week National Forest shakedown voyage, now heading North!
Thanks for your kind & generous support! Smile

Reply
#5
A few hours after I posted that, figured I should really deploy the contents of that exact file into an .htaccess file on a site under my control. Did it to my anti-spam research site, since if it breaks, folks will tell me. Smile

It works fine. Smile
100% nukeage of Chinese IPs.
Granted, I'm checking using the same source of data (APNIC's own latest delegated list), so there shouldn't be any outliers.
"Cause how you get there is the worthier part." Shephard Book to Kaylee, Firefly

Apr-23 Update:
Van engine replaced, completed first two week National Forest shakedown voyage, now heading North!
Thanks for your kind & generous support! Smile

[-] The following 1 user says Thank You to Kaylee for this post:
  • rvpopeye (04-20-2019)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)