1098 Commits

Author SHA1 Message Date
Rainer Gerhards
ec088aee94 fmhttps bugfix: missing configure check for libcurl
closes https://github.com/rsyslog/rsyslog/issues/2613
2018-04-04 08:30:29 +02:00
Rainer Gerhards
1c7d675f15 bump version number for next dev cycle 2018-04-03 12:07:01 +02:00
Rainer Gerhards
12056dd7f0 prepare for 8.34.0 release 2018-04-03 11:50:06 +02:00
Rainer Gerhards
70d4f725d9 Merge branch 'master' into v8-stable 2018-04-03 11:46:25 +02:00
Rainer Gerhards
9348d2b3af create contrib module omfile-hardened
This is in preparation for Mikko Kortelainen's experiemental contribution.

see also https://github.com/rsyslog/rsyslog/pull/2490#issuecomment-377545898
2018-04-02 11:20:56 +02:00
Tomas Heinrich
77886e2129 WIP - Add the mmkubernetes plugin
DO NOT MERGE - This is a work-in-progress.
2018-03-28 15:46:54 -04:00
Rainer Gerhards
ede56adbaf build system: provide option to build without atomic operations
see also https://github.com/rsyslog/rsyslog/issues/2572
2018-03-21 16:57:05 +01:00
Jan Gerhards
22fc00e897 rscript: make function modules loadable
function modules add functions to rainerscript dynamically,
change http_request into such a module (enabled by default).
This module can be used as a sample for future function modules.
2018-03-19 11:49:36 +01:00
Rainer Gerhards
641af4db70 prepare for 8.33.1 release 2018-03-04 13:00:48 +01:00
Rainer Gerhards
7cbd89a222 bump version number to 8.34.0.master again
as the merge from v8-stable reset it to 8.33.0, which is not correct
for master
2018-02-28 13:11:25 +01:00
Rainer Gerhards
504ba8397c Merge branch 'master' into v8-stable 2018-02-18 14:07:14 +01:00
Rainer Gerhards
c9d37ac6f7 build system: remove spurios xOS_LINUX definition
This was used nowhere. It most probably was a forgotten left-over
from an experiment.

closes https://github.com/rsyslog/rsyslog/issues/2386
2018-01-15 18:14:21 +01:00
Thomas Deutschmann
468eeb79b8
tests: Run rscript_http_request.sh only when built with libcurl 2018-01-11 18:39:23 +01:00
Rainer Gerhards
efc71f1518 bump version number for next release cycle 2018-01-09 13:10:06 +01:00
Rainer Gerhards
d772ab585e Merge branch 'master' into v8-stable 2018-01-08 13:43:19 +01:00
Rainer Gerhards
0032ba12e5 build system: fix build of testbench tools under Alpine Linux
closes https://github.com/rsyslog/rsyslog/issues/2365
2018-01-07 13:42:07 +01:00
Rainer Gerhards
36327a0ee9 build system: check for existance of req. header if mmgrok is enabled
Else we get a make failure. With this patch, we bail out during
./configure time, which is easier to handle.

Note that a check for libgrok did not work and we did not want to
invest more time for this *contributed* module (aka non-official).

closes https://github.com/rsyslog/rsyslog/issues/871
2018-01-05 18:03:47 +01:00
Rainer Gerhards
2f18fad900 build system: enforce use of libfastjson 0.99.8
This is now required because 0.99.7 has a bug with pretty serious
consequences for rsyslog.

closes https://github.com/rsyslog/rsyslog/issues/1839
closes https://github.com/rsyslog/rsyslog/issues/2268
2018-01-03 18:02:33 +01:00
Rainer Gerhards
cedcb3de84 omczmq: change minimum libczmq requirement again
On Ubuntu 16, we do not have libczmq 4, but omczmq obviously builds
fine with 3.0.2, so this seems to be the actual requirement. If that
works, I'll settle for now as I am finally totally confused on what
happens here. I have asked for help from those in the know, but
if we do not get a definitive answer, it'll stay so that it works
for us -- after all this is a contributed module...

closes https://github.com/rsyslog/rsyslog/issues/872
2017-12-30 10:17:58 +01:00
Rainer Gerhards
d13d1957b8 build system: fix libczmq requirement
commit ad8bdb06f0079cc78e5028641f8d780a056d0f69 did the
wrong thing, fixing it here.
2017-12-28 17:53:07 +01:00
Rainer Gerhards
ad8bdb06f0 build system: require libczmq 4.x
as omczmq does require v4 features

closes https://github.com/rsyslog/rsyslog/issues/872
2017-12-25 19:22:44 +01:00
Rainer Gerhards
e8627a4ec5 remove obsolete pre-KSI GuardTime signature interface
this is no longer functional starting Jan 2018 as it
reached end of life.

closes https://github.com/rsyslog/rsyslog/issues/2128
2017-12-19 09:42:44 +01:00
Rainer Gerhards
46f4f43b8f build: permit to disable libcurl for rsyslog core
currently, this disables the http_request() script function

see also https://github.com/rsyslog/rsyslog/pull/2146#issuecomment-352412933
see also https://github.com/rsyslog/rsyslog/pull/2146#issuecomment-352413248
2017-12-18 18:56:37 +01:00
Rainer Gerhards
49efb53985 rainerscript: new function "http_request"
closes https://github.com/rsyslog/rsyslog/issues/1977
2017-12-16 17:47:08 +01:00
Rainer Gerhards
47c7d824db testbench: add a capability to turn off libfaketime tests via configure
Unfortunately, libfaketime becomes more and more problematic in newer
versions and causes aborts on some platforms. This provides the ability
to turn it off via --disable-libfaketime.

