PortMonitor/G 07/25/04 00:34:29 (c)2004 Max Vilimpoc A graphical network port monitoring tool. Instructions ------------ 1. Unpack the archive. 2. Run PortMonitorG.exe Enter the number of the interface you wish to monitor. To quit the program, use either CTRL-C or click the [X] icon on the window frame. 3. E-mail me if you have any problems or suggestions. Console Output Explanation -------------------------- The following characters are output by the various threads during program execution: 'b' the main() while() loop outputs this every time an event is picked up. 'p' tPacketNabber() every time its while() loop is entered. 'c' tPacketNabber() only when a packet is captured. 'u' tUIHandler() every time its while() loop is entered. 'f' tUIHandler() only when at least 30ms have passed since the last loop. 'm' tUIHandler() only when some ports are about to be drawn to the screen. These are useful for debugging performance. e.g. If you see too much of one character being drawn, while others are lagging, then you might have a thread that's needlessly looping. Sample Console Output --------------------- K:\Research\D\Research -- 256x256 PortMonitor\0.8.6\Release>PortMonitorG STARTUP: SDL_SetVideoMode() called successfully. STARTUP: semPacket initialized. STARTUP: btUIHandler()STARTUP: tSwingBuffers()STARTUP: tPacketNabber() Please select an interface: SDL_VIDEOEXPOSE signal received. bbbbbbb1. \Device\NPF_GenericNdisWanAdapter Generic NdisWan adapter 2. \Device\NPF_{1CC26294-0F03-43C6-AA04-4D7E09BF3E55} Realtek RTL8139 Family Fast Ethernet Adapter (Microsoft's Packet Scheduler) Select one of the above interfaces: bbbbSDL_VIDEOEXPOSE signal received. bbbb2 STARTUP: pcap blocking mode: 0 STARTUP: condition signal sent. upfppuupuupupuuupuuupfpuuupucppumpppppuuupuuupuuupuuufpuuuupuuuupuuufpuuuuuppupp uupupuufpuupuupuuupuuuufpuuupuuuupuuuufpuuuupcpcpumppppppuuupuuupuuupuuufpuuuupu uuupuuufpuuuuupuuuuupufuuupuuuuuupuufuupuuuuuuupuufuuupuuuuuuufpuuuuupuuuuuufpuu uuuuuuupuufuuuupuuuuuuufpuuuuuuuuupcpumpcppppppuuupuupuuupuuuufpuuupuuuupuuuufpu uuupuuuuupuufuupuuuuupuuuufupuuuuuupuuuufupuuuuuuupuuufuuupcpupmpcppppppcupmcpcp pppppuuupcpupmpcpcppppppupuupuuupuuuupuufpuuuupuuuupuufupuuuuupuuuufpuuuuuupuuuu ufpuuuuuupuuuuufpuuuuuuupuuuufuupuuuuuuupufuuuupuuuuuuufpuuuuuuuuupuufuuuuupuuuu uufuupuuuuuuuuufpuuuuuuuuupuufuuuuuupcpumpppppupuupuuuupuuupuufpuuuupuuuupuuufpc pumpppppcppcupmpppcpppppuuupuupuuupuuufpuuupuuuupuuupufuupuuuuupuuuufpuuuuupuuuu uufpcpmpppcpppppuuSDL_QUIT signal received. uShuttinuuShutting down tUIHandler(). graphics_thread stopped. Shutting down tSwingBuffers(). swingbuffer_thread stopped. CLOSEDOWN: Final Dump of Buffers: CLOSEDOWN: Write Buffer empty. BufToRead Size: 1 Contents of BufToRead: 4712 CLOSEDOWN: Ports accessed since program start (Number of packets) 80 (8) 4712 (8) 18459 (1) 18715 (1) 20507 (1) 20763 (1) K:\Research\D\Research -- 256x256 PortMonitor\0.8.6\Release>