Archives for: March 2006, 23

03/23/06

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

That was fast....

Link: http://blog.trelfa.org/index.php/2006/03/23/lawrence_the_dreamer_chen_s_blog_defense#trackbacks

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 -- http://lkc.me/poop

bloglovin

There are 20 years 1 month 1 day 3 hours 39 minutes and 48 seconds until the end of time.
And, it has been 4 years 11 months 27 days 10 hours 23 minutes and 8 seconds since The Doctor saved us all from the end of the World!

Search

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    
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 0
This seal is issued to lawrencechen.net 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