1204 Commits

Author SHA1 Message Date
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
d284b449a8
bump version number for next devel cycle 2020-04-28 13:28:42 +02:00
Rainer Gerhards
23276750de
prepare for 8.2004.0 scheduled stable release 2020-04-28 13:17:55 +02:00
Rainer Gerhards
6499a67116
bump version numbers for next scheduled release 2020-02-25 16:21:42 +01:00
Rainer Gerhards
f869c99b00
Merge branch 'master' into v8-stable 2020-02-25 14:16:26 +01:00
Rainer Gerhards
7c2eaa8f2e
build system: change --enable-imfile-tests default to "yes"
This was accidentally set to "no". Test for imfile should by
default run when imfile is enabled.

We also temporarily disable the failing tests - this makes
it posible to run the remaining tests during CI and prevent
future errors. That is better than nothing. Tests are to be
re-enabled when the imfile bug mentioned below is fixed.

see also https://github.com/rsyslog/rsyslog/issues/4120

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2020-01-30 09:36:35 +01:00
Rainer Gerhards
ac95688fd5
build system: add option --enable-gnutls-tests
This enables us to build GNUtls support but not necessarily
test it in CI. This is useful for some specialised subcomponent
test.
2020-01-26 16:28:18 +01:00
Rainer Gerhards
ceafdcdfd9
fix invalid version number
Due to a typo (pre-release), the version number was missing the final 0.
2020-01-14 14:33:40 +01:00
Rainer Gerhards
d6357b7e42
bump version number for new development cycle 2020-01-13 10:42:44 +01:00
Rainer Gerhards
1eda0c8897
perpare for 8.2001.0 scheduled stable release 2020-01-13 08:56:26 +01:00
Rainer Gerhards
233fde2ec9
Merge pull request #3962 from alorbach/pr-issue-3959
relp: Add support setting openssl configuration commands.
2019-12-18 19:05:18 +01:00
Rainer Gerhards
0c24ac3ed2
Merge pull request #3994 from alorbach/pr-issue-3991
omsnmp: Add support for new option "snmpv1dynsource"
2019-12-03 15:43:59 +01:00
fd6c32c2f2 testbench: Add two real tests for omsnmp
Adds a python based SNMP Trap Receiver which outputs received
SNMP Traps by UDP onyl at the moment. Can be extended later.
Tests results are verified by content_check.

The tests have to be enabed with ./configure --enable-snmp-tests

Test sndrcv_omsnmpv1_udp_dynsource.sh checks the new snmpv1dynsource
option.

In order to work, the following python packages needs to be installed:
	pip install pysnmp

On Ubuntu 18, we need these packages to be installed:
	apt install snmp libsnmp-dev snmp-mibs-downloader

closes: https://github.com/rsyslog/rsyslog/issues/3985
2019-12-03 13:26:36 +01:00
Rainer Gerhards
312ba4e3b9
build system: make postgres module use pkg_config
This is the recommended method and we use pkg_config in any
case. With the old method, postgres server-development packages
needed to be installed just to build the client, which was
neither intuitive nor clean.
2019-12-02 09:44:50 +01:00
2bd6c99cbe relp: Add support setting openssl configuration commands.
Add new configuration parameter tls.tlscfgcmd to omrelp and imrelp.
(Using relpSrvSetTlsConfigCmd and relpCltSetTlsConfigCmd)

OpenSSL Version 1.0.2 or higher is required for this feature.
A list of possible commands and their valid values can be found in the
documentation: https://www.openssl.org/docs/man1.0.2/man3/SSL_CONF_cmd.html

The setting can be single or multiline, each configuration command is
separated by linefeed (n). Command and value are separated by
equal sign (=). Here are a few samples:

tls.tlscfgcmd="Protocol=ALL,-SSLv2,-SSLv3,-TLSv1,-TLSv1.2"

tls.tlscfgcmd="Protocol=ALL,-SSLv2,-SSLv3,-TLSv1
MinProtocol=TLSv1.2"

Add to new testcases for librelp and tlscfgcmd.

closes https://github.com/rsyslog/rsyslog/issues/3959
2019-11-29 16:00:27 +01:00
Rainer Gerhards
ff4b3558cf
testbench: obtain python binary path via AM_PATH_PYTHON
see also https://github.com/rsyslog/rsyslog/issues/3853
2019-11-22 14:45:10 +01:00
Rainer Gerhards
c94bf9f5eb
bump version number for next devel cycle 2019-11-12 12:46:31 +01:00
Rainer Gerhards
55ea4e6e8f
prepare for next scheduled stable release 2019-11-12 09:48:45 +01:00
Rainer Gerhards
84fd75df54
build system bugfix: incorrect default in ./configure help text
Thank to Michael Biebl for pointing this out.

