14513 Commits

Author SHA1 Message Date
Rainer Gerhards
94c4a871d0
imklog: implement ruleset support
see also: https://github.com/rsyslog/rsyslog/issues/4344#issuecomment-658001854
see also: https://github.com/rsyslog/rsyslog/issues/106
2020-07-14 10:38:42 +02:00
Rainer Gerhards
b53f034d26
Merge pull request #4349 from rgerhards/github-action
CI: add github actions
2020-07-12 19:05:14 +02:00
Rainer Gerhards
33330e0742
CI: add github actions 2020-07-10 19:19:58 +02:00
Rainer Gerhards
0a44af36d5
enable github actions (functionality follows)
in order to trigger actions, we seem to need to have at least one workflow
present in primary branch. At least otherwise PR runs do not trigger. So we
provide this on a hopefully simply enough (non-failing) dummy.
2020-07-09 09:11:09 +02:00
Rainer Gerhards
16689dd653
maintain ChangeLog 2020-07-06 12:18:08 +02:00
Rainer Gerhards
a6c9008ff0
Merge pull request #4342 from jvymazal/config.enabled-fix
fixed ChkDisabled method to make config.enabled work
2020-07-06 12:16:41 +02:00
Jiri Vymazal
1c6f1a9c1b fixed ChkDisabled method to make config.enabled work
There was wrong negation in the method so it returned 0/1 in reverse
and also it did not mark the node to not be reported as unknown at all
times which is needed after all.
2020-07-02 10:42:14 +02:00
Rainer Gerhards
ac0c4c0d84
Merge pull request #4327 from rgerhards/month-octal
build bugfix: version month value misinterpreted as octal
2020-06-25 10:28:20 +02:00
Rainer Gerhards
17a2dce08a
build bugfix: version month value misinterpreted as octal
This causes issue for x.08 releases, because 8 is not an
octal digit ;-) The leading zero was obviously useless and
can be removed.
2020-06-24 15:44:53 +02:00
Rainer Gerhards
536b3ceb10
bump version number for next scheduled release cycle 2020-06-24 15:15:03 +02:00
Rainer Gerhards
952a764a2c
prepare for scheduled release v8.2006.0 v8.2006.0 2020-06-24 12:35:24 +02:00
Rainer Gerhards
458c53ccec
maintain ChangeLog 2020-06-22 12:51:27 +02:00
Rainer Gerhards
879a645bfb
Merge pull request #4069 from rgerhards/i4020
queue: permit ability to double size at shutdown
2020-06-22 12:46:37 +02:00
Rainer Gerhards
ef7eb3bd90
Merge pull request #4322 from jvymazal/imfile-selinux-crash
Fixing imfile segfaulting on selinux denial
2020-06-22 10:46:13 +02:00
Rainer Gerhards
8ff2179304
Merge pull request #4321 from alorbach/pr-issue-4319
openssl: Fixed memory leak when tls handshake failed.
2020-06-22 10:45:07 +02:00
Rainer Gerhards
a56f6d5515
Merge pull request #4317 from rgerhards/new-service-file
change systemd service file to wait for network
2020-06-22 10:44:02 +02:00
Rainer Gerhards
fc09e2cf51
maintain ChangeLog 2020-06-22 09:42:47 +02:00
Rainer Gerhards
e2001f56e9
Merge pull request #3988 from VultureProject/impcap-merge-upstream
NEW INPUT MODULE:: impcap, network packets input module
2020-06-22 09:39:55 +02:00
Rainer Gerhards
2b309b69aa
Merge pull request #4318 from taavi-valjaots/optimization-fix
ksi bugfix: Optimized code in KSI module initialization fixed.
2020-06-22 09:35:51 +02:00
Rainer Gerhards
7a671da74f
change systemd service file to wait for network
now that rsyslog is usually only installed for real syslog servers,
we should assume that some network listening or forwarding happens
on start. As such we need to start a bit later, after the network.
This poses no problem as systemd nowadays comes with journal which
is in almost all cases configured to buffer log data while
rsyslog is not yet running.

see also https://github.com/rsyslog/rsyslog-pkg-rhel-centos/issues/72
2020-06-09 14:36:38 +02:00
Jiri Vymazal
89ff6436b5 Fixing imfile segfaulting on selinux denial
If imfile is denied access to file watched trough symlink there is
unchecked condition resulting in access to not initialized memory.
2020-06-09 12:09:59 +02:00
6d0fea9b69 openssl: Fixed memory leak when tls handshake failed.
Added testcase for ossl memory leak on failed handshake.

closes: https://github.com/rsyslog/rsyslog/issues/4319
2020-06-09 10:01:53 +02:00
frikilax
76318ad926 NEW INPUT MODULE:: impcap, network packets input parser + TESTS 2020-06-05 17:41:01 +02:00
Rainer Gerhards
4c68bd4221
Merge pull request #4031 from rgerhards/i3771
imfile: add new parameter "persistStateAfterSubmission"
2020-06-05 13:10:58 +02:00
Rainer Gerhards
60c7fc2d6a
imfile: add new parameter "persistStateAfterSubmission"
see also https://github.com/rsyslog/rsyslog/issues/3771#issuecomment-564916611
2020-06-05 12:09:39 +02:00
Rainer Gerhards
ef910ca498
maintain ChangeLog 2020-06-05 11:17:35 +02:00
Rainer Gerhards
f7322da3ac
Merge pull request #4316 from rgerhards/i4292
operatingstatefile bugfix: month was given too low
2020-06-05 11:16:13 +02:00
Rainer Gerhards
89943dabf0
operatingstatefile bugfix: month was given too low
The month was printed with the range 0 (January) to 11 (December).
This commit corrects it.

closes https://github.com/rsyslog/rsyslog/issues/4292
2020-06-05 09:04:43 +02:00
Rainer Gerhards
b2376e8b8a
maintain ChangeLog 2020-06-05 08:57:19 +02:00
Rainer Gerhards
f2c1770d89
Merge pull request #4314 from rgerhards/omlibdbi-optional
build system: add --enable-libdbi=optional functionality
2020-06-05 08:48:51 +02:00
Rainer Gerhards
84a4d2e1ce
build system: add --enable-libdbi=optional functionality
If set, builds a dummy module which just emits a "module not supported
on this platform" error message when loaded.

Primary use case for this system is Debian-ish builds on SUSE OBS,
where we prefer to have a single package definition for all versions
(else things get much more complicated).
2020-06-04 15:52:57 +02:00
taavi.valjaots
5906968120 ksi bugfix: Optimized code in KSI module initialization fixed.
KSI module initialization will not stuck in infinite loop when code is
built with optimization -O2.
2020-06-03 15:21:50 +03:00
Rainer Gerhards
01ced0d1b5
Merge pull request #4297 from rgerhards/kafka-optional
build system: add --enable-[io]mkafka=optional configure parameter
2020-06-02 17:27:55 +02:00
Rainer Gerhards
7305c047db
build system: add --enable-[io]mkafka=optional configure parameter 2020-05-29 14:23:05 +02:00
Rainer Gerhards
cc79c314fd
Merge pull request #4296 from rgerhards/mmdblookup-optional
build system: add option --enable-mmdblookup=optional
2020-05-29 09:05:01 +02:00
Rainer Gerhards
029d729f60
build system: add option --enable-mmdblookup=optional 2020-05-28 12:38:23 +02:00
Rainer Gerhards
6505e762c8
maintain ChangeLog 2020-05-23 13:06:55 +02:00
Rainer Gerhards
f30c1843fe
Merge pull request #4294 from rgerhards/i4290
config system bugfix: backticks cat segfault if file cannot be opened
2020-05-23 12:54:18 +02:00
Rainer Gerhards
d3f3cf54b4
testbench: add test case for cat non-existing-file
see also https://github.com/rsyslog/rsyslog/issues/4290
2020-05-22 10:13:30 +02:00
Rainer Gerhards
b1f2150e9a
Merge pull request #4286 from rgerhards/bump-default-dev-container
bump default dev container to Ubuntu 20.04
2020-05-22 09:44:15 +02:00
Rainer Gerhards
16085cbfed
config system bugfix: backticks cat segfault if file cannot be opened
when an `cat <filename>` consruct is used in rsyslog.conf ang <filename>
can not be accessed (does not exist, no permissions, ...), rsyslog
segfaults.

Thanks to Michael Skeffington for notifying us and providing analysis
of root cause.

closes https://github.com/rsyslog/rsyslog/issues/4290
2020-05-22 09:40:08 +02:00
Rainer Gerhards
7f79730e49
Merge pull request #4285 from mbiebl/drop-leftover-sd_daemon
build: Drop update-systemd target
2020-05-18 09:39:56 +02:00
Rainer Gerhards
92f22fecb8
bump default dev container to Ubuntu 20.04 2020-05-18 09:13:45 +02:00
Michael Biebl
545418d9b0 build: Drop update-systemd target
This is no longer necessary, as we no longer use an embedded copy of
sd-daemon but the libsystemd system library.
2020-05-16 16:14:38 +02:00
Rainer Gerhards
c28f20037c
maintain ChangeLog 2020-05-15 12:03:53 +02:00
Rainer Gerhards
365f17fc02
Merge pull request #4283 from alorbach/pr-issue-4281
imtcp: fix octet framing / stuffing problem with discardTruncatedMsg on
2020-05-15 11:52:24 +02:00
82621cdd14 imtcp: fix octet framing/stuffing problem with discardTruncatedMsg on
When "discardTruncatedMsg" is enabled in imtcp, messages were incorrectly
skipped if the last character before the truncation was the LFdelimiter.

Add two tests for octet stuffing and framing.

closes: https://github.com/rsyslog/rsyslog/issues/4281
2020-05-15 09:56:44 +02:00
Rainer Gerhards
a51dad5219
maintain ChangeLog 2020-05-13 17:17:47 +02:00
Rainer Gerhards
16e8b44c6c
Merge pull request #4279 from rgerhards/ompipe-fix-hup
ompipe bugfix: race during HUP
2020-05-13 17:13:34 +02:00
Rainer Gerhards
22b0a0930e
Merge pull request #4278 from rgerhards/imjournal-fix-codestyle
imjournal: restore code style
2020-05-13 17:13:11 +02:00