summaryrefslogtreecommitdiff
path: root/sysutils/rsyslog
AgeCommit message (Collapse)AuthorFilesLines
2021-12-08revbump for icu and libffiadam1-2/+2
2021-10-26sysutils: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes
2021-10-07sysutils: Remove SHA1 hashes for distfilesnia1-2/+1
2021-09-29revbump for boost-libsadam1-2/+2
2021-04-21revbump for boost-libsadam1-2/+2
2020-12-31Normalize handling packages that require 64-bit atomic ops.nia1-6/+2
2020-12-02rsyslog: bump minimum py-docutils tool dependencygutteridge1-2/+2
Since py-docutils script names changed in 0.15, that's our new minimum. (Missed in my previous commit.)
2020-12-01rsyslog: fix man page generation with newer py-docutilsgutteridge1-3/+3
py-docutils as of 0.15 dropped the .py extension on the end of its conversion scripts.
2020-05-27*: reset MAINTAINER for fhajny on his requestwiz1-2/+2
2020-05-22revbump after updating security/nettleadam1-2/+2
2020-05-06revbump after boost updateadam1-2/+2
2020-03-22sysutils/rsyslog: remove syslog.c from path substitutionrillig1-2/+3
That file has neither @-placeholders nor /etc.
2020-03-08*: recursive bump for libffiwiz1-2/+2
2020-01-18*: Recursive revision bump for openssl 1.1.1.jperkin1-2/+2
2020-01-12*: Recursive revbump from devel/boost-libsryoon1-2/+2
2019-08-22Recursive revbump from boost-1.71.0ryoon1-2/+2
2019-07-20*: recursive bump for nettle 3.5.1wiz1-2/+2
2019-07-06Use https for rsyslog.comnia1-2/+2
2019-07-01Recursive revbump from boost-1.70.0ryoon1-2/+2
2019-04-25PKGREVISION bump for anything using python without a PYPKGPREFIX.maya1-2/+2
This is a semi-manual PKGREVISION bump.
2018-12-15*: update email for fhajnywiz1-2/+2
2018-12-13revbump for boost 1.69.0adam1-1/+2
2018-09-20sysutils/rsyslog*: Update to 8.38.0.fhajny4-14/+22
Version 8.38.0 [v8-stable] 2018-09-18 - AIX: make basic modules work again - make rsyslog build on AIX again - imfile: support for endmsg.regex - imkafka: add parameter "parseHostName" - im[p]tcp: improve error message on connect failure - imkafka: implement multithreading support for kafka consumers. - omelasticsearch: write all header metadata to $.omes for retries - core: improve error message on module load fail - core/queue: add error message if queue file cannot be accessed - imtcp/imudp: new option preservecase for managing the case of FROMHOST value - omprog: add feedback timeout and keep-alive feature - omprog: fix forceSingleInstance configuration option - imfile: implement file-id, used in state file - imfile: experimental input throtteling feature - core: emit TZ warning on startup not on Linux non-container - omkafka: - better debug information - Fixed minor issue in omkafka producing wrong kafka timestamps when msgTimestamp was NULL. - Setting RD_KAFKA_V_KEY(NULL, 0) in rd_kafka_producev now when KEY is not configured. - Fixed minor issue when rsyslog is compiled with --enable-debug and librdkafka is too old. - omfile bugfix: errant error message when dynafile param needed - omhttp: new contribued module - mmkubertnetes: action fails preparation cycle if kubernetes API destroys resource during bootup sequence - bugfix pmnormalize/core: several memory leaks, invld property handling - bugfix imptcp: fixed pointers for session counting - bugfix omprog: invalid memory access on partial writes to pipe - bugfix omprog: rsyslog's environment was not passed to script - bugfix omprog: severity of some log messages in waitForChild corrected - bugfix imfile: files which were loaded via symlink were not always followed - bugfix imfile: potential misadressing when processing symlinks - bugfix ommongodb: build issue if mongo-c-driver is not compiled with TLS
2018-08-16revbump after boost-libs updateadam1-1/+2
2018-07-10sysutils/rsyslog*: Update to 8.36.0.fhajny3-11/+8
- This version disables liblogging-stdlog by default. We now also emit a warning message ("liblogging-stdlog will go away") so that users know what is going on and my react. - add openssl driver alongside GnuTLS one for TLS (experimental) - GnuTLS TLS driver: support intermediate certificates - omelasticsearch: write op types; bulk rejection retries - lookup tables: reload message now with "info" severity (was "error") - imptcp: add support for regex-based framing - imjournal: add statistics counter - config: permit 4-digit file creation modes - ommongodb: add possibility to ignore some insertion error code - omprog: simplify 'plugin-with-feedback.py' example - core: misadressing when writing disk queue files - core: fix message loss on target unavailibility during shutdown - imrelp bugfix: error message "librelp too old" is always emitted ... - imrelp: segfault on startup when cert without priv key is configured - omrelp bugfix: segfault on first message sent when authmode was wrong - imfile bugfix: double-free on module shutdown - imfile/core bugfix: potential misadressing in string copy routine - imfile bugfix: if freshStartTail is set some initial file lines missing - core: fix undefined behaviour (unsigned computation may lead to value < 0)
2018-05-16sysutils/rsyslog*: Update to 8.35.0.fhajny4-10/+10
- imptcp: add ability to configure socket backlog - omfile: do not permit filename that only consists of whitespace - fmhash: new hash function module - some better error messages - imklog: add ratelimiting capability - omkafka: added impstats counters for librdkafka returned statistics - imudp * use rsyslog message rate-limiter instead of home-grown one * add stats counter "disallowed" - imrelp: add parameter "oversizeMode" - core: consistent handling of oversize input messages - omfwd: add support for bind-to-address for UDP - template systemd service file proposes higher permitted file handle limit - imuxsock: replace select() call by poll() - nsdsel_ptcp: replace select() by poll() - omprog: refactor tests, fix child closing issues - core: config optimizer did not handle call_indirect - debug support: add capability to print testbench-specific timeout reports - mmgrok: fix potential segfault - imrelp bugfix: maxDataSize could be set lower than maxMessageSize - build system bugfix: build broken if liblogging-stdlog installed in custom path - core bugfix: segfault on queue shutdown - imfile bugfix: statefiles contain invalid JSON - omfile bugfix: segfault if empty filename was given - fix build issues when atomic operations are not present - lmsig_ksils12 bugfix: build and static analyzer issues - impstats bugfix: segfault if bound to non-existing ruleset - mmjsonparse bugfix: invalid container name was not detected - mmkubernetes bugfixes: fix lnrules, add defaults, add test - build system bugfix: --enable-atomic-operations did not work - bugfix: rsyslog aborts on startup when specific config errors are made - build system: remove no longer needed --enable-libcurl configure
2018-04-29revbump for boost-libs updateadam1-1/+2
2018-04-06sysutils/rsyslog: Update to 8.34.0.fhajny3-9/+9
- mmkubernetes: new module - rsyslog script: introduce loadable function modules - imfile: large refactoring of complete module - omelasticsearch: add support for CA cert, client cert auth - omfile-hardening: new contributed module for "omfile hardened operations" - stream/bugfix: memory leak on stream open if filename as already generated - bugfix/omkafka: did not build on platforms without atomic operations - bugfix/core/ratelimiting: SystemLogRateLimitBurst was limited to 65535 - bugfix imfile: memory leak in readMode 0 - bugfix omfile: some error messages had parameters in wrong order - bugfix omprog: file handle leak - bugfix imuxsock: data alignment problems - bugfix testbench: some test were accidently not executed - bugfix tcp subsystem: keepalive settings mixed up - fix some cosmetic issues found by lgtm.com static code analyzer
2018-02-23sysutils/rsyslog: Update to 8.33.0.fhajny3-21/+12
Version 8.33.0 [v8-stable] 2018-02-20 - auto-detect if running inside a container (as pid 1) - config: add include() script object - template: add option to generate json "container" - core/template: add format jsonf to constant template entries - config: add ability to disable config parameter ("config.enable") - script: permit to use environment variables during configuration - new global config parameter "shutdown.enable.ctl-c" - config optimizer: detect totally empty "if" statements and optimize them out - template: constant entry can now also be formatted as json field - omstdout: support for new-style configuration parameters added - core: set TZ on startup if not already set - imjournal bugfix: file handle leak during journal rotation - lmsig_ksils12 bugfix: dirOwner and dirGroup config was not respected - script bugfix: replace() function worked incorrectly in some cases - build system bugfix: --disable-libcurl did not work - fixed build issues on Alpine Linux - core bugfix: misadressing in external command parser - core bugfix: small memory leak in external command parser - core bugfix: string not properly terminated when RFC5424 MSGID is used - bugfix: strndup() compatibility layer func copies too much
2018-01-15Update sysutils/rsyslog* to 8.32.0.fhajny14-248/+30
- rsyslogd: add capability to specify that no pid file shall be written - ompgsql: considerable enhancements - build system: removed --enable-rtinst configure option - pmrfc3164: support for headerless messages - omhiredis: add option to use RPUSH instead of LPUSH - mmexternal improvements - omprog: refactored, code shared with mmexternal moved to common object - logctl tool: refactor to support newer rsyslog standards - imfile: added support for Solaris File Event notification (FEN) - core/action: new parameter "action.errorfile" - imfile: added new module parameter "sortFiles" - imuxsock: improved status reporting: socket name received from systemd - build system: added new testbench configure switches - mmpstrucdata: new parameter "sd_name.lowercase" - omfile: add module-global option "dynafile.donotsuspend" - testbench: add a capability to turn off libfaketime tests via configure - testbench: name valgrind tests consistently - RainerScript: add function parse_json() - RainerScript: add function substring() - RainerScript: add function http_request() - RainerScript: add function previous_is_suspended() - Patches from BSD projects have been imported - script bugfix: invalid function names were silently ignored - rainerscript: add int2hex() function - rainerscript: add is_time() function - RainerScript: add function script_error() and error-reporting support - testbench: fixed build problem of testbench tools under Alpine Linux - added --enable-libsystemd configure option to enforce use of libsystemd - core/glbl: remove long-unused option $optimizeforuniprocessor - core/queue: emit better status messages at rsyslog shutdown - fixed a couple of build issues with gcc-7 (in less frequently used modules) - fixed a couple of build issues on the arm platform (actually raspbian) - impstats: fix invalid counter definitions for getrusage() reporting - imudp bugfix: potential segfault in ratelimiting - imptcp bugfix: access to free'ed memory - mmanon bugfix: fix wrong ipv6 embedded recognition - imfile bugfix: not detecting files in directory when wildcards are used. - script bugfix: improper string-to-number conversion for negative numbers - core/action bugfix: 100% CPU utilization on suspension of output module - core/variables bugfix: bare $! cannot be used in set statement - core bugfix: auto commit of actions improperly handled - core bugfix: filename length limitation of 199 bytes - core bugfix: undefined behavior due to integer overflow - core bugfix: race on LocalHostIP property during startup - bugfix: potential segfault on startup - omhiredis bugfix: rsyslog segfault on startup if no template is specified - omprog bugfix: argv[0] not set when using binary without arguments - core: refactoring of rsyslog's cstr "class" - parent directory creation function refactored - mmsnmptrapd bugfix: potential misadressing - imkafka: fix potential small ressource leak - imkafka bugfix: do not emit error message on regular state - omkafka: expose operational status to user where useful - omkafka bugfix: potential message duplication - omkafka: fix multithreading - omkafka bugfix: potential misadressing - omkafka bugfix: build fails with older versions of librdkafka - omgssapi bugfix: fix compiler warnings with gcc-7 - dnscache bugfix: entries were cached based on IP AND port number - omkafka bugfix: fixed memory leak - mmdblookup bugfix: replace thread-unsafe strtok() by thread-safe counterpart - pmnormalize bugfix: remove unsave "strcat" implementation - rainerscript bugfix: ltrim() and rtrim function misadressing - imklog bugfix: local host IP was hardcoded to 127.0.0.1 - cleanup: remove obsolete pre-KSI GuardTime signature interface - cleanup: obsolete defintion SOL_TCP replaced by newer IPPROTO_TCP - lookup tables: fixed undefined behavior detected by UBSan
2018-01-12rsyslog: Note usage by rsyslog-omprog.jperkin1-1/+2
2017-11-30Update sysutils/rsyslog* to 8.31.0fhajny3-127/+7
- remove systemd embedded code, use libsystemd instead - mmanon: add support for IPv6 adresses with embedded IPv4 address - ommongodb: big refactoring, more or less a feature-enhanced rewrite - rainerscript: add parse_time() function - omelasticsearch: add pipeline support - lmsig_ksi_ls12: support asynchronous mode of libksi - omprog: added error handling and transaction support for external plugins - imzmq3/omzmq3: marked as deprecated, modules will be remove in v8.41 - imzmq3/omzmq3: fixed build issues with gcc-7 - core: emit error message on abnormal input thread termination - core: refactored locking for json variable access - core: refactored creation of UDP sockets - core/dnscache: refactor locking - rainerscript: use crypto-grade random number generator for random() function - imkafka: improve error reporting and cleanup refactoring - imkafka bugfix: segfault if "broker" parameter is not specified - omkafka: improve error reporting - omkafka: slight speedup do to refactoring of LIST class - TCP syslog: support SNI when connecting as a client - msg variable bugfix: potential segfault on variable access - ratelimiting bugfix: data race in Linux-like ratelimiter - core/template bugfix: potential NULL pointer access at config load - core/json var subsystem bugfix: segfault in MsgSetPropsViaJSON - core/wrkr threads bugfix: race condition - core/wtp: potential hang during shutdown - omfwd bugfix: generate error message on connection failure - imtcp bugfix: "streamdriver.mode" parameter could not be set to 0 - imjournal bugfix: module was defunctional - imjournal: refactor error handling, fix error messages -mmdblookup bugfix: fix potential segfault due to threading issues - omkafka bugfixes - kafka bugfix: problem on invalid kafka configuration values - [io]mgssapi: fix build problems (regression from 8.30.0) - [io]czmq: fix build problems on some platforms (namely gcc 7, clang 5) - tcpsrv bugfix: potential hang during shutdown - queue bugfix: potential hang during shutdown - queue bugfix: NULL pointer dereference during config processing - imczmq bugfix: segfault - imfile: some small performance enhancements - omfile: hande file open error via SUSPEND mode - omfile bugfix: race during directory creation can lead to loop - imudp: improve error reporting - omrelp bugfix: incorrect error handling - [io]mrelp bugfix: segfault on startup if configured cert not readable - mmanon fix: make build under gcc 7 - mmpstrucdata bugfix: formatting error of ']' char - mmexternalb bugfix: memory leak - core/stats bugfix: memory leak if sender stats or tracking are enabled - core bugfix: potential segfault during startup - core bugfix: potential race in variable handling - core bugfix: potential segfault when shutting down rsyslog - core/action bugfix: potential misadressing when processing hard errors - template object bugfix: NULL pointer access on invalid parameters - omjournal bugfix: NULL pointer access on invalid parameters - omelasticsearch bugfix: configured credentials not used during health check - omelasticsearch bugfix: abort on unavailable ES server - omelasticsearch: fix memory leak and potential misadressing - omelasticsearch bugfix: output from libcurl to stdout - iczmq bugfix: potential memory leak - imptcp bugfix: potential misadressing - imptcp: potential buffer overflow - core/nsd_gtls: fix potential unitialized data access - stats bugfix: potential program hang - omfwd bugfix: memory leak if network namespaces are used - core: potential misadressing when accessing JSON properties - gcry crypto provider bugfixes: potential misadressing and memory leak - core/file stream object bugfix: memory leak - imdiag bugfix: double mutex unlock when working with stats - fixed several minor and cosmetic issues found by Coverty scan - build: make compile warning-free under gcc 7
2017-10-18Update sysutils/rsyslog* to 8.30.0.fhajny3-8/+128
- CHANGE OF BEHAVIOUR: all variables are now case-insensitive by default - core: handle (JSON) variables in case-insensitive way - imjournal: made switching to persistent journal in runtime possible - mmanon: complete refactor and enhancements - add pseudonymization mode - add address randomization mode - add support for IPv6 (this also supports various replacement modes) - in IPv4 address recognition - in IPv4 simple mode to-be-anonymized bits can get wrong - imfile: add "fileoffset" metadata - RainerScript: add ltrim and rtrim functions - core: report module name when suspending action - core: add ability to limit number of error messages going to stderr - tcpsrv subsystem: improvate clarity of some error messages - imptcp: include module name in error msg - imtcp: include module name in error msg - tls improvement: better error message if certificate file cannot be read - omfwd: slightly improved error messages during config parsing - ommysql improvements - ommysql bugfix: do not duplicate entries on failed transaction - imtcp bugfix: parameter priorityString was ignored - template/bugfix: invalid template option conflict detection - core/actions: fix handling of data-induced errors - core/action bugfix: no "action suspended" message during retry processing - core/ratelimit bugfix: race can lead to segfault - core bugfix: rsyslog aborts if errmsg is generated in early startup - core bugfix: informational messages was logged with error severity - core bugfix: --enable-debugless build was broken - queue bugfix: file write error message was incorrect - omrelp bugfix: segfault when rebindinterval parameter is used - omkafka bugfix: invalid load of failedmsg file on startup if disabled - kafka bugfix: problem on invalid kafka configuration values - imudp bugfix: UDP oversize message not properly handled - core bugfix: memory corruption during configuration parsing - core bugfix: race on worker thread termination during shutdown - omelasticsearch: avoid ES5 warnings while sending json in bulkmode - omelasticsearch bugfix: incompatibility with newer ElasticSearch version - imptcp bugfix: invalid mutex addressing on some platforms - imptcp bugfix: do not accept missing port in legacy listener definition
2017-08-16Update sysutils/rsyslog to 8.29.0.fhajny2-7/+7
- imptcp: add experimental parameter "multiline" - imptcp: framing-related error messages now also indicate remote peer - imtcp: framing-related error messages now also indicate remote peer - imptcp: add session statistics conunter - imtcp: add ability to specify GnuTLS priority string - impstats: add new ressoure counter "openfiles" - pmnormalize: new parser module - core/queue: provide informational messages on thread startup and shutdown - omfwd/udp: improve error reporting, depricate maxerrormessages parameter - core: add parameters debug.file and debug.whitelist - core/net.c: improve UDP socket creation error messages - omfwd/udp: add "udp.sendbuf" parameter - core: make rsyslog internal message rate-limiter configurable - omelasticsearch bugfixes and changed ES5 API support: * avoid 404 during health check * avoid ES5 warnings while sending json * bugfix for memomry leak while writing error file - imfile bugfix: wildcard detection issue on path wildcards - omfwd bugfix: always give reason for suspension - omfwd bugfix: configured compression level was not properly used - imptcp bugfix: potential socket leak on session shutdown - omfwd/omudpspoof bugfix: switch udp client sockets to nonblocking mode - imklog: fix permitnonkernelfacility not working - impstats bugfix: impstats does not handle HUP - core bugfix: segfault after configuration errors - core/queue bugfixes: * Fix behaviour of PersistStateInterval * potential problem during deserialization - core bugfix: messsage garbled after message modification - lmsig_ksi: removed pre-KSI_LS12 components - testbench bugfix: hang in tests if omstdout is not present
2017-08-04Fix typo in bl3 referencefhajny1-2/+2
2017-07-04Update sysutils/rsyslog* to 8.28.0fhajny5-24/+28
- omfwd: add parameter "tcp_frameDelimiter" - omkafka: large refactor of kafka subsystem - imfile: improved handling of atomically renamed file (w/ wildcards) - imfile: add capability to truncate oversize messages or split into multiple - mmdblookup * upgraded from "contrib" to "fully supported" state * refactored and simplified code * added ability to specify custom names for extracted fields * bugfix: fixed multiple memory leaks - imptcp: add new parameter "flowControl" - imrelp: add "maxDataSize" config parameter - multiple modules: gtls: improve error if certificate file can't be opened - omsnare: allow different tab escapes - omelasticsearch: converted to use libfastjson instead of json-c - imjournal: _PID fallback - multiple modules: add better error messages when regcomp is failing - omhiredis: fix build warnings - imfile bugfix: files mv-ed in into directory were not handled - omprog bugfix: execve() incorrectly called - imfile bugfix: multiline timeout did not work if state file exists - lmsig_ksi-ls12 bugfix: build problems on some platforms - core bugfix: invalid object type assertion - regression fix: local hostname was not always detected properly on early start (w/o network). - bugfix: format security issues in zmq3 modules - bugfix build system: add libksi only to those binaries that need it - bugfix KSI ls12 components: invalid tree height calculation - testbench/CI enhancements
2017-05-22Include missing header. Deal with systems not using the LFS crap ofjoerg2-1/+25
O_LARGEFILE.
2017-05-18Update sysutils/rsyslog to 8.27.0fhajny5-30/+50
Version 8.27.0 [v8-stable] 2017-05-16 - imkafka: add module - imptcp enhancements: * optionally emit an error message if incoming messages are truncated * optionally emit connection tracking message (on connection create and close) * add "maxFrameSize" parameter to specify the maximum size permitted in octet-counted mode * add parameter "discardTruncatedMsg" to permit truncation of oversize messages * improve octect-counted mode detection: if the octet count is larger then the set frame size (or overly large in general), it is now assumed that octet-stuffing mode is used. This probably solves a number of issues seen in real deployments. - imtcp enhancements: * add parameter "discardTruncatedMsg" to permit truncation of oversize messages * add "maxFrameSize" parameter to specify the maximum size permitted in octet-counted mode - imfile bugfix: "file not found error" repeatedly being reported for configured non-existing file. - imfile: in inotify mode, add error message if configured file cannot be found - imfile: add parameter "fileNotFoundError" to optinally disable "file not found" error messages - core: replaced gethostbyname() with getaddrinfo() call - omkafka: add "origin" field to stats output - imuxsock: rate-limiting also uses process name both for the actual limit procesing as well as warning messages emitted - Added new module: KSI log signing ver. 1.2 (lmsig_ksi_ls12) - rsylsog base functionality now builds on osx (Mac) - build now works on solaris again - imfile: fix cross-platform build issue - bugfix core: segfault when no parser could parse message - bugfix core: rate-limit internal messages when going to external log system - bugfix core: when obtaining local hostname, a NULL pointer could be accessed. - bugfix core: on shutdown, stderr was written to, even if alrady closed - bugfix core: perform MainqObj destruction only when not NULL already - bugfix core: memory leak when internal messages not processed internally - bugfix imptcp: potential overflow in octet count computation when a very large octet count was specified, the counter could overflow
2017-04-06Update sysutils/rsyslog* to 8.26.0.fhajny3-9/+9
- enable internal error messages at all times - core: added logging name of source of rate-limited messages - omfwd: omfwd: add support for network namespaces - imrelp: honor input name if provided when submitting to impstats - imptcp: add ability to set owner/group/access perms for uds - mmnormalize: add ability to load a rulebase from action() parameter - pmrfc3164 improvements - permit to ignore leading space in MSG - permit to use at-sign in host names - permit to require tag to end in colon - add new global parameter "umask" - core: make use of -T command line option more secure - omfile: add error if both file and dynafile are set - bugfix: build problem on MacOS (not a supported platform) - regression fix: in 8.25, str2num() returned error on empty string - bugfix omsnmp: improper handling of new-style configuration parameters - bugfix: rsyslog identifies itself as "liblogging-stdlog" in internal messages - bugfix imfile: wrong files were monitored when using multiple imfile inputs - bugfix: setting net.aclResolveHostname/net.acladdhostnameonfail segfaults - bugfix: immark emitted error messages with text "imuxsock" - bugfix tcpflood: build failed if RELP was disabled - fix gcc6 compiler warnings - the output module array passing interface has been removed
2017-02-27Update sysutils/rsyslog* to 8.25.0fhajny2-7/+7
Changes: - imfile: add support for wildcards in directory names - add new global option "parser.PermitSlashInProgramname" - mmdblookup: fix build issues, code cleanup - improved debug output for queue corruption cases - an error message is now displayed when a directory owner cannot be set - rainerscript: add new functions ipv42num and num2ipv4 - bugfix: ratelimiter does not work correctly is time is set back - core: fix potential message loss in old-style transactional interface - bugfix queue subsystem: queue corrupted if certain msg props are used - bugfix imjournal: fixed situation when time goes backwards - bugfix: bFlushOnTxEnd == 0 not honored when writing w/o async writer - bugfix core: str2num mishandling empty strings - bugfix rainerscript: set/unset statement do not check variable name validity - bugfix mmrm1stspace: last character of rawmsg property was doubled - bugfix: rsyslog loops on freebsd when trying to write /dev/console - bugfix imtcp: fix very small (cosmetic) memory leak - fix build issues on some platforms (detected on newer Fedora) For full changelog see: https://github.com/rsyslog/rsyslog/blob/v8.25.0/ChangeLog
2017-02-13Update sysutils/rsyslog to 8.24.0.fhajny5-27/+28
Changelog (abridged): - rsyslog now builds on AIX - mmdblookup: new maxminddb lookup message modify plugin - mmrm1stspace: new module; removes first space in MSG if present - KSI signature provider: file permissions can now be specified - omzmq: new features - change: when the hostname is empty, we now use "localhost-empty-hostname" - omelasticsearch: remove "asyncrepl" config parameter - omfwd: Add support for bind-to-device (see below on same for imudp) - imudp: Add support for bind-to-device - imudp: limit rcvbufsize parameter to max 1GiB - rainerscript: implement new "call_indirect" statement - bugfix imjournal: make state file handling more robust - bugfix core: lookup table reload was not properly integrated - bugfix core: potential dealock on shutdown - bugfix ommongodb: did not work in v8 due to invalid indirection - bugfix ommongodb: fix tryResume handling - bugfix omfwd: retry processing was not done correctly, could stall - bugfix imuxsock: segfault non shutdown when $OmitLocalLogging is on
2017-02-09Don't depend on header pollution for stat macros.joerg2-1/+16
2016-12-05Update sysutils/rsyslog to 8.23.0.fhajny3-7/+23
Changes in 8.23.0 (abridged): - KSI signatures: removed SHA2-224 hash algorithm This is considered insecure and no longer supported by the underlying KSI library. If still used within a configuration, a descriptive error message is emitted during config processing. - imfile: new timeout feature for multi-line reads - omfile: improve robustness against network file system failures in case of failure, a close and re-open is tried, which often solves the issue (and wasn't handle before this patch). - pmaixforwardedfrom: support for AIX syslogd -s option - omelasticsearch: add ability to specify max http request size - omelasticsearch: high availability addressing of ElasticSearch cluster allow to specify an array of servers, which is tried until a working one is found (and given up only if none works). - omelasticsearch: make compatible with ElasticSearch 2.x and 5.x fixes omelasticsearch logs response from ElasticSearch 5.0 _bulk endpoint as error - omhiredis: add dynakey attribute. - omtcl: new contributed module - RainerScript: provide a capability to set environment variables via 'global(environment="var=val")' config statement. - lookup tables: improved error checking - queue subsystem: add configuration parameter "queue.samplinginterval" - bugfix core: errmsg.LogError now switches to dfltErrLogger just before shutdown - bugfix core: fixed un-freed memory in non-transactional action using string-passing - rsgtutil: option to specify KSI publications file certificate constraints - omprog: bugfixes and enhancements - bugfix imfile: ReopenOnTruncate processing, file open processing - bugfix omlibdbi: libdbi-driver-sqlite3/2 requires to provide a path to database split into two strings: * absolute path, where the database file sits * database filename itself. - bugfix RainerScript: issue in prifilt() function Initialize func-data(and to-be-freed flag) correctly for prifilt function-node - bugfix omrelp: invalid module name imrelp was used in some error messages - bugfix core: abort when persisting object state - bugfix: segfault if hostname is unset on system - bugfix external module perl skeleton: did not work properly - bugfix build system: Fix detection of pthread_setschedparam() on platforms such as FreeBSD - bugfix omelasticsearch: modifies constant memory under some circumstances - "bugfix": theoretical queue file corruption when more than MAX_INT files - bug fix/KSI: LOGSIG11 missing in the beginning of KSI log signature file - bugfix template processor: missing escaping of backslash in json mode - testbench improvements
2016-10-20Update sysutils/rsyslog to 8.22.0.fhajny3-14/+14
Version 8.22.0 [v8-stable] 2016-10-04 - ompgsql: add template support Thanks to Radu Gheorghe for implementing this. - generate somewhat better error message on config file syntax error a common case (object at invalid location) has received it's own error message; for the rest we still rely on the generic flex/bison handler - bugfix:omhiredis reconnects after failure previously it could loose messages under such conditions. Thanks to Bob Gregory for the patch. - general cleanup and code improvement mostly guided by compiler warnings induced by newer opensuse builbot environment ------------------------------------------------------------------------------ Version 8.21.0 [v8-stable] 2016-08-23 - CHANGE OF BEHAVIOUR: by default, internal messages are no longer logged via the internal bridge to rsyslog but via the syslog() API call [either directly or via liblogging). For the typical single-rsyslogd-instance installation this is mostly unnoticable (except for some additional latency). If multiple instances are run, only the "main" (the one processing system log messages) will see all messages. To return to the old behaviour, do either of those two: 1) add in rsyslog.conf: global(processInternalMessages="on") 2) export the environment variable RSYSLOG_DFLT_LOG_INTERNAL=1 This will set a new default - the value can still be overwritten via rsyslog.conf (method 1). Note that the environment variable must be set in your **startup script**. For more information, please visit http://www.rsyslog.com/rsyslog-error-reporting-improved/ - slightly improved TLS syslog error messages - queue subsystem: improved robustness The .qi file is now persisted whenever an existing queue file is fully written and a new file is begun. This helps with rsyslog aborts, including the common case where the OS issues kill -9 because of insufficiently configured termination timout (this is an OS config error, but a frequent one). Also, a situation where an orphaned empty file could be left in the queue work directory has been fixed. We expect that this change causes fewer permanent queue failures. - bugfix: build failed on some platforms due to missing include files
2016-08-09Update sysutils/rsyslog 8.20.0.fhajny2-7/+7
Version 8.20.0 [v8-stable] 2016-07-12 - NEW BUILD REQUIREMENT: librelp, was 1.2.5, now is 1.2.12 This is only needed if --enable-relp is used. The new version is needed to support the new timeout parameter in omrelp. - NEW BUILD SUGGESTION: libfastjson 0.99.3 - omrelp: add configurable connection timeout - pmrfc3164: add support for slashes in hostname - bugfix omfile: handle chown() failure correctly - omfile now better conveys status of unwritable files back to core - config files recursively including themselfes are now detected and an error message is emitted in that case - refactored code to not emit compiler warnings in "strict mode" - bugfix: fix some issues with action CommitTransaction() handling - bugfix omqmqp1: connecting to the message bus fails on nonstandard port - testbench/CI enhancements - new tests for RELP components - new tests for core action processing and retry - travis tests now also run against all unstable versions of supporting libraries. This helps to track interdependency problems early. - new tests for hostname parsing - new tests for RainerScript comparisons
2016-06-17Update sysutils/rsyslog to 8.19.0.fhajny4-37/+7
Version 8.19.0 [v8-stable] 2016-05-31 - NEW BUILD REQUIREMENT: autoconf-archive - omelasticsearch: add option to permit unsigned certs (experimentally) This adds plumbing as suggested by Joerg Heinemann and Radu Gheorghe, but is otherwise untested. Chances are good it works. If you use it, please let us know your experience and most importantly any bug reports you may have. closes https://github.com/rsyslog/rsyslog/issues/89 - imrelp: better error codes on unvailablity of TLS options Most importantly, we will tell the user in clear words if specific TLS options are not available due to too-old GnuTLS. closes https://github.com/rsyslog/rsyslog/issues/1019 - default stack size for inputs has been explicitely set to 4MiB for most platforms, this means a reduction from the default of 10MiB, hower it may mean an increas for micro-libc's (some may have as low as 80KiB by default). - testbench: We are now using libfaketime instead of faketime command line tool. Make sure you have installed the library and not just the binary! - refactor stringbuf * use only a single string buffer ... both for the internal representation as well as the C-String one. The module originally tried to support embedded NUL characters, which over time has prooven to be not necessary. Rsyslog always encodes NUL into escape sequences. Also, the dual buffers were used inconsistently, which could lead to subtle bugs. With the single buffer, this does no longer happen and we also get some improved performance (should be noticable) and reduced memory use (a bit). closes https://github.com/rsyslog/rsyslog/issues/1033 * removed no longer used code * internal API changes to reflect new needs * performance improvements * miscellaneous minor cleanup - fix: potential misadressing in template config processing This could cause segfault on startup. Happens when template name shorter than two chars and outname is not set. Once we are over startup, things work reliably. - bugfix omfile: async output file writing does not respect flushing neither parameter flushInterval nor flushOnTXEnd="on" was respected. closes https://github.com/rsyslog/rsyslog/issues/1054 - bugfix imfile: corrupted multi-line message when state data was persisted see also https://github.com/rsyslog/rsyslog/issues/874 Thanks to Magnus Hyllander for the analysis and a patch suggestion. - bugfix imfile: missing newline after first line of multiline message see also https://github.com/rsyslog/rsyslog/issues/843 Thanks to Magnus Hyllander for the patch. - bugfix: dynstats unusedMetricTtl bug Thanks to Janmejay Singh for fixing this. - bugfix build system: build was broken on SunOS Thanks to Filip Hajny for the patch. - bugfix: afterRun entry point not correctly called The entry point was called at the wrong spot, only when the thread had not already terminated by itself. This could cause various cleanup to not be done. This affected e.g. imjournal. closes https://github.com/rsyslog/rsyslog/issues/882 - bugfix dynstats: do not leak file handles Thanks to Janmejay Singh for the patch. - bugfix omelasticsearch: disable libCURL signal handling previously, this could lead to segfaults on connection timeout see also https://github.com/rsyslog/rsyslog/pull/1007 Thanks to Sai Ke WANG for the patch. - bugfix omelasticsearc: some regressions were fixed * error file was no longer written * fix for some potential misaddressings - improved wording: gnutls error message points to potential cause What GnutTLS returns us is very unspecific and somehwat misleading, so we point to what it most probably is (broken connect). see also https://github.com/rsyslog/rsyslog/issues/846 - some general code improvements * "fixed" cosmetic memory leaks at shutdown - build system bugfix: configure can't find gss_acquire_cred on Solaris Thanks to github user vlmarek for the patch. - improvements to the CI environment * improvements on the non-raciness of some tests * imdiag: avoid races in detecting queue empty status This reslolves cases where the testbench terminated rsyslog too early, resulting in potential message loss and test failure. * omkafka has now dynamic tests Thanks to Janmejay Singh for implementing them. * try to merge PR to master and run tests; this guards against cross-PR regressions and wasn't caught previously. Note that we skip this test if we cannot successfully merge. So this is not a replacement for a daily full "all-project integration test run". * travis has finally enabled elasticsearch tests ES was unfortunately not being regularly tested for quite a while due to missing environment. This lead to some regressions becoming undetected. These were now discovered thanks to the new support on travis. Also, this guards against future regressions. * imfile has now additional tests and overall better coverage * omfile has now additional tests
2016-06-08Remove the stability entity, it has no meaning outside of an official context.jperkin1-1/+0
2016-06-08Change the service_bundle name to "export" to reduce diffs between thejperkin1-1/+1
original manifest.xml file and the output from "svccfg export".
2016-04-22Build fixes for Darwin.jperkin4-9/+20
2016-04-21Update syslog/rsyslog* to 8.18.0.fhajny4-7/+37
Version 8.18.0 [v8-stable] 2016-04-19 - testbench: When running privdrop tests testbench tries to drop user to "rsyslog", "syslog" or "daemon" when running as root and you don't explict set RSYSLOG_TESTUSER environment variable. Make sure the unprivileged testuser can write into tests/ dir! - templates: add option to convert timestamps to UTC closes https://github.com/rsyslog/rsyslog/issues/730 - omjournal: fix segfault (regression in 8.17.0) - imptcp: added AF_UNIX support Thanks to Nathan Brown for implementing this feature. - new template options * compressSpace * date-utc - redis: support for authentication Thanks to Manohar Ht for the patch - omkafka: makes kafka-producer on-HUP restart optional As of now, omkafka kills and re-creates kafka-producer on HUP. This is not always desirable. This change introduces an action param (reopenOnHup="on|off") which allows user to control re-cycling of kafka-producer. It defaults to on (for backward compatibility). Off allows user to ignore HUP as far as kafka-producer is concerned. Thanks to Janmejay Singh for implementing this feature - imfile: new "FreshStartTail" input parameter Thanks to Curu Wong for implementing this. - omjournal: fix libfastjson API issues This module accessed private data members of libfastjson - ommongodb: fix json API issues This module accessed private data members of libfastjson - testbench improvements (more tests and more thourough tests) among others: - tests for omjournal added - tests for KSI subsystem - tests for priviledge drop statements - basic test for RELP with TLS - some previously disabled tests have been re-enabled - dynamic stats subsystem: a couple of smaller changes they also involve the format, which is slightly incompatible to previous version. As this was out only very recently (last version), we considered this as acceptable. Thanks to Janmejay Singh for developing this. - foreach loop: now also iterates over objects (not just arrays) Thanks to Janmejay Singh for developing this. - improvements to the CI environment - enhancement: queue subsystem is more robst in regard to some corruptions It is now detected if a .qi file states that the queue contains more records than there are actually inside the queue files. Previously this resulted in an emergency switch to direct mode, now the problem is only reported but processing continues. - enhancement: Allow rsyslog to bind UDP ports even w/out specific interface being up at the moment. Alternatively, rsyslog could be ordered after networking, however, that might have some negative side effects. Also IP_FREEBIND is recommended by systemd documentation. Thanks to Nirmoy Das and Marius Tomaschewski for the patch. - cleanup: removed no longer needed json-c compatibility layer as we now always use libfastjson, we do not need to support old versions of json-c (libfastjson was based on the newest json-c version at the time of the fork, which is the newest in regard to the compatibility layer) - new External plugin for sending metrics to SPM Monitoring SaaS Thanks to Radu Gheorghe for the patch. - bugfix imfile: fix memory corruption bug when appending @cee Thanks to Brian Knox for the patch. - bugfix: memory misallocation if position.from and position.to is used a negative amount of memory is tried to be allocated if position.from is smaller than the buffer size (at least with json variables). This usually leads to a segfault. closes https://github.com/rsyslog/rsyslog/issues/915 - bugfix: fix potential memleak in TCP allowed sender definition depending on circumstances, a very small leak could happen on each HUP. This was caused by an invalid macro definition which did not rule out side effects. - bugfix: $PrivDropToGroupID actually did a name lookup ... instead of using the provided ID - bugfix: small memory leak in imfile Thanks to Tomas Heinrich for the patch. - bugfix: double free in jsonmesg template There has to be actual json data in the message (from mmjsonparse, mmnormalize, imjournal, ...) to trigger the crash. Thanks to Tomas Heinrich for the patch. - bugfix: incorrect formatting of stats when CEE/Json format is used This lead to ill-formed json being generated - bugfix omfwd: new-style keepalive action parameters did not work due to being inconsistently spelled inside the code. Note that legacy parameters $keepalive... always worked see also: https://github.com/rsyslog/rsyslog/issues/916 Thanks to Devin Christensen for alerting us and an analysis of the root cause. - bugfix: memory leaks in logctl utility Detected by clang static analyzer. Note that these leaks CAN happen in practice and may even be pretty large. This was probably never detected because the tool is not often used. - bugfix omrelp: fix segfault if no port action parameter was given closes https://github.com/rsyslog/rsyslog/issues/911 - bugfix imtcp: Messages not terminated by a NL were discarded ... upon connection termination. Thanks to Tomas Heinrich for the patch.