Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickpegg/tcpdump-tunes
Think tcpdump is too boring? Put some music to your packets!
https://github.com/nickpegg/tcpdump-tunes
Last synced: 7 days ago
JSON representation
Think tcpdump is too boring? Put some music to your packets!
- Host: GitHub
- URL: https://github.com/nickpegg/tcpdump-tunes
- Owner: nickpegg
- Created: 2014-10-07T20:32:17.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-11T14:01:48.000Z (about 10 years ago)
- Last Synced: 2024-11-07T20:01:24.719Z (about 2 months ago)
- Language: Python
- Size: 133 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tcpdump Tunes
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.
## Installation
1. Clone this repo
2. Install python-midi from here: https://github.com/vishnubob/python-midi/
3. Enjoy some sweet jams## Usage
`tcpdump -n -c 100 | ./tcpdump_tunes.py | timidity -`* The `-n` option is required since domain lookups are slow and my regex is lazy.
* The `-c` option is required since the MIDI file can't be created until all notes (packets) are accounted for## Credits
Thanks to Ryan O'Hara for the idea