Archive for September, 2010

visitors

By Mark Davidson on September 24th, 2010

Another quick post for this one. I just wanted to point out a very useful program called visitors that I came across lately. Visitors is an awesome command line web log analyser created by the same people who made hping. Read & Comment ›››

incron – File System Event Monitoring

By Mark Davidson on September 23rd, 2010

I haven’t done a post in a while so thought it was about time I finished off one of my 22 draft posts.

In this post I would like to mention incron. Simply put incron monitors the file system for events and when they occur it can execute commands that are defined in user or system tables in a similar way to cron.

So how is this useful you might ask, well in my case I wanted a way to monitor a directory of uploaded images on one server and when new ones are added copy them across to another server. But you can do absolutely anything you want with it, like monitor a directory for changes and alert by email of them. Read & Comment ›››

Bind Logs – Top DNS Queries

By Mark Davidson on September 3rd, 2010

This week at work we fancied figuring out what the top sites are on are network. So decided an easy way to work this out would be to enable logging on are bind server and then write a script to work out what the top DNS queries are.
Read & Comment ›››