Category Archives: Geekie

Asterisk daily restart script

I have always found that its a good idea to reboot Asterisk every now and again. However I found that sometimes my cron job got stuck or Asterisk didn’t restart cleanly. This is my original, standard cron job. 0 0 * * * root /usr/sbin/asterisk -rx ‘core restart gracefully’ So . . .

Read more

Fail2ban update

I recently installed Asterisk 13 on a Debian 8 server. I noticed that when I installed Fail2ban it already had the Asterisk filters built in. Also the standard config worked out of the box with no changes other than flipping false to true. It wasn’t for a few days that . . .

Read more

Being an Introvert

Introverts take a lot of stick for being introverted, generally from people who just want to be around people all the time. While we introverts might not want that, it doesn’t mean we’re depressed or suicidal or anything wacky like that. Here are 15 things you should know about me. 1. . . .

Read more

Fail2ban fail.

Ok so in my previous post about fail2ban I mentioned that it banned all hacking attempts. However I noticed it is only banning Registration attempts and not calls sent directly to the incoming context. So I introduced the little script to ban any call going through the Incoming context. You . . .

Read more

Asterisk Config for Fail2Ban

As promised in my previous Post [Fail2ban Installation for Debian/Ubuntu] here is the Asterisk Configuration how-to for Fail2Ban. Adding a Asterisk configuration file to Fail2Ban so that it can understand attacks against your Asterisk PBX. Create a new filter configuration for Asterisk: touch /etc/fail2ban/filter.d/asterisk.conf The contents of /etc/fail2ban/filter.d/asterisk.conf should be . . .

Read more

Fail2ban Installation for Debian/Ubuntu

Fail2Ban is an application that monitors your log files for potential intrusion attacks and then blocks the IP address of would be attackers. In most cases administrators use it to limit the number of login attempts that are allowed against SSH within a period of time, this can make it . . .

Read more

My Personal Space – aka the office

My office was built by myself and a friend back in August 2012. We converted one of the outbuildings at my house to a office to allow me to work from home. I have been using the space now for over a year and can’t imagine ever being without it. . . .

Read more

DraStic DS Emulator

I download the DraStic DS Emulator app the other day from Google Play for my Galaxy Note II.  I took a chance and bought the full version.  No tell a lie, to be fair thats not entirely true.  I didn’t know there was a demo version otherwise I would have tried . . .

Read more