Tag - howto

Entries feed - Comments feed

Friday, December 20 2013

XenServer 6.2 Hidden Snapshots

So apparently XenServer has "had" an issue with not deleting snapshots correctly, resulting in SR's running out of space. Here's the solution I found.

Continue reading...

Monday, July 29 2013

Useful Null Routes

On every router, there are certain routes that are useful to install to prevent leakage of invalid traffic related to private address space.

Continue reading...

Wednesday, July 17 2013

Distributed server backups with btsync

I recently discovered bittorrent-sync (btsync) and I'm in love! This post details how I've implemented this fantastic tool to build a resilient, distributed and FREE backup solution for my servers.

Continue reading...

Saturday, May 26 2012

Installing ipset on CentOS 6

I assume this will work on RedHat 6 too:

# yum install http://people.redhat.com/twoerner/BZ/477115/ipset-6.7-2.el6.x86_64.rpm http://people.redhat.com/twoerner/BZ/477115/libmnl-1.0.1-1.el6.x86_64.rpm http://people.redhat.com/twoerner/BZ/477115/libmnl-devel-1.0.1-1.el6.x86_64.rpm

Yes, you can copy and paste.

Note that this isn't adding any repositories, so I'm not sure what impact this will have in future since the packages won't get automatically updated by `yum update` (security updates, breakage when kernel updates etc?)

Thursday, February 10 2011

Native IPv6 with Internode and CentOS

This is a WIP. Notes so far.

At the moment, this results in an error from DHCPv6 Client when trying to assign an addrss to ppp200:

Feb 10 23:28:50 tank dhcp6c[1063]: transmit failed: Network is unreachable

Manually adding an address makes it work:

Feb 10 23:28:47 tank dhcp6c[1382]: request prefix is 2001:44b8:7206:d180::/60
# ip -6 a a 2001:44b8:7206:d180::1/48 dev ppp200
# ping6 2001:44b8:1::6
PING 2001:44b8:1::6(2001:44b8:1::6) 56 data bytes
64 bytes from 2001:44b8:1::6: icmp_seq=0 ttl=59 time=27.8 ms
64 bytes from 2001:44b8:1::6: icmp_seq=1 ttl=59 time=27.3 ms
64 bytes from 2001:44b8:1::6: icmp_seq=2 ttl=59 time=27.6 ms

Continue reading...

Tuesday, December 21 2010

Adjust Ring Time Before Diverting to Voicemail

Little known hack on the phone companies to adjust how long your mobile phone will ring for before diverting to voicemail.

Continue reading...

Tuesday, October 19 2010

Custom Actions with fail2ban

Most people are familiar with the fail2ban package available for protecting against brute-force password attacks against your servers.

Fail2ban scans log files like /var/log/pwdfail or /var/log/apache/error_log and bans IP that makes too many password failures. It updates firewall rules to reject the IP address.

What you might not have experimented with is it's ability to execute custom actions instead (or as well as) blocking the source IP in iptables.

Continue reading...

Wednesday, September 8 2010

Sheriff Joe is at it again!

Maricopa County was spending approx. $18 million dollars a year on stray animals, like cats and dogs. Sheriff Joe offered to take the department over, and the County Supervisors said okay.

Australian Governments could (should) learn a lot from this guy.

Continue reading...

- page 1 of 2