Category > Tech

XEN 3.4 with ipv6 routing

Yes, there are a few postings out there about getting ipv6 routing running with XEN. But I’ll throw this online anyway since there are a few changes I had to make for it to work on my server. This text is intended for people who know their way around Linux and XEN so it will [...]

Continue reading

, , , ,

Script of the day – clean up stale .ssh/known_hosts

This little script takes an IP or hostname as a parameter, and if there is an offending key in the .ssh/known_hosts it removes it and replaces it with the current valid one useful if you are moving/reinstalling a large amount of servers …  Bash |  copy code |? 0102#!/bin/bash03#===============================================================================04# FILE: ssh-cleankey.sh05# USAGE: ./ssh-cleankey.sh <ip|hostname>06# 07# DESCRIPTION: deletes stale ssh known_hosts [...]

Continue reading


Checking a list of IPs against RBL

This is more a reminder to myself than anything else … this is small snippet that takes a list of IPs and does a whois on all that aren’t in a RBL Lets say we have al list of IPs in a file “iplist.txt”:  Text |  copy code |? 112.172.121.171224.149.208.68338.105.100.9458.185.207.86561.201.51.66664.78.164.169 Snippet that checks the IPs (can of course be easily [...]

Continue reading


back online

The hard drive crash threw me offline a few days due to strange problems with software raids, Xen and acpi. Turns out that using the latest Xen kernel from debian testing branch on a software raid only works of you don’t set “acpi=off” as a kernel parameter. If acpi is turned off, the script “scripts/local-top/mdadm” [...]

Continue reading

, , , ,

dead hard drive

It seems that one of the hard drives in my server died last night. Thanks to the raid no data is lost, but the server will be offline shortly this week (tuesday morning probably) to replace the faulty drive with a fresh new one.

Continue reading


prev posts
Performance Optimization WordPress Plugins by W3 EDGE