Commit Graph

49 Commits (aa2c3118e3f5972b8b0cfe11139e0ba9f0db1b76)

Author SHA1 Message Date
Victor Julien 1859ed54c7 Add memcmp api with a plain memcmp function and a SSE3 accelerated memcmp. 15 years ago
Anoop Saldanha ead29dc691 make detection engine use dce alstate(if present), on seeing smb traffic 15 years ago
Kirby Kuehl 18840bd96e properly handle bytecount of 0 15 years ago
Victor Julien bfd167521e Fix DCERPC over SMB/SMB2 detection issues. Fix not updating transaction id in a stream direction if there was no sgh. 15 years ago
Kirby Kuehl 3a985a9f5f fix smb leak 15 years ago
Pablo Rincon 8cc525c939 UDP support at AppLayer message handling 15 years ago
Victor Julien 52cdfb332e Fix a compiler warning, add some comments, cleanup layout of smb parser. 15 years ago
root 73c6fb16ba Return 0 instead of -1 when SMB and DCERPC encounter non fatal errors to clean up errors emitted in AppLayerParse. 15 years ago
William Metcalf ce01927515 Import of GPLv2 Header 050410 15 years ago
Victor Julien b7c089df42 Fix a couple of harmless compiler warnings. 15 years ago
Victor Julien 68576947e2 Small SMB cleanups. 15 years ago
Kirby Kuehl f08d3e76ee add maximum andx chain depth 15 years ago
Victor Julien 449205cfeb Remove wrong copyright info, cleanup headers. 15 years ago
Kirby Kuehl afb08d388d make sure we have input_len 15 years ago
Pablo Rincon 25a3a5c6d8 Adding mem wrapper to debug runtime alloc()/free() functions. Fixing some memory leaks. 15 years ago
Kirby Kuehl 565eab1f54 fix bug88 15 years ago
Kirby Kuehl a334a87109 smb safety checks 15 years ago
Kirby Kuehl bea30a6db6 bug 88 validate dcerpc header 15 years ago
Kirby Kuehl a8c3718b56 signed unsigned comparision fix for 64 bit 15 years ago
Victor Julien b99e10236c Fix a endless loop condition in the smb parser and make dcerpc parser more quiet. 15 years ago
Victor Julien 16aebe5add Fixup smb tests. 15 years ago
Kirby Kuehl 957b43b3d6 signed unsigned comparision cleanup 15 years ago
Kirby Kuehl 40a0fd5e97 fix warning 15 years ago
Kirby Kuehl 4b05bc281d fix padding bug 15 years ago
Kirby Kuehl 6aac8d55a6 reset smb bytesprocessed when complete 15 years ago
Kirby Kuehl 4dd2f621ac smb writeandx dcerpc over smb 15 years ago
Victor Julien 6a53ab9c5a Stream engine memory handling update
The stream engine memory handling needed updating as it didn't scale. Changes:

- pools can now be initialized to size 0, meaning unlimited
- stream engine uses a memcap setting. Sessions, segments and aldata is part
  of this, app layer state isn't.
- memory is accounted using a global int that is spinlocked.
- a counter for sessions that have not been picked up because of memcap was
  added.
- all reassembly errors are converted to debug msgs.
15 years ago
Kirby Kuehl 298bf4cc88 dcerpc over smb for transact 15 years ago
Kirby Kuehl 8efbe491a1 dcerpc refactoring 15 years ago
Victor Julien c352bff6fb Remove unused conditional locking code from the app layer parsing code. 15 years ago
Victor Julien f4a23f2325 Fixup noisy debug statement. 15 years ago
Victor Julien 0d34990d7f Add OpenBSD's strlcpy and strlcat and replace all strcat/strcpy/strncat/strncpy by those calls. 15 years ago
Pablo Rincon 705471e4ee Adding single pattern matcher algorithms. If you cannot store a context for the patterns, use SpmSearch() macro. Adding unittests and stats 15 years ago
root 706bb95209 fix bug 61 15 years ago
Kirby Kuehl 90b42232fa dcerpc request smb transact and fix for dcerpc bindack 15 years ago
root 9b74a2765e 64 bit portability 15 years ago
Victor Julien 8f7cff1d53 Fix compilation with -Wextra 15 years ago
root 5113636744 bind and bind_ack tracking 15 years ago
Victor Julien f0be69dcd0 Fixup smb/smb2/dcerpc wrt loops, debug printing, style. 15 years ago
Victor Julien e2376948dd Clean up smb/dcerpc code 15 years ago
Victor Julien ecf86f9c23 Rename to Suricata. 15 years ago
Victor Julien 18fe3818dc Remove need_lock from app layer parsers. 15 years ago
Gurvinder Singh fc2f7f29fa app layer htp error handling and fixes for memory leaks and segv 15 years ago
Kirby Kuehl c20bc68367 readandx and writeandx parsing for smb 15 years ago
Victor Julien 6e9b582be6 Fixup rebase typo. 15 years ago
Gurvinder Singh c1e485cc44 app layer error handling 15 years ago
root 74667e697a better smb parsing 15 years ago
Victor Julien 91d14964b6 Fixup formatting on the smb code. 16 years ago
Kirby Kuehl ecaa701bdf smb and dcerpc work 16 years ago