« January 2010 | Main

Saturday, November 28, 2009

New Version of Timelox for Openssh 5.3p1

I've put up a new version of Timelox for use with Openssh 5.3p1. Timelox is a patch for sshd that shuts down brute force attempts to break into machines via ssh. Timelox is different than most other methods in that it detects failed logins from a given ip number, rather than attempts against a userid. So if, as we've seen, attackers use a script that attempts to login with multiple userids, timelox will detect that and call a script to lock out that ip in the firewall.

The latest version includes an installer script for OSX. For more information see the main timelox page at  https://wwwx.cs.unc.edu/~hays/dev/timelox_and_TheHand

Posted by bil at 1:24 PM
Edited on: Monday, March 15, 2010 8:44 PM
Categories: My Software


I've been playing around with Thingamablog, a nice little standalone application you can use to manage a site without having to use a database on your server--the approach appeals to me since the resulting web site is portable and more secure. But I wanted to be able to support comments. I poked around a bit, didn't find anything that really suited me or worked easily. I did find a nice page, part of Notes from James, that had a simple set of php scripts that would enable comments. That worked nicely, but it wasn't very secure, so I started playing with it and before long I had something workable, at least for my needs. It's still in need of testing and poking and prodding, so if you give it a try send me some feedback. I'm calling it Thingamacomment, and the current version is 0.9d.

The short version of how it works is you edit the template pages in your Thingamablog with some php code to pull in comments or parts of Thingamacomment. The commenting code and data are stored in a folder named "comments" at the root of the Thingamablog software. Comments are stored in a files folder and are named after the Thingamablog article to which they belong. When a user added a new comment, the comment is put into a small file named with an article number and a timestamp, and then are appended to the appropriate comments file, either immediately or after confirmation by the blog owner. When a comment is address, an email is sent to the blog owner (either with a confirmation URL or just to let the owner know).

For the long version, see the enclosed readme file.

The scripts also try to prevent malicious use by stripping out html tags, and looking for malformed data in email messages. It can also use ReCaptcha to help filter out bot traffic.

Posted by bil at 11:13 AM
Edited on: Sunday, March 21, 2010 4:34 PM
Categories: My Software
Comment by guest - Sunday 07th February 2010 09:31:14 AM

testing your comments feature
Comment by Matthew Carrick - Thursday 11th February 2010 02:05:31 PM

Thanks for this Bill. With Haloscan morphing into echo I was looking for something nice and low-res.
Comment by bil - Thursday 11th February 2010 02:53:05 PM

Thanks! Pop me some email to let me know how it works out for you.
Comment by bil - Sunday 21st March 2010 08:01:58 AM

Comment by jesus2099 - Saturday 17th April 2010 11:12:40 AM

How about gravatar support ?
Comment by bil - Saturday 17th April 2010 02:02:33 PM

Not likely, as I don't know what that is. (;
Comment by my name - Wednesday 05th May 2010 04:31:50 AM

testing the comment feature. Looks good.
Comment by Jason - Wednesday 19th May 2010 07:23:09 AM

Just testing the system. If this works - Woohoooo
Comment by akash - Thursday 03rd June 2010 01:43:16 AM

test is complete
Comment by Jan - Friday 16th July 2010 01:07:52 PM

Looks nice and clean, may try it out
Comment by Am M - Thursday 05th August 2010 12:26:53 AM

Looks great. Will it work as a standalone comment feature or just with Thingamablog?

Comment by baz - Monday 30th August 2010 07:50:52 AM

Thingamacomment looks cool - nice job.
Comment by Zack - Tuesday 17th May 2011 09:41:06 PM

I'd love to use this for my blog!

My midlife crisis

A few years ago I started a project to restore a 1988 CRX. Since this, the project has become a bit of an obsession, see what this madness has come to....

Posted by bil at 11:13 AM
Categories: Hobbies

Monday, November 09, 2009


Some things I've found humorous on the web....

Posted by bil at 2:52 PM
Categories: Hobbies, Humor

Software Development

I do a fair bit of programming in bash, php, and ruby.

Posted by bil at 2:52 PM
Edited on: Monday, November 09, 2009 2:53 PM
Categories: My Software

Winter Storm Pictures from 2002

Some pictures from the winter storm of 2002.

Posted by bil at 2:50 PM
Edited on: Sunday, November 15, 2009 6:33 PM
Categories: Pictures

My House

Some links to various aspects of the house I designed out in Chatham County.

Posted by bil at 2:49 PM
Edited on: Sunday, November 15, 2009 6:33 PM
Categories: Pictures

Pictures from Thailand

A long time ago I took a few months off and went to Thailand, just to hang out on a beach. Here are some pictures.

Posted by bil at 2:48 PM
Edited on: Monday, November 09, 2009 2:53 PM
Categories: Pictures

INLS Classes

From time to time I teach a night course in the School of Library and Information Science. The last course I taught was INLS672, Advanced Internet Applications, which is really an introduction to PHP, Ruby on Rails, and Javascript. I've also taught courses in Lan Management, Network Protocols, and Server Administration.

Posted by bil at 2:46 PM
Edited on: Saturday, December 05, 2009 1:32 PM
Categories: Work

My Midlife Crisis

A few years ago, I started restoring a 1988 CRX Si. I bought the car from a friend of mine, the original owner, and it's the best car I've owned. That project expanded in time and space to include two other CRXes, a 1990 Dx and a 1987 Dx that's been cut down to a convertible. See what this madness has led to....

Posted by bil at 2:44 PM
Categories: Hobbies

What I do for a living

I work for the Department of Computer Science at Chapel Hill as the Infrastructure Manager. My duties include managing the department's network, high level support for Macintosh systems, database development, and taking care of the department's facilities, Sitterson Hall and the Frederick P. Brooks, Jr Building.
Posted by bil at 2:39 PM
Edited on: Sunday, December 06, 2009 12:45 PM
Categories: Work

First Entry

Not very interesting.....

Posted by bil at 1:24 PM
Categories: My Software