Permalink
Commits on Sep 8, 2014
  1. filter-re: fix match() filter initialization

    The match() subexpression is a tweaked version of the generic FilterRE
    class, however the constructor didn't properly initialize the embedded
    FilterRE superclass. And the open coded version of the initialization
    lacked setting up the init virtual method, causing the modified flag
    not to be properly initialized in case store-matches was specified.
    
    Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
    bazsi committed with Sep 6, 2014
  2. filter-call: propagate modify value in filter() subexpressions

    Whether a filter changes the message is a required information to
    decide whether to clone a message when entering a log path. When
    using the filter() expression within a filter, this information wasn't
    properly propagated, which is fixed by this patch.
    
    Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
    bazsi committed with Sep 6, 2014
Commits on Sep 5, 2014
  1. control-server: Fix compile warnings

    Do #include <string.h> in lib/control/control-server.c, because we're
    using strlen() and similar functions defined therein.
    
    Reported-by: Peter Czanik <czanik@balabit.hu>
    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Sep 5, 2014
  2. afuser: Fix compilation on FreeBSD

    On FreeBSD, we need ->ut_name instead of ->ut_user, and the utmp stuff
    needs an <inttypes.h> include. This patch adds those, and fixes #249.
    
    Reported-by: Peter Czanik <czanik@balabit.hu>
    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Sep 5, 2014
  3. systemd-journal: Fix parallel build

    In order to be able to build in parallel, add a $(MODULE_DEPS_LIBS) to
    the appropriate _DEPENDENCIES in modules/systemd-journal/Makefile.am.
    This fixes #248.
    
    Reported-by: Peter Czanik <czanik@balabit.hu>
    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Sep 5, 2014
  4. Merge pull request #250 from ihrwein/f/in-list-filter-fixes

    filter: fix using only the last inserted item in in-list filter
    committed Sep 5, 2014
Commits on Sep 4, 2014
  1. Merge pull request #246 from pasztor/3.6/master

    Support for loading certificate chains in TLS context
    committed Sep 4, 2014
  2. filter: fix using only the last inserted item in in-list filter

    Signed-off-by: Tibor Benke <tibor.benke@balabit.com>
    ihrwein committed Sep 4, 2014
  3. lib/tlscontext.c: This modify the loading of certificate, to load a cert

    chain intead of a single certificate. It don't break the earlier
    funcionality, but extends it, if you do this:
    cat ~/server.crt ~/signing.crt ~/intermediate.crt >/etc/syslog-ng/chain.crt
    Assuming the following:
    Other sides know a root.crt, which signed intermediate.crt, intermediate
    signed signing.crt, and signing signed the server.crt.
    pasztor committed Sep 4, 2014
Commits on Sep 3, 2014
  1. Merge tag 'syslog-ng-3.6.0beta1'

    syslog-ng 3.6.0beta1 release
    
    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Sep 3, 2014
  2. Preparations for syslog-ng 3.6.0beta1

    Bumped the version in VERSION, and added noteworthy changes to NEWS.md.
    
    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Sep 3, 2014
  3. Merge pull request #236 from ihrwein/f/systemd-syslog-source-refactor

    F/systemd syslog source refactor
    committed Sep 3, 2014
  4. Merge pull request #245 from algernon/f/3.6/system-source/json-channels

    system-source: Allow messages to flow through JSON
    committed Sep 3, 2014
  5. system-source: Allow messages to flow through JSON

    In case a message does not match the JSON marker, allow them to flow
    through unmodified. This makes system() work with non-CIM messages
    again.
    
    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Sep 3, 2014
  6. Merge pull request #243 from algernon/f/3.6/system-source/systemd-jou…

    …rnal
    
    system-source: Use systemd-journal() if appropriate
    committed Sep 3, 2014
Commits on Sep 2, 2014
  1. logmatcher: Fix the ignore-case and store-matches flag parsing

    To parse these flags properly, we need to use "ignore-case" and
    "store-matches" in the C struct, because cfg_process_flag() expects them
    in that format. This fixes #241.
    
    Reported-by: andrejzverev
    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Sep 2, 2014
  2. system-source: Use systemd-journal() if appropriate

    If running under systemd, use the systemd journal instead of the
    forwarding socket.
    
    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Sep 2, 2014
Commits on Aug 29, 2014
  1. configure.ac: Remove a few debugging echos

    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Aug 29, 2014
Commits on Aug 28, 2014
  1. Merge pull request #239 from algernon/h/solaris/in-list

    filters: Make in-list() more portable
    committed Aug 28, 2014
  2. filters: Make in-list() more portable

    Instead of using getline(), use fgets() which is more widely available.
    The downside of this is that lines are now limited to 16k chars in
    length.
    
    This fixes #213.
    
    Reported-by: Michael Hocke <michael.hocke@nyu.edu>
    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Aug 28, 2014
  3. Merge pull request #237 from talien/f/hash-default-to-sha256

    cryptofuncs: Changed hash template function default algorithm to sha256.
    committed Aug 28, 2014
  4. Merge pull request #238 from juhaszviktor/3.6/f/journald-source

    systemd-journal: if prefix is set, do not set prefixed key as link to th...
    committed Aug 28, 2014
  5. systemd-journal: if prefix is set, do not set prefixed key as link to…

    … the original one,
    
    but set the key as original not linked to the original.
    
    Signed-off-by: Juhász Viktor <viktor.juhasz@balabit.com>
    juhaszviktor committed Aug 28, 2014
Commits on Aug 27, 2014
  1. systemd-syslog: auto migrate from unix-stream("/dev/log") to systemd-…

    …syslog source
    
    when systemd is used
    ihrwein committed Aug 27, 2014
  2. Merge pull request #234 from algernon/h/3.6/warning-fixes

    Fix a few compiler warnings
    committed Aug 27, 2014
  3. Fix a few compiler warnings

    Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
    committed Aug 27, 2014
  4. Merge pull request #233 from juhaszviktor/3.6/f/journald-source

    systemd-journal: make log_fetch_limit option available via config file
    committed Aug 27, 2014
  5. systemd-journal: make log_fetch_limit option available via config file

    Signed-off-by: Juhász Viktor <viktor.juhasz@balabit.com>
    juhaszviktor committed Aug 27, 2014
  6. Merge pull request #232 from juhaszviktor/3.6/f/journald-source

    systemd-journald: remove reference to non-existing header file
    committed Aug 27, 2014
  7. systemd-journald: remove reference to non-existing header file

    Signed-off-by: Juhász Viktor <viktor.juhasz@balabit.com>
    juhaszviktor committed Aug 27, 2014
  8. Merge pull request #229 from juhaszviktor/3.6/f/journald-source

    journald-source: New source module is implemented
    committed Aug 27, 2014