liblognorm 2.0.1 released

Monday, August 1st, 2016

We have just released liblognorm 2.0.1. This new version provides some fixes for the public headers als well as issues in pkgconfig file. Also it requires libfastjson (>=0.99.3) instead of json-c. See the Changelog for details.

Changelog:
Version 2.0.1, 2016-08-01

  • fix public headers, which invalidly contained a strndup() definition
    Thanks to Michael Biebel for this fix.
  • fix some issues in pkgconfig file
    Thanks to Michael Biebel for this fix.
  • enhance build system to natively support systems with older autoconf versions and/or missing autoconf-archive. In this case we gracefully degrade functionality, but the build still is possible. Among others, this enables builds on CentOS 5.

Download:
http://www.liblognorm.com/download/liblognorm-2-0-1/

As always, feedback is appreciated.

Best regards,
Florian Riedl

liblognorm 2.0.1

Monday, August 1st, 2016

Download file name: liblognorm 2.0.1

liblognorm 2.0.1
sha256 hash: 6a7fda0da2791a87c808fbfde1af20e6463e3ff73496aae7756e3440f3bc5b75

Author: Rainer Gerhards (rgerhards@adiscon.com)
Version: 2.0.1 File size: 0.642 MB

Download this file now!

liblognorm 2.0.0 released

Friday, July 22nd, 2016

We have just released liblognorm 2.0.0. This new version was completely rewritten and is much feature-enhanced. Also it requires libfastjson instead of json-c. See the Changelog for details.

Changelog:

    Version 2.0.0, 2016-07-21

  • completely rewritten, much feature-enhanced version
  • requires libfastjson instead of json-c
  • big improvements to testbench runs, especially on travis
    among others, the static analyzer is now run and testbench throws
    an error if the static analyzer (via clang) is not clean
  • lognormalizer tool can now handle lines larger 10k characters
    Thanks to Janmejay Singh for the patch

Download:
http://www.liblognorm.com/download/liblognorm-2-0-0/

As always, feedback is appreciated.

Best regards,
Florian Riedl

liblognorm 2.0.0

Friday, July 22nd, 2016

Download file name: liblognorm 2.0.0

liblognorm 2.0.0
sha256 hash: b65f806679bb4f23fec3e401d8c5c62245e2111372e03c1f31e0b4f2980dddb3

Author: Rainer Gerhards (rgerhards@adiscon.com)
Version: 2.0.0 File size: 0.633 MB

Download this file now!

liblognorm 1.1.3 released

Monday, March 7th, 2016

We have just released liblognorm 1.1.3. This release contains support for libfastjson and now works on Solaris. See the Changelog for details.

Changelog:
Version 1.1.3, 2016-03-07

  • add support for libfastjson
  • make work on Solaris
  • check for runaway rules.
    A runaway rule is one that has unmatched percent signs and thus
    is not terminated properly at its end. This also means we no longer
    accept “rule=” at the first column of a continuation line, which is
    no problem (see doc for more information).
  • fix: process last line if it misses the terminating LF
    This problem occurs with the very last line of a rulebase (at EOF).
    If it is not properly terminated (LF missing), it is silently ignored.
    Previous versions did obviously process lines in this case. While
    technically this is invalid input, we can’t outrule that such rulebases
    exist. For example, they do in the rsyslog testbench, which made
    us aware of the problem (see https://github.com/rsyslog/rsyslog/issues/489 )
    I think the proper way of addressing this is to process such lines without
    termination, as many other tools do as well.
    closes https://github.com/rsyslog/liblognorm/issues/135

Download:
http://www.liblognorm.com/download/liblognorm-1-1-3/

As always, feedback is appreciated.

Best regards,
Florian Riedl

liblognorm 1.1.3

Monday, March 7th, 2016

Download file name: liblognorm 1.1.3

liblognorm 1.1.3
sha256 hash: 8e370460a152057abc577d59acbe60b7846312897e56f8f9d3e74edf9c621951

Author: Rainer Gerhards (rgerhards@adiscon.com)
Version: 1.1.3 File size: 0.541 MB

Download this file now!

liblognorm 1.1.2 released

Monday, July 20th, 2015

We have just released liblognorm 1.1.2. This release contains new parser syntaxes and some fixes.

Changes:
Version 1.1.2, 2015-07-20

  • permit newline inside parser definition
  • new parser “cisco-interface-spec”
  • new parser “json” to process json parts of the message
  • new parser “mac48” to process mac layer addresses
  • new parser “name-value-list” (currently inofficial, experimental)
  • some parsers did incorrectly report success when an error occurred
    this was caused by inconsistencies between various macros. We have
    changed the parser-generation macros to match the semantics of the
    broader CHKN/CHKR macros and also restructured/simplified the
    parser generation macros.
    closes https://github.com/rsyslog/liblognorm/issues/41
  • call “rest” parser only if nothing else matches.
    Versions prior to 1.1.2 did execute “rest” during regular parser
    processing, and thus parser matches have been more or less random.
    With 1.1.2 this is now always the last parser called. This may cause
    problems with existing rulesets, HOWEVER, adding any other rule or
    changing the load order would also have caused problems, so there
    really is no compatibility to preserve.
    see also:
    http://blog.gerhards.net/2015/04/liblognorms-rest-parser-now-more-useful.html
  • new API to support error callbacks
    This permits callers to forward messages in regard to e.g. wrong rule
    bases to their users, which is very useful and actually missing in the
    previous code base. So far, we only have few error messages.
    However, we will review the code and add more. The important part is
    that callers can begin to use the new API and thus will benefit when
    we add more error messages.
  • testbench is now enabled by default
  • bugfix: misadressing on some constant values
    see also https://github.com/rsyslog/liblognorm/pull/67
    Thanks to github user ontholerian for the patch
  • bugfix: add missing function prototypes
    This could potentially lead to problems on some platforms,
    especially those with 64 bit pointers.

Download:
http://www.liblognorm.com/download/liblognorm-1-1-2/

As always, feedback is appreciated.

Best regards,
Florian Riedl

liblognorm 1.1.2

Monday, July 20th, 2015

Download file name: liblognorm 1.1.2

liblognorm 1.1.2
sha256 hash: 935a112fb5310877aaa5046ac8bd2ec7d0e9fed03e2fffccb84b6f93b92a536c

Author: Rainer Gerhards (rgerhards@adiscon.com)
Version: 1.1.2 File size: 0.535 MB

Download this file now!

liblognorm 1.1.1 released

Tuesday, March 10th, 2015

We have just released liblognorm 1.1.1. This release contains new parser syntaxes and some fixes.

Changes:

Version 1.1.1, 2015-03-09

  • fixed library version numbering
    Thanks to Tomas Heinreich for reporting the problem.
  • added new parser syntaxes
    Thanks to Janmejay Singh for implementing most of them.
  • bugfix: function ln_parseFieldDescr() returns state value due to unitialized variable. This can also lead to invalid returning no sample node where one would have to be created.

Download:
http://www.liblognorm.com/download/liblognorm-1-1-1/

As always, feedback is appreciated.

Best regards,
Florian Riedl

liblognorm 1.1.1

Tuesday, March 10th, 2015

Download file name: liblognorm 1.1.1

liblognorm 1.1.1
sha256 hash: a75db38419356f8638c29e817806328db1a9edbef258c789a15b2aa88a4522f2

Author: Rainer Gerhards (rgerhards@adiscon.com)
Version: 1.1.1 File size: 0.509 MB

Download this file now!