Author: deri Date: 2011-12-28 22:46:14 +0100 (Wed, 28 Dec 2011) New Revision: 5085
Modified: trunk/ntop/Makefile.am trunk/ntop/configure.in trunk/ntop/globals-defines.h trunk/ntop/globals-report.h trunk/ntop/globals-structtypes.h trunk/ntop/http.c trunk/ntop/pbuf.c trunk/ntop/plugin.c trunk/ntop/plugins/Makefile.am trunk/ntop/plugins/netflowPlugin.c trunk/ntop/plugins/rrdPlugin.c trunk/ntop/plugins/sflowPlugin.c trunk/ntop/prefs.c trunk/ntop/prng.c trunk/ntop/report.c trunk/ntop/sessions.c trunk/ntop/util.c trunk/ntop/webInterface.c Log: Variour user-contributed patches - Yuri: fixed some leyour issues - Brian Behrens <[email protected]> 1. Added a section for libpcap detection if installed in /usr/lib64 (as the network security toolkit installs it here) in configure.in. 2. Enabled network image map functionality, also changed the network map to a svg file for larger maps. 3. Added the shutdown of sockets to ensure sockets get closed. I was experiencing issues with connections getting stuck in CLOSE_WAIT, and this has appeared to eliminated most of those issues. When the connections would get stuck in CLOSE_WAIT, ntop would not respond to any web requests until all connections timed out, which could be hours. 4. Removed additional references to cpacket plugin as its been retired. 5. Refined max hash entries and max sessions to be able to support more than 65535 sessions. In my heavily loaded network, I would punch through that many sessions and ntop would never increase past 65535 in passing -X, etc. 6. In the prng_Destroy function, the function was not using the safe_free memory call, so I added a line to set the pointer to null after the free call. This caused a segfault.e 7. Increased a few buffer sizes due to error output in ntop logs. 8. In the updatePacketCount function, I ran into a wierd condition where localtime_r was not returning a valid time, so I added a check and if the time is invalid, it refreshes myGlobals.actTime, and thisTime. This caused a segfault. _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
