Commit Graph

2353 Commits (13ea299ee08e73dfe242f5c92196066981f3d295)
 

Author SHA1 Message Date
Gerardo Iglesias Galvan 570e0ec9e4 Fix potential memory leak in ASN1 parsing code in low memory conditions 14 years ago
Gerardo Iglesias Galvan 313067f47f Check return code of DetectEngineCtxInit at startup 14 years ago
Gerardo Iglesias Galvan c968ca0f85 Fix potential small issue with ftell and fseek 14 years ago
Gerardo Iglesias Galvan dd5e438d6f Make all access to memory tracking counters in stream engine lock protected 14 years ago
Gerardo Iglesias Galvan 36290297dc Remove dead code from reference handling 14 years ago
Gerardo Iglesias Galvan 44692c83aa Properly check retval for config and conversion function calls 14 years ago
Gerardo Iglesias Galvan 5ac8ab9a61 Check inet_pton retval and properly cleanup on error in unittest helper 14 years ago
Gerardo Iglesias Galvan 58f713254e Make sure return value of fgetc isn't truncated 14 years ago
Gerardo Iglesias Galvan bd6d1bfac4 Fix potential crash in classtype parsing code 14 years ago
Gerardo Iglesias Galvan 73dd5562c3 Fix potential crash in signature parsing code 14 years ago
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