renamed mt-comments.cgi and mt-tb.cgi scripts

yesterday evening chris, the admin of the gna-server informed me that my trackback-scripts stressed the server quite a bit.

and because i got a massive hit of spam in the morning (more than 100 spam comments that passed the junk-filter) i decided to do, what i’ve should have done a long time ago: rename my comment- and trackback-scripts so they cannot be easily guessed remotely.

first, i used the direction posted here at the photoblogs-wiki and adapted them a bit:

first, i renamed

…the comment script. A good proportion of comment spam is generated automatically; i.e. a spam site will try to automatically contact your comment script which normally resides at:

http://yourURL/cgi-bin/mt-comments.cgi

If you rename the script you stop the automatic spam in its tracks. You can rename this file anything you like (e.g. death-to-spambots.cgi) but you a) need to retain the cgi extenstion (I think), and b) also need to make a change to your mt-config.cgi file (which resides in your cgi-bin directory. You need to look for the following block of code

# CommentScript mt-comments.pl

# TrackbackScript mt-tb.pl

# SearchScript mt-search.pl

# XMLRPCScript mt-xmlrpc.pl

# ViewScript mt-view.pl

… and make two changes. First, uncomment the first line by removing the hash symbol; i.e.

CommentScript mt-comments.pl

… and second, change the filename to match your renamed version; e.g.

CommentScript death-to-spambots.cgi

<

p>
this means, that the scripts still work, but under another name [1], so noone should be able to just guess their location. but as a human person nothing changes, because you comment through the comment interface and get redirected to the correct script. the problem of this solution is now, that the spammers generate massive amounts of “404: File not found”-errors in the logs, because the original scripts are not there anymore.

to prevent this, i then implemented the Junk slow-down-solution posted over at the solid wall of code, which consists of throwing the junk-bots into a loop when they guess the original-file destination.

so if you now go to the original mt-comments.cgi on my server, you (or better your spam-script) has to wait 30 seconds before it gets to see an error-message. this should at least slow down the junk scripts and put a bigger burden on the junkers than it does on the server my blog resides on.

Mt-Commentsthe whole setup seems to work quite fine.

before renaming the scripts i got around 5 comment spams per minute (!) and now it already has slowed down quite a bit, the last comment spam (as i write it) has been more than 2 hours ago and the one before already four hours ago.

see yourself in the screenshot on the left.

[1]: i’m not gonna tell you, leave a comment to see for yourself. :-)

technorati tags: , ,

oster-ausverkauf!

ich hab mal in meiner dvd/games/etc-kiste gewühlt (weil ich endlich mal alle meine dvds im dvdmanager eintragen wollte) und dabei einige “karteileichen” gefunden.

und weils im moment zu stark regnet, um zum 2nd-hand-gameverkäufer auf dem märit zu gehen, landen die sachen halt auf dem netz.

also, brauchst du ein retro-game für deine playstation (die originale) oder ein neues game für deine psp? dann schau mal hier bei ricardo.ch vorbei…

und jetzt hab ich endlich zeit, um weiter aufzuräumen! also ab an die arbeit!

technorati tags: , ,

fixed-gear-gallery feed [update]

raph/dom/blaize, this one is for you [1]:

’cause i always forget to check back at the bike-p0rn-site fixedgeargallery and actually never want to miss a great bike there i created an rss-feed of the site with feedyes.com.

so if you’d like to be notified of an update on that fabulous site, then add this feed here (see comments below!) to your preferred news-reader and get your daily fix (it doesn’t get the individual sites of the bikes, but at least you get all the updates…)

[via kus]

[1]: tell me if it works, leave a comment or so…

technorati tags: , ,

a funny magic trick

i got a chuckle out of this, ’cause it really works. makes a neat office-trick:

Allright here’s what I want you to do – while sitting at your desk, lift your right foot off the floor and make clockwise circles.

Now, while doing this, draw the number “6” in the air with your right hand.

Your foot will change direction and there’s nothing you can do about it!

[via “optical” illusions]

technorati tags: ,

nowpublic.com uses my photos (with my permission)

Nowpublicmy pictures from saturday evening are now part of a story at nowpublic.com.

how does that happen you ask?

this afternoon i got an email from clorenz41 [1] through flickr. he asked if he could use my photos “for a few stories that have been sent in”. the mail included some fancy link which made the whole process work automagically.

so after some clicks my pictures are now part of a story from conneticutkati [2], where she quotes another article on indymedia.ch.

if you want to read the post at nowpublic, then click here or take a look at the screenshot on the left.

if this is happening more often, maybe i should start to take money for my images?

[1] he is: “Director, Contributor Relations, NowPublic.”

[2] i wonder why she writes about the antifa abendspaziergang, although she’s from vancouver…

technorati tags: , ,