[gobolinux-devel] wiki spam
Nick Matteo
kundor at kundor.org
Tue Aug 14 15:15:43 UTC 2007
On 8/13/07, MJ Ray <mjr at phonecoop.coop> wrote:
> What sort of regexes are they? Can we block edits adding more than a
> number of links at one time, say 5? In perl, I think that's
> (http://.*){6,} - If we can combine this with a sleep(20) in the save
> routine, that would make it slower for spammers, which makes their
> spamming less worthwhile.
>
> Some other wiki spam-defeaters are listed at
> http://www.hants.lug.org.uk/cgi-bin/wiki.pl?AntiSpam
>
> Hope that helps,
> --
> MJ Ray
Currently, there is a list of a bunch of words like "sexcam" and
"online-casino" that are disallowed. Also disallowed are CSS tags
which can create hidden text. HTML links are disallowed, forcing wiki
syntax. Just now, I disallowed any external links which contain the
word "free", which would catch everything I've examined in the recent
batch of spam. This might cause some collateral damage, though, since
there are certainly legitimate free software websites with the word
"Free" in them.
I will add (http:\/\/.*){6}; I believe it should work in php's regex engine.
Nick
More information about the gobolinux-devel
mailing list