Source code
Any source code released here is publicly available, and released under a new BSD license. The source code itself is all available from http://svn.sdstrowes.co.uk/pub/.
BGP Scripts: Route Views path extractor, generate AS links
I regularly pull data from Route Views for use in my research. The naming schemes between collectors differs in places, and the BGP data arrives in different formats. The data in its raw form is not so especially useful. I use these scripts to pull down current Route Views data and mash it together into more immediately useful forms. Given the differing naming schemes and data formats, the scripts help avoid little mistakes.
The grubbiest part of the collection is the AWK script to cleanse the Cisco-format BGP data. This is grubby because the output from the Cisco routers is intended to be human readable, and its format has changed over time. The AWK script takes the Cisco output, and produces much cleaner prefixes with associated paths.
Longest Prefix Matcher
Utility to match a given IP address to its longest prefix match.
Orta
The overlay for real-time applications. A stand-alone peer-to-peer library written in C, and designed primarily for use with the Robust Audio Tool, a work of the UCL Network and Multimedia Research Group.
- Get the code.
- Or, read a technical report describing the performance of the overlay, written August 2005.
Clickr: cli Flickr image uploader
Command line Flickr image uploader. Written in idle time over a couple of weekends as a tool I could run as part of a regular cron task.
C Fragments
Some bits of C.
Scala fragments
Some example Scala code, including an efficient implementation of Dijkstra's shortest-paths algorithm, an object interning class, and example Scala RemoteActor code.