[Simplog-devel] Back to more intense testing
Brought to you by:
f-bomb
|
From: Jim Hu <ji...@ta...> - 2005-09-04 22:48:53
|
Now that I've finished some work and the semester is starting, I'll
be able to put the 0.92 beta through some more intense testing...I
moved my blogs over to a modified version of the 0.92 beta that
incorporates the modifications I made to 0.9. I now have students in
several classes using this version of Simplog, so they should be able
to identify lots of problems. The weakness of this approach, of
course, is that some of the problems they find will be due to my
modifications and not the released beta code.
Switching over means that the trackback spammers are attacking the
new installation and the old defenses are not being used. I added
the following code snippet to tb_validate.php to see how I'm doing at
blocking.
#log the blocked trackbacks
$fh = fopen("blocked_trackbacks.txt","a");
$blocked_tb = date("Ymd h:i:s")."\t$url\t$blog_name\t$title\t$excerpt
\t".$_SERVER['REMOTE_ADDR']."\t$tb_error\n\n";
fwrite($fh, $blocked_tb);
fclose ($fh);
This requires a text file, blocked_trackbacks.txt that is writeable
by the script. Since I added this at 12:46PM today, I've blocked
about 74 pornographic trackbacks, or >10/hr...all by blocking .info
URLs.
I also noted this on the forum.
Jim Hu
|