[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-2.0beta1-92-ga2b502a

noreply at openinfosecfoundation.org noreply at openinfosecfoundation.org
Mon Sep 2 13:11:04 UTC 2013


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  a2b502a30c3eb7c3e988f53e13c8cd9bc8f48974 (commit)
       via  d4dd18eb85841ba944957597ddf33ca268cd112d (commit)
       via  77fae5313d9100501398f3b2509a3b3ea8b4a9a8 (commit)
       via  2feb37c15506d0b9260cc7b3fe67d77c664b2356 (commit)
       via  68d26dcec7ae462c4be724385ea3bb4fc744b4b2 (commit)
       via  5532af462168521ba1bb815029ba81f557cf4097 (commit)
       via  784843b14636f6873596b39a433f079cc13078a1 (commit)
       via  22225a7e990cfc430757493ac5fc0cc8ae92a5bf (commit)
      from  e68d44b051e44ce5f2619bd5a89fa1de9da47574 (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 a2b502a30c3eb7c3e988f53e13c8cd9bc8f48974
Author: Ken Steele <ken at tilera.com>
Date:   Wed Aug 28 10:43:37 2013 -0400

    Formatting change for function call.
    
    Put open brace { for function on a new line to match coding standard.
    
    Changed:
    
    int foo(int x) {
    }
    
    to:
    
    int foo(int x)
    {
    }

commit d4dd18eb85841ba944957597ddf33ca268cd112d
Author: Ken Steele <ken at tilera.com>
Date:   Tue Aug 27 17:16:59 2013 -0400

    Clean up SCLocalTime() usage
    
    Remove cast of return type from SCLocalTime() as it is not needed.
    Replace last use of localtime_r() with SCLocalTime().

commit 77fae5313d9100501398f3b2509a3b3ea8b4a9a8
Author: Ken Steele <ken at tilera.com>
Date:   Fri Aug 30 12:34:43 2013 -0400

    On Open BSD systems don't cache time.
    
    Open BSD doesn't support __thread, which is used for time caching, so
    don't do time chaching for BSD systems.

commit 2feb37c15506d0b9260cc7b3fe67d77c664b2356
Author: Ken Steele <ken at tilera.com>
Date:   Tue Aug 27 16:38:22 2013 -0400

    Cache time conversions for localtime() and CreateTimeString()
    
    When converting a time in seconds (64-bit seconds since 1970) to
    Month/Day/Year hours minutes, Suricata calls localtime_r(), which
    always aquires a lock and then does complex comutation based on the
    current time zone. The time zone can be specified in the TZ
    environment variable, which is only parsed the first time it is used,
    or from a file. The default file is /etc/localtime. The file is
    checked each time to see if it might have changed and is reparsed if
    it has changed.
    
    The GLIBC library has a lock inside localtime_r(), which limits
    parallelism, which is a problem when the rate of generating alerts is
    high, since Suricata generates a new ascii time string for each alert
    into fast.log.
    
    This change caches the value returned by localtime_t() and then sets
    the seconds within the minute based on the cached start-of-minute
    time. All of the values return, expect for the seconds, is constant
    within the same minute. Switching to a new seconds could change all
    the other values, year, month, day, hour. The cache stores the current
    and previous minute values.
    
    The same trick is used in CreateTimeString() for generated time
    string. The string, up to the minutes, is cached and then copied into
    the result string, followed by printing the new seconds into the
    result string.
    
    The seconds within a minute are calculated as the difference in
    seconds from the start of the current minute.

commit 68d26dcec7ae462c4be724385ea3bb4fc744b4b2
Author: Ken Steele <ken at tilera.com>
Date:   Tue Aug 20 12:03:52 2013 -0400

    Merge multiple copies of CreateTimeString() to one copy.
    
    There were 8 identical copies of CreateTimeString() in 8 files.
    Most used SCLocalTime, to replace localtime_r(), but some did not.
    Created one copy in util-time.c.

commit 5532af462168521ba1bb815029ba81f557cf4097
Author: Ken Steele <ken at tilera.com>
Date:   Tue Aug 6 14:49:31 2013 -0400

    Create SCMUTEX_INITIALIZER to abstract out PTHREAD_MUTEX_INITIALIZER
    
    This allows replacing pthread mutexes with other types of mutex.

commit 784843b14636f6873596b39a433f079cc13078a1
Author: Ken Steele <ken at tilera.com>
Date:   Wed Jul 31 23:15:46 2013 -0400

    Use Tilera SIMD for Signature matching ala SSE3
    
    Makes use of 8-wide byte compare instructions in signature matching.
    
    For allocating aligned memory, _mm_malloc() is SSE only, so added
    check for __tile__ to use memalign() instead.
    
    Shows a 13% speed up.

commit 22225a7e990cfc430757493ac5fc0cc8ae92a5bf
Author: Ken Steele <ken at tilera.com>
Date:   Wed Jul 31 15:05:04 2013 -0400

    Tile SIMD implementation of SCMemcmp and SCMemcmpLowercase
    
    Based on the SSE3 implementation, it checks 8 bytes at a time.

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

Summary of changes:
 src/alert-debuglog.c         |   13 +---
 src/alert-fastlog.c          |   13 +---
 src/app-layer-ftp.c          |    4 +-
 src/app-layer-htp.c          |    4 +-
 src/app-layer-parser.c       |    4 +-
 src/counters.c               |    2 +-
 src/detect-engine-analyzer.c |    4 +-
 src/detect-engine-siggroup.c |   10 +-
 src/detect-engine-tag.c      |   25 ++++--
 src/detect-luajit.c          |    2 +-
 src/detect-pcre.c            |  128 +++++++++++++++++++++-----------
 src/detect.c                 |   92 ++++++++++++++++++-----
 src/detect.h                 |    4 +-
 src/flow-queue.c             |   17 +++--
 src/log-dnslog.c             |   12 +---
 src/log-droplog.c            |   14 +---
 src/log-file.c               |   13 +---
 src/log-filestore.c          |   13 +---
 src/log-httplog.c            |   16 +---
 src/log-pcap.c               |    6 +-
 src/log-tlslog.c             |   14 +---
 src/source-af-packet.c       |    2 +-
 src/source-pcap.c            |    4 +-
 src/source-pfring.c          |    4 +-
 src/stream-tcp.c             |    4 +-
 src/stream.c                 |    4 +-
 src/threads.h                |    3 +-
 src/tm-threads.c             |    2 +-
 src/util-action.c            |   11 ++-
 src/util-cpu.c               |   12 ++-
 src/util-cuda-handlers.c     |    4 +-
 src/util-debug-filters.c     |   10 +-
 src/util-decode-asn1.c       |   75 ++++++++++++------
 src/util-magic.c             |   41 +++++++----
 src/util-mem.h               |   10 ++-
 src/util-memcmp.h            |  120 +++++++++++++++++++++++++++++-
 src/util-profiling-rules.c   |    2 +-
 src/util-spm.c               |  140 +++++++++++++++++++++++------------
 src/util-storage.c           |   63 ++++++++++-----
 src/util-syslog.c            |    8 +-
 src/util-time.c              |  172 ++++++++++++++++++++++++++++++++++++++++--
 src/util-time.h              |    3 +-
 src/util-var.c               |   12 ++-
 43 files changed, 773 insertions(+), 343 deletions(-)


hooks/post-receive
-- 
OISF


More information about the Oisf-devel mailing list