Pages:
1
2 |
miqrogroove
|
|
Changes to reCAPTCHA
As part of the next XMB version in development, I made changes to help with the new pricing structure of Google's reCAPTCHA service.
In our original implementation, the captcha was displayed as soon as anyone visits the registration page. This causes unwanted traffic between bots
and the Google API.
Going forward, there will be an introduction page for registration. This means the reCAPTCHA gets pushed back to the 2nd page and won't be
visited by bots quite so frequently.
There is also a future change regarding keys "to be migrated to a Google Cloud projected by the end of 2025." It is my next priority to
learn how that affects us here.
|
|
miqrogroove
|
|
|
|
miqrogroove
|
|
|
|
flushedpancake
Member  
Posts: 112
Registered: 4-1-2024 Location: England
Member Is Offline
Mood: Pretty good.
|
|
I'd rather avoid captchas altogether, they just annoy people while doing little to actually prevent spammers.
My proposal is to go for some user-configurable Q&A,. Then again, good luck educating admins to bother setting it up properly so it's both
accessible enough for users and not too easy for spammers. (
I remember setting up a phpbb board over 4 years ago that I've long since left, and there was a 'sortable q&a' feature that had
minimal JS and made you put different things into different boxes:
I think there's maybe been one spam account that registered in the whole time of its existence, and while it's... obnoxiously opinionated,
to say the least, it works for the purpose of that specific forum.
In other words, configure something like this correctly, and you've got yourself something that works with minimal JS and tracking things -
therefore works even under 'strained conditions'. You could expand on the idea a bit more than phpbb did which I think only allows for the
one question - as long as the suggested defaults are strong I think admins should be okay
|
|
miqrogroove
|
|
If there's an open source solution that you know about, that's possible. This isn't a wheel that we should try to reinvent.
|
|
miqrogroove
|
|
I saw a site today using this one:
https://www.hcaptcha.com/
These different vendors have interesting free features. I'm just not sure yet if we need to support more than one.
|
|
flushedpancake
Member  
Posts: 112
Registered: 4-1-2024 Location: England
Member Is Offline
Mood: Pretty good.
|
|
I've seen numerous sites using that one. Might be worth adding since it's probably the one I encounter most after reCAPTCHA, and it seems to
have especially come about ever since the changes to the API.
|
|
miqrogroove
|
|
I'm reading more about these and have some new thoughts:
reCAPTCHA doesn't specifically require a migration to the new API. What they are really going to require is a new pricing structure. So
I'm seeing a need to install the alpha version of XMB and find out if those updates will cut the reCAPTCHA traffic counts to an affordable level.
If not, I would be inclined to move away from Google on this feature rather than implement a new API.
Cloudflare seems more committed to offering a free tier and eliminating user puzzles. This is my fallback plan.
hCaptcha is a little weird in the details. They offer a free tier, but they want $140 per month for passive verification. This puts them at a huge
disadvantage.
|
|
flushedpancake
Member  
Posts: 112
Registered: 4-1-2024 Location: England
Member Is Offline
Mood: Pretty good.
|
|
I've never had issues with the cloudflare verification thingy. It seems like it might be the way to go.
|
|
miqrogroove
|
|
I'm monitoring the bot traffic this morning and the results are interesting. Even though the bots are requesting captcha at a rate well in
excess of 10,000 per month, the success rate is much lower. The XMB server is only seeing the verification/assessment process at a rate of about
3,000 per month.
|
|
miqrogroove
|
|
The last thing to tackle for reCAPTCHA specifically is the new settings offered by Google. During setup, on the reCAPTCHA Classic site, it asks for
"Score based (v3)" or "Challenge (v2)" type protection. Currently, we only support v2. And then it asks for Checkbox vs.
Invisible, and we're not set up for the invisible mode. I also suspect there's no way for XMB to check which settings were used on the
Google side of the API.
On the Google Cloud site, it doesn't ask for those things during setup. In step 2, there's a slider labeled, "Will you use
challenges?"
I don't even know which combinations of these different sites and APIs are currently compatible with XMB. We will need to do some experiments
and offer some instructions.
|
|
flushedpancake
Member  
Posts: 112
Registered: 4-1-2024 Location: England
Member Is Offline
Mood: Pretty good.
|
|
Quote: Originally posted by miqrogroove  | I'm monitoring the bot traffic this morning and the results are interesting. Even though the bots are requesting captcha at a rate well in
excess of 10,000 per month, the success rate is much lower. The XMB server is only seeing the verification/assessment process at a rate of about
3,000 per month. |
Any specific patterns with the success rate? Countries, browser agents etc?
Could be worth looking into for the sakes of analytical purposes. I'm a little curious if anything crops up in particular.
|
|
miqrogroove
|
|
I don't want to advertise the details too much so let's just say the latest changes are having a big impact on the captcha traffic.
Officially, Google only publishes daily numbers, so after a few days I can share a screenshot of what happened in the daily trend.
Also remember, these changes tend to be temporary. The bots are always evolving so what works today isn't going to work years later.
I'm also weary of Google's intent to either monetize the bot traffic or "fail open" when quotas are exceeded. That's bad
policy. I will continue to evaluate the idea of offering the Cloudflare alternative.
|
|
flushedpancake
Member  
Posts: 112
Registered: 4-1-2024 Location: England
Member Is Offline
Mood: Pretty good.
|
|
Understandable, don't want to give people ideas I suppose.
One thing about reCAPTCHA I have noticed that it treats you much more leniently if you're using latest Chrome/Edge/Safari and are logged into a
Google account (and I presume it uses the data from that to determine whether to give a challenge or not). This, I'll be honest, is quite the
concern for user privacy...
Personal anecdote - there are times I have recalled having to switch to my phone simply to fill out a reCAPTCHA because it's temporarily
"blocked my network" - but then suddenly doesn't care when it's iOS Safari...
CloudFlare on the other hand doesn't seem to discriminate in this way.
|
|
miqrogroove
|
|
Captcha requests on 6/26: 1,695
Captcha requests on 6/29: 2
|
|
flushedpancake
Member  
Posts: 112
Registered: 4-1-2024 Location: England
Member Is Offline
Mood: Pretty good.
|
|
LOL nice, literally just from moving it to the other page?
Btw, two of the links in the who's online thing for looking up IPs are broken, IIRC
|
|
miqrogroove
|
|
I can't confirm that. Please be less vague.
|
|
lottos
Administrator       
Posts: 486
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
|
|
flushedpancake
Member  
Posts: 112
Registered: 4-1-2024 Location: England
Member Is Offline
Mood: Pretty good.
|
|
Even the labels seem wrong. W and T seem to be the only ones that have meaning.
I guess you could always send in a github pull request. I'm cleaning up that bbcode doc file atm.
|
|
miqrogroove
|
|
I might have to delete the traceroute link. Have you found any alternative?
|
|
Pages:
1
2 |