11426 Commits

Author SHA1 Message Date
Rainer Gerhards
2368cbfea5 omzmq3: fix gcc-7 build warnings
closes https://github.com/rsyslog/rsyslog/issues/2096
2017-11-25 10:42:51 +01:00
Rainer Gerhards
9d572f1172 imzmq3: fix gcc-7 build warnings 2017-11-25 10:41:42 +01:00
Rainer Gerhards
0704ef2439 [io]mzmq3: deprecate modules
closes https://github.com/rsyslog/rsyslog/issues/2100
2017-11-25 10:38:25 +01:00
Rainer Gerhards
4021520d35 maintain ChangeLog 2017-11-24 13:08:12 +01:00
Rainer Gerhards
03d99f1238
Merge pull request #2091 from allanpark/Issue-2090-lmsig_ksils12_libksi_async_mode
Issue 2090: Add possibility to use the asyncronous mode of the libksi (>=3.16)
2017-11-24 12:59:23 +01:00
Rainer Gerhards
289d4cead6
Merge pull request #2101 from PascalWithopf/i-1776
tcpflood: add err when parameter -Ttls is missing
2017-11-24 12:15:07 +01:00
Rainer Gerhards
83de08c5cf maintain ChangeLog 2017-11-24 10:44:35 +01:00
Rainer Gerhards
dfe89f29e0
Merge pull request #2071 from rgerhards/es-testbench-additions
testbench: improvements in elasticsearch testing
2017-11-24 10:43:15 +01:00
PascalWithopf
3b5568b69c tcpflood: add err when parameter -Ttls is missing
When TLS certificates are specified but TLS is NOT enabled
tcpflood now exits with an error message.
This was decided as useful in https://github.com/rsyslog/rsyslog/issues/1776
2017-11-24 10:37:48 +01:00
Rainer Gerhards
cf425b2c36 testbench/omkafka: update valgrind test to more flexible test framework 2017-11-24 08:14:32 +01:00
Allan Park
2cb7071a2f Added static keyword to a file local function 2017-11-23 19:56:21 +02:00
Rainer Gerhards
326af71fbd
Merge pull request #2093 from rgerhards/cid-185366
msg handling: emit error message if ruleset cannot be assigned to msg
2017-11-23 18:01:57 +01:00
Rainer Gerhards
0a590b057a msg handling: emit error message if ruleset cannot be assigned to msg
note: this is a non-fixable situation, but we now at least let the
user know

Detected by Coverity scan, CID 185366
2017-11-23 16:59:22 +01:00
Rainer Gerhards
d7ffcbf763 maintain ChangeLog 2017-11-23 15:38:50 +01:00
Rainer Gerhards
e110a5ac9f
Merge pull request #2088 from rgerhards/i-2085
[io]mkafka fixes and enhancements
2017-11-23 15:37:42 +01:00
Rainer Gerhards
0fe2de8f24
Merge pull request #1917 from jjourdin/master
Improvement on ommongodb: mongo-c-driver with TLS and replicaset
2017-11-23 15:31:48 +01:00
Rainer Gerhards
de4a18fc73
Merge pull request #2087 from rgerhards/coverity-1
"fix" Coverity scan false positives
2017-11-23 15:22:34 +01:00
Hugo SOSZYNSKI
621153ddab Updated the Copyrights of the modified files. 2017-11-23 14:12:38 +01:00
Allan Park
a8a754ee40 Add possibility to use the asyncronous mode of the libksi (>=3.16) (Issue 2090) 2017-11-23 13:11:41 +02:00
Hugo SOSZYNSKI
1d55cad041 Made the funtions static hopping to correct the "no previous prototype" problème and suppresion of trailing spaces 2017-11-23 11:38:10 +01:00
Rainer Gerhards
a82bb9cb2d "fix" Coverity scan false positives 2017-11-23 09:15:56 +01:00
Rainer Gerhards
e94c8413ed omkafka: trying to "fix" Coverity scan false positive 2017-11-22 18:39:25 +01:00
Rainer Gerhards
34fb903251 omkafka: fix coding style (no functional changes) 2017-11-22 18:36:18 +01:00
Rainer Gerhards
fe9b00c5b0 omkafka: add warning message if default broker is used
this happens if the "brokers" paraemter is not given. Previously,
this was done silently, now the user knows.
2017-11-22 18:14:25 +01:00
Rainer Gerhards
0689ce6128 imkafka bugfix: segfault if "broker" parameter is not specified
Now emits warning message instead and uses hardcoded default
(which usually matches where the kafka broker can be found).
fixes https://github.com/rsyslog/rsyslog/issues/2085
2017-11-22 18:12:45 +01:00
Rainer Gerhards
c29ec7f52c
Merge pull request #2080 from rgerhards/i-2040bis
udp socket creation: make IPFREEBIND work
2017-11-22 17:36:41 +01:00
Rainer Gerhards
e88605f76d
Merge pull request #2083 from jgerhards/errmsg-imczmq
imczmq: use new errmsg interface
2017-11-22 17:36:24 +01:00
Rainer Gerhards
719dcd0ff0
Merge pull request #2081 from jgerhards/errmsg-imzmq3c
imzmq3: use new errmsg interface
2017-11-22 16:16:55 +01:00
Rainer Gerhards
43ec4853c8
Merge pull request #2082 from jgerhards/errmsg-omtclc
omtcl: use new errmsg interface
2017-11-22 16:15:43 +01:00
Jan Gerhards
f2cc076e5b imczmq: use new errmsg interface 2017-11-22 14:39:28 +01:00
Jan Gerhards
d546fb4779 omtcl: use new errmsg interface 2017-11-22 14:35:36 +01:00
Jan Gerhards
8bc6628f2c imzmq3: use new errmsg interface 2017-11-22 14:26:13 +01:00
Rainer Gerhards
464a6295ba udp socket creation: make IPFREEBIND work
... and also solve a socket leak that pre-8.31 occurred when the option
was enabled.

