On Thu, May 02, 2002 at 04:42:35PM -0500, Burton M. Strauss III wrote:
> purgeIdleHosts() in hash.c IS getting invoked.
of course...
 
> So, if the elapsed time isn't at least 300s
> 
>   if(startTime < (lastPurgeTime[actDevice]+PURGE_HOSTS_DELAY))
>     return; /* Too short */
> 
> returns.  But once every 5m it will continue and do the purge...
> 
>   scanTimedoutTCPSessions(actDevice); /* let's check timedout sessions too */
> 
> Are you saying the TCPSessions scan should be moved up and use the
> SESSION_SCAN_DELAY interval???  Moved into ntop.c around 611:

Yes, regardless, where the function is actually called, it should either
use the SESSION_SCAN_DELAY variable or the other relevant variable
(PURGE_HOST_DELAY) should become a comment that describes that it, too,
controls the session scan and not only the host scan.. 

:)
-christian-


-- 
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
[EMAIL PROTECTED]     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to