* Tried to find and improve all places where reading beyond set and message bounderies could happen
* Tested the new parser with some forged testpackets, and it seems to work correctly
Note: The handling of variable length fields is still not threat-proof (see FIXMEs in IpfixParser.cpp)
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@1517 aef3b71b-58ee-0310-9ba9-8811b9f0742f
(functions which want to add another element are blocked by a semaphore)
* TimeoutSemaphore checks regularly if program has been shut down
(so it's not a problem to use TimeoutSemaphore::pop any more)
* changes in logging and debugging module:
* timestamp output
* thread ids are shown
* optional parameters in msg.h (PRINT_*) enable output of current filename
and line number and/or function name
* logging is threadsafe now!
* new function DPRINTFL which allows specification of debug level
* new macro THROWEXCEPTION which logs and throws an error
(all occurences of throw std::runtime_error have been replaced)
* msg.c renamed to msg.cc (as c++ code is inside it)
* new configure flag: --enable-pcapmmap
if this flag is enabled, make will look for libpcap-mmap in
../libpcap-mmap/libpcap.a (so the library has to be compiled beforehand)
* Lock renamed into Mutex
* removed bugs:
* removed small comparison bug in TimeoutSemaphore, which caused Vermont to
segfault very rarely and converted the color of a few hairs to grey ...
* removed bug in autoconf config
* removed bug in HookingFilter
* lots of new debugging output
* removed unused file Semaphore.h
* various tiny improvements
* various additional comments
* various code cleanups
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@930 aef3b71b-58ee-0310-9ba9-8811b9f0742f
IpfixCollector now uses a ConcurrentQueue.
ConcurrentQueue can now hold non-pointer types.
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@851 aef3b71b-58ee-0310-9ba9-8811b9f0742f
- sampler: payload now exported with variable length fields (no padding)
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@558 aef3b71b-58ee-0310-9ba9-8811b9f0742f
- testcollector now part of VERMONT package (thanx to Christoph)
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@525 aef3b71b-58ee-0310-9ba9-8811b9f0742f