Pulled in the needed cmake modules from rpavlik/cmake-modules and added
targets for all libraries.
Should be useful for developers looking for potential problems.
A built types now have strict default compiler flags.
The default built type is set to 'Release' that build with -O3
To build an others type use something like 'cmake
-DCMAKE_BUILD_TYPE=Debug'. As such the debug option that abuses
add_definition() is no longer needed.
src/tests was already recursively added as a subdir and CMP0013 was
complaining. The test executables are always built, though they are not
executed by any rule. This really should be fixed.
Description:
- cmake -DSUPPORT_POSTGRESQL=ON fails on Linux distributions based on Ubuntu 14.04
Solution:
- Add in CMakeLists.txt:304 the following sentence:
set(PostgreSQL_ADDITIONAL_SEARCH_PATHS "/usr/include/postgresql/9.3/server")
Reference:
- https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1317135 find_package fails on PostgreSQL in 14.04
Make install referred to an old xsd configuration file that used
to be included into vermont. However, it has been removed some
years ago. This commit fixes the install routine by no longer
referencing the xsd for the install target
fixes#16
Previous versions of VERMONT required a proper compile time option
that tells VERMONT about the size of the layer 2 headers.
This means that VERMONT needed to be recompiled if it was
compiled with the default option and needed to be run on ethernet
traffic with VLAN tags.
The current commit enables dynamic detection of the pcap link type
(Ethernet, BSD loopback, ...) and adopts the IP header offset
accordingly.
Furthermore, the code checks for ethernet VLAN tags for each
packet. This allows to analyze traffic that mixes VLAN-tagged
and untagged traffic.
hiredis is the official c client for the redis db. It is
needed to create an Redis IPFIX exorter that can directly write
to the flow-inspector (https://github.com/constcast/flow-inspector)
input queue.
In CMake scripts, do not skip the check for mongodb even if
library and include directories are already cached.
Signed-off-by: Luca Bruno <lucab@debian.org>
- eliminated scanf/printf warnings related to %llu on 64bit architecture by adding casts to (long long unsigned)
- IpfixPrinter prints IE id
git-svn-id: file:///Users/braun/svn/vermont/branches/vermont/new-template@2247 aef3b71b-58ee-0310-9ba9-8811b9f0742f
* export to RAWDIR can be configured in the config file
* rawdir export writes IPFIX header (still, every second packet is a template)
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@1685 aef3b71b-58ee-0310-9ba9-8811b9f0742f
- produce error messages, if parts of boost are not installed
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@1468 aef3b71b-58ee-0310-9ba9-8811b9f0742f
There are three new options for ObservationPoint->parameter:
filename: Name of a pcap file to read packets from (this option disables live capturing).
speed_multiplier: Speed at which packets read from file are feed into the system (1: original speed).
replace_timestamps: Replace timestamps of packets read from file with current time.
See also http://vermont.berlios.de/config.html
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@1174 aef3b71b-58ee-0310-9ba9-8811b9f0742f