Archives for: March 2006, 23


  08:51:57 pm, by The Dreamer   , 106 words  
Categories: General, Software

That was fast....


on somebody finding my post on my attempted hack to block a recent massive (double) hit by a trackback spammer....

Only bad in that I had a bug in what I had posted, which I discovered by posting trackbacks to myself (and then in the cleanup of my spamming myself, I found an extra trackback &#59;D).

Full story »

  08:35:14 pm, by The Dreamer   , 454 words  
Categories: General, Software

Defense against recent b2evolution trackback spamming....

Today, I got hit by a whole pile of trackback spam....twice. Some 300+ trackbacks hitting just about every post on my site, some posts more than once. Though the guy wasn't very originally, since they were all variations of the same (2) URL(s). So, it was real easy to clean up.

Now the guy came from the same IP, but the antispam_byip stuff doesn't seem to protect against trackback spamming.

Seems like an easy problem to solve....just add a check of the user ip again the antispam_byip table while checking if trackbacks is allowed....

Something like this should do the trick:

--- trackback.php.orig
+++ trackback.php
@@ -37,7 +37,9 @@
  $blog = $postdata['Blog'];
  $blogparams = get_blogparams_by_ID( $blog );

- if( !get_bloginfo('allowtrackbacks', $blogparams) )
+ if( !get_bloginfo('allowtrackbacks', $blogparams) ||
+     $DB->get_row( "SELECT byip_string FROM $tablebanbyip
+                    WHERE ".$DB->quote($HTTP_SERVER_VARS['REMOTE_ADDR'])." = byip_string" ) )
    trackback_response(1, 'Sorry, this weblog does not allow you to trackback its posts.');

Full story »

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters --


There are 19 years 5 months 28 days 18 hours 17 minutes and 47 seconds until the end of time.
And, it has been 5 years 6 months 30 days 19 hours 45 minutes and 9 seconds since The Doctor saved us all from the end of the World!


March 2006
Mon Tue Wed Thu Fri Sat Sun
 << < Current> >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    


  XML Feeds

Who's Online?

  • Guest Users: 1
This seal is issued to by StopTheHacker Inc.
powered by b2evolution

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime