[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-2.0beta2-47-g3a9a147
noreply at openinfosecfoundation.org
noreply at openinfosecfoundation.org
Fri Jan 10 14:59:04 UTC 2014
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 3a9a14711a476138e3097d8d9bc8e93335a3cd9b (commit)
via 7561da4b8741744825ebe525d529d42c56a7e3fc (commit)
via d6932f90db2708af6162fc3824e6353c66f8d256 (commit)
via 1512d43decac4925d11ba790b204354f28733173 (commit)
via d2fe3682000091398ac6d4a26308679d3482a1f7 (commit)
via e5e390a0c624ef0d030abb9c594775b55d958e1d (commit)
via 98e4a14f6d59fe8928fd6e2af3d9c3e8b42d00bf (commit)
via 55108167e51ab4effb4985a63fee570c215ff9e8 (commit)
via 4d6b48ea9ed4660111dd3100bc245584a1d99ba1 (commit)
via d6d8a08a8f9770f66e2984fb39371f96c1edff51 (commit)
via ced01da822d0a2e502f191293dc09c5a236b8800 (commit)
from ba4758d033d13b5ce8fe6f630a5c1e1bcf5e7dd0 (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 3a9a14711a476138e3097d8d9bc8e93335a3cd9b
Author: Ken Steele <ken at tilera.com>
Date: Wed Jan 8 12:16:00 2014 -0500
Correct coding style in decode-ethernet.c
This file is given as the example of correct coding style, so make sure it
follows the coding standard.
commit 7561da4b8741744825ebe525d529d42c56a7e3fc
Author: Eric Leblond <eric at regit.org>
Date: Mon Dec 16 13:41:39 2013 +0100
debug: default logging level is notice
Update the string in message because default logging level is
now notice and not info.
commit d6932f90db2708af6162fc3824e6353c66f8d256
Author: Eric Leblond <eric at regit.org>
Date: Mon Dec 16 11:58:47 2013 +0100
doxygen: document some functions
commit 1512d43decac4925d11ba790b204354f28733173
Author: Eric Leblond <eric at regit.org>
Date: Mon Dec 16 11:44:25 2013 +0100
doxygen: document all code
This patch update doxygen configuration to have all possible functions
documented (even the one without doxygen formated comments). It can be
really useful to have that in case we are trying to get some information
on call graph for example.
commit d2fe3682000091398ac6d4a26308679d3482a1f7
Author: Eric Leblond <eric at regit.org>
Date: Mon Dec 16 11:39:45 2013 +0100
doxygen: add profiling to generated doc.
Profiling code needs the PROFILING define to be documented.
commit e5e390a0c624ef0d030abb9c594775b55d958e1d
Author: Eric Leblond <eric at regit.org>
Date: Mon Dec 16 11:38:33 2013 +0100
Add missing UNITTESTS
There is no need for test functions to be build in normal code.
commit 98e4a14f6d59fe8928fd6e2af3d9c3e8b42d00bf
Author: Eric Leblond <eric at regit.org>
Date: Wed Dec 18 19:46:10 2013 +0100
af-packet: update packet reading loop logic
This patch updates the logic of the packet acquisition loop. When
the reader loop function is called and when the data to read
at offset is a without data (kernel) or still used by suricata. We
try to iter for a loop on the ring to try to find kernel put by
data.
As we are entering the function because the poll said there was some
data. This allow us to jump to the data added to the ring by the
kernel.
When using suricata in autofp mode, with multiple detect threads and
packet acquisition threads attached to a dedicated CPU, the reader
loop function was looping really fast because poll call was returning
immediatly because we did read the data available.
commit 55108167e51ab4effb4985a63fee570c215ff9e8
Author: Eric Leblond <eric at regit.org>
Date: Thu Dec 19 15:18:46 2013 +0100
prscript: add --norebase option
If --norebase option is provided, the prscript will start a build
that can be used to check if an out-of-sync branch pass the test.
commit 4d6b48ea9ed4660111dd3100bc245584a1d99ba1
Author: Eric Leblond <eric at regit.org>
Date: Mon Dec 30 17:29:46 2013 +0100
htp layer: add memory cap counter
This patch adds a memcap counter for HTP memory usage. Counter
is increased each time an allocation is not done due to the memcap.
commit d6d8a08a8f9770f66e2984fb39371f96c1edff51
Author: Eric Leblond <eric at regit.org>
Date: Mon Dec 30 16:14:54 2013 +0100
htp layer: add memory usage counter
This patch adds a memory counter for HTP memory usage. As
there is no thread variables available in application layer
the counter has been added to the TCP reassembly thread.
commit ced01da822d0a2e502f191293dc09c5a236b8800
Author: Eric Leblond <eric at regit.org>
Date: Mon Dec 30 11:06:22 2013 +0100
htp layer: use memcap for HTTP related allocations
This patch introduces wrapper functions around allocation functions
to be able to have a global HTP memcap. A simple subsitution of
function was not enough because allocated size needed to be known
during freeing and reallocation.
The value of the memcap can be set in the YAML and is left by default
to unlimited (0) to avoid any surprise to users.
-----------------------------------------------------------------------
Summary of changes:
doxygen.cfg | 4 +-
qa/prscript.py | 17 ++-
src/Makefile.am | 1 +
src/app-layer-htp-body.c | 20 ++--
src/app-layer-htp-libhtp.c | 1 +
src/app-layer-htp-mem.c | 142 ++++++++++++++++++++++
src/{runmode-unittests.h => app-layer-htp-mem.h} | 15 +--
src/app-layer-htp.c | 60 +++++-----
src/app-layer-htp.h | 1 +
src/app-layer.c | 3 +
src/decode-ethernet.c | 12 +-
src/detect-engine.c | 5 +
src/source-af-packet.c | 2 +-
src/stream-tcp-reassemble.h | 5 +
src/stream-tcp.c | 7 +
src/util-debug.c | 2 +-
src/util-profiling-rules.c | 5 +
src/util-rule-vars.c | 3 +
suricata.yaml.in | 1 +
19 files changed, 244 insertions(+), 62 deletions(-)
create mode 100644 src/app-layer-htp-mem.c
copy src/{runmode-unittests.h => app-layer-htp-mem.h} (73%)
hooks/post-receive
--
OISF
More information about the Oisf-devel
mailing list