Commit Graph

19 Commits (e8c51e09e860d051a3e3f5a1400351ff0e01e3c2)

Author SHA1 Message Date
Gerardo Iglesias Galvan 44692c83aa Properly check retval for config and conversion function calls 14 years ago
Eric Leblond 1db4aadd16 Supress usage of Packet declaration in tests.
For convenience, a massive usage of 'Packet p;' declaration has
been done in the tests function. Although this was completely
legal, this is not possible anymore because of the new Packet
allocation structure. This massive patch modifies all suricata
files to use a SCMalloc allocated pointer to Packet instead.

This patch has been done using coccinelle (http://coccinelle.lip6.fr)
which is a semantic patching tool. This ensures that things like call
to SCFree() should have not been forget because the semantic patch
explicitly forces the call to SCFree(p) before each return. With this
patch all unittests are running fine with a small and a big default
packet size.
14 years ago
Eric Leblond dd038c1906 Modify files to avoid direct pckt payload access
This patch implements the needed modification of payload access
in a Packet structure to support the abstraction introduced by
the extended data system.
14 years ago
Victor Julien d1ce1c502b Fix -Wall -Werror compilation after unittests update. 15 years ago
Victor Julien 1071a53210 Fix unittests after ip_proto keyword change. 15 years ago
Gerardo Iglesias Galvan 9f4fae5b1a Fix inconsistent use of dynamic memory allocation 15 years ago
William Metcalf ce01927515 Import of GPLv2 Header 050410 15 years ago
Victor Julien cec124df10 Fix icmp_id keyword and improve icmp_seq keyword logic. 15 years ago
Gurvinder Singh 69a4fee757 fixed the API and logic error reported by clang tool 15 years ago
Victor Julien 8b30226914 Detection keyword cleanup 15 years ago
Victor Julien b259e362cd Convert uricontent to use new scanning methods as well. Move http_method and http_cookie keywords out of pmatch list for now. 15 years ago
Pablo Rincon 25a3a5c6d8 Adding mem wrapper to debug runtime alloc()/free() functions. Fixing some memory leaks. 15 years ago
Gerardo Iglesias Galvan ba6d807a6e Improve information about errors on signature failure 15 years ago
Pablo Rincon d0404d8447 Renaming errors with naming conventions 15 years ago
Pablo Rincon ad2c136e8f Renaming errors (naming conventions) 15 years ago
Gerardo Iglesias Galvan f5743afed5 Fix logging messages related to icmp_id parsing 15 years ago
Gerardo Iglesias Galvan 4b39ddaf95 Fix logging messages related to icmp_id parsing 15 years ago
Victor Julien 10cc9d5b6a Add icmp flow handling. 15 years ago
Gerardo Iglesias Galvan 7e87f373b9 Add icmp_id keyword support 15 years ago