?

Log in

No account? Create an account

fanf

Irritations

« previous entry | next entry »
6th Jan 2006 | 22:44

Yesterday I upgraded my workstation with gigabit ethernet and a better graphics card, which is actually capable of driving my LCD monitor at 1600x1200 over DVI with a decent refresh rate. I had a cunning idea over the hols that I could keep my old graphics card to make a dual-head setup, but of course my PC has only one AGP slot. Bah.

However when wandering around the office I noticed a PCI graphics card lurking on a shelf. Aha! In it went, and I booted up. Xorg -configure spotted the two cards and auto-generated a dual-head configuration. Nice! However when I ran X with the new configuration file, the first screen started up OK but the second did not. It complained of being unable to find the card's video BIOS, and that the card had 0KB of video RAM, and that none of the standard video modes would fit in the available memory.

Much faffing ensued, including trying to run X on only the second head (no luck), trying to force the video RAM size (crash!), swapping between three monitors (no improvement) and eventually trying the PC without the AGP card (no image at all). Bah!

At this point I was feeling rather vexed by the computer, so I left it to look around the office some more to see if I could find another PCI graphics card. No luck, but I did eventually find a blue+white G3 Powermac. These machines have no AGP, so I hauled it out from under the desk to see if I could filch its graphics card. A missing blanking plate taunted me from the location where the video card had been.

I realized that the card I had been trying to make work had originally come from the blue+white Mac, and the reason it didn't work was that it had Open Firmware, not PC firmware. D'oh!



This evening has also been irritating. I finally got the motivation to run a Jabber server on my workstation for my vanity domain dotat.at and for other testing purposes.

This helped me to find a couple of lurking bugs in my custom authentication module. The API has a number of functions, including one for checking the existence of a user and one for checking the validity of a password. Most of them are required to return 1 for an error and 0 for success, except for the user existence checker which has the opposite logic, and which (having noticed this anomaly) I therefore had to fix...

Once I got a client talking to the server OK, I tried to get it to exchange presence subscriptions between my dot@dotat.at and fanf@jabber.org accounts. No dice: the server-to-server dialback authentication timed out. Huh. I eventually remembered about our wonderful new port blocking setup which is intended to improve the security of MICROS~1 crapware. Of course, all firewalls do is break things, so I have asked our network admins to exempt my workstation from this pointless hindrance.

| Leave a comment | Share

Comments {2}

from: the_warwick
date: 7th Jan 2006 00:51 (UTC)

I admin a firewall. The vast majority of the stuff it protects is Redmondware obviously but there're quite a few unix and linux boxen inside the firewall. I'd be just as unimpressed about them getting 0w3n3d as I would a 'doze box. Should there be something I haven't got round to patching I'd like to think that it isn't going to happen due to the limiting force of the firewall. There are no machines on my network that have unlimited ports open to and from them. Someone requesting that kind of access would be laughed at and asked for a limited scope of ports to open.

Firewalls break things on purpose. The best practise is to start with a single rule "deny all to all". Then you prod holes in it as required. It takes a lot of work to get it right.

Reply | Thread

Keith Lard

from: keithlard
date: 7th Jan 2006 10:39 (UTC)

all firewalls do is break things

A pithy statement with which I have to largely agree.

Reply | Thread