Commit Graph

3067 Commits (3b79dac2b746c85e66c1e3eb68ac8db18757f828)
 

Author SHA1 Message Date
Victor Julien fddaca6e8b Implement stream memcap enforcements using atomics instead of spinlocked counters. 13 years ago
Victor Julien d72b82fae0 Misc fixes. 13 years ago
Victor Julien 8448333bdd Remove trailing zero's from some counters output. 13 years ago
Victor Julien 0150e66ede flow engine: improve scalability
Major redesign of the flow engine. Remove the flow queues that turned
out to be major choke points when using many threads. Flow manager now
walks the hash table directly. Simplify the way we get a new flow in
case of emergency.
13 years ago
Victor Julien da5087a0c0 Fix broken unittest. 13 years ago
Eileen Donlon aae7ea5e67 add null checks to fix bugs in StreamTcpTest23 13 years ago
Eileen Donlon 1a46d7a53a fix more invalid content unittests
fix invalid unittests with mixed relative and non-relative content modifiers and other issues; DetectContentParse19 still contains some failing dce_stub tests which are commented out.
13 years ago
Eileen Donlon 9b2bd9280a fix invalid unittests with mixed content modifiers
Fixed some unittests that were incorrectly mixing relative and non-relative content modifiers.
13 years ago
Eileen Donlon 0bcbd23343 reject mixed relative and non-relative keywords
reject signatures using relative and non-relative positional keywords for the same content (depth or offset with distance or within)
13 years ago
Eileen Donlon 0b09416a48 reject invalid combinations of pcre modifiers
don't allow /B with normalized buffers, and don't mix modifiers for normalized and raw buffers
13 years ago
Victor Julien 89cee0ad49 Add libnss/libnspr support output to configure. Clean up configure.in. 13 years ago
Victor Julien 8350fdd9be Do not assume the include dir for nss to be nss. On F16 it's nss3. 13 years ago
Victor Julien 90422c9f5e Do not assume the include dir for nspr to be nspr. On F16 it's nspr4. 13 years ago
Victor Julien 705417434b Fix json output typo. 13 years ago
Victor Julien fe9258f0fb Fix issue discovered by Anoop. Passing u32 ptr to a size_t can caused badness. 13 years ago
Victor Julien 6019ae3dcb Fix minor memleak in case af-packet init fails. 13 years ago
Victor Julien 385f1dcd25 Fix UTHBuildFlow setup using wrong address. 13 years ago
Victor Julien e3935a2af2 Improve http filename parsing. 13 years ago
Victor Julien e237841a8e Fix compilation with profiling enabled. Minor unittest fixes. 13 years ago
Victor Julien de5c1d1491 Fix minor fgetc issue. 13 years ago
Victor Julien 0d6f33a15b Move PACKET_RECYCLE outside of flow lock in FlowForceReassemblyForQ as it confuses static code checkers. 13 years ago
Victor Julien e21d8cdf01 file extract: improve multipart parsing and set events on some error conditions. 13 years ago
Victor Julien bfb3f1b7cf flow: Refactor how FlowPrune deals with forced timeouts, improving locking logic. 13 years ago
Victor Julien 372ab9c433 Another batch of minor fixed for issues found by Coverity. 13 years ago
Victor Julien 11bdf4838f Various improvements to error handling found by Coverity. 13 years ago
Anoop Saldanha d6af843860 code cleanup 13 years ago
Victor Julien cdba2f50d1 Various fixes and improvements based on feedback by Coverity analyzer. 13 years ago
Victor Julien 4b2d94a841 Add line number to warning about mangled yaml parameters. Limit number of warnings to 10. 13 years ago
Nikolay Denev 0fc878b391 Consistently use dashes instead of underscores in the sample config file. 13 years ago
Nikolay Denev a67d78eda6 Consistently use dashes instead of underscores in the sample config file. 13 years ago
Nikolay Denev fb05edeeee Convert underscores to dashes in thread affinity type names. 13 years ago
Nikolay Denev 7fce226bb8 Fix some warning message still using underscored config vars. 13 years ago
Nikolay Denev 139768dd58 Do not use underscored config vars internally. 13 years ago
Nikolay Denev 6819ec8b54 Remove the underscored "sguil_base_dir" compatibility option. 13 years ago
Nikolay Denev 32e898f2e3 Convert config entries using underscores to dashes and emit deprecation warnings. 13 years ago
Martin Holste 33d8453581 Added Shadowserver plugin. 13 years ago
Victor Julien 2197f1a625 file-inspection: split 'file' output module into file-store and file-log. Store stores files. Log logs json records. 13 years ago
Victor Julien 8b1333a277 Add more flow lock assertions to the debug validation code. 13 years ago
Victor Julien 5ba41c7890 Fix locking error in filestore handling. Add debug validate check for asserting a flow is locked. 13 years ago
Martin Holste 25123b2044 Added license. 13 years ago
Martin Holste c63017b2cc Added some installation instructions to file_processor REAMDE. 13 years ago
Martin Holste 4030840212 Added contrib folder with file_processor utility which is a plugin framework for reading the files-json.log and processing and taking action based on the files observed. 13 years ago
Victor Julien 28d88746e4 Fix compiler warning and silence complaining unittests. 13 years ago
Victor Julien 860971eca0 Misc afpacket changes. 13 years ago
Victor Julien 8e48a2edfd Fix NULL dereference in PacketPatternSearchWithStreamCtx code. 13 years ago
Eric Leblond 34b3f19465 af-packet: Implement zero copy
This patch adds support for zero copy to AF_PACKET running mode.
This requires to use the 'worker' mode which is the only one where
the threading architecture is simple enough to permit this without
heavy modification.
13 years ago
Eric Leblond 3593cb051e decode: add PacketSetData funtion
This patch adds a function which can be used to set the payload
of a packet when a zero copy mode is used.
13 years ago
Eric Leblond 49b7b00fcf af-packet: mmap support
This patch adds mmap support for af-packet. Suricata now makes
use of the ring buffer feature of AF_PACKET if 'use-mmap' variable
is set to yes on an interface.
13 years ago
Victor Julien 697e9e660f Config should be set up in sysconfdir/suricata. Add reference to oinkmaster guide. 13 years ago
Victor Julien 73a1b97267 Improve config details overview at the end of configure. 13 years ago