Think tcpdump is too boring? Put some music to your packets!
Takes tcpdump human output via stdin, spits out a MIDI file to stdout.
This is a terrible hack. It's mostly interesting with TCP traffic.
- Clone this repo
- Install python-midi from here: https://github.com/vishnubob/python-midi/
- Enjoy some sweet jams
tcpdump -n -c 100 | ./tcpdump_tunes.py | timidity -
-noption is required since domain lookups are slow and my regex is lazy.
-coption is required since the MIDI file can't be created until all notes (packets) are accounted for
Thanks to Ryan O'Hara for the idea