[OpenSER-Devel] SF.net SVN: openser: [2548] trunk

Henning Westerholt henning.westerholt at 1und1.de
Mon Jul 30 18:24:44 CEST 2007


Revision: 2548
          http://openser.svn.sourceforge.net/openser/?rev=2548&view=rev
Author:   henningw
Date:     2007-07-30 09:24:44 -0700 (Mon, 30 Jul 2007)

Log Message:
-----------
- seed the random generator in the core for timer, tcp_main, udp_listener and 
  tcp_listener processes
- now all processer using a different random state for the generation of pseudo
  random numbers
- previously every processes used the same state, this could lead to security
  problems
- initalization of the random generator used with 'rand()' in the modules is 
  now not needed anymore
- if other random generators (e.g. random(), drand48()) are needed, then the
  current functions needs to be extended
- add a small utility function for seeding to ut.{c,h}
- port ut.{c,h} to the new logging infrastructure

Modified Paths:
--------------
    trunk/main.c
    trunk/tcp_main.c
    trunk/ut.c
    trunk/ut.h


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list