Commit Graph

4473 Commits (a7a77e32cac298a64c6c2ea5d30d4dc37ef3f5bc)
 

Author SHA1 Message Date
Pablo Rincon c80160b96d More examples of unittest helper functions usage reference 15 years ago
Pablo Rincon b6a3395c08 Adding unittest helper functions for building generic packets, checking arrays of expected match results, perform generic tests, etc. Look at util-unittest-helper.c and detect-ipproto.c for references 15 years ago
Jason Ish 095f2cf6ef Consistency fix.. Xxxlog -> XxxLog. 15 years ago
Jason Ish e204d07717 Have output modules register themselves so run mode configurator becomes aware of them for purposes of being configured from the config file. 15 years ago
Victor Julien 9b90c553b5 Clean ip fields from packet as well when the packet is reused. Prevents issues with malformed packets that are rejected by the decoders before ipaddresses are set. 15 years ago
Victor Julien 27a138d862 Suppress some flow messages. 15 years ago
Gurvinder Singh b0dcd02c1b bug 56 patch 15 years ago
Victor Julien eb67bb442e Fixup unittests that use buffers that simulate configuration files. They now include the YAML header. 15 years ago
Jason Ish 4e1acf5fd2 Require that the configuration file begins with a valid YAML version. At this time this means the configuration file must begin with
%YAML 1.1
15 years ago
Jason Ish 5e318aa342 Fix issue 55.
Don't process any key/value pairs until we've hitting a mapping.
15 years ago
Jason Ish c4f178f3d7 Do not seen_last unless the packet with more_frags=0 was actually inserted into the frag tracker. Fixes issue 53.
Add unit test for this failure case.
15 years ago
Jason Ish fc5df7d064 don't create a new tracker when frags are received in reverse order. 15 years ago
Gerardo Iglesias Galvan 40c514f295 Fix bug in logging msg when using --init-errors-fatal 15 years ago
Gerardo Iglesias Galvan 5eb819b0f4 Add signature line no. to error message when parsing fails 15 years ago
Gerardo Iglesias Galvan fae92f8d7b Fix bug#30. Fix logging call from prev patch 15 years ago
Gerardo Iglesias Galvan 988dc5520b Improve output when loading rules 15 years ago
Victor Julien 56556eb550 Set payload no inspect flag for packets with encapsulated packets as these are inspected separately 15 years ago
Victor Julien 9ececacda3 Fix packet timestamp handling for encapsulated packets. 15 years ago
Jason Ish 4c83652ad3 initialize vars 15 years ago
Victor Julien c1283a6628 Fix app layer proto detection code not being thread safe. 15 years ago
Gurvinder Singh fde948f488 bug 41 patch 15 years ago
Victor Julien fcabd1b2ba Fix typo. 15 years ago
Jason Ish cf95fa7c74 configurable outputs for nfq and pcap file. 15 years ago
Jason Ish a05436af8c Configurable alert outputs for PF_RING modes. 15 years ago
Jason Ish 844c444af1 Use the configuration file to setup alert logging (and http logging).
Only setup for the live pcap modes at the moment.
15 years ago
Victor Julien 13e10ccd86 Enable bytes per sec and mbit per sec for nfq as well 15 years ago
Anoop Saldanha e45b626b24 refactoring, tests for address engine ipv4 15 years ago
Jason Ish 1aabe6f7c1 in the unit tests make sure memory allocated from the pool was returned. 15 years ago
Jason Ish 6547725b39 consolidate more common code between ipv4 and ipv6. 15 years ago
Jason Ish 176c6e5668 use a common insert method for ipv4 and ipv6 15 years ago
Jason Ish ccbf8bcae5 Use the V6 insert and re-assembly logic for IPv4 as well. Its a little simpler to track and update. 15 years ago
root 9b74a2765e 64 bit portability 15 years ago
Victor Julien d7958f7983 fix wrong keyword name 15 years ago
Victor Julien 9ee6d6906f Add some safety checks. 15 years ago
Anoop Saldanha 06a640e794 fix for bug #47 15 years ago
Anoop Saldanha a83f7abcc1 logging module bug 6 fix 15 years ago
Victor Julien 6b36e23e45 Fix not decreasing the flow use_cnt reference counter in some cases from the app layer detection code. This caused some streams to never fully time out and thus clutter up the flow table and session pool. 15 years ago
Victor Julien c3269dbcb4 Fix compiler warning in http method code 15 years ago
Brian Rectanus c22d42693a Added http_method rule keyword. 15 years ago
Gurvinder Singh 6814ea1a0f some more stream fixes 15 years ago
Victor Julien 94ae001dec Fixup month displaying for the stats log. 15 years ago
Victor Julien 5e8413aeea Don't scan more of a stream for proto detection than necessary. 15 years ago
Gurvinder Singh a66c6752d5 stream os_policy support 15 years ago
Anoop Saldanha eea0e2a807 Radix Tree fixes/updates 15 years ago
Victor Julien 8f7cff1d53 Fix compilation with -Wextra 15 years ago
Victor Julien b7bac14040 Fixup code to compile with -Wall -Werror -Wextra -Wno-unused-parameter compiler options. 15 years ago
Gurvinder Singh 4e1dc0bd83 bug 41 patch 15 years ago
Gurvinder Singh 567bbf604b stream reassembling fixes 15 years ago
Victor Julien bea22d91ed Set default-rule-path in example config to /etc/suricata/rules/ 15 years ago
Jason Ish 6520d42b4c Allow nested sequences. 15 years ago