Evan

I inserted into config.php the code snippet you provided in
http://pastebin.ca/1516064 and tested it with a new registration using the
name 11testy99 but still the post went through.

Is there anything I need to change in the code to suit my site setup?

Regarding the first line, $nicknamePatterns = array<http://www.php.net/array>
('^11', 'jerk'); does the caret (^) mean a wildcard so any nickname with the
number 11 anywhere will be blacklisted?

Sorry for these questions but I'm a non-programmer so these conventions
aren't familiar to me.

Regards

Sunny

On Mon, Aug 3, 2009 at 5:45 AM, Evan Prodromou <[email protected]>wrote:

> egasus egasus wrote:
>
>>
>> Same here
>> now i am getting a similar spam attack..
>>
>>
> OK, that's definitely very serious.
>
> First thing I'd suggest is using Eric Helgeson's reCaptcha plugin for
> registration:
>
>
> http://gitorious.org/~erichelgeson/laconica/eric-dev2/trees/recaptcha-plugin<http://gitorious.org/%7Eerichelgeson/laconica/eric-dev2/trees/recaptcha-plugin><
> http://gitorious.org/%7Eerichelgeson/laconica/eric-dev2/trees/recaptcha-plugin
> >
>
> I haven't tried it or tested it but it's probably the best thing to use
> right now.
>
> Second, if you're sure there's a pattern in the user names, try this
> snippet of code in config.php:
>
> http://pastebin.ca/1516064
>
> Change the $nicknamePatterns global variable to suit your needs.
>
> Clearly we have a lot of work to do on the spamming end; at the very least
> we need plugins to support context-oriented tools like Bad Behaviour and
> SURBL as well as content-oriented tools like Bayesian filters, blocklists,
> Akismet, Mollom, and Defensio. More captcha tools and intelligence tests are
> probably worthwhile, too.
>
> -Evan
>
> --
> Evan Prodromou
> CEO, Control Yourself, Inc.
> [email protected] - http://identi.ca/evan - +1-514-554-3826
>
>
> _______________________________________________
> Laconica-dev mailing list
> [email protected]
> http://mail.laconi.ca/mailman/listinfo/laconica-dev
>
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to