[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-4.0.1-298-g18f64e0

OISF Git noreply at openinfosecfoundation.org
Tue Jan 23 11:44:15 UTC 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OISF".

The branch, master has been updated
       via  18f64e0d21d56a364679eaab7c7fee862290e4b0 (commit)
       via  2e4305f504ae115092320db2cef721b49ada1fe8 (commit)
       via  1bdf325a9a872c401cf967aa9d2e7da53aea347d (commit)
       via  990e53222e4ced822ea3383c6146a3e21051ec0e (commit)
       via  fb87d21ec747871afa50114b5e78944d982bf935 (commit)
      from  d5882372357e957fd38c658f012b5d5943c9923e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 18f64e0d21d56a364679eaab7c7fee862290e4b0
Author: Martin Natano <martin.natano at radarservices.com>
Date:   Mon Oct 30 16:03:25 2017 +0100

    app-layer-htp, stream-tcp: prevent modulo bias in RandomGetWrap()
    
    RAND_MAX is not guaranteed to be a divisor of ULONG_MAX, so take the
    necessary precautions to get unbiased random numbers. Although the
    bias might be negligible, it's not advisable to rely on it.

commit 2e4305f504ae115092320db2cef721b49ada1fe8
Author: Victor Julien <victor at inliniac.net>
Date:   Tue Jan 23 08:55:37 2018 +0100

    detect: minor cleanup

commit 1bdf325a9a872c401cf967aa9d2e7da53aea347d
Author: Maurizio Abba <mabba at lastline.com>
Date:   Tue Jan 16 18:12:28 2018 +0000

    signal: use centralized pthread_sigmask for signals
    
    according to its man page, sigprocmask has undefined behavior in
    multithreaded environments. Instead of explictly blocking the handling
    of SIGUSR2 in every thread, direct block handling SIGUSR2 before
    creating the threads and enable again the handling of this signal
    afterwards. In this way, only the main thread will be able to manage
    this signal properly.

commit 990e53222e4ced822ea3383c6146a3e21051ec0e
Author: Victor Julien <victor at inliniac.net>
Date:   Tue Jan 23 08:44:46 2018 +0100

    threshold: minor cleanups

commit fb87d21ec747871afa50114b5e78944d982bf935
Author: Ruslan Usmanov <ruslan.usmanov at threattrack.com>
Date:   Tue Dec 12 13:10:07 2017 -0500

    rate_filter: by_rule fixed triggering algorithm
    
    Fixes issue #2258
    
    Program was triggering rate_filter by_rule earlier than needed
    and generally behaved like a threshold.

-----------------------------------------------------------------------

Summary of changes:
 src/app-layer-htp.c           | 10 ++++--
 src/counters.c                |  8 -----
 src/detect-engine-loader.c    |  4 ---
 src/detect-engine-threshold.c | 75 +++++++++++++++++--------------------------
 src/detect-engine.c           |  2 +-
 src/detect-engine.h           |  2 +-
 src/flow-manager.c            |  8 -----
 src/stream-tcp.c              | 10 ++++--
 src/suricata.c                | 21 +++++++++---
 src/tm-threads.c              | 12 -------
 src/util-signal.c             | 21 ++++++++++--
 src/util-signal.h             |  1 +
 src/util-threshold-config.c   | 44 ++++++++++++++++++-------
 13 files changed, 114 insertions(+), 104 deletions(-)


hooks/post-receive
-- 
OISF


More information about the Oisf-devel mailing list