10410 Commits

Author SHA1 Message Date
Rainer Gerhards
fe9e51efac travis: make qpid-proton work again
Package libqpid-proton3-dev is no longer available for precise.
As such, we cannot install it and so we disable both the installation
and related tests when running on precise.
2017-03-20 10:31:04 +01:00
Rainer Gerhards
4350ba1c59 maintain ChangeLog 2017-03-16 11:12:09 +01:00
Rainer Gerhards
7f6030e0ae Merge pull request #1407 from jvymazal/master
added logging name of source of rate-limited messages
2017-03-16 11:08:21 +01:00
Rainer Gerhards
b7e236cac0 maintain ChangeLog 2017-03-16 10:42:55 +01:00
Rainer Gerhards
90c21dc0eb Merge pull request #1466 from npajkovsky/for-next
fix couple warnings from gcc6
2017-03-16 10:39:08 +01:00
Rainer Gerhards
e1872e990b maintain ChangeLog 2017-03-16 10:33:05 +01:00
Rainer Gerhards
1228a62f28 Merge pull request #1460 from rgerhards/reissue-1441
core/file handling: add new error messages
2017-03-16 10:24:33 +01:00
Rainer Gerhards
cacf865621 core/file handling: add new error messages
Those messages previously went only to the debug log, as due to
design limitations inside the error message subsystem they could
not be emitted at the related code locations. This has changed now,
and so we can improve error reporting.
2017-03-15 17:44:03 +01:00
taotetek
05ec5362ba Merge pull request #1461 from bluca/czmq_regressions
imczmq: fix 2 regressions introduced in 8.19
2017-03-15 09:31:01 -04:00
Nikola Pajkovsky
769b040815 fix missing braces around if stmt
Fixes: e305bdad9ead ("deprecate -u option")
Signed-off-by: Nikola Pajkovsky <npajkovsky@suse.cz>
2017-03-10 10:33:29 +01:00
Nikola Pajkovsky
dcd0c5c8dd fix simple warning: no previous prototype for ‘freeFdSet’
../../runtime/unlimited_select.h:38:6: warning: no previous prototype for ‘freeFdSet’ [-Wmissing-prototypes]
 void freeFdSet(fd_set *p) {

Signed-off-by: Nikola Pajkovsky <npajkovsky@suse.cz>
2017-03-10 10:28:47 +01:00
Nikola Pajkovsky
99baf4b18c fix error path in loadDrvr()
on error path, if iRet != RS_RET_OK, and ->pDrvrName is non-null,
->pDrvrName is freed and should be set to NULL. However, that was not
true, because what code does now, is, on every iRet != RS_RET_OK sets
pDrvrName to NULL.

Signed-off-by: Nikola Pajkovsky <npajkovsky@suse.cz>
2017-03-10 10:19:28 +01:00
Luca Boccassi
75d5e6ff9e imczmq: if topic is empty subscribe to everything
ZMQ_SUB supports subscribing to every topic, and it's indicated by an
empty string being passed as a topic.
Fix the config parsing to correctly interpret an empty string passed as
a parameter.
This fixes a regression introduced in 8.19 by commit:
299f5a637f97d2ec064ad3df20fa845ef4b7c7e5
2017-03-09 20:17:46 +00:00
Luca Boccassi
8ec2edc638 imczmq: do not set SUB/DISH sockets as serverish
By default it makes sense for ZMQ_SUB and ZMQ_DISH sockets to
connect, as that's the most common use case, unless specified by the
endpoint syntax.
Regression introduced in 8.19 by commit 299f5a637f97d2ec064ad3df20fa8
2017-03-09 20:13:15 +00:00
Rainer Gerhards
21f128c954 maintain ChangeLog 2017-03-09 18:46:27 +01:00
Rainer Gerhards
ef6ff9b9d9 Merge pull request #1448 from rgerhards/i-865
remove ARRAY_PASSING mode, which is no longer used
2017-03-09 18:44:12 +01:00
Rainer Gerhards
51db2728ca maintain ChangeLog 2017-03-09 12:26:33 +01:00
Rainer Gerhards
74f47a0908 Merge pull request #1455 from alorbach/imfile-wildcardfix
imfile: Fixed an issue monitoring wrong files when using multiple imf…
2017-03-09 12:25:01 +01:00
192ab107f2 imfile: Fixed an issue monitoring wrong files when using multiple imfile inputs
The bug was introduced by the changes for the multilevel wildcard feature
which has been added recently. We have to handle FileCreate events different
if the directory watch is configured or added dynamically.

closes https://github.com/rsyslog/rsyslog/issues/1452
2017-03-08 14:35:19 +01:00
Rainer Gerhards
cd51ae3647 core: enable internal messages at any time
previous code could deadlock if internal messages were issued
inside queue processing code, which effectively limited
error-reporting capabilities. This change makes it possible
to call error messages from any part of the code at any time.
This comes at the price of slightly delayed message output.
2017-03-07 09:27:49 +01:00
Rainer Gerhards
c03446f136 maintain ChangeLog 2017-03-07 08:47:19 +01:00
Rainer Gerhards
304937104c Merge pull request #1443 from rgerhards/i-1442
bugfix: rsyslog identifies itself as "liblogging-stdlog" in internal …
2017-03-07 08:44:41 +01:00
Rainer Gerhards
1866afaaf1 Merge pull request #1446 from rgerhards/i-232
testbench/tcpflood: auto-apply silent option during CI runs
2017-03-07 08:44:19 +01:00
Rainer Gerhards
00b6a5f6c2 maintain ChangeLog 2017-03-06 17:51:46 +01:00
Rainer Gerhards
681c4fe772 remove ARRAY_PASSING mode, which is no longer used
... plus it will most probably not work at all if someone
comes along and uses it. So better to remove it.

closes https://github.com/rsyslog/rsyslog/issues/865
2017-03-06 13:09:15 +01:00
Rainer Gerhards
8f5c32c3f4 add new global parameter "umask"
This is equivalent to "$umask" and permits to convert that construct
to new-style config format.

closes https://github.com/rsyslog/rsyslog/issues/1382
2017-03-06 11:35:11 +01:00
Rainer Gerhards
7b98214066 testbench/tcpflood: auto-apply silent option during CI runs
closes https://github.com/rsyslog/rsyslog/issues/232
2017-03-06 10:19:40 +01:00
Rainer Gerhards
9b28e48ef4 maintain ChangeLog 2017-03-06 09:07:59 +01:00
Rainer Gerhards
a6245790ef Merge pull request #1373 from PascalWithopf/i-1372
pmrfc3164: add tests
2017-03-06 09:04:36 +01:00
Rainer Gerhards
9e7d57a925 bugfix: rsyslog identifies itself as "liblogging-stdlog" in internal messages
This occured when liblogging-stdlog was used, and was used by default (without
explicit configuration). This is a regression of the new default, which does
not correctly call stdlog_open() in the default case.

closes https://github.com/rsyslog/rsyslog/issues/1442
2017-03-04 10:46:24 +01:00
Rainer Gerhards
f37d814dd1 Merge pull request #1444 from rgerhards/silence-testbench
testbench: do not spam testbench log with output from ps command
2017-03-02 10:48:18 +01:00
Rainer Gerhards
e654c27af4 testbench: do not spam testbench log with output from ps command
ps is used when waiting on startup and spams the test log if
rsyslog takes longer to start up (or fails to do so). This
makes the log hard to read.
2017-03-02 08:20:35 +01:00
Pascal Withopf
e0efb27d15 pmrfc3164: add test for force.TagEndingByColon default Tag 2017-02-28 16:12:10 +01:00
Rainer Gerhards
5bc999cbc6 Merge pull request #1439 from PascalWithopf/readme1
readme: add missing packages
2017-02-28 15:21:13 +01:00
Rainer Gerhards
71d3fc08a7 maintain ChangeLog 2017-02-28 15:20:12 +01:00
Rainer Gerhards
a4d429dae7 Merge pull request #1420 from jvymazal/chroot
added chdir call after successful chroot
2017-02-28 15:18:23 +01:00
Rainer Gerhards
1cb6fe931a maintain ChangeLog 2017-02-28 15:16:58 +01:00
Rainer Gerhards
4e8cd615ea Merge pull request #1433 from radosroka/glbl-segfault
Fixed segfault in glblDoneLoadCnf()
2017-02-28 15:14:15 +01:00
Pascal Withopf
16d8043712 Merge branch 'features/rfc3164' of https://github.com/pom-monitoring/rsyslog into i-1372 2017-02-28 14:33:01 +01:00
Pascal Withopf
d08f44f7a2 pmrfc3164: add tests 2017-02-28 14:25:27 +01:00
Benoit DOLEZ
6fc4dc93e8 pmrfc3164: Add remove.MsgFirstSpace option
This option permit automatic removing of the first space in rfc3164 logs.
That permit parsing of RFC3339 & RFC3164 to work in a same way.
2017-02-28 14:25:27 +01:00
Benoit DOLEZ
1028bc48a3 pmrfc3164: Add force.TagEndingByColon option
This option allow to check that log contains a real tag of the form
"PROG[PID]:". Without one, the tag is left empty.
2017-02-28 14:25:27 +01:00
Julien Thomas
42e347e57f pmrfc3164: Add support for at-signs in hostname
This commit adds support for new parameter permit.AtSignsInHostname
to allow at-signs characters in hostname rfc3164 BSD field. The parameter
value default to 0. The patch is similar to the one introduced by
Rainer Gerhards <rgerhards@adiscon.com> in 8.20.0 to support slashes
characters in hostnames.

Slashes and at-signs may be inserted by syslog-ng at least on 3.2 when
it runs with use_dns(no), keep_hostname(no) and chain_hostnames(yes).
The at-sign may happen when the syslog-ng host sends local logs in rfc3164
format. In that senario, the hostname field is prefixed by the source
name and an at-sign character.
As for the slash character, it is inserted by syslog-ng to chain
hostnames and ip addresses accross relays.
2017-02-28 14:25:27 +01:00
Pascal Withopf
0be0b0ae4b readme: add missing packages 2017-02-28 13:08:50 +01:00
Jiri Vymazal
a903f4d397 added chdir call after successful chroot 2017-02-27 10:34:17 +01:00
Rainer Gerhards
e23d65570e Merge pull request #1436 from rgerhards/cleanup-aix
cleanup mainloop() by moving out large bunch of platform compatibilit…
2017-02-27 10:16:22 +01:00
Rainer Gerhards
b2cde2682a cleanup mainloop() by moving out large bunch of platform compatibility code 2017-02-24 17:57:37 +01:00
Rainer Gerhards
0b27d20843 maintain ChangeLog 2017-02-23 16:47:40 +01:00
Rainer Gerhards
acef0fc4ef Merge pull request #1431 from rgerhards/i-1426
testbench: tcpflood failed to build if RELP support was disabled
2017-02-23 16:47:07 +01:00
Rainer Gerhards
55c5cfe1e9 maintain ChangeLog 2017-02-23 16:46:18 +01:00