10 points · by benhoyt · 17y ago · 9 comments
Mostly it's some site like nycshorttermrental.com submitting say 200 times with a different random title each time, over the course of a day or two.
Something like Akismet doesn't work, because there's not enough data. All you give DecentURL is one URL, and Akismet can't tell it's spam from a bare URL (you can try it at http://www.voidspace.org.uk/cgi-bin/akismet/test_akismet.py).
Any suggestions? How do other URL redirection services kill spam? (Or do they just ignore the problem, and let the spam come in?)
In other words, we periodically do human review and obvious spammers are IP banned. It's a neverending problem, but they don't use so many IPs that things are out of control.
If you do come up with a better approach that doesn't ruin usability, I'd love to hear it, too!
Hard to say though-- could be a different "shape" to your spam than what we get.
Rate-limit link creation based on the user's IP.
Check submitted links against a URIBL. Prevent users from adding links which are on the blacklist, and remove links which appear on the blacklist.
Reject links to newly registered domains outright.
I may well end up adding a captcha of some sort. However, that effectively means I can't have a public "create a DecentURL" API call like I do now -- they'd have to sign up and have an API key or something. That's a bit of a bummer.