In the longer term, we should consider writing our own replacement.
2017-12-16 11:39:15 +01:00
Rainer Gerhards
ab7677108e cleanup: remove unused runtime instrumentation code
The --enable-rtinst configure switch and associated instrumentation
code dates back to the time pre-(valgrind, address sanitizer, ...).
It has not been actively used by rsyslog developers for years and is
inferior to the new debugging tools.

With this commit, we remove the --enable-rtinst option and do some
mild refactoring of the code itself. As it turned out, fully removing
the debug code requires a bit more of time, and we push this as a
follow-on activity. It's not as urgent as getting us to build
properly under all configure switches.

closes https://github.com/rsyslog/rsyslog/issues/2048
2017-12-12 16:39:36 +01:00
Rainer Gerhards
a256b9ab77
Merge pull request #2195 from rgerhards/i-2192
testbench: do not run tests that require root permissions by default
2017-12-11 13:45:35 +01:00
Rainer Gerhards
4e04e2ee55 testbench: provide capability to split testbench
This is necessary as we hit the Travis max runtime limit per VM,
so we need to duplicate the tests. This is done via
--enable-testbench1 and --enable-testbench2 which we than use
in different VMs.

This PR also includes updates to the Travis scripts so that we
use the new capability. We have only duplicated Travis VMs where
acutally necessary -- we may need to do more of this in the future.

closes https://github.com/rsyslog/rsyslog/issues/2196
2017-12-11 11:22:14 +01:00
Rainer Gerhards
0a5ec439e7 testbench: do not run tests that require root permissions by default
Root permissions are uncommon in the CI environmen (requires very special
setup). Test skip if run under non-root, but that pollutes the
testbench result. So the default now is not to do that. The can still be
activated via --enable-root-tests configure switch.

closes https://github.com/rsyslog/rsyslog/issues/2192
2017-12-10 18:43:29 +01:00
7508010750 Basic Imfile FEN API support for Solaris (#2141)
imfile: Initial implementation of solaris FEN API (without wildcards)

FEN API is used to implement simular event based file
monitoring like with inotify.

This commit provides partial functionality. It supports event-driven
processing of files but does not yet provide wildcard functionality.
Wildscards will be provided by a later commit.

This can be committed as-is because the previous code did also
not provide wildcard support, so this is an improvement for
Solaris in any case.

see also https://github.com/rsyslog/rsyslog/issues/1954
2017-12-01 12:49:38 +01:00
Rainer Gerhards
80bd3666fc build system: add capability to required libsystemd
and fail if it cannot be found. This is needed to ensure that builds
for platforms that actually need it succeed.

see also https://github.com/rsyslog/rsyslog/issues/2134
2017-11-30 09:12:57 +01:00
Rainer Gerhards
7bf280e9aa prepare for new development cycle 2017-11-28 10:06:09 +01:00
Rainer Gerhards
76e50bb2d9 prepare for 8.31.0 release 2017-11-27 17:29:33 +01:00
Thomas Deutschmann
659c15a6d4
configure: Fix "]: command not found"
Due to an error in the configure script, on systems without systemd support
an error like

  ./configure: line 17627: ]: command not found

is shown.

This commit fixes the error in the configure script.
2017-11-27 05:14:17 +01:00
Thomas Deutschmann
53941d0408
configure: Remove unnecessary message regarding man page existence
Since commit 5f5eca03a09671b5df609f9ee6f885d63bbedaca we no longer check for
the existence of the man page(s), so it is time to get rid of the message
as well.
2017-11-27 04:59:56 +01:00
Thomas Deutschmann
0fa12355bd
configure: Fix have_to_generate_man_pages value assignment
Closes: https://github.com/rsyslog/rsyslog/issues/1651
2017-11-27 04:44:40 +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
dfe89f29e0
Merge pull request #2071 from rgerhards/es-testbench-additions
testbench: improvements in elasticsearch testing
2017-11-24 10:43:15 +01:00
Rainer Gerhards
cf425b2c36 testbench/omkafka: update valgrind test to more flexible test framework 2017-11-24 08:14:32 +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
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
Rainer Gerhards
acb62dfdab remove systemd embedded code, use library instead
Since the early days rsyslog uses the orginal systemd embedded
interface code. This commit changes it to libsystemd where available.
If we do not find libsystemd, we assume the system does not use
systemd, which is a safe assumption nowadays. This ensures we use the
fresh interface code and also removes bloat from our project.

closes https://github.com/rsyslog/rsyslog/issues/1933
2017-11-21 09:12:39 +01:00
Hugo SOSZYNSKI
60ac93f939 Updated the usertool logctl to use mongo-c-drvier instead of mongo-client. 2017-11-17 15:23:08 +01:00
Hugo SOSZYNSKI
54c8ef8e8f Added verification if ommongodb is enabled in config.ac for logctl 2017-11-16 14:10:57 +01:00
Hugo SOSZYNSKI
3eecc1a4c7 Adding libmongo-client for the user tools 2017-11-10 11:30:24 +01:00
Hugo SOSZYNSKI
cdeb6d3685 Going back with the configure.ac, removing the lib prefix to install in the default directories 2017-11-10 11:10:58 +01:00
Hugo SOSZYNSKI
5c221e3342 Changing syntax to detect libmongoc in the configure.ac 2017-11-10 10:53:42 +01:00
Hugo SOSZYNSKI
29e93a4a2c Updated the configure.ac to search libmongoc-1.0 instead of libmongo-client. 2017-10-27 16:34:14 +02:00
Rainer Gerhards
1813e7cc40 maintain ChangeLog 2017-10-18 08:03:49 +02:00
Rainer Gerhards
b53c48a910 prepare for 8.30.0 release 2017-10-16 13:44:44 +02:00