./sysutils/syslog-ng, Highly portable log management solution

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 3.17.2nb1, Package name: syslog-ng-3.17.2nb1, Maintainer: pkgsrc-users

Highly portable log management solution to create collect, filter,
classify, store and forward log messages.

MESSAGE.common [+/-]

Required to run:
[devel/glib2] [devel/pcre] [lang/python27] [textproc/json-c] [devel/ivykis]

Required to build:

Package options: inet6

Master sites:

SHA1: 75d7881d2cf258017c3b98fd37ceb3322c1855ad
RMD160: 6464dd3fd20662e69e3056d090bcce470be90e93
Filesize: 8905.495 KB

Version history: (Expand)

CVS history: (Expand)

   2019-03-15 11:04:00 by Manuel Bouyer | Files touched by this commit (3) | Package updated
Log message:
syslog-ng overloads sigaction() with its own version, and calls the libc
sigaction() with a dlsym call. On NetBSD this ends up calling the compatibility
sigaction() which fails with ENOSYS if COMPAT_13 is not in the kernel.
Even with COMPAT_13 it would be incorrect because we call the compat
sigaction() with the non-compat arguments.

On NetBSD, fix this by calling explicitely __libc_sigaction14().
   2018-08-15 15:08:21 by Filip Hajny | Files touched by this commit (4) | Package updated
Log message:
sysutils/syslog-ng: Update to 3.17.2.


## Bugfixes

- Fix a bug in flow-control
- Fix template function evaluation in debugger


## Features

- Client side failback mode
- New linux-audit() source as SCL
- Decorating generated configuration
- Introduce ewmm() source
- Add parsing of Cisco unified call manager
- Mandatory parameters for cfg-block (SCL)

## Bugfixes

- dqtool cat print backlog items
- Rewind backlog in case of stateless LogProtoClient
- Filter out incorrectly parsed sudo logs
- Minor fixes related to client-lib-dir, loggen and eventlog
- Minor stats-query fixes and refactor
- Reliable disk buffer non-empty backlog
- Fix pip package versions on older distro releases (dbld)
- Fix a groupset/groupunset and map-value-pairs() crash
- Make g_atomic_counter_set() atomic and update minimum glib version
  to 2.26
- Aligning java related SCLs with mandatory parameters
- Loggen minor fixes
- grab-logging should be installed as a header
- Fix possible underflow of memory_usage (afsql, logqueue-fifo)
- Fix SELinux module version inconsistency
- Fix CMake unit test compilation (no-pie)
- Fix possible crash in syslog-parser()
- Disable ack for mark mode
- Fixing a Telegram destination bug with bot id
- All drivers should support inner destination or source plugins
- Fix default file and directory creation ownership
- Fix global "center;;received" counter when systemd-journal() is used
- Link everything to libsecret-storage
- Inform about the right dns-cache() configuration (warning message
- Adjusting window size for internal mark mode
- Fix memory leaks in disk-buffer()
- Fix undefined behavior in log multiplexer
- Fix static linking mode (autotools)
- Fix internal mark mode infinite loop with old ivykis
- Fix missing normalize flags
- Keep JVM running on reload if once configured
- Fix a race condition (suspend) in LogSource
- Add `@requires json-plugin` to the cim() parser
- Added exclude_kmsg option to system source
- Fix padding template function
- Leak & invalid memory access
- FreeBSD 11.2 builderror SOCK_STREAM
- Add ref-counted TLSVerifier struct (use after free fix)

## Other changes

- Improve loggen's file message parser
- syslog-ng-debun improvements
- Goodbye "goto relex" (refactor)
- Refactor the callback registration mechanism of WildcardFileReader
- Extended Linux capabilities detection (pkg-config)
- Add atomic gssize
- Lower the message level of `@requires` to debug
- macOS warning elimination
- Remove a misleading rewrite-related debug message
- Minor updates to SELinux policy installer script
- More robust GLib detection (CMake)
- Logthreaded nonfunctional changes
- Confgen and pragma improvements
- Flush before stopping syslog-ng (functional tests)
- Port unit tests into criterion (test_filters_netmask6, test_findeom,
  csv_parser, patternDB)
- Libtest refactors
- Add missing files to the source tarball
- Better python binary detection
   2018-06-25 19:14:19 by Filip Hajny | Files touched by this commit (3) | Package updated
Log message:
sysutils/syslog-ng*: Update to 3.16.1.

- Telegram destination and $(urlencode) template function
- Error reporting on misspelled block args
- New ignore_tns_config Oracle SQL destination config option
- Per-source "src.host" and "src.sender" counters

- Fix possible loss of log messages in the systemd-journal() source
- Fix file source location information in internal logs
- Fix SDATA deserialization (disk-buffer crash)
- Fix unaccepted embedded 'file' keyword (file source and destination)
- Fix memory leaks in appmodel and varargs
- Fix a bug in the old LogMessage deserialization
- Fix reading the output of the confgen program
- Add safer mem_zero() to secret-storage
- Fix undefined behavior in syslog-ng-ctl query
- Fix lloc tracking for multi line blockrefs
- Added missing 'else {};' to default-network-drivers() to forward
  unparsable messages
- Fix mixed linking
- Fix compilation of evtlog on FreeBSD
- Fix thread_id allocation for more than 32 CPUs (crash)
- Add safe logging of errno
- Fix warnings related to floating point operations
- Partial revert of plugin discovery to bring back valgrind
- Fix connection close in network sources
- Fix file deletion in the wildcard-file() source
- Disable the DNS cache if use-dns(no) is used
- Fix compiler error for gcc 4.4
- Fix emitted warnings due to -no-pie detection for gcc 4.4
- Fix date format in functional tests
- Dbld fixes
- Rename PAGESIZE variables to pagesize in secret-storage (compilation
- Fix the lifetime of TLSContext to prevent crash on reload
- Fix reaping program() source and destination when a Java-based
  destination is used

Other changes
- Add debug message to program source/destination about successful
- Report memory exhaustion errors during config parsing
- Improved debug logs
- Dbld coverage
- LogTransportMock enhancement
- Modify the license of loggen from GPL to LGPL
- Loggen refactor
- Update RPM generation
- Rewrite unit tests based on Criterion
- Lexer test coverage improvements
- preparation for 3.16 OSE rhel/packaging
   2018-05-15 15:06:19 by Filip Hajny | Files touched by this commit (4) | Package updated
Log message:
sysutils/syslog-ng*: Update to 3.15.1.

## Features

- Support added for `if`/`elif`/`else` blocks to the configuration
  file syntax.
- Dramatically improved debug messages during filter/parser
- Similarly improved the error messages shown on syntax errors, they
  now show a full backtrace of inclusions, among other things.
- The `hook-commands` module was added, allowing one to run custom
  commands on source or destination setup and teardown.
- Implemented a way to skip processing included config file snippets
  in case a dependency is missing: The `@requires json` pragma.
- Basic client-side failover support was implemented.
- Errors from python destinations are now reported together with any
  exception text (if any).
- `add-contextual-data` gained a new `ignore-case()` option.

## Bugfixes

- Fix a crash that happened on disk queue restart.
- Fixed another crash when a corrupted disk queue file was being moved
- Fixed a crash that could happen during nvtable deserialization.
- Fixed a crash that occurred when NVTables were stored on low memory
- Fixed an issue with TLS session resumption, the session id context
  value is now properly set.
- We now link directly to the `evtlog` shipped with syslog-ng, and are
  not using the system library, not even when present.
- TLS destinations now work again without `key-file` or `cert-file`
- SDATA block names are now sanitized, in order to not break the spec
  when we get our SDATA from sources that are more lax (such as JSON).
- Some internal messages contained key-value pairs where the key had
  spaces in it, this has been addressed, they do not contain spaces
- The STOMP destination will now correctly use template options when
  formatting its body part.
- Fix compilation with OpenSSL 1.1.0
- Fix compilation on FreeBSD.
- Fix compilation on SLES 11.
- Fix compilation on Hurd.
- Fix compiltaion on Solaris 10.
- Fix compilation on MacOS.
- Fixed a value conflict in the `afstreams` module's grammar file.
- Various compiler warning-related fixes all over the codebase.

## Other changes

- POSIX RegExp support was dropped from the filters, PCRE remains
- Miscellaneous build-system related fixes and improvements (both
  autotools and CMake).
- Update `lib/json-c` to `json-c-0.13-20171207`.
   2018-02-28 14:26:08 by Filip Hajny | Files touched by this commit (6) | Package updated
Log message:
sysutils/syslog-ng*: Update to 3.14.1.

- Password protected ssl keys
- Add OpenBSD module to system() source
- Add Ubuntu Trusty support to Docker build

- Fix increased memory usage during saving disk-buffer
- Fix maximum record length limitations of disk-buffer
- Fix a memory leak in cfg-lexer
- Fix some issues found by pylint in python module
- Fix a crash due to a race condition in kv-parser()
- Fix a crash due to a race condition in file() destination
- Fix deprecated API usage in python module tests
- Fix a race condition in internal() source
- Fix a locale issue in merge-grammar python tool
- Fix compile problems with autotools when '--disable-all-modules'
- Fix a file descriptor leak in persist-state
- Fix a file descriptor leak in pseudofile()
- Fix memory/fd leaks in loggen tool
- Fix compile problems on Fedora, RHEL6, CentOS6 and SUSE based
- Fix a crash when large variety of keys added to messages
- Fix compile problems when PATH_MAX not defined
- Fix integer overflow problems in grammar
- Fix a memory leak in filter()
- Fix memory leak of persist-name() option
- Fix message corruption caused by a bug in the subst() rewrite rule
- Fix silently dropped messages in elasticsearch2() when sending in
  bulk mode
- Fix broken disk-buffer() support in elasticsearch2()
- Fix Hy support in python module
- Fix an event scheduler related crash during reloading syslog-ng
- Fix a crash with SIGBUS when persist file cannot grow

Other changes
- Improve error reporting in "block" definitions in config
- Add warning message when disk-buffer() directory is changed in
- Syslog-ng debun improvements
- Refactor in rewrite() module init
- Missing child program (exit status 127) handling is changed in
  program() destination:
- stopping destination instead of polling for the child program
- Refactor in filter() module
- Improve thread synchronization in mainloop and refactor
- Adapted json-c v0.13 API changes to json-parser
- Add filters as selectors in contextual data
   2018-01-12 21:48:06 by Filip Hajny | Files touched by this commit (3) | Package updated
Log message:
sysutils/syslog-ng: Avoid doubling up on a process watchdog inside
the SMF manifest. Bump PKGREVISION.
   2017-12-11 15:45:11 by Filip Hajny | Files touched by this commit (11) | Package updated
Log message:
Update sysutils/syslog-ng* to 3.13.2.

- Remove separate sysutils/syslog-ng-json package, it is now a core


- Missing manpages from release tarball
- Package syslog-ng-mod-json is removed from
- Drop syslog-ng-abi virtual packages


- Add app-parser() framework (automatic parsing of log messages)
- Support microseconds in Riemann destination
- Add osquery destination as an SCL plugin
- Add network load balancer destination
- Add possibility to only signal re-open of file handles (SIGUSR1)
- It is possible from now to limit the number of registered dynamic
- Add $(binary) template function
- Add experimental transport for transferring messages in whole
  between syslog-ng instances (EWMM)
- Docker based build and debian package generation
- Add auto-parse(yes/no) to app-paser(), system() and
- Add Graylog2 destination and $(format-gelf) template function

- Exit when a read fails on an included config file instead of
  starting up with an empty configuration.
- Fix double free
- Add missing discarded counter to groupingby
- Fix a reference leak in Python destination
- Fix timezone issue in snmptrapd parser
- Fix potential crash in stdin driver
- Fix a crash when initializing new config fails for socket with
  keep_alive off
- Fix filter evaluation in case of contexts with multiple elements
- Various grouping-by fixes
- Fix potential use after free around dns-cache during shutdown
- Fix access to indirect values within Java destination
- Fix a crash in affile
- Fix a memory leak
- Fix a crash when getent is used empty group
- Fix jvm-options()
- Fix a crash in Python language binding
- Fix a crash in afmongodb
- Fix a memory leak in afmongodb
- Fix name-to-GID calculation in the $(getent) template function
- Fix a crash when redis is configured without the command() option
- Fix a race condition in kv-parser()

Other changes
- Cleanup diskq related warning messages
- Provide tls block for tls options in amqp(), http(), riemann()
  destination drivers
- It it possible from now to register blocks and generators as plugins
- Drop compatiblity with configurations below 3.0
- Do not change permissions of a file by default
- Allow source files to specify permissions locally
- Minor performance improvement
- The current config version can be queried with "--version"
- Increase the performance of kv-parser()
   2017-10-02 17:16:27 by Filip Hajny | Files touched by this commit (5) | Package updated
Log message:
Update sysutils/syslog-ng to 3.12.1.

# Features

- HDFS: support macro in filename
- HDFS: add append support
- Java: allow to use sequence numbers in templates
- TLS improvements
    - Add PKCS 12 support with the new `pkcs12-file()` TLS option
    - startup time `ssl-options()` and `peer-verify()` check
    - startup time `key_file`, `cert_file`, `ca_dir`, `crl_dir` and
      `cipher_suite` check
    - ECDH  cipher support (OpenSSL 1.0.1, 1.0.2, 1.1.0) with the
      `ecdh-curve-list()` option (only available >= 1.0.2)
        - for < 1.0.2, a hard-coded curve is used
        - for >= 1.0.2, automatic curve selection is used (the
          `ecdh-curve-list()` option can restrict this list)
    - DH cipher support with the `dhparam-file()` option
        - if the option is not specified, fallback RFC 3526 parameters
          are used
    - minor fixes
- `stdin()` source driver
- Implement `read_old_records` option for systemd-journal source
- Add tags-parser: a new module to parse $TAGS values
- Add a Windows eventlog parser scl module
- Add XML parser module

# Bugfixes

- Fix cannot parse ipv6 into hostname
- Speedup add-contextual-data by making ordering optional
- Fix `monitor-method()` option not working for `wildcard-file()` source
- Sanitize SDATA keys in syslog-protocol messages to avoid generating
  non-valid messages
- Fix memory leaks reported using Valgrind
- Fix memory leak related to cloning pipes and reload
- Fix getent protocol number returns incorrect value
- Fix elasticsearch2 destination flush mechanism
- Fix file destination related memory leak
- Fix a possible memory leak around affile destination

# Other changes

- Improve syslog-ng debun functionality
- Java: allow to set JVM options form global syslog-ng options
- Do steps towards Python 3 support:
    - Fix string compatibility for Python 3
    - Improve Python version auto detection
- HTTP destination: display verbose logs on debug level
- Improvements for Solaris packing