• Buy & Sell your domain names commission free on Canada's most trusted domaining community. Get your own landing page with a custom website address dn.ca/market/user at: Market Pages

How do you stop spammers from other countries? (1 Viewing)

MapleDots

Community Guide
Verified Member
Boardroom Access
Joined
Nov 4, 2020
Topics
851
Posts
3,630
Likes
3,099
Market
spam.jpg



Today was a big day for the board, we have officially hit the world stage.
I had to delete 41 registrations today and a number of spam messages on the board from foreign IP addresses.


So I implemented a very simple fix and within moments the registrations stopped.

How did I do this incredible feat of engineering you ask?


I made two security questions, answer one wrong and the other one comes up.


1. What province starts and ends with the letter "A" ?

2. What province starts and ends with the letter "O" ?


I had to think a little bit ouside of the box and come up with questions that typical Canadians could answer but most foreigners could not.
Now lets just hope they do not discover google :lol:


It stopped the bots or spammers cold in their tracks.


PLEASE DO NOT POST THE ANSWERS TO THE QUESTIONS
 
  • Like
Reactions: FM

DomainRecap

Highest Post Count
Notable Member
Joined
Nov 23, 2020
Topics
42
Posts
1,832
Likes
917
I think any question would halt them, as these spammers use 'bots that auto-register using known forum conventions.
 

rlm

Highest Like Count
Notable Member
Joined
Nov 7, 2020
Topics
57
Posts
1,437
Likes
1,364
yeah, I just got asked one of the questions just trying to make a post... would be nice to disable that for known users?
 

MapleDots

Community Guide
Verified Member
Boardroom Access
Joined
Nov 4, 2020
Topics
851
Posts
3,630
Likes
3,099
Market
You should only get it once per cookie session, so as long as the cookie is valid it should not ask again.

Post back here if it asks more than once.
 

rlm

Highest Like Count
Notable Member
Joined
Nov 7, 2020
Topics
57
Posts
1,437
Likes
1,364
MapleDots said:
You should only get it once per cookie session, so as long as the cookie is valid it should not ask again.

Post back here if it asks more than once.

I posted a message but I don't see it actually posted.. I think maybe the spam question caused my post to be lost.

I hit submit on my post - that's when the spam question popped up. Then I never noticed that the message was posted. Not sure what exactly happened there.
 

MapleDots

Community Guide
Verified Member
Boardroom Access
Joined
Nov 4, 2020
Topics
851
Posts
3,630
Likes
3,099
Market
That was on your first post, the one where it asked the question right?

You only got that once right?

Let me run some tests.
 

MapleDots

Community Guide
Verified Member
Boardroom Access
Joined
Nov 4, 2020
Topics
851
Posts
3,630
Likes
3,099
Market
rlm said:
I posted a message but I don't see it actually posted.. I think maybe the spam question caused my post to be lost.

I hit submit on my post - that's when the spam question popped up. Then I never noticed that the message was posted. Not sure what exactly happened there.

I ran some tests and it works as designed. I think you posted as I was making some code changes so there was probably a momentary conflict.

I think all is resolved and the system should only ask the question to someone new that is registering and when you wipe your cookie aka go incognito or the cookie expires. All in all you should hardly ever be asked and the post should not go lost again.

Please everyone report here if you are having any issues or are asked a security question more than once.
 

rlm

Highest Like Count
Notable Member
Joined
Nov 7, 2020
Topics
57
Posts
1,437
Likes
1,364
It definitely wasn't the first post, as I had just posted a bit earlier. Not sure what happened. I just remember having made several posts, during one of them got asked the spam question, then noticing that one of my posts was never posted. I don't know if it was something I did (like close the window before posting) or if it was the spam question - but I _think_ it wasn't me closing the window before hitting send and I _think_ it was the spam question...
 

MapleDots

Community Guide
Verified Member
Boardroom Access
Joined
Nov 4, 2020
Topics
851
Posts
3,630
Likes
3,099
Market
I was still doing work on the coding so I would not be surprised if we conflicted. Especially because you had posted earlier and I had to reactivate the script a few times which means it reset the cookie while in use, that always causes unexpected results.

Again report anything unusual and I will recheck
 

rlm

Highest Like Count
Notable Member
Joined
Nov 7, 2020
Topics
57
Posts
1,437
Likes
1,364
MapleDots said:
I was still doing work on the coding so I would not be surprised if we conflicted. Especially because you had posted earlier and I had to reactivate the script a few times which means it reset the cookie while in use, that always causes unexpected results.

Again report anything unusual and I will recheck

Yeah, hopefully it was just a quirk with resetting cookies & working on the code.
 

jaydub

Verified Member
Joined
Nov 6, 2020
Topics
33
Posts
806
Likes
375
I got asked once about “what planet” but not again since
 

LovelyLynda

Member
Joined
Nov 10, 2020
Topics
12
Posts
94
Likes
42
Working fine for me, I've never seen the questions so I assume everything is working.