Commit Graph

2343 Commits (bbd04fde309cb7e377726f8125d85110add26178)
 

Author SHA1 Message Date
Gerardo Iglesias Galvan 91c001f93b Fix potential crash in initialization cleanup code 14 years ago
Gerardo Iglesias Galvan 5d85b0f7b7 Fix potential crash in ip-only address parsing code 14 years ago
Gerardo Iglesias Galvan a56592e556 Make sure we do all after the null check in HTPStateFree 14 years ago
Gerardo Iglesias Galvan c4832814b4 Prevent a memory leak on low memory conditions in http client body handling 14 years ago
Gerardo Iglesias Galvan 2836e0de4e Fix potential alert-unified-log recourse leak during initialization 14 years ago
Gerardo Iglesias Galvan 0f458495c7 Fix potential prelude recourse leak during initialization 14 years ago
Gerardo Iglesias Galvan db94f01831 Fix declaration hiding len parameter in IPv6 decoder 14 years ago
Gerardo Iglesias Galvan 305140d081 Silence coverity warning 14 years ago
Eric Leblond bc68c108a7 NFQ: use per thread allocated data for recv buffer. 14 years ago
Eric Leblond fb6494abc1 config file: add missing variable example
The variable threads was not shown in the default configuration file
and this is really needed to optimize the system easily.
14 years ago
Pierre Chifflier a2b37e7487 Prelude: fix test always returning true
Fix wrong logic in test for error handling code.

Signed-off-by: Pierre Chifflier <chifflier@wzdftpd.net>
14 years ago
deltay 2856cf0de5 #277 ignore bpf filter if fread failed. 14 years ago
Eric Leblond 4b0c8f6567 Use local thread variable buffer in alert unified2. 14 years ago
Eric Leblond c8a811e69d Make use of per function/thread data in alert unified.
This patch replaces a local variable buffer by the usage of the data
contained in the local thread variable.
14 years ago
Victor Julien 63f6de58cb Fix HTP unittests that test pre 0.2.6 libhtp issue. HTP config wasn't restored properly. 14 years ago
Victor Julien 326047eec1 Add unittests for debugging a libhtp issue. 14 years ago
Victor Julien 4ed0ca14bc Change libhtp configure to not enable debug when suricata does. 14 years ago
Gerardo Iglesias Galvan 505c5d5cf5 Update libhtp to 0.2.6 14 years ago
Jason Ish 7257fed0f3 Fix bug 288, accept true in output configuration.
Refactor a bit to run checks for truth through a common function
that takes yes, true, on and 1 as true values.
14 years ago
Anoop Saldanha b819643635 coverity - logging system buffer overrun fix 14 years ago
Victor Julien 6dba98f277 Remove dead code from flowbits parsing. 14 years ago
Victor Julien e866aa3e15 Fix TAG removal in certain conditions. 14 years ago
Victor Julien f4aad76bb4 Make sure we don't process TAG records from the flow multiple times and outside the flow lock. 14 years ago
Victor Julien 6384b39f18 Remove unused and broken htp code. 14 years ago
Victor Julien e1d4e16645 Simplify packet decoding macro's. 14 years ago
Victor Julien c3bb04f609 Update libhtp/INSTALL doc based on autogen.sh. 14 years ago
deltay e3270f20b2 #277 Add -F option to load bpf filter from file 14 years ago
Victor Julien b73939bcef Clean up & better check includes to allow Windows to build. 14 years ago
Victor Julien be5ad4402d Fix stream reassembly engine compilation on Windows. 14 years ago
Victor Julien 40bf422453 Fix log-pcap compilation on Windows. 14 years ago
Victor Julien 5d9c093d65 Don't compile alert-syslog module on Windows, it doesn't work anyway. 14 years ago
Victor Julien da086894e5 Remove unnecessary include that breaks windows builds. 14 years ago
Victor Julien 95387b2297 Include <windows.h> to get access to THREAD_PRIORITY_* defines. 14 years ago
Victor Julien dd97d136a9 Rearrange syslog.h including so we won't fail to build on win32. 14 years ago
Victor Julien e16a566a96 Account for distance when checking within. Bug #285. 14 years ago
Victor Julien 7f88158fb3 Remove a debug statement from single pcap file runmode. 14 years ago
Victor Julien 52eb8d2be0 Convert mutex protected tunnel counters to lockless atomic counters. 14 years ago
Victor Julien 54cd3552e1 Remove tunnel_proto field from Packet structure. 14 years ago
Victor Julien 3d22713b09 Convert Packet tunnel variables to bit flag checks. 14 years ago
Victor Julien 75439863ed Shrink PacketAlerts structure so that Packet structure is a lot smaller. Reduce max events per packet from 256 to 15. 14 years ago
Victor Julien d3f19a3851 Fix memcmp checks that prevent reading past buffer boundary. 14 years ago
Victor Julien 4a2d4eef5a Properly reset IPv6 extension headers structure. 14 years ago
Victor Julien 962462e470 Fix SSE memcmp functions reading beyond the buffer. Add tests to bench them. 14 years ago
Victor Julien 6be38123f0 Cleanup configures pcre sljit test. 14 years ago
Victor Julien ece8e5444b Minor profiling fix: don't close stdout. 14 years ago
William d74fe520e5 Experimental support for PCRE-sljit enable via --enable-pcre-sljit 14 years ago
William 85643fe780 Convert to logging perf stats to file by default. Add a few columns to output avg ticks per match, avg ticks non match, allow sorting on based on them. 14 years ago
Victor Julien 36917c7d66 Fix not using new htp callback when using the bundled htp. Add indication to --build-info. Fix valgrind warning in test and further improve test. 14 years ago
Victor Julien a3e2b35536 Add configure check for new htp 0.2.5 uri normalize hook. 14 years ago
Victor Julien 15ce850387 Add support for new libhtp htp_config_register_request_uri_normalize callback. 14 years ago