Archives for: March 2006

Pages: 1 3

03/28/06

03/27/06

  12:52:38 pm, by The Dreamer   , 297 words  
Categories: General, Software

Update on "Closing the door on comment spammers"

Link: http://wonderwinds.com/weblog.php?p=350&more=1&c=1&tb=1&pb=1

For sometime now, everytime I visit my blog, I would be greated with this message "Closed comments on 1 posts". For the first time in a day, it would not be unexpected to see something like this.

But, repeatedly throughout the day....made me wonder if something had gone wrong with my system or database.... U-(

So today, I delved in the code and database, trying to figure out what post it kept closing. Turned out that it was the guestbook hack that I had previously applied that was causing the problem.

Pages: 1· 2· 3· 4

03/25/06

  12:20:39 pm, by The Dreamer   , 155 words  
Categories: General, Software

hackblog@wonderwinds - Antispam Rechecking Dawn

Link: http://wonderwinds.com/hackblog.php/2005/09/18/antispam_rechecking_dawn

Today, I decided to finally merge this hack into my blog site.

Though since I upgraded to Dawn and my current vigilence of watching for spam, it hasn't been a major need.

But, with the recent surge in bot attacks on blogs, I've decided to beef up some of the antispam measures on my site.

Installing this was pretty straight forward....slight adjustment to the supplied b2antispam.php on two counts though.

  1. Keep the changes related to antispam_byip
  2. Fix a SQL error encountered during the recheck_all....

The gist of the SQL error, is that there's a hidden field in the form(s) for 'recheck', but the PHP script doesn't process this parameter...though it uses the variable which as a result is always undefined. And, the parts of the code that don't check of $recheck is defined, cause SQL errors.

Solved by adding this line to b2antispam.php:

param( 'recheck', 'integer', 0 );

03/24/06

  09:58:32 am, by The Dreamer   , 86 words  
Categories: General, Travel

oosterdam cruise control - Google Search

Link: http://www.google.com/search?q=oosterdam+cruise+control&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

Cool....:yes:

This morning's check of the access stats for my blog, showed that someone came to my site via a search engine query for "oosterdam cruise control"

Wonder if they found what they were looking for, and were they (and which) on a recent cruise.... And, what prompted them to search.

I just know that when I was searching for the same info by Google, I was having a really hard time.....)-o

Full story »

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 »

03/22/06

  03:50:19 pm, by The Dreamer   , 260 words  
Categories: Hardware, Computer

Solving my Maxtor OneTouch II Annoyance

Link: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=8731999187&rd=1&sspagename=STRK%3AMEWN%3AIT&rd=1

Armed with the knowledge that I wrote about here, last week I decided to take the plunge and order a pair of enclosures to transplant the drives that were in a pair of Maxtor OneTouch II units. (Both 300GB)

The annoying things would constantly fail to appear after a reboot and require me to open up Device Manager and update the driver to get them to reappear. This problem seems to only affect my XP Pro desktop, because the one on my W2K Pro desktop works fine.

The enclosures arrived today....and I just performed the transplants. At first I was being careful and keeping the parts from the old enclosures, but once I got the first one done. I just threw everything out, and with the second one I just threw each piece straight into the trash as I went along with the extraction.

Looking back it was probably kind of wasteful that I even bought the drives the way that I did. Though it was a better quality enclosure than what I replaced them with. If only they worked.

So far a couple of reboots and the drives appeared both times. Unlike the OneTouch II's which went from every few reboots it would be lost, and updating the driver would require a reboot. To where they would disappear after every reboot, though updating the driver didn't require a reboot.

One odd thing I can see now is that one drive is a 6B300R0, while the other drive is a 6L300R0. Wonder what the differences are....

03/19/06

  12:37:14 pm, by The Dreamer   , 113 words  
Categories: General, HD Movies

Prof. Jerry Hathaway's House

Link: http://maps.google.com/?t=k&ll=34.17089,-119.11667&spn=0.011877,0.026822

Since they didn't give the seconds or direction for the longitude in "Real Genius", it probably isn't exact....

And, I don't see any houses near here. Though it is near Oxnard, CA....so maybe I'm just the lack of longitude info is the problem. Now my parents are currently doing their annual golf/snowbird thing in Oxnard right now....

Actually, if you go across the whole minute....there is this area....

Meanwhile, I've come across this twice on Showtime HD...though I've only watched mainly just the ending to it. I remember watching this when I was younger....still kind of cool.

BTW, if you flip the longitude....you end up in China..... 88|

03/17/06

  06:50:11 pm, by The Dreamer   , 54 words  
Categories: DVDs / NetFlix, HD Movies

HD: The Prince and Me

Link: http://www.netflix.com/MovieDisplay?trkid=90529&movieid=60033327

This is the 3rd time I've seen this (first on DVD, twice on HD), and I'm still rating it 5 stars.

:rs::rs::rs::rs::rs:

Full story »

03/14/06

  10:36:31 pm, by The Dreamer   , 140 words  
Categories: Cable HD DVR, DVDs / NetFlix, HD Movies, TV

HD: As Good as It Gets

Link: http://www.netflix.com/MovieDisplay?movieid=1181488&trkid=189530&strkid=5296964_1_0

I had previously seen this on DVD, but when I turned on my DVR today....it was playing, so I found myself watching it. To the point where I looked at my schedule to see if I had to ax some other recordings to make sure I wouldn't get interrupted.

Apparently "Joey" didn't make the cut again...so it was missing my from my guide, but "Scrubs" would get in the way....so that got the ax. I wasn't going to touch "NCIS" or "The Unit".

This time around, I'm rating this 5 stars.

:rs::rs::rs::rs::rs:

Over on NetFlix, I had rated the DVD only 4 stars. I don't think it is because it is in HD, but just something about watching it again and how I seem to connect differently with it (perhaps something about my circumstances....) :lalala:

1 3

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 2 months 1 day 9 hours 54 minutes and 8 seconds until the end of time.
And, it has been 4 years 10 months 27 days 4 hours 8 minutes and 48 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: 1
This seal is issued to lawrencechen.net by StopTheHacker Inc.
multi-blog platform

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

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