Using vmware server console on Mac OSX

Just recently I’ve been experimenting with VMWare Server on a Linux host and although it’s easy enough to use the console to manage it from a Windows PC, I normally only have my aging PowerBook to hand.
Since there’s no proper OSX console application for VMWare (why not!?), I needed to figure out a different way to manage the virtual servers.
Two options immediately spring to mind – (1) Fire up Virtual PC, Start Windows, Use the Windows console, or (2) Find a way to use the Linux VMWare console.

Continue reading

iChat AV through Linux NAT

This assumes the following conditions:
* the Linux gateway is forwards all outgoing traffic after rewriting the source address as the external IP (i.e NAT)
* the incoming policy is to drop all packets unless they’re related to an existing connection.
* Both clients are running iChat AV (comes with Mac OSX Tiger)
* Both clients have AIM accounts.
To allow an external user to contact someone on the internal network, simply add the following rules to the Linux gateway.
/sbin/iptables -A INPUT -p udp -m udp –dport 16384:16403 -j ACCEPT
/sbin/iptables -A INPUT -p udp -m udp –dport 5060 -j ACCEPT
Once this is done, you should be able to make and receive audio and video calls with iChat AV. I’ve not tested it with multiple clients on the internal network talking to multiple clients externally, but it works for one-to-one chats.
I also have the ip_conntrack kernel module loaded, this might make a difference as well.

Strange SSH/rsync issue

Having ordered a new server, I finally got it yesterday. I thought I’d set it up to act as secondary nameserver, backup mysql and general user-data backup but when I started backing up some of the data from the old server (via rsync over ssh) I found that every few minutes the rsync would die with the error:
Corrupted MAC on input.
This error both showed up in the shell running rsync and also in /var/log/secure on the new server as
Sep 11 16:45:11 server sshd[8254]: Disconnecting: Corrupted MAC on input.

Continue reading

Server hiccups

It seems that every few days something goes wrong with the server. Just this morning it died for some unknown reason and I had to get it rebooted. It was still pinging and services such as pop3/ssh/http would connect but then no banners/prompts etc would appear and the service is unresponsive.
Having looked through a number of logfiles, I noticed that just before the crash, there were a lot of failed SSH login attempts from a few different IPs and having seen this before, figured it was about time I did something about them.

Continue reading