15 Commits

Author SHA1 Message Date
muenz
083776869d The IpfixParser was very carelessly reading beyond the end of message boundary.
* 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
2008-01-10 22:21:18 +00:00
sommer
64450987ff Merged revision 1144 of /branches/vermont/cmake: Replaces Autoconf/Automake build system with CMake.
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@1145 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2007-08-31 11:51:34 +00:00
limmer
9bcbb62a7d arg, (once again) Tobi is too stupid to use git, removed changes of last 4 commits
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@1039 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2007-08-10 13:17:10 +00:00
limmer
3122fa8ed7 Build script fixes for odd library paths and for BSD
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@1038 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2007-08-10 13:08:58 +00:00
limmer
b8b1d27749 Added cmake CMake build scripts
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@1035 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2007-08-10 13:08:54 +00:00
limmer
e5d7521f5e moved non-sampler specific code to new subdirectory /common
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@946 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2007-06-26 17:13:07 +00:00
limmer
bf2f1f05de * limited queues with default maximum length of 1000 entries
(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
2007-06-20 15:29:57 +00:00
sommer
033befe69c Made IpfixPacketProcessor an interface instead of a wrapper class
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@898 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2007-06-04 12:08:53 +00:00
muenz
1a1ea7eacb hard shutdown for testCollector
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@890 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2007-06-01 20:58:41 +00:00
sommer
cc52227171 Observer now uses matched malloc/free and new[]/delete[] calls.
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
2007-04-29 00:34:33 +00:00
sommer
50d55e7b18 Merged r826:843 from /branches/vermont-cpp_concentrator: All IPFIX Concentrator library functions now use C++ interfaces
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@846 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2007-04-27 07:34:29 +00:00
lothar
4ffc786a7d merged changes from /branches/vermont-xml-configuration/ to /trunk/vermont/
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@656 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2006-11-07 12:37:44 +00:00
lothar
a407a28c08 merged changes r548:569 from /branches/vermont-merge-concentrator/ into the trunk
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@576 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2006-08-01 13:17:48 +00:00
muenz
e282c92328 - concentrator: small bugfix in rcvIpfix
- 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
2006-05-19 18:44:34 +00:00
muenz
fd4756aad6 - sampler: support of more field types
- 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
2006-01-24 17:52:41 +00:00