November 2004
Monthly Archive
Front Page27 Nov 2004 09:58 pm
Idavoll - PubSub Server Component
Idavoll is an implementation of a generic Publish Subscribe component for jabberd in Python.
Supported features:
- Creating nodes (including so-called instant nodes)
- Subscribing and unsubscribing
- Publishing items + subscribers getting notifications
- Requesting a previously published item
- Retracting a previously published item
- Purging all items for a node
- Deleting a node
- Configuring a node
- Requesting current affiliations
Cool Tools
Dag Wieers’s Home-Made Tools are some fun sysadmin tools.
In particular, is this bit of coolness: SoapBox. This is an LD_PRELOAD wrapper that monitors and records what changes an application makes to the filesystem. I’ve been looking for something like this for forever. It looks like you can place limits on what the user is allowed to do, too, making this a handy intermediary between a DAC system and going to a full MAC system.
DWall is a shorewall-like iptables front-end. This might be a replacement for shorewall in UMLazi.
DStat is kind of a cross between sar and vmstat/iostat. Might be easier to modify than sar.
Front Page& Messaging18 Nov 2004 06:50 pm
Open-ILS and Jabber
Two bits of news from Open-ILS, the uber-cool project aiming to create a distributed, open-source library automation system.
Yesterday they posted an article on using jabber as their communication system:
I’d like to share a word on communication. We’ve decided to start with Jabber (www.jabber.org) as the communication layer between the various components. Jabber is great because it can be as simple as you want while allowing for practically limitless expansion. Given the open nature of Jabber, for example, we could write our own server components that ‘plug in’ to the jabber server and perform additional tasks on messages besides simply routing them through the messaging network.
Today they posted their November Executive Committee Report, which is a “where we’re at” report. The “Teaching a Programmer” section is fun.
Front Page14 Nov 2004 03:23 am
RSS + Bittorrent
RSSImport for Azureus is a plugin that subscribes to RSS feeds of torrents, and automatically downloads files matching patterns you define.
So now we just need an RSS feed that aggregates data from tons of different trackers.
Front Page& System Admin14 Nov 2004 02:44 am
Running Systems for Fun and Profit
The trick to sysadminning is doing the most with the least amount of home-written code. That’s how you make it a fun challenge. Anyone can brute force a problem. The skill—and the fun—is in solving it with style.
Sysadmin Thought Challenge— Here’s a theoretical problem. How do you solve it?
“Let’s say you have 500 machines, and 5000 users. How do you do authentication?”
Why not take it a step farther? Heck, set up challenges, and provide the machines (UMLs) to do them.
General& Photography14 Nov 2004 02:01 am
Seaplane Travel
I love seaplanes. I think it’s incredibly cool to be able to land anywhere there’s a large enough body of water. This is why I want to get a pilot’s license. Just so I can get a seaplane rating, and head out to sea.
Travelers in Vancouver, BC:

The seaplane airfield in Sechelt, BC:

This next one has a good story behind it. On this plane were a Cowboy American couple, heading to Whistler for vacation, and an old man in a nice suit. We boarded the plane, and were talking about who should sit in the copilot’s seat (which is usually held by a passenger on these tiny planes).
Cowboy: “Anyone know how to fly?
Old man: “I can.”
Cowboy: “Oh? Did you fly in the war?”
The old man nods his head.
Cowboy: “Did you shoot down many Germans?”
The old man chuckles and says, in a barely-perceptable-but-obviously-there german accent, “No, not many.”

Seaplane, coming to take me away from Narrows Inlet:

Front Page10 Nov 2004 06:20 pm
Making Jabber More Secure
Peter Saint-Andre talks about making Jabber more Secure:
- Get all the Jabberd’s using SASL and TLS (as per RFC)
I think plumpy’s jabberd already does this.
- Get XMPP addresses into standard certificates.
- Set up a Cert authority
2 and 3 are… well.. I don’t know. I think cert authorities are dumb. Can’t we do a web of trust instead of a tree?
- Start with s2s, then do s2c.
Aren’t we pretty much all the way there on s2c? I think s2s is the last remaining challenge.
Front Page09 Nov 2004 11:56 pm
Portland Resources
Front Page& Messaging07 Nov 2004 09:42 pm
Found in a Feedster search, and worth repeating.
It’s bigger than this, actually, but it’s a start.
Jeremy Bowers (author of iRights) is doing great work on connecting Jabber to Radio. Lots of mind bombs here. Most of the IM crowd can’t see beyond simple chat etc., but the real gold is in making connections possible. Connecting desktop Web apps is the future of Jabber. [John Robb’s Radio Weblog]
We’re actually going to hook lots of non-web apps together, too. Jabber is what DCE, CORBA, RMI, etc., could have been if they were open, simple, and had a natural ability to span firewalls, yet still be secure.
Now, IM is a way that we get our platform promulgated, but it’s also a key feature that other application-integration approaches don’t have. If users are running an application to chat with their friends, and tell if their friends are online, applications can use the same services to interact with users…
Jabber brings users and applications together with applications and users.
Front Page05 Nov 2004 09:34 pm
Freeform notes from the first week of November
Is there a perl module for generating sendmail-style QID strings? That would be useful for any queuing system, especially the Jabber message queuer. If you encoded the time in there (in hex?) you could insure chronological order. I’m thinking jabber queue client here.
If you want an unprivileged process to be able to signal a privileged process in a well defined way, you can create a directory of “switches”. Files that the unprivileged can touch, and that the privileged can see. If you watch that directory with DNOTIFY, then the privileged process would know about the change in real time.
Logsurfer would make a great event correlation engine. Send all events into a log file (or set of log files) on a single host, and write logic to trigger events if events happen in order, or don’t happen within time periods of each other. Send as many events as possible through it. Start off with simple logic, then write tools to generate more complicated logic.
While we’re underestimating the amount of work involved in writing an event correlator, write a set of rules for every daemon. Write event generators for every daemon. Make “init” spawn events when processes start and stop! Write logsurfer rules on each client to generate events that go to The Correlator.
In Host Configuration Directories, like UMLazi uses, we don’t have a way of “commenting out” values. We can rename them to .files though!
Fluxbox lets you tab together xterms and other windows. What if it gave you the ability to mirror xevents to windows that were tabbed together? What’s stopping us from writing an X application that does that does that?
It would be freaking awesome if “screen” and “xterm” were aware of each other. So that you could use the xterm scrollbar (and thus, a mousewheel) to scroll back through screen history.
Front Page04 Nov 2004 01:05 am
sendxmpp
Sendxmpp
sendxmpp is a script which makes sending xmpp (jabber) messages as easy as sending mail with the “mail” command.