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
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
Rainer Gerhards
35a2d43ac7
ompipe bugfix: race during HUP
...
When HUP was received, the write mutex was not aquired. This could
lead to unexpected invalidation of the output file descriptor.
Thanks to Julien Thomas for alerting us on this issue.
see also https://github.com/rsyslog/rsyslog/pull/4136#issuecomment-578326278
2020-05-12 13:16:54 +02:00
Rainer Gerhards
e84b70e146
maintain ChangeLog
2020-05-12 13:15:24 +02:00
Rainer Gerhards
dd2e83f8da
Merge pull request #4136 from julthomas/dev/jth/ompipe-resume
...
ompipe: add action parameter tryResumeReopen
2020-05-12 13:08:03 +02:00
Rainer Gerhards
9fd27029a3
imjournal: restore code style
...
Commit f604d5269bd31c09a661e9e4a20dd5044f4750da introduced strlen("Constant")
what we prefer not to do. This is now changed to sizeof("Constant") - 1,
what we usally use.
2020-05-12 12:56:40 +02:00
Rainer Gerhards
5cc0a3fa3a
maintain ChangeLog
2020-05-12 12:53:15 +02:00
Rainer Gerhards
0ae9a7a3d0
Merge pull request #4193 from jmarckel/bugfix/bug_2133
...
imjournal: remove strcat call
2020-05-12 12:51:10 +02:00
Rainer Gerhards
4214857ae8
maintain ChangeLog
2020-05-12 12:43:23 +02:00
Rainer Gerhards
df05750a31
Merge pull request #4276 from rgerhards/i3957
...
build system: libzcmq version requirement needs to be bumped
2020-05-12 12:41:42 +02:00
Rainer Gerhards
75ea876160
Merge pull request #4277 from rgerhards/fix-es-download
...
CI: fix problems with ElasticSearch download
2020-05-12 12:26:08 +02:00
Rainer Gerhards
da7ca37c10
CI: fix problems with ElasticSearch download
...
ElasticSearch can no longer be reliably downloaded, we receive error
451 - prohibited for legal reasons. This causes false positive test
failures.
We have solved this by moving the required tarballs to rsyslog.com and
download them now from there.
2020-05-12 11:09:42 +02:00
Rainer Gerhards
572ee0a6fd
build system: libzcmq version requirement needs to be bumped
...
Thanks to Thomas Deutschmann for pointing this out.
closes https://github.com/rsyslog/rsyslog/issues/3957
2020-05-12 09:50:15 +02:00
Rainer Gerhards
8d86bc788d
maintain ChangeLog
2020-05-11 13:01:21 +02:00
Rainer Gerhards
4982146186
Merge pull request #4215 from M1cha/fix-ossl-ctx-leak
...
openssl tls: stop leaking ctx
2020-05-11 12:59:37 +02:00
Rainer Gerhards
c54e346320
maintain ChangeLog
2020-05-11 12:15:08 +02:00
Rainer Gerhards
6aed1b4975
Merge pull request #4219 from callmegar/master
...
omhttp: Adding multiple http headers capability
2020-05-11 12:12:55 +02:00