Project Honeypot plugin?
-
v0.4.0 includes
req.ip
passed into the userData on registration, so officially, any anti-spam plugin created will already be compatible with NodeBB v0.4.0.Unofficially, I'd like to get decent spam protection out the door for v0.4.1. So I'm using this thread to collaborate with plugin writers to bounce ideas off one another
Relevant Points
-
Registration IP Address Tracking
- Looking at implementing Project Honeypot, except there's actually no npm module for querying and consuming its API, so I made an NPM module for it.
- I am planning to add one or two maintainers to the repo, perhaps @schamper would be interested? Would also welcome your input re: my implementation
- The relevant hook in question is
filter:user.create
. If a spammer is found on registration, we can do this:callback(new Error('bad-ip'));
, and NodeBB will stop the registration process and throw an alert with the words "bad-ip" in it. Not the greatest of messages, but we can add a language key for that error code for v0.4.1.
- Looking at implementing Project Honeypot, except there's actually no npm module for querying and consuming its API, so I made an NPM module for it.
-
Post specific IP address tracking
- Not implemented in NodeBB core, may be a part of v0.4.1
-
-
So I'm using this thread to collaborate with plugin writers to bounce ideas off one another
I'm not a plugin writer, but...
But what's the status of Anti-spam solution for registration page #1213 and how does it fit in with this Honeypot plugin?
-
Yeah, that was actually the reason I started this thread Just didn't want to dig up the thread from the deep.
Now that the core is a bit more mature, we can get this going.
@planner This plugin is transparent to the end user. It is not a front-end solution.
-
@julian said:
This plugin is transparent to the end user. It is not a front-end solution.
Unless you're in the project honeypot database, then you get the 403 error message.
(For anyone that's concerned they'll lose members to these error messages, there's a link in the error message for them to verify they're not a spam bot, it's a great tool)
-
I put it on my todo list