Foreign Spammers

Site news and information.
Post Reply
User avatar
Nathan
Site Admin
Posts: 92
Joined: Wed Feb 13, 2019 7:09 pm
Location: Roundup, Montana
Contact:

Foreign Spammers

Post by Nathan » Tue Jan 07, 2020 2:59 pm

Sorry all, for the amount of Russian and Ukrainian spam posts lately. I'm working diligently to keep it removed while I search out a permanent solution. Please bear with me. I blocked new registration posting ability but their robots had already set up dozens of accounts that I was unaware of.
Nathan in Image

User avatar
yankeejib
Posts: 37
Joined: Thu Mar 07, 2019 9:39 am
Location: Tampa, FL/ Swain County, NC

Re: Foreign Spammers

Post by yankeejib » Wed Jan 08, 2020 1:51 am

I'll have to vote for Trump now.
Sincerely,

Professor Stu Padasol

Doing what others find difficult is talent
Doing what others find impossible is genius.
Why be difficult when with a little more effort, you can be impossible.

User avatar
Nathan
Site Admin
Posts: 92
Joined: Wed Feb 13, 2019 7:09 pm
Location: Roundup, Montana
Contact:

Re: Foreign Spammers

Post by Nathan » Fri Jan 10, 2020 5:32 pm

I've disabled registrations entirely, at least for now while I search for a better solution. I'm also seeking advice on IT forums, but if any of you can answer this question, please do:

I currently use -j DROP in my Linux based router commands to keep international spammers out of my Windows Server 2016 based server, and would like to block entire countries where the spammers originate (I'm aware of the response time impact this will have). Since my server is regionally specific anyway, nobody outside of the US needs access. This is a sample of what's in my Commands page on my router:

iptables -I FORWARD -s 218.0.0.0/8 -j DROP
iptables -I FORWARD -s 112.0.0.0/8 -j DROP
iptables -I FORWARD -s 59.0.0.0/8 -j DROP
iptables -I FORWARD -s 58.22.0.0/15 -j DROP
iptables -I FORWARD -s 208.88.96.0/21 -j DROP
iptables -I FORWARD -s 117.0.0.0/8 -j DROP
iptables -I FORWARD -s 125.0.0.0/8 -j DROP
iptables -I FORWARD -s 192.245.43.0/24 -j DROP
iptables -I FORWARD -s 121.0.0.0/8 -j DROP
iptables -I FORWARD -s 124.0.0.0/8 -j DROP
iptables -I FORWARD -s 123.0.0.0/8 -j DROP
iptables -I FORWARD -s 122.0.0.0/8 -j DROP
iptables -I FORWARD -s 116.0.0.0/8 -j DROP
iptables -I FORWARD -s 113.0.0.0/8 -j DROP

China alone has over 8000 IP scopes that I'd like to add, but I don't want to have to manually create each line with the applicable IP scopes. Is there any type of script or website where I can simply paste a list of all 8000+ IP CIDR scopes that will create my commands for me to copy and paste back into my router? I have to believe there is a way to automate this redundant coding.
Thanks!
Nathan in Image

Post Reply