======Introduction====== This page contains some fragments of code I have written for fun or experimentation that never made it into full blown programs, either because of design problems, or lack of time. In anycase, they are here for people to play with. Please, if you use one of these fragments, be aware that I *must* be attributed in your code. The code on these pages is available under the GPLv2, unless otherwise stated. All code here is *NOT* guaranteed to work. It may detonate your hard drive, melt your CPU, and set your PSU on fire. OTOH, it might be interesting to read and learn from (my mistakes). ======The Goods====== * {{fasttrace.c}} is an experimental 'fast' traceroute that works by sending out multiple trace packets at once. It identifies the returns by their size (there are better ways, I assure you :-). It is very fast, but sadly its not really practical since many systems rate limit icmp packets and so it often fails to reach its destination, or cannot give accurate hop counts. * {{ fftscope.png?200}}{{fftscope.tar.bz2|fftscope}} is a simple 'spectrum analyser' using a fft routine I shamelessly stole from somewhere (although I dont remember where, so if you recognise the code, speak up!). I bolted this to a gtk2 frontend and it gives graphical output when fed floats on stdin. * {{traceroute-0.0.1.tar.bz2|traceroute}} is a working traceroute implementation. Its a little rough around the edges, but its got a decent structure. The trace engine is easily extracted for other projects.