72 Commits

Author SHA1 Message Date
Philippe Duveau
9ad7324dfa AIX_port: second phase 2019-02-14 14:36:05 +01:00
PascalWithopf
c83e3ed216 correct codestyle in rsyslog part 2 2018-08-01 16:11:33 +02:00
PascalWithopf
19133327cc correct codestyle in rsyslog 2018-07-31 09:44:27 +02:00
PascalWithopf
29c9fb1f9a codestyle: reduce line length to 120
lines are still checked for a length of 125 because
these are just some of the lines
2017-12-21 17:09:32 +01:00
PascalWithopf
79de51e4fc codestyle: reduce max line length to 125 2017-12-20 16:16:57 +01:00
PascalWithopf
e485c5c5bc codestyle: shorten lines to max 130 chars 2017-11-15 09:04:42 +01:00
Pascal Withopf
b63a6b9010 codestyle: line length adjusted 2017-01-17 08:54:37 +01:00
Rainer Gerhards
552e252772 Merge pull request #1251 from allanpark/ksi-ignore-service-fail
Ksi ignore service fail
2016-11-10 10:41:13 +01:00
Allan Park
960ad88fdd Fix: silencing code analizer 2016-11-08 15:02:38 +00:00
Allan Park
fa28f75049 Bugfix: fixed extending of KSI signatures in .ksisig files 2016-11-08 09:34:49 +00:00
Allan Park
c5039f8c0a Feature: Changed KSI signing behaviour: if signing fails, the KSI signature will be skipped but blocksigning will continue. rsgutil issues warning if ksi signature is missing 2016-11-08 09:08:10 +00:00
99832e7626 rsgtutil: Added Option to specify KSI publications certificate constraints
closes: https://github.com/rsyslog/rsyslog/issues/1207
2016-10-24 16:00:36 +02:00
Rainer Gerhards
51c03c66e0 make inline functions C99-compliant
As it seems, different C compilers have different rules/interpretations
on inline functions. The current code base did not properly obey all C99
rules. We fix this by converting some functions to macros and others to
include the necessary C99 plumbing. We also remove some inline attributes
for functions where this seems to be to agressive (aka "function to big").

This fixes build problems in some environments and is a general code
cleanup measure.
2016-09-05 16:47:14 +02:00
Rainer Gerhards
c4f6ef71be remove duplicate defintion of rsyslog base type 2016-06-03 11:20:25 +02:00
Rainer Gerhards
cfd94273e5 fix duplicate definition 2016-06-03 09:51:42 +02:00
Rainer Gerhards
3a5ff24abf turn off some gcc warnings
we probably re-enable some of them later on again
2016-06-02 17:34:32 +02:00
Rainer Gerhards
8a8675b223 fix compiler warnings 2016-06-02 10:18:05 +02:00
1744306e6f librsksi: Fixed multiple compiler warnings and removed unused parameters. 2016-03-09 10:13:08 +01:00
Rainer Gerhards
bf476a05b4 KSI subsystem: fix some compiler warnings
partly closes https://github.com/rsyslog/rsyslog/issues/859
2016-03-09 08:52:18 +01:00
Rainer Gerhards
f88fecda53 fix compiler warning 2016-03-08 16:58:35 +01:00
Rainer Gerhards
b7cf178a84 rsgtutil: fix log line extraction
level correction in chain file was improperly calculated

closes https://github.com/rsyslog/rsyslog/issues/832
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
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
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
Rainer Gerhards
0c4e641344 suppress some more compiler warnings 2016-01-26 19:05:14 +01:00
47577cda22 rsgtutil: Fixed merge problems related to the commit below.
8502cf945e
2016-01-22 09:30:00 +01:00
2d3b2c672d Merge branch 'ksi-extract-tool' of https://github.com/alorbach/rsyslog-1 into alorbach-ksi-extract-tool
Conflicts:
	runtime/librsksi.h
2016-01-22 08:56:13 +01:00
00331ec16b rsgtutil: Rewrite of KSI Extraction and verification process 2016-01-21 11:53:36 +01:00
9ca66d7b62 rsgtutil: Implementing signature extraction part 2016-01-20 07:10:35 +01:00
Rainer Gerhards
71c2430a59 KSI: fix regression from today's cleanup 2016-01-13 08:11:30 -05:30
b680aeca4b libksi: Fixed TLV container tag for ksi signatures.
closes https://github.com/rsyslog/rsyslog/issues/587
2015-12-07 16:38:13 +01:00
d73814d768 rsgtutil: Added options to set a custom KSI Extender URL
This also includes options for user and key.
2015-12-07 16:38:13 +01:00
Henri Lakk
5b955229d1 The output types for fome functions have changed. 2015-12-07 16:38:13 +01:00
4d3d8209d1 libksi: Fixed bug in extend signature function used by rsgtutil.
The signature was extended but not properly serialized before
it was copied into the tlvrecord.
2015-12-03 08:46:16 +01:00
cf05b04973 libksi: removed further issues reported by clang. 2015-12-02 17:21:15 +01:00
91551b971f libksi/libgt: fixed multiple potential memory leaks.
All memory leaks were found and analyzed with clang.

closes https://github.com/rsyslog/rsyslog/issues/615
2015-12-02 15:16:39 +01:00
4c61779831 libksi: Fixed multiple clang "Dereference of null pointer" issues 2015-12-02 10:35:16 +01:00
0fe7f1aa28 libksi: reverted pull request #536 for libksi 3.4.0.1
As there is currently an issue open for the libkis versioning,
the patch cannot be merged yet as it break compatibility with the
current release library.

For more see: https://github.com/rsyslog/rsyslog/pull/536
2015-11-23 06:28:57 -08:00
ebb9c4a863 Merge branch 'ksi_2015sept' of https://github.com/vii5ard/rsyslog into ksisig-wrongcontainer 2015-11-20 07:28:45 -08:00
Henri Lakk
dbda7347f9 Fixed typo and added KSI_getErrorString output to error and debug messages. 2015-11-10 16:52:25 +02:00
Henri Lakk
2cec7f1d3e The output types for fome functions have changed. 2015-09-21 15:15:00 +03:00
Rainer Gerhards
379db0d7e9 Merge branch 'gt-comp-break' of https://github.com/alorbach/rsyslog-1 into master-candidate 2015-07-09 10:27:58 +02:00
Michael Biebl
91b6954331 typo fix: paramter → parameter
Followup fix for 6fbacdc41d37ce3091709e71f6f0e66912237606
2015-06-30 18:07:09 +02:00
33ccb3be62 KSI: Implemented format conversion function into rsgtutil
Adds support for KSI file format conversion

closes https://github.com/rsyslog/rsyslog/issues/364
2015-06-30 07:33:28 -07:00
6ec2d564dd GT: Implemented format conversion function into rsgtutil
Using a new command switch -c, old V10 signature files can be
converted into V11.

closes https://github.com/rsyslog/rsyslog/issues/364
2015-06-30 07:33:16 -07:00
89e176a0f5 KSI: Cleanup code and removed obselete files 2015-06-26 08:58:06 +02:00
2a7ac43103 KSI: Merged KSI Verify function into rsgtutil 2015-06-26 08:58:06 +02:00