[dokuwiki] Bad case of spamming + changelog code

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx <dokuwiki@xxxxxxxxxxxxx>
  • Date: Tue, 17 Oct 2006 03:28:27 +0200

Hi *!

This night we had a really bad case of spamming at wiki.splitbrain.org.
A spammer used obviously some script to spam a large amount of pages in
the wiki. The bad thing was that he used multiple proxies (or zombies)
and even altered his User-Agent string. This made it very hard to block
him, updating the blacklist was the last chance.

I started to revert pages by hand but this was just too much hassle so
I quickly hacked an admin plugin to do so. I attached it, but this
needs much more work. But it did help for a start. However using it I
found some flaws in the changelog system.

It can happen, that there is no changelog entry for an old revision.
I'm not sure how this happens but for some spams there was no old
revision available. The file in the attic got created but there was no
matching entry in the attic (or get_revisions did not find it). We need
to investigate this.

The second problem occured when I used my script to revert many files
at once. For some reason the global changelog got truncated. Again I
have no idea what caused this.

It is very late at night now so I need to get some sleep. I will try to
figure these things out tommorow.

Ben and Chris, would be nice if you could have a look at this as well.

Andi

-- 
http://www.splitbrain.org

Other related posts: