]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
13 years agocode cleanup - replace SigMatchAppendTag with SigMatchAppendSMToList
Anoop Saldanha [Sat, 18 Feb 2012 09:31:48 +0000 (15:01 +0530)] 
code cleanup - replace SigMatchAppendTag with SigMatchAppendSMToList

13 years agocode cleanup - replace SigMatchAppendDcePayload with SigMatchAppendSMToList
Anoop Saldanha [Sat, 18 Feb 2012 09:29:35 +0000 (14:59 +0530)] 
code cleanup - replace SigMatchAppendDcePayload with SigMatchAppendSMToList

13 years agocode cleanup - replace SigMatchAppendPayload with SigMatchAppendSMToList
Anoop Saldanha [Sat, 18 Feb 2012 09:21:17 +0000 (14:51 +0530)] 
code cleanup - replace SigMatchAppendPayload with SigMatchAppendSMToList

13 years agocode cleanup - replace SigMatchAppendUricontent with SigMatchAppendSMToList
Anoop Saldanha [Sat, 18 Feb 2012 09:15:21 +0000 (14:45 +0530)] 
code cleanup - replace SigMatchAppendUricontent with SigMatchAppendSMToList

13 years agocode cleanup - replace SigMatchAppendAppLayer with SigMatchAppendSMToList
Anoop Saldanha [Sat, 18 Feb 2012 08:30:39 +0000 (14:00 +0530)] 
code cleanup - replace SigMatchAppendAppLayer with SigMatchAppendSMToList

13 years agocode cleanup - replace SigMatchGetLastSM with SigMatchGetLastSMFromLists
Anoop Saldanha [Sat, 18 Feb 2012 07:46:40 +0000 (13:16 +0530)] 
code cleanup - replace SigMatchGetLastSM with SigMatchGetLastSMFromLists

13 years agocode cleanup - remove DetectContentGetLastPattern. Replace it with SigMatchGetLastSMF...
Anoop Saldanha [Sat, 18 Feb 2012 07:17:35 +0000 (12:47 +0530)] 
code cleanup - remove DetectContentGetLastPattern. Replace it with SigMatchGetLastSMFromLists

13 years agocode cleanup - remove DetectContentFindNextApplicableSM
Anoop Saldanha [Sat, 18 Feb 2012 06:42:47 +0000 (12:12 +0530)] 
code cleanup - remove DetectContentFindNextApplicableSM

13 years agocode cleanup - remove DetectContentHasPrevSMPattern
Anoop Saldanha [Sat, 18 Feb 2012 06:40:42 +0000 (12:10 +0530)] 
code cleanup - remove DetectContentHasPrevSMPattern

13 years agocode cleanup - remove SigMatchGetLastPattern
Anoop Saldanha [Sat, 18 Feb 2012 06:39:05 +0000 (12:09 +0530)] 
code cleanup - remove SigMatchGetLastPattern

13 years agocode cleanup - remove DetectUricontentGetLastPattern
Anoop Saldanha [Sat, 18 Feb 2012 06:13:05 +0000 (11:43 +0530)] 
code cleanup - remove DetectUricontentGetLastPattern

13 years agoUse sm_list to differentiate between different content types while retrieving pattern...
Anoop Saldanha [Sat, 18 Feb 2012 05:20:54 +0000 (10:50 +0530)] 
Use sm_list to differentiate between different content types while retrieving pattern ids instead of sm_type

13 years agoDetectPatternGetId() cleanup. Remove separate search element creation for uricontent...
Anoop Saldanha [Fri, 17 Feb 2012 15:18:29 +0000 (20:48 +0530)] 
DetectPatternGetId() cleanup. Remove separate search element creation for uricontent. We don't need this now since we have unified content structures for content and uricontent

13 years agoAdd a print function specially for json output that escapes all characters json requi...
Victor Julien [Sat, 18 Feb 2012 16:56:38 +0000 (17:56 +0100)] 
Add a print function specially for json output that escapes all characters json requires to be escaped.

13 years agoAdd referer header to .meta and json file logs.
Victor Julien [Thu, 16 Feb 2012 21:32:37 +0000 (22:32 +0100)] 
Add referer header to .meta and json file logs.

13 years agoMake sure that if not built against libnss, we still compile. Only no md5 for you...
Victor Julien [Thu, 16 Feb 2012 21:17:15 +0000 (22:17 +0100)] 
Make sure that if not built against libnss, we still compile. Only no md5 for you then\!

13 years agoAdd line based log file to log-file module that logs each stored file's meta data...
Victor Julien [Thu, 16 Feb 2012 20:40:34 +0000 (21:40 +0100)] 
Add line based log file to log-file module that logs each stored file's meta data in json records.

13 years agoIn PrintRawUriFp, consider " unprintable.
Victor Julien [Thu, 16 Feb 2012 20:39:37 +0000 (21:39 +0100)] 
In PrintRawUriFp, consider " unprintable.

13 years agoInitial on the fly MD5 calculation for extracted files using libnss.
Victor Julien [Thu, 16 Feb 2012 18:27:05 +0000 (19:27 +0100)] 
Initial on the fly MD5 calculation for extracted files using libnss.

13 years agodelete detect-recursive.[ch]
Anoop Saldanha [Wed, 15 Feb 2012 17:27:34 +0000 (22:57 +0530)] 
delete detect-recursive.[ch]

13 years agofeature #414 - support listing supported keywords. Remove support for dummy keywords...
Anoop Saldanha [Wed, 15 Feb 2012 13:46:34 +0000 (19:16 +0530)] 
feature #414 - support listing supported keywords. Remove support for dummy keywords __address__, __proto__, __port__. Remove support for recursive keyword and all references to it

13 years agoremove det_ctx->payload_offset and use det_ctx->buffer_offset. Update hscd and hsmd...
Anoop Saldanha [Wed, 15 Feb 2012 15:18:07 +0000 (20:48 +0530)] 
remove det_ctx->payload_offset and use det_ctx->buffer_offset. Update hscd and hsmd to use the new generic content inspection engine

13 years agoremove all old content inspection engines and references to them. We have cleaned...
Anoop Saldanha [Wed, 8 Feb 2012 07:59:39 +0000 (13:29 +0530)] 
remove all old content inspection engines and references to them. We have cleaned the entire content inspection phase and improved alert accuracy

13 years agounify payload detection engines + fix other bugs in pcre init
Anoop Saldanha [Tue, 7 Feb 2012 19:03:19 +0000 (00:33 +0530)] 
unify payload detection engines + fix other bugs in pcre init

13 years agoraw urilen inspection moves to raw uri list. Won't make any difference wrt inspection
Anoop Saldanha [Tue, 7 Feb 2012 08:13:30 +0000 (13:43 +0530)] 
raw urilen inspection moves to raw uri list. Won't make any difference wrt inspection

13 years agorebase commit for hscd and hsmd patches
Anoop Saldanha [Wed, 15 Feb 2012 10:11:24 +0000 (15:41 +0530)] 
rebase commit for hscd and hsmd patches

13 years agofix seg fault due to wrong sm list access in hscd
Anoop Saldanha [Fri, 3 Feb 2012 14:27:11 +0000 (19:57 +0530)] 
fix seg fault due to wrong sm list access in hscd

13 years agofast pattern unittests added for http server body
Anoop Saldanha [Thu, 26 Jan 2012 11:37:09 +0000 (17:07 +0530)] 
fast pattern unittests added for http server body

13 years agoSupport http stat code detection engine, fast pattern(mpm engine included). Fix http...
Anoop Saldanha [Thu, 26 Jan 2012 11:26:11 +0000 (16:56 +0530)] 
Support http stat code detection engine, fast pattern(mpm engine included). Fix http stat code setup function. Fix pcre option for stat msg keyword. With this the pcre options for server_body is Q, for stat_msg is Y and for stat_code is S

13 years agoSupport http stat msg detection engine, fast pattern(mpm engine included). Fix http...
Anoop Saldanha [Wed, 25 Jan 2012 18:50:24 +0000 (00:20 +0530)] 
Support http stat msg detection engine, fast pattern(mpm engine included). Fix http stat msg setup function. Fix pcre option for stat msg keyword

13 years agoFix path handling for including rule files on win32.
Victor Julien [Sun, 12 Feb 2012 18:30:43 +0000 (19:30 +0100)] 
Fix path handling for including rule files on win32.

13 years agoAllow other yaml files to be included in the main yaml.
Victor Julien [Sat, 11 Feb 2012 14:43:09 +0000 (15:43 +0100)] 
Allow other yaml files to be included in the main yaml.

13 years agoFix a FP with negated filemagic inspection.
Victor Julien [Fri, 10 Feb 2012 13:49:03 +0000 (14:49 +0100)] 
Fix a FP with negated filemagic inspection.

13 years agoAdd atomics to ticks unittests.
Victor Julien [Thu, 9 Feb 2012 05:58:48 +0000 (06:58 +0100)] 
Add atomics to ticks unittests.

13 years agoMinor layout fixes.
Victor Julien [Wed, 8 Feb 2012 14:33:03 +0000 (09:33 -0500)] 
Minor layout fixes.

13 years agoNapatech code formatting fixes.
Victor Julien [Wed, 8 Feb 2012 11:44:53 +0000 (06:44 -0500)] 
Napatech code formatting fixes.

13 years agoFix compilation without napatech tech support enabled.
Victor Julien [Wed, 8 Feb 2012 11:36:05 +0000 (06:36 -0500)] 
Fix compilation without napatech tech support enabled.

13 years agoInitial Napatech support by Randy Caldejon / nPulse.
Victor Julien [Wed, 8 Feb 2012 10:45:28 +0000 (05:45 -0500)] 
Initial Napatech support by Randy Caldejon / nPulse.

13 years agofix compilation error for the new http response header mpm feature
Anoop Saldanha [Mon, 6 Feb 2012 15:04:01 +0000 (20:34 +0530)] 
fix compilation error for the new http response header mpm feature

13 years agofix debug messages that have references to the old mpm contexts
Anoop Saldanha [Mon, 6 Feb 2012 14:59:46 +0000 (20:29 +0530)] 
fix debug messages that have references to the old mpm contexts

13 years agocode cleanup over last 2 commits
Anoop Saldanha [Wed, 18 Jan 2012 07:51:54 +0000 (13:21 +0530)] 
code cleanup over last 2 commits

13 years agoif a signature is non-tcp, it's always a packet sig
Anoop Saldanha [Wed, 18 Jan 2012 05:44:09 +0000 (11:14 +0530)] 
if a signature is non-tcp, it's always a packet sig

13 years agosupport splitting mpm ctxs based on direction v2
Anoop Saldanha [Sun, 15 Jan 2012 16:38:58 +0000 (22:08 +0530)] 
support splitting mpm ctxs based on direction v2

13 years agoFix bug in ac-bs search function
Anoop Saldanha [Mon, 6 Feb 2012 19:22:45 +0000 (00:52 +0530)] 
Fix bug in ac-bs search function

13 years agotreate ac-bs auto as single context
Anoop Saldanha [Mon, 6 Feb 2012 14:39:21 +0000 (20:09 +0530)] 
treate ac-bs auto as single context

13 years agoSupport for new MPM ac-bs added
Anoop Saldanha [Tue, 31 Jan 2012 11:47:35 +0000 (17:17 +0530)] 
Support for new MPM ac-bs added

13 years agoDisable unittest that fails without libnet support.
Victor Julien [Mon, 6 Feb 2012 16:31:06 +0000 (17:31 +0100)] 
Disable unittest that fails without libnet support.

13 years agobug #411 - fix failing unittest
Anoop Saldanha [Fri, 3 Feb 2012 17:26:28 +0000 (22:56 +0530)] 
bug #411 - fix failing unittest

13 years agobug #411 - don't modify within/distance at setup time
Anoop Saldanha [Thu, 2 Feb 2012 17:16:21 +0000 (22:46 +0530)] 
bug #411 - don't modify within/distance at setup time

13 years agobug #412 - rebase commit. Remove the previous references to SigInitReal() with SigInit()
Anoop Saldanha [Sat, 4 Feb 2012 11:45:28 +0000 (17:15 +0530)] 
bug #412 - rebase commit. Remove the previous references to SigInitReal() with SigInit()

13 years agobug #412 - Remove the commented out SigInitReal()
Anoop Saldanha [Sat, 4 Feb 2012 02:11:07 +0000 (07:41 +0530)] 
bug #412 - Remove the commented out SigInitReal()

13 years agobug #412 - Unify SigInit() and SigInitReal(). Remove any use of SigInitReal()
Anoop Saldanha [Sat, 4 Feb 2012 01:32:21 +0000 (07:02 +0530)] 
bug #412 - Unify SigInit() and SigInitReal(). Remove any use of SigInitReal()

13 years agoAdd function declaration for SigInitReal
Anoop Saldanha [Fri, 3 Feb 2012 13:44:33 +0000 (19:14 +0530)] 
Add function declaration for SigInitReal

13 years agobug #405 - fix bug where raw uri inspection sigs were not treated as stateful sigs
Anoop Saldanha [Thu, 26 Jan 2012 18:34:07 +0000 (00:04 +0530)] 
bug #405 - fix bug where raw uri inspection sigs were not treated as stateful sigs

13 years agoUse SigInitReal() instead of SigInit() in raw uri tests. This should show that we...
Anoop Saldanha [Fri, 3 Feb 2012 13:25:34 +0000 (18:55 +0530)] 
Use SigInitReal() instead of SigInit() in raw uri tests. This should show that we have unittests failing, thus highlighting bug 411. The next commit is the fix for this bug

13 years agoRemove unused definitions in pcre code.
Victor Julien [Fri, 3 Feb 2012 16:12:11 +0000 (17:12 +0100)] 
Remove unused definitions in pcre code.

13 years agoFix unittest missing a flow direction in the rule.
Victor Julien [Fri, 3 Feb 2012 11:36:13 +0000 (12:36 +0100)] 
Fix unittest missing a flow direction in the rule.

13 years agofixed relative handling for pcre cookie and method
Eileen Donlon [Wed, 25 Jan 2012 21:27:14 +0000 (16:27 -0500)] 
fixed relative handling for pcre cookie and method

13 years agoCleaned up some error messages for detect distance and offset.
Eileen Donlon [Mon, 19 Dec 2011 19:19:39 +0000 (14:19 -0500)] 
Cleaned up some error messages for detect distance and offset.

13 years agoMake 'make check' happy in a ipproto unittest.
Victor Julien [Thu, 2 Feb 2012 13:24:58 +0000 (14:24 +0100)] 
Make 'make check' happy in a ipproto unittest.

13 years agobug #403 - add unittests
Anoop Saldanha [Wed, 1 Feb 2012 16:51:13 +0000 (22:21 +0530)] 
bug #403 - add unittests

13 years agoSet the packet protocol only if it can parsed without error
Anoop Saldanha [Wed, 1 Feb 2012 09:53:21 +0000 (15:23 +0530)] 
Set the packet protocol only if it can parsed without error

13 years agoFix csum validation functions to not carry out csum calculation if respective headers...
Anoop Saldanha [Wed, 1 Feb 2012 09:14:01 +0000 (14:44 +0530)] 
Fix csum validation functions to not carry out csum calculation if respective headers are not present

13 years agobug #403 - fix setting ip proto for ipv6 packets
Anoop Saldanha [Thu, 26 Jan 2012 17:55:03 +0000 (23:25 +0530)] 
bug #403 - fix setting ip proto for ipv6 packets

13 years agobug #403 - fix setting ip proto for packets
Anoop Saldanha [Thu, 26 Jan 2012 17:53:32 +0000 (23:23 +0530)] 
bug #403 - fix setting ip proto for packets

13 years agoAdd files.rules to the dist.
Victor Julien [Sat, 21 Jan 2012 11:25:08 +0000 (12:25 +0100)] 
Add files.rules to the dist.

13 years ago1.3 branch has opened
Victor Julien [Sat, 21 Jan 2012 08:45:58 +0000 (09:45 +0100)] 
1.3 branch has opened

13 years agoConvert missing coredump config to debug.
Victor Julien [Sat, 21 Jan 2012 08:45:42 +0000 (09:45 +0100)] 
Convert missing coredump config to debug.

13 years agoAdd http-events.rules and smtp-events.rules to default suricata.yaml.
Victor Julien [Fri, 20 Jan 2012 19:12:24 +0000 (20:12 +0100)] 
Add http-events.rules and smtp-events.rules to default suricata.yaml.

13 years agoMake code default for pcre match limit match the suricata.yaml default.
Victor Julien [Tue, 17 Jan 2012 10:08:44 +0000 (11:08 +0100)] 
Make code default for pcre match limit match the suricata.yaml default.

13 years agoMove threshold to it's own sig match list.
Victor Julien [Mon, 16 Jan 2012 12:57:46 +0000 (13:57 +0100)] 
Move threshold to it's own sig match list.

13 years agoUpdate Changelog to reflect changes between 1.2 and 1.2.1 origin/master-1.2.x suricata-1.2.1
Victor Julien [Fri, 20 Jan 2012 15:12:58 +0000 (16:12 +0100)] 
Update Changelog to reflect changes between 1.2 and 1.2.1

13 years agoOnly force a pseudo packet inspection cycle for TCP streams in a state >= established.
Victor Julien [Fri, 20 Jan 2012 14:46:09 +0000 (15:46 +0100)] 
Only force a pseudo packet inspection cycle for TCP streams in a state >= established.

13 years agoFix unified2 records generated based on reassembled stream data.
Victor Julien [Fri, 20 Jan 2012 08:53:25 +0000 (09:53 +0100)] 
Fix unified2 records generated based on reassembled stream data.

13 years agoUpdate Changelog to reflect changes between 1.2rc1 and 1.2 suricata-1.2
Victor Julien [Thu, 19 Jan 2012 13:25:34 +0000 (14:25 +0100)] 
Update Changelog to reflect changes between 1.2rc1 and 1.2

13 years agoUpdate app layer events for HTTP now that libhtp has fixes for some response errors.
Victor Julien [Wed, 18 Jan 2012 19:04:07 +0000 (20:04 +0100)] 
Update app layer events for HTTP now that libhtp has fixes for some response errors.

13 years agoIssue warning if libhtp version used is not up to date.
Victor Julien [Wed, 18 Jan 2012 18:54:58 +0000 (19:54 +0100)] 
Issue warning if libhtp version used is not up to date.

13 years agoEnforce flow direction for http_raw_header sigs. Fix unittests that missed the flow...
Victor Julien [Wed, 18 Jan 2012 18:51:10 +0000 (19:51 +0100)] 
Enforce flow direction for http_raw_header sigs. Fix unittests that missed the flow direction.

13 years agoFix libhtp htp_tx_get_response_headers_raw 'detection' for bundled libhtp.
Victor Julien [Wed, 18 Jan 2012 17:17:52 +0000 (18:17 +0100)] 
Fix libhtp htp_tx_get_response_headers_raw 'detection' for bundled libhtp.

13 years agoUpdate bundled libhtp to 0.2.7.
Victor Julien [Wed, 18 Jan 2012 17:16:45 +0000 (18:16 +0100)] 
Update bundled libhtp to 0.2.7.

13 years agoAllow log-pcap to use both absolute and relative sguil-base-dir settings when in...
Victor Julien [Wed, 18 Jan 2012 15:25:25 +0000 (16:25 +0100)] 
Allow log-pcap to use both absolute and relative sguil-base-dir settings when in 'sguil' mode.

13 years agoUndo unintended changes to suricata.yaml.
Victor Julien [Wed, 18 Jan 2012 11:55:11 +0000 (12:55 +0100)] 
Undo unintended changes to suricata.yaml.

13 years agoFix PathIsAbsolute function not dealing with CYGWIN. Handle absolute paths in logfile...
Victor Julien [Wed, 18 Jan 2012 11:53:26 +0000 (12:53 +0100)] 
Fix PathIsAbsolute function not dealing with CYGWIN. Handle absolute paths in logfile api.

