| ||||||||||||||||
| ||||||||||||||||
Search Irongeek.com: ![]() ![]()
Help Irongeek.com pay for bandwidth and research equipment: |
|
-h | Displays a short help for the command line options |
-d dev | Specifies the network device from which packets should be read. |
-p wavfile | |
Specified a wavfile that can be inserted into an ongoing phone conversation on the network. The wavfile must have a sample rate of 8 Khz and 16 bit samples. | |
-r file | Instead of reading packets from the network, the packets are read from a tcpdump(8) dump file. |
filter | A valid pcap(3) filter that determines which packets contain a phone conversation. |
The vomit utility is meant as a network debugging tool, and should be used only in accordance to your local laws. The playback is initiated by hitting return. Instead of just hitting return, it is possible to type the packets that should be skipped and the delay in milli seconds between playback packets. The values have to be comma separated.
Vomit uses libevent to simplify asynchronous event handling. You can find the source code for that library at
http://www.monkey.org/~provos/libevent/
vomit -r phone.dump | waveplay -S 8000 -B 16 -C 1Plays back the phone conversation that has been captured in the dump file phone.dump.
vomit works only for protocols that use G.711.The public version does not support directly reading from the network or rewriting packet streams.
This program contains wave file interpreting code from waveplay by Y.Sonoda, ulaw conversion code from Sun Microsystems and some pcap code from Dug Song.
The vomit utility has been developed by Niels Provos.
Top of page |
April 13, 2001 | vomit (1) |
15 most recent posts on Irongeek.com:
If you would like to republish one of the articles from this site on your
webpage or print journal please contact IronGeek.
Copyright 2020, IronGeek
Louisville / Kentuckiana Information Security Enthusiast