Marinetti tcp snooper CDA.
Go to file
Kelvin Sherlock e064126d90 clang-format
2019-01-19 21:25:25 -05:00
.clang-format reformat. 2019-01-16 21:26:42 -05:00
cda.asm minor tweaks to build with golden gate. 2019-01-15 00:10:12 -05:00
cda.mac minor tweaks to build with golden gate. 2019-01-15 00:10:12 -05:00
debug.c minor tweaks to build with golden gate. 2019-01-15 00:10:12 -05:00
GNUmakefile update makefiles 2019-01-17 00:15:28 -05:00
ifconfig.c clang-format 2019-01-19 21:25:25 -05:00
makefile.mk update makefiles 2019-01-17 00:15:28 -05:00
netstat.c initial checkin 2019-01-14 23:06:45 -05:00
readme initial checkin 2019-01-14 23:06:45 -05:00
snooper.c might be nice to know the size and address before printing it... 2019-01-17 20:56:40 -05:00
ur.c minor tweaks to build with golden gate. 2019-01-15 00:10:12 -05:00

TCP Snooper

TCP Snooper is a Classic Desk Accessory (CDA) which shows some information on all currently active Marinetti TCP connections.  It is useful if youUre programming or debugging a TCP program, or if you just like to know whatUs going on with your system.

Information shown includes the ipid, state, address. source port, destination port, and how much data is in the receive queue and send queue.

Kelvin Sherlock, 2004-2006


How To Build TCP Snooper
======================

TCP Snooper is written in Orca/C and Orca/M, therefore you will need both Orca/C and Orca/M to be able to build this utility.

To be able to follow these instructions without modification, you will need to have the the GNO/ME environment installed. It should also be possible to build the utility using the Orca environment, however no instructions are provided on how to do this.

Prerequisites
------------
Kelvin has modified his liborca library to include an implementation of fdprintf() which is used by TCP Snooper. Kelvin's modified liborca library cannot be released as part of the Marinetti Open Source Project, but it is required to be able to build TCP Snooper.

You can download Kelvin's Orca library from http://iigs.ksherlock.com/liborca/
Place it in the same directory as the TCP Snooper source code.

You also need to generate the macro file that is used by the source code.

If you are using GNO/ME you can do this with the following command:
macgen cda.mac /lang/orca/libraries/ainclude/m16.* /lang/orca/libraries/orcainclude/m16.tools /lang/orca/libraries/ainclude/m16.orca

If you are using Orca:
macgen cda.mac 2:ainclude:m16.= 2:orcainclude:m16.tools 2:orcainclude:m16.orca


Build TCPSnooper
---------------
A makefile for use with dmake is provided. dmake should be installed in your GNO/ME environment.

The makefile can be used to make either the command line version or the CDA version of the utility.

dmake netstat --> creates command line version
dmake tcpsnooper.cda -->creates CDA version