13 years agoRegister HTTP logger at registration, not thread init.
Victor Julien [Wed, 18 Jan 2012 11:47:30 +0000 (12:47 +0100)] 
Register HTTP logger at registration, not thread init.

13 years agoSuppress ac-gfbs debug message being printed at info level.
Victor Julien [Wed, 18 Jan 2012 09:35:07 +0000 (10:35 +0100)] 
Suppress ac-gfbs debug message being printed at info level.

13 years agoThreading: do not keep a slots post_pq locked while processing the packets.
Victor Julien [Wed, 18 Jan 2012 09:13:17 +0000 (10:13 +0100)] 
Threading: do not keep a slots post_pq locked while processing the packets.

13 years agoFix flowbits sigmatch structure added to the match and post-match list, causing corru...
Victor Julien [Tue, 17 Jan 2012 08:32:30 +0000 (09:32 +0100)] 
Fix flowbits sigmatch structure added to the match and post-match list, causing corruption of the prev ptr. This lead to an endless loop condition in the thresholding code. Thanks to Chris Wakelin for reporting the issue.

13 years agoFix pcap -i mode.
Victor Julien [Mon, 16 Jan 2012 18:41:22 +0000 (19:41 +0100)] 
Fix pcap -i mode.

13 years agoMake live worker runmode threads adhere to the 'detect' cpu affinity settings.
Victor Julien [Fri, 13 Jan 2012 15:23:53 +0000 (16:23 +0100)] 
Make live worker runmode threads adhere to the 'detect' cpu affinity settings.

13 years agoFix pcap -i <ip>.
Victor Julien [Fri, 13 Jan 2012 12:06:31 +0000 (13:06 +0100)] 
Fix pcap -i <ip>.

13 years agoIndicate that the Suricata version used is a release or a git checkout.
Victor Julien [Fri, 13 Jan 2012 11:46:03 +0000 (12:46 +0100)] 
Indicate that the Suricata version used is a release or a git checkout.

13 years agoClean up default output. Use simpler output format for releases.
Victor Julien [Fri, 13 Jan 2012 11:22:27 +0000 (12:22 +0100)] 
Clean up default output. Use simpler output format for releases.

13 years agoAssume offloading in use if 1/10th of the packets has a bad checksum.
Victor Julien [Thu, 12 Jan 2012 14:50:54 +0000 (15:50 +0100)] 
Assume offloading in use if 1/10th of the packets has a bad checksum.

13 years agoAdd missing Makefile.am files for rules/ and doc/ dir.
Victor Julien [Thu, 12 Jan 2012 18:07:07 +0000 (19:07 +0100)] 
Add missing Makefile.am files for rules/ and doc/ dir.

13 years agoFix checksum offloading auto detection typo: it should be 1/5th instead of 1/10th.
Victor Julien [Thu, 12 Jan 2012 11:12:58 +0000 (12:12 +0100)] 
Fix checksum offloading auto detection typo: it should be 1/5th instead of 1/10th.

13 years agoMake sure new rule and doc files are part of the dist.
Victor Julien [Thu, 12 Jan 2012 07:48:14 +0000 (08:48 +0100)] 
Make sure new rule and doc files are part of the dist.

13 years agoDon't print error about missing git repo if building from tarball. Don't define REVIS... suricata-1.2rc1
Victor Julien [Wed, 11 Jan 2012 17:06:01 +0000 (18:06 +0100)] 
Don't print error about missing git repo if building from tarball. Don't define REVISION in that case.

13 years agoUpdate ChangeLog to reflect changes between 1.2beta1 and 1.2rc1.
Victor Julien [Wed, 11 Jan 2012 16:51:11 +0000 (17:51 +0100)] 
Update ChangeLog to reflect changes between 1.2beta1 and 1.2rc1.

13 years agoFix various minor clang/scan-build warnings.
Victor Julien [Wed, 11 Jan 2012 14:35:09 +0000 (15:35 +0100)] 
Fix various minor clang/scan-build warnings.

13 years agoAdapt signature ordering to new flowbits post-match handling.
Victor Julien [Wed, 11 Jan 2012 14:31:14 +0000 (15:31 +0100)] 
Adapt signature ordering to new flowbits post-match handling.