Using curl to update CalDAV calendar color

Been a while since I’ve posted. Haven’t done anything that isn’t already documented somewhere in a long time. But, I’m back. I’m a big proponent of owning your own data and self-hosting where possible. I self-host my calendars on a CalDAV server at my house (with public IPs). But most if not all clients assume you’re using Google Calendar at this point or Microsoft’s equivalent. So, they tend to miss features. In this case, they were missing the ability to set a calendar’s color.

Continue reading

Getting ansible-vault command to scale

The ansible-vault command provided by Ansible normally runs inside a vi window. This makes it easy for users to edit a single file. However, what happens when a user wants to change multiple files the same way at once. Well, the vi editor makes this extremely difficult. You normally can’t put ansible-vault edits in a loop. But we have a solution for it now using “ed”…

Continue reading

Syslog-ng Scalability

Normally my posts are about the things I’ve done at home on personal projects, but here is one I did for a client recently.

Syslog is a protocol used by network gear, appliances, and most Unix distributions to handle their logs. Most importantly (for this discussion) the protocol is used by these devices to send their logs to a central server. The client is a very large organization and was sending data from 100’s of devices configured with high verbosity so that they can see any security events more clearly. They also had a lot of filters configured in Syslog-ng so that they can sort the events so their SEIM can consume them properly. Syslog-ng couldn’t keep up with all the events coming in.
Continue reading

Faxing in the 21st Century

So, people have been using fax machines for decades. But being the 21st century I’ve actually gotten rid of mine. To my surprise one of the vendors I work with required me to fax them my credit card information. They wouldn’t accept it in email form (I wouldn’t either) or over the phone. So, I needed a way to get faxing working with my Asterisk setup.
Continue reading