Emanuel Vintila
|
a244acb732
|
updates after review
|
2018-01-21 12:56:19 +01:00 |
Oliver Gasser
|
ad428be2a1
|
Merge pull request #102 from tumi8/ipfixprinter-remove_destructor_exception
replaced the exception in the destructor with a msg
|
2018-01-20 23:20:50 +01:00 |
Emanuel Vintila
|
092bb8b4cf
|
replaced the exception in the destructor with a msg
|
2018-01-20 11:12:46 +01:00 |
Emanuel Vintila
|
712fd0be43
|
prevent memcpy from putting garbage in 'name' when threadName is not given or when it is shorter than THREAD_NAME_LENGTH
|
2018-01-19 18:22:51 +01:00 |
Emanuel Vintila
|
53557362ee
|
prevent out of bounds array accesses
|
2018-01-19 16:16:44 +01:00 |
Oliver Gasser
|
7dc24f3725
|
Fix format specifier bugs
|
2018-01-17 17:21:28 +01:00 |
Oliver Gasser
|
37c14dd16f
|
Merge pull request #92 from nickbroon/Werror
Use -Werror to fail the build on compiler warnings
|
2018-01-17 15:19:02 +01:00 |
Nicholas Brown
|
6f4df87bc9
|
Use -Werror to fail the build on compiler warnings
Use make -k so that all warnings are ouput if there are any.
This is the future :-)
|
2018-01-17 11:57:55 +00:00 |
Nicholas Brown
|
9607750c06
|
fall throught attribute added to ipfixlolib
|
2018-01-17 11:57:55 +00:00 |
Oliver Gasser
|
3b964fa01b
|
Merge pull request #100 from tumi8/prepare_code_for_Werror
Prepare code for werror
|
2018-01-16 16:43:49 +01:00 |
Oliver Gasser
|
8ae679bad8
|
Merge pull request #99 from tumi8/update_travis_compiler_versions
Update travis compiler versions
|
2018-01-16 16:37:05 +01:00 |
Emanuel Vintila
|
8ad219b1da
|
memcopy directly into &seq, where possible.where not, use sizeof(hu32_data) instead of sizeof(uint32_t)
|
2018-01-16 16:12:48 +01:00 |
Emanuel Vintila
|
a2bc9b14c9
|
updated travis config to use newer compiler versions
|
2018-01-16 16:02:15 +01:00 |
Emanuel Vintila
|
ec67dc43a2
|
solved warnings for gcc-4 (breaking of strict-aliasing rules)
|
2018-01-15 17:39:14 +01:00 |
Emanuel Vintila
|
725d630672
|
solved 'dereferencing type-punned pointer will break strict-aliasing rules' by using memcpy instead of forcing a cast to u32
|
2018-01-14 21:36:03 +01:00 |
Emanuel Vintila
|
38db9b74e8
|
solved 'dereferencing type-punned pointer will break strict-aliasing rules' by creating a new printer helper method for byte arrays
|
2018-01-14 21:32:56 +01:00 |
Emanuel Vintila
|
be3c2914fc
|
solved 'empty expression' warnings
|
2018-01-14 21:28:45 +01:00 |
Emanuel Vintila
|
14474a8bd2
|
fallthrough: handle GNU compiler older than 7
|
2018-01-14 21:21:35 +01:00 |
Oliver Gasser
|
607ce0c889
|
Merge pull request #98 from tumi8/solve_scan-build_bugs
Solve scan build bugs
|
2018-01-08 15:11:34 +01:00 |
Emanuel Vintila
|
c590ba3ba8
|
fixed indentation according to the new vermont coding standard
|
2018-01-08 13:57:11 +01:00 |
Emanuel Vintila
|
8f4f94d402
|
allow only 'ordered' semantics for basicList in the packetAggregator configuration
|
2018-01-08 08:34:46 +01:00 |
Emanuel Vintila
|
482fcb2cd4
|
new code must now adhere to the same coding standard
|
2018-01-07 10:11:46 +01:00 |
Emanuel Vintila
|
932535d470
|
made clear that 'elem = _elem' happens on the else branch when checking against null
|
2018-01-05 17:18:49 +01:00 |
Emanuel Vintila
|
17f9626937
|
fixed indentation
|
2018-01-05 16:17:20 +01:00 |
Emanuel Vintila
|
9b244311b7
|
'n' was no longer used after the value of 'N' was assigned to it
|
2018-01-05 14:28:27 +01:00 |
Emanuel Vintila
|
87714c88e4
|
handle the case where IPFIX template could not be started
|
2018-01-05 14:27:37 +01:00 |
Emanuel Vintila
|
829952a415
|
properly handle the case where no field was filled
|
2018-01-05 14:26:01 +01:00 |
Emanuel Vintila
|
9d616fb3e2
|
assign value to 'this->length' instead of the parameter 'length'
|
2018-01-05 14:23:18 +01:00 |
Emanuel Vintila
|
cfa6614c4d
|
real_now is now initialized in all cases
|
2018-01-05 14:22:22 +01:00 |
Emanuel Vintila
|
d1c7e41e6f
|
handle null pointer accessing bugs + incorrect deletion of array of pointers
|
2018-01-05 14:20:48 +01:00 |
Emanuel Vintila
|
85887c87d8
|
handled the case where malloc allocates 0 bytes, which is implementation defined. Additionaly handled the case where strtoken finds <2 tokens in the Utils::get_double function, which caused atoi to be called with NULL parameters
|
2018-01-04 13:18:56 +01:00 |
Emanuel Vintila
|
91f79e233f
|
handled the case where both elem and _elem are null in the get method
|
2018-01-04 13:07:32 +01:00 |
Oliver Gasser
|
5702c79911
|
Add basiclist example config file
|
2018-01-04 12:29:25 +01:00 |
Oliver Gasser
|
c04203a35e
|
Merge pull request #95 from tumi8/ipfixprinter-support_le_and_be
added support for BE in IpfixPrinter
|
2018-01-03 10:38:08 +01:00 |
Emanuel Vintila
|
8c19558c83
|
removed unnecessary explicit casts to uint16_t
|
2018-01-03 10:26:56 +01:00 |
Emanuel Vintila
|
4b34c0f86d
|
added support for BE in IpfixPrinter
|
2017-12-28 18:27:50 +01:00 |
Oliver Gasser
|
7ac609d7da
|
Merge pull request #93 from tumi8/fix_GCC_warnings
Fix gcc warnings
|
2017-12-22 12:36:02 +01:00 |
Emanuel Vintila
|
02d87e916a
|
defined __FALLTHROUGH__ based on the compiler (clang or gcc) and the language (C or C++)
fixed the order of the GNUC and the GNUG checks (C++ also defines GNUC)
|
2017-12-19 17:04:16 +01:00 |
Emanuel Vintila
|
52564a36d2
|
fixed indentation and stuff
added removed whitespace
|
2017-12-19 14:17:03 +01:00 |
Oliver Gasser
|
5625fe4ff1
|
Implement basicList IE in exporting process
|
2017-12-19 14:02:09 +01:00 |
Emanuel Vintila
|
4f4c544581
|
fixed indentation
|
2017-12-17 21:24:10 +01:00 |
Emanuel Vintila
|
ffb2184cc3
|
solved GCC warnings with DTLS_SUPPORT=ON
|
2017-12-17 21:20:32 +01:00 |
Emanuel Vintila
|
0bc7c84cd0
|
fixed additional GCC warnings, with SUPPORT_DTLS=OFF
|
2017-12-17 20:26:20 +01:00 |
Emanuel Vintila
|
59f2730478
|
fixed GCC's warning when casting from u64 to ntp64, by creating an additional converting function, which assumes little endianess (OK because it was already assumed so in ntohll)
|
2017-12-17 20:24:56 +01:00 |
Emanuel Vintila
|
67907dc12b
|
fixed GCC's implicit fallthrough warning by creating a wrapper around __attribute__((fallthrough)), which is only valid when compiling with GCC. Also fixed some IpfixSender unused variables in case of SUPPORT_DTLS=OFF
|
2017-12-17 20:22:37 +01:00 |
Oliver Gasser
|
5177babf46
|
Add support for IE totalLengthIPv4
|
2017-12-15 17:37:47 +01:00 |
Oliver Gasser
|
5bfd299917
|
add semantic names to ipfix IANA parser
|
2017-12-15 17:37:47 +01:00 |
Oliver Gasser
|
91c3eea73c
|
Update IANA registered data types
|
2017-12-15 17:37:47 +01:00 |
Oliver Gasser
|
ad207fc983
|
Add IANA structured data semantic parsing to script
|
2017-12-15 17:37:47 +01:00 |
Oliver Gasser
|
f6765059ba
|
Merge pull request #91 from nickbroon/readme_install
Install correctly named README.md
|
2017-12-14 17:44:45 +01:00 |