Commit Graph

1586 Commits (783c78130182253fe296fb1e4117f4b900ad9dd0)
 

Author SHA1 Message Date
Victor Julien 783c781301 Fix potential crash in address parsing code. 15 years ago
Victor Julien a2480bc07b Fix potential parsing issue in detection filter code. 15 years ago
Victor Julien 94d480536b Make sure we do all after the null check in HTPStateFree. 15 years ago
Victor Julien 7279a4383e Don't loose memory if PoolInit fails. 15 years ago
Victor Julien 077ce42002 Prevent a memory leak on low memory conditions in http client body handling. 15 years ago
Victor Julien d633e77835 Fix potential alert-unified-log recourse leak during initialization. 15 years ago
Victor Julien d8447fae7d Fix potential prelude recourse leak during initialization. 15 years ago
Victor Julien 1527bb0d3a Fix declaration hiding flags parameter in pcre. 15 years ago
Victor Julien 887507121a Fix declaration hiding len parameter in IPv6 decoder. 15 years ago
Victor Julien fe4466001f No need to check array pointer. 15 years ago
Victor Julien 8bc060785c Don't reference a pointer if malloc fails in the tag subsys. 15 years ago
Victor Julien f1bf9450bd Fix http client body inspection problem on low memory. 15 years ago
Victor Julien 7791d9d9e2 Silence coverity warning. 15 years ago
Victor Julien 7de1d4e49c Fix potential null dereference. 15 years ago
Eric Leblond 9ab3713d84 Use thread local data allocation in NFQ.
This patch suppresses the usage of a local variable buffer
and uses instead the data buffer provided by the local thread
variable.
15 years ago
Eric Leblond 3953111425 Use thread local buffer in alert unified 2
This patch suppresses the usage of a local variable buffer
and uses instead the data buffer provided by the local thread
variable.
15 years ago
Eric Leblond 722e63b7a4 Make use of thread local data in alert unified.
This patch replaces a local variable buffer by the usage of the data
contained in the local thread variable.
15 years ago
Victor Julien a8146e67c2 Change libhtp configure to not enable debug when suricata does. 15 years ago
Gerardo Iglesias Galvan d359630665 Update libhtp tp 0.2.6 15 years ago
Victor Julien c49dc88414 Fix a memory leak in flow recycle code causing the detection engine state not to be fully freed (recycled) but reference to memory removed anyway. 15 years ago
Victor Julien 94351b6ac4 Bump version to 1.0.3 15 years ago
Victor Julien a65282a782 Backport safer stream data copy function from master branch. 15 years ago
Victor Julien 364a9027a8 Make sure to only alloc a new pseudo packet once during ip defrag. 15 years ago
Victor Julien 4165df2669 Fix compiler warnings in defrag unittests. 15 years ago
Anoop Saldanha 35d912213b fix ipv4 defrag + fix recursion level in defrag pseudo packet - branch 1.0.x 15 years ago
Victor Julien 0eac03d2ad Fix header_len in GRE decoder getting out of control in some cases. 15 years ago
Victor Julien 20f4ad12ac Fix bug in the segment insert code causing an inconsistent segment list in some overlap conditions. 15 years ago
Victor Julien 1efc41da06 Make sure we reuse a TCP session if we receive a valid 3WHS on a closed TCP session, can happen if a new session has the same tuple. 16 years ago
Gurvinder Singh 771db59ece support for validating the ACK before updating the last_ack field and also update next_seq if we missed the last packet 16 years ago
Victor Julien 7688af209e Fix 2 cases where overlapping data in the stream engine wouldn't be properly handled potentially causing the wrong data being used in stream reassembly. 16 years ago
Victor Julien e2727069c7 Fix FlowTest* unittests to fail sometimes. 16 years ago
Eric Leblond bfdd40f538 Checksum match: fix logic problem
This patch fixes a logic error in the checksum matches. In
case the protocol is not the one tested, the test must return
0 and not 1 (test matched).

Signed-off-by: Eric Leblond <eric@regit.org>
16 years ago
Victor Julien 1a756a54d7 Use a different way of getting a short git rev that is compatible to older git versions. 16 years ago
Victor Julien 7d644b2aca Remove BUG_ON check from uri content detection code. 16 years ago
Victor Julien 354a3b89f0 Add a simple revision based on the git rev to the version number, like a build number. 16 years ago
Victor Julien 77e927e9ad Adapt malloc macro's to only display errors during init, not during runtime. At runtime it could make us crawl if the system runs out of memory. 16 years ago
Victor Julien 08d0d2d562 Better handle low memory conditions. 16 years ago
Victor Julien 790dbfdabe Fix a case where alerting in inline mode would lead dropping on alert sigs. 16 years ago
Victor Julien 61d95b2838 Apply revision 233 and 234 from libhtp to improve memory handling when Suricata runs out of memory. 16 years ago
Victor Julien c2d7bd71d9 Remove a BUG_ON statement from the payload inspection code. 16 years ago
Victor Julien 21c68a07da Fix http_method not inspecting all http transactions all the time. Fix proper nocase setting. Switch to pattern scanning only, no more numeric compares as it turned to be incompatible with how the keyword is used (nocase, etc). 16 years ago
Pablo Rincon b5572c850e Fix asn1 decoder frame oob mem. Adding max stack frames to suricata.yaml 16 years ago
Anoop Saldanha cebf9c7934 fix csum handling for tcp/dup 16 years ago
Victor Julien 0ad0a900da Make sure the DetectHttpMethodData structure is properly initialized before using it. 16 years ago
William Metcalf 5a222cbe88 Fixed broken nocase for http_method and http_header 16 years ago
Anoop Saldanha b83f9e1f62 fix bytetest segv from bug 237 16 years ago
Anoop Saldanha 4492603781 fix bytejump segv from bug 237 16 years ago
Victor Julien 99ad338e91 Bump version to 1.0.2 16 years ago
Victor Julien 0eb0d48f35 Disable broken unittests and fix one. 16 years ago
Victor Julien f1e6e80a1e Properly set tmp_ra_base_seq in streams. By Gurvinder. 16 years ago