tcpdump mailing list archives

tcpsound-0.2.2


From: "Michael B Allen" <mba2000 () ioplex com>
Date: Sat, 22 May 2004 13:46:39 -0400 (EDT)

Hi,

I wrote this last week at dad's house just for kicks. It's rather
entertaining to listen to so I've created a package and put it on my
website. I don't see myself developing this further so if someone wants to
take over by all means go ahead.

Enjoy!
Mike

--8<--

tcpsound-0.2.2 released
Fri May 22, 2004

Fixed some Makefile proper and added support for ICMP. Still don't have a
really clear sonar "ping" sound. I think a high key on the piano with some
heavy reverb would do it though.

ABOUT TCPSOUND

The tcpsound(1) utility will play sounds in response to network traffic
permitting a user to literally listen to a network. Specifically tcpsound
forks a pseudo terminal in which to run tcpdump(8), parses that output,
and plays a wide variety of user configuable sounds. Interpreting the
output of tcpdump in a pty permits tcpsound to first ssh(1) to a remote
host if desired.

REQUIREMENTS

To install tcpsound you will need tcpdump(8) on the machine on which you
will be capturing packets. On the local machine (where you will be playing
the sounds of those packets) the libsdl sound library and libmba-0.8.9 or
later are required. Libsdl is fairly standard on Linux machines but you
may need to install development packages (specifially SDL-devel and
SDL_mixer-devel for my RH 7.3 machine).

RUNNING

Provided the above requirements have been met, the sound is working
properly on the local mahine, and the user has root access on both the
target machine (to capture packets in promiscuous mode) and local machine
(to access the sound device), a typical commandline for tcpsound is:

  # tcpsound -r myserver.com ! port ssh

This will forkpty(3), ssh to myserver.com, run tcpdump -nn ! port ssh
(note the ! port ssh filter is important so you're not listening to
yourself) and interpret the output playing sounds defined in the users
~/.tcpsound config. Adjust the configuration file to associate different
WAV files with incoming or outgoing traffic on specific ports. See the
tcpsound(1) man page for details.



-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: