9439 Commits

Author SHA1 Message Date
Rainer Gerhards
4376e6fc5b bugfix: KSI components could only be built if libksi was in default location 2016-03-08 15:42:18 +01:00
809409906b rsgtutil: Added support to dump Record Integrity Proof Files
closes https://github.com/rsyslog/rsyslog/issues/845
2016-03-08 15:42:18 +01:00
22a64b05c5 rsgtutil: Added detection for correct API in dump mode
closes https://github.com/rsyslog/rsyslog/issues/844
2016-03-08 15:42:18 +01:00
f543fb00e4 rsgtutil: Fixed missleading comment in librsgt 2016-03-08 15:42:18 +01:00
1644ed14ac rsgtutil: Added new testsuite data and debug output 2016-03-08 15:42:18 +01:00
5420b40780 rsgtutil: Fixed multiple minor memory leaks found using new KSI tests 2016-03-08 15:42:18 +01:00
6d1f4013f1 rsgtutil: Fixed wrong TLV Len calculation for hash chains.
Also returned correct exit code (65) when verify or extract fails.
Closes https://github.com/rsyslog/rsyslog/issues/805
2016-03-08 15:42:18 +01:00
fe60aac7d1 rsgtutil: fixed multiple memory leaks in KSI extract function
closes https://github.com/rsyslog/rsyslog/issues/804
2016-03-08 15:42:17 +01:00
c3eb502c61 testbench: Fixed running ksi tools only when usertools is enabled
Enabled usertools in travis
2016-03-08 15:42:17 +01:00
890571cb1c testbench: added multiple tests for rsgtutil using extract and verify function.
Also added a version for valgrind for each test.
2016-03-08 15:42:17 +01:00
0e2343000d testbench: Initial added rsgtutil tests using KSI to verify signed sample logdata 2016-03-08 15:42:17 +01:00
Rainer Gerhards
b77c739c13 prepare version for release 2016-03-07 07:30:48 +01:00
Rainer Gerhards
44648328fa maintain and structure ChangeLog for release 2016-03-07 07:29:55 +01:00
Rainer Gerhards
909b8decc2 fix a debug message 2016-03-06 18:18:58 +01:00
Rainer Gerhards
35c751f055 maintain ChangeLog 2016-03-05 19:01:10 +01:00
Rainer Gerhards
69e1be41ac improve json variable performance
We use libfastjson's alternative hash function, which has been
proven to be much faster than the default one (which stems
back to libjson-c). This should bring an overall performance
improvement for all operations involving variable processing.

closes https://github.com/rsyslog/rsyslog/issues/848
2016-03-05 11:23:05 +01:00
Rainer Gerhards
2f366202ba Merge branch 'buildsystem-clang-i834' of https://github.com/rgerhards/rsyslog into tmp 2016-03-04 17:05:43 +01:00
Rainer Gerhards
3f9b3fee1f Merge branch 'getopt_short_parameters' of https://github.com/vii5ard/rsyslog into tmp 2016-03-04 17:05:20 +01:00
Rainer Gerhards
a205dd4e27 Merge branch 'rsgtutil_version_flag' of https://github.com/vii5ard/rsyslog into tmp 2016-03-04 17:04:42 +01:00
Rainer Gerhards
af3bc3270b maintain ChangeLog 2016-03-04 15:46:48 +01:00
Rainer Gerhards
986b3ea561 build system: fix build issues with clang
clang builds often failed with a missing external symbol
"rpl_malloc". This was caused by checks in configure.ac,
which checked for specific GNU semantics. As we do not need
them (we never ask malloc for zero bytes), we can safely
remove the macros.

Note that we routinely run clang static analyer in CI and
it also detects such calls as invalid.

closes https://github.com/rsyslog/rsyslog/issues/834
2016-03-04 15:43:56 +01:00
4c6cc2a60d rsgtutil: Fixed multiple memory leaks found using valgrind
closes https://github.com/rsyslog/rsyslog/issues/804
2016-03-04 14:40:09 +01:00
076043636f rsgtutil: Fixed multiple issues found using scan-build
A few memory leaks but als compiler warnings were fixed.
Closes https://github.com/rsyslog/rsyslog/issues/754
2016-03-04 14:40:09 +01:00
Henri Lakk
18ed15159d The function getopt_long requires colons for flags, if there is a required parameter. 2016-03-04 14:39:13 +01:00
Henri Lakk
4a6c921f34 Fixed typo on help. 2016-03-04 14:39:13 +01:00
Rainer Gerhards
775966b442 maintain ChangeLog 2016-03-04 09:06:10 +01:00
Rainer Gerhards
876161553a imfile: reword error message
... as suggested by Peter Portante
2016-03-04 09:05:44 +01:00
Rainer Gerhards
8582c803ed Merge branch 'master-candidate' of https://github.com/taotetek/rsyslog into master-candidate 2016-03-04 09:02:38 +01:00
Rainer Gerhards
cf50e20c31 Merge branch 'module-unload-param-i704' of https://github.com/rgerhards/rsyslog into master-candidate 2016-03-03 17:20:41 +01:00
Rainer Gerhards
cbe5890e54 maintain ChangeLog 2016-03-03 17:20:04 +01:00
Rainer Gerhards
25647988d1 Merge branch 'testbench-date-ordinal' of https://github.com/rgerhards/rsyslog into master-candidate 2016-03-03 17:18:36 +01:00
Brian Knox
4afaba2a3c fix possible buffer overflow in imfile config parser 2016-03-03 09:49:25 -05:00
Rainer Gerhards
c201157493 Merge branch 'travis-towards-containers' of https://github.com/rgerhards/rsyslog into master-candidate 2016-03-03 15:44:29 +01:00
Rainer Gerhards
f0714b6f7b maintain ChangeLog 2016-03-03 15:43:17 +01:00
Rainer Gerhards
23704afb30 bugfix: abort if global parameter value was wrong
If so, the abort happened during startup. Once started,
all was stable.
2016-03-03 15:41:02 +01:00
Rainer Gerhards
d808babad1 maintain ChangeLog 2016-03-03 15:35:05 +01:00
Rainer Gerhards
ed3bf185cb implement global parameter "debug.unloadModules"
This permits to disable unloading of modules, e.g.
to make valgrind reports more useful (without a need
to recompile).

implements https://github.com/rsyslog/rsyslog/issues/704
2016-03-03 15:33:05 +01:00
Rainer Gerhards
ea23883483 travis: libgrok is not availabel on Ubuntu 12.04 2016-03-03 14:03:09 +01:00
Rainer Gerhards
210032b2a0 bugfix: "date-ordinal" could cause segfault for invalid date
The input parsers guard against this condition, however, it
can occur on the "timegenerated" property if the local
system time is misconfigured to a date outside the
valid range.
2016-03-03 13:59:54 +01:00
Rainer Gerhards
b8b4191873 testbench: add tests for date-ordinal formatting flag
closes https://github.com/rsyslog/rsyslog/issues/835
2016-03-03 13:59:54 +01:00
Rainer Gerhards
466a282438 Merge branch 'testbench-add-timereceived' of https://github.com/rgerhards/rsyslog into master-candidate 2016-03-03 09:43:01 +01:00
Rainer Gerhards
51d2b4798d Merge branch 'master' into master-candidate 2016-03-03 09:25:38 +01:00
Rainer Gerhards
00abc72d1a maintain ChangeLog 2016-03-03 09:25:20 +01:00
Rainer Gerhards
7938c629a9 travis: adjust for packages not yet whitelisted by travis
this also means we cannot proceed towards container-builds
for the whole system. We may consider adding an extra
container run with a subset, if that makes sense
(a.k.a "if travis non-container keep being very slow")
2016-03-03 09:21:00 +01:00
Rainer Gerhards
54826be8c4 add missing test file 2016-03-03 08:53:30 +01:00
Rainer Gerhards
a58a50a8ae Merge branch 'fixHiredisCheck' of https://github.com/jaymell/rsyslog into master-candidate 2016-03-03 08:08:36 +01:00
Rainer Gerhards
ad931d23d8 maintain ChangeLog 2016-03-03 08:03:38 +01:00
Rainer Gerhards
6520f99602 travis: moving towards container-based builds for 12.04 2016-03-03 08:01:08 +01:00
Rainer Gerhards
f2fbd24a40 Merge branch 'testbench-add-hiredis' of https://github.com/rgerhards/rsyslog into master-candidate 2016-03-02 18:16:23 +01:00
Rainer Gerhards
5cb41f7483 timestamp handling: guard against invalid dates
We do not permit dates outside of the year 1970..2100
interval. Note that network-receivers do already guard
against this, so the new guard only guards against invalid
system time. Still good to have (especially when things are
extended...)
2016-03-02 15:58:18 +01:00