Monitoring tcp/ip

Craig Hughes limey at hri.com
Tue Oct 2 00:17:03 AEST 1990


I'd like to be able to monitor tcp/ip traffic on my system without
having to rewrite all of the socket()  related system calls to include
instrumentation. Is there an easy way to notify a process that a
connection is being made on that particular machine?  Once I have that,
I believe I can make a daemon that will transparently pass this
information between communicating processes. 

The program xmon which monitors X protocol streams, does something close
to what I want; it looks like the X server to the clients, and looks like 
the clients to the X server, but it knows what port numbers to listen to; I
don't, and therefore have to somehow monitor all ports for
communication requests.

Any input would be appreciated,

--craig
------------------------------------------------------------------------
---------
Craig S. Hughes				UUCP: ...bbn!hri.com!limey
Horizon Research, Inc.			INET: limey at hri.com
1432 Main Street
Waltham, MA 02154			
			<- ------------- ->
------------------------------------------------------------------------
---------



More information about the Comp.unix.internals mailing list