Update of /export/home/ntop/ntop
In directory unknown:/tmp/cvs-serv5627

Modified Files:
        globals-core.h globals-defines.h sessions.c pbuf.c 
Log Message:
- handleSession() is the main external interface for TCP/IP session handling.
  handleTCPSession() and handleUDPSession() are invoked from within
  handleSession() and contain code that actually deals with their respective
  protocols instead of handleSession() being one large routine doing everything.- 
handleUDPSession() seems useless and can be discarded. I've preserved it
  so that others can catch any errors that they may find.
- Each L4 protocol such as HTTP, Kazaa etc. have acquired their own session
  routine, invoked from within handleTCPSession(). This cleans up the TCP
  session handling code and makes behavior uniform (there was a case where
  if alloc'ing a structure failed for one protocol a failure was returned and
  there was no checking for the other protocols).
- All TCP security checks have been moved to a single routine. I've checked
  that the code is correct and its invocation is in the right place. I've also
  tested it with various tools to verify that the right thing is happening with
  my changes i.e. nothing is broken. Further testing will be useful. OK, one
  suspicious packet dump routine has been retained as it seemed awkward to
  move it to this one routine.
                                                                                
Hopefully, this was a step forward.


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

Reply via email to