Thanx
START OF EXAMPLE SCRIPT
/usr/sbin/tcpdump
END OF EXAMPLE SCRIPT
That wasn't too hard, was it. Tcpdump is a program that monitors network
trafic (which includes internet traffic) and displays information about the
packages (==trafic) which travel thrue the computer. The man page should
give you more help on this item, or type tcpdump --help.
You might want to try Brecht Claerhout's Sniffit which can
be run in an interactive mode: "sniffit -i".
See:
http://reptile.rug.ac.be/~coder/sniffit/sniffit.html
BTW: It compiles out of the box.
--
Louis-ljl-{ Louis J. LaBash, Jr. }
Sent via Deja.com http://www.deja.com/
Before you buy.
There are lots of more user friendly GUI programs if that suits you
better. This includes stuff like 'Ether Ape', 'Ethereal' and
'iptraf'. My favorite is 'Ethereal'.
--
Prasanth Kumar
kum...@home.com
Obviously this was crafted by an incompetent. This how it
should be done and keeps with the Unix philosophy.
--------------------- cut here ------------------------
#!/bin/sh
$1
# end of script
--------------------- cut here ------------------------
Cut on dotted line and save as RUN.
chmod 755 RUN
Usage:
./RUN tcpdump
./RUN ls
To experiment with recursion try "RUN RUN". See how versatile
this implementation is.
"Nobody likes a smart-ass."
Title of a stage play in The French Quarter.
---
Suziko
~~ Date: Thu, 31 Aug 2000 17:09:03 GMT
~~ From: Prasanth A. Kumar <kum...@home.com>
~~ Newsgroups: comp.os.linux.misc
~~ Subject: Re: Tcpdump, monitoring!
~~
~~ "Kaj" <kaj.s...@ekolitt.se> writes:
~~
~~ > I use Tcpdump today but do not realy know howto use it.
~~ > Could anyone tell me how i should do to monitor a pc's intenet traffic?
~~ > Maybe give me a example script or someting.
~~ > I'm using a gateway.
~~ >
~~ > Thanx
~~
~~ There are lots of more user friendly GUI programs if that suits you
~~ better. This includes stuff like 'Ether Ape', 'Ethereal' and
~~ 'iptraf'. My favorite is 'Ethereal'.
Ditto, also Ethereal can read 'tcpdump -w' files.
anm
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Andrew N. McGuire ~
~ anmc...@ce.mediaone.net ~
~ "Plan to throw one away; you will, anyhow." - Frederick P. Brooks, Jr. ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A BRIEF GUIDE TO SETTING UP A NETWORK MONITORING PROCESS USING
TCPDUMP (see):
http://hepunx.rl.ac.uk/ppncg/tcpdump_doc.html
--
Louis-ljl-{ Louis J. LaBash, Jr. }