Fork me on GitHub

Vyatta VC5 - Snort alerts to syslog

I’m running a Vyatta vyatta router at home - in my opinion it’s pretty near “enterprise grade”, and I’m running the Community/Core (read: no-cost and almost all Free) on commodity hardware with great performance. Granted, I’m still on the older version (5 as opposed to the ...

more ...

Managing Ubiquiti Networks MAC ACLs from a script

I have a small web-based tool for allowing members of an organization to register their wireless MAC addresses, and then automatically adding them to the MAC ACL on Ubiquiti AirOSv2 APs. It’s a pretty quick hack, along with a simple and ugly web-based tool, but it gets the job ...

more ...


Client-side subversion commit message hooks

While I know this isn’t best practice, since we use LDAP-based auth for our Linux boxes (including a sudoers file based on LDAP group membership), we usually do work on some boxes as root (sudo su -). This includes our puppetmaster, where configs are kept in subversion and edited ...

more ...

MySQL General Query Log and Awk Trimming Columns

So today I started to implement a number of complex regex-based rules and templates to get rsyslog to parse ISC DHCPd logs in realtime. Unfortunately one of my templates must have been wrong, because I started seeing some errors about a field that cannot be blank in /var/log/messages ...

more ...

Highlighting matches with grep and less

Yes, I haven’t posted much lately. Just a quick little tip, since it came in handy today.

Grep accepts a --color argument which highlights matches in color (assuming your terminal supports it). Passing grep --color=always and piping the output into less -R will allow you to scroll through ...

more ...

Handling mailto links on another computer

At work, I use synergy to control two computers with the same mouse and keyboard. My main desktop (skynet) has two monitors - generally one for Firefox and one for my terminals - and my secondary machine (mithrandir), a third monitor on my desk, handles email and IM. The only real problem ...

more ...



Getting WoW working on OpenSuSE under Wine

Ok, I’ll admit it, I’ve been playing WoW. I’m not usually the gamer type, but my girlfriend pressured me into it a bit and, hey, if a woman’s idea of quality time is sitting in the same room in front of computers playing a MMORPG, who ...

more ...