closes https://github.com/rsyslog/rsyslog/issues/3904
2019-10-17 08:58:47 +02:00
Rainer Gerhards
9edc8875b8
bump version number for next daily stables 2019-10-01 12:05:49 +02:00
Rainer Gerhards
8566cf7325
bump version number for scheduled release 2019-10-01 09:59:43 +02:00
Rainer Gerhards
da497b3969
Merge pull request #3747 from rgerhards/portability
build system: support cross-platform build for mysql/mariadb
2019-08-20 16:02:28 +02:00
Helmut Grohne
c253cae378
build system: support cross-platform build for mysql/mariadb
rsyslog fails to cross build from source, because it uses mysql_config
and mysql_config is unfixably broken for cross compilation. It would be
better to use pkg-config. The attached patch makes rsyslog try
pkg-config first and fall back to mysql_config.
2019-08-20 09:51:03 +02:00
Rainer Gerhards
13839aee03
adjust version number for next scheduled release cycle 2019-08-19 13:27:36 +02:00
Rainer Gerhards
e7d081a363
adjust version number for next scheduled release 2019-08-19 12:42:55 +02:00
Rainer Gerhards
4638699bce
testbench: modernize and stabilize some tests 2019-08-17 18:24:54 +02:00
major
43d7365f20 mmdarwin: add new module
This is a contributed module.
2019-07-24 13:30:09 +02:00
Rainer Gerhards
ee3ff4de8d
bump version number for next release cycle 2019-07-09 15:47:59 +02:00
Rainer Gerhards
1204e9a1f8
prepare for 8.1907.0 scheduled release 2019-07-09 15:25:35 +02:00
Rainer Gerhards
a9e3ba392d
fix version number for non-scheduled stabled branch 2019-06-26 15:03:32 +02:00
Rainer Gerhards
b794769127
bump version for new development cycle 2019-05-17 09:26:56 +02:00
Rainer Gerhards
7072a27a10
prepare for 8.1905.0 final 2019-05-17 08:55:24 +02:00
Rainer Gerhards
8d35d89022
bump version number for next development cycle 2019-04-15 11:59:04 +02:00
Rainer Gerhards
c37c495647
prepare for v8.1904.0 official release 2019-04-15 11:52:01 +02:00
Nelson Yen
f72dbe4009 remove unneeded imdocker-unit-tests
Remove the compile time tests which are now redundant,
due to the variety of imdocker testbench tests.
2019-04-08 14:22:11 -07:00
Philippe Duveau
969c337ac0 Create contrib pmdb2diag + alignment for clang + test 2019-04-04 04:12:36 +02:00
Nelson Yen
82142c7c73 imdocker input plugin - enables pulling container logs from docker
- plugin will get (docker) container logs from a host as well as filling out some
    basic container metadata as id, name, image, labels.
  - requirements: curl-7.40.0+, for unix_domain_socket option (Docker API listens on a
    local socket). Additionally, plugin will handle the issue of log lines larger than
    16KB begin split by Docker.
  - include imdocker-unittests in testbench
  - enable imdocker tests in osx travis tests
  - use curl master branch for imdocker-tests
  - fix cflags for pthread
  - enforce minimum curl version during configuration - to 7.40.0 for imdocker
  - container polls after the initial one are automatically filtered utilizing the 'since' option as per docker api
  - imdocker tests refactored.
  - add escapeLF config option

Test bench test added:
  - imdocker-basic: checks for completeness.
  - imdocker-basic-vg: same as basic with valgrind enabled.
  - imdocker-long-logline: checks imdocker can handle 16K+ log lines.
  - imdocker-long-logline-vg: same as long-logline test with valgrind enabled.
  - add option 'retrieveNewLogsFromStart' which will cause imdocker to ignore the 'tail'
  option when retrieving container logs for newly activated containers. Containers that
  were already active when imdocker first starts still uses the tail option.
  - imdocker-new-logs-from-start: checks that new containers will ignore the tail option
  - imdocker-new-logs-from-start-vg: valgrind enabled
  - multi-line support via docker label: imdocker.startregex
  added multi-line tests for testbench

Travis test bench related history and notes:
 - Travis tests, enable imdocker
 - imdocker travis tests not enabled in precise or trusty ubuntu versions of travis-test.
   Assuming travis tests will run in ubuntu 16
 - tests: harden container name against strange file system pathes
   RSYSLOG_DYNNAME contains the file system path, which is NOT guarnateed
   to be suitable for things other than file names.
 - tests: bugfix and guard against false negative
 - content_check_with count was done before rsyslog was terminated, so
   it was uncertain how many messages were written at that spot
   (especially on slow machines)
 - so far, only the number of lines was checked, not their content. So
   any problems with the actual messages would not have been detected.
 - improved support for listcontainer options, fix racy imdocker tests
2019-04-02 08:29:05 +02:00
Rainer Gerhards
23af460e5f
Merge remote-tracking branch 'pduveau/contrib_imbatchreport' 2019-04-01 10:42:32 +02:00
Philippe Duveau
ff384385d1 Create module mmtaghostname with tests 2019-03-30 16:51:06 +01:00
Philippe Duveau
dff0e393f6 Create imbatchreport input module + parallel tests 2019-03-30 16:40:32 +01:00
Philippe Duveau
9b1cc52152 contrib_imtuxedoulog + tests 2019-03-10 13:27:51 +01:00
Rainer Gerhards
1e18a1a6d6
bump version number for next devel cycle 2019-03-04 12:51:15 +01:00
Rainer Gerhards
2053baf43c
prepare for 8.1903.0 release 2019-03-04 12:23:11 +01:00
Rainer Gerhards
e66bd10fe5
improg: add new module 2019-03-04 10:23:04 +01:00
Rainer Gerhards
6936ff6cf8
Merge pull request #3339 from allanpark/Issue_3338_lmsig_ksils12_add_high_avalability_mode
Issue 3338: lmsig_ksils12: Add high avalability mode supported by libksi 3.18
2019-03-02 14:01:24 +01:00
Allan Park
9204b78ab3 lmsig_ksils12: added high availability mode of operation (supported by the latest libksi) 2019-02-28 11:51:08 +00:00
Philippe Duveau
9d72bd6ad8
Merge branch 'master' into AIX_Port_step2 2019-02-19 19:03:32 +01:00
Philippe Duveau
bc0d78c25a AIX_port: Core PR 2019-02-15 10:21:35 +01:00
Philippe Duveau
04b7e6be70 AIX_port: style and compatibility issues (6) 2019-02-14 18:22:57 +01:00
Philippe Duveau
9ad7324dfa AIX_port: second phase 2019-02-14 14:36:05 +01:00