Special thanks to github user amg1127 who analysed the situation and
actually provided the original patch for the issue. Unfortunately, the
existing code base was really bad, and so I needed to do some refactoring
first. My patch here is modelled exactly after amg1127's patch, but
bases on the refactoring.

Full credits for the patch belong to amg1127.

see also https://github.com/rsyslog/rsyslog/pull/2049
closes https://github.com/rsyslog/rsyslog/issues/2040
2017-11-22 13:58:06 +01:00
Rainer Gerhards
eb537ec6ba
Merge pull request #2079 from rgerhards/lookup-cosmetic
some primarily cosmetic changes
2017-11-22 13:51:43 +01:00
Rainer Gerhards
85a6e6f161 maintain ChangeLog 2017-11-22 12:36:49 +01:00
Rainer Gerhards
be61fc6b0d
Merge pull request #2068 from rgerhards/i-1885bis
mmdblookup: guard against potential libmaxminddb thread unsafeness
2017-11-22 12:34:43 +01:00
Rainer Gerhards
047624147c some primarily cosmetic changes 2017-11-22 12:33:03 +01:00
Rainer Gerhards
bb0d3e0546
Merge pull request #2078 from rgerhards/nitfix
some minor fixes, remove Coverity Scan "false positives"
2017-11-22 12:30:35 +01:00
Rainer Gerhards
b43a226bb5 maintain ChangeLog 2017-11-22 11:26:25 +01:00
Rainer Gerhards
0aeeb4702d
Merge pull request #2077 from rgerhards/imkafka
imkafka: better error reporting and code cleanup
2017-11-22 11:25:22 +01:00
Rainer Gerhards
9aa41d515a "fix" Coverity scan false positives
plus some mild refactoring while we are at it
2017-11-22 11:16:17 +01:00
Rainer Gerhards
a4c7f2ac81 module-template framework: avoid compiler warning in some legal cases
the finalize_it: label is required, but not always used, which each
time results in a compiler warning that needs to be worked around.
Now this is fixed once and for all for gcc and clang - the others
will probably not complain in any case. Great solution until something
comes up that makes us need a revision.
2017-11-22 11:08:34 +01:00
Rainer Gerhards
017a06e433
Merge pull request #2076 from rgerhards/coverity
"fix" Coverity false positives
2017-11-22 10:42:59 +01:00
Rainer Gerhards
1cba0458f6 imkafka: better error reporting and code cleanup
Getting the code more into rsyslog style, fixing up TODOs,
improving error reporting
2017-11-22 09:31:55 +01:00
Rainer Gerhards
b85164b503
Merge pull request #2075 from rgerhards/imkafka-errmsg
nitfixes
2017-11-22 09:19:10 +01:00
Rainer Gerhards
338e09cd09 "fix" Coverity scan false positive CID 185398 2017-11-22 08:38:58 +01:00
Rainer Gerhards
6e473f3ba0 "fix" Coverity valse positive, CID 185368 2017-11-22 08:34:15 +01:00
Rainer Gerhards
cc08c4a724 prevent close(-1) call - regression from yesterday's refactoring
Detected by Coverity scan, CID 185833
2017-11-22 08:23:04 +01:00
Rainer Gerhards
2b494caff1 imkafka bugfix: error message was invalidly reported
...even when all worked well.
2017-11-22 08:18:13 +01:00
Rainer Gerhards
ad20665082 Merge branch 'master' of https://github.com/rsyslog/rsyslog 2017-11-21 16:51:28 +01:00