@ -16937,15 +16937,14 @@ int DetectFastPatternTest589(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; nocase; "
" content: \" three \" ; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; "
" content: \" three \" ; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > prev - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NEGATED & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -16975,7 +16974,7 @@ int DetectFastPatternTest590(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; fast_pattern:only; http_host; nocase; "
" (content: \" one \" ; fast_pattern:only; http_host; "
" msg: \" Testing fast_pattern \" ; sid:1;) " ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
@ -16984,9 +16983,7 @@ int DetectFastPatternTest590(void)
sm = de_ctx - > sig_list - > sm_lists [ DETECT_SM_LIST_HHHDMATCH ] ;
if ( sm ! = NULL ) {
if ( ( ( ( DetectContentData * ) sm - > ctx ) - > flags &
DETECT_CONTENT_FAST_PATTERN ) & &
( ( ( DetectContentData * ) sm - > ctx ) - > flags &
DETECT_CONTENT_NOCASE ) ) {
DETECT_CONTENT_FAST_PATTERN ) ) {
result = 1 ;
} else {
result = 0 ;
@ -17014,7 +17011,7 @@ int DetectFastPatternTest591(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" oneoneone \" ; fast_pattern:3,4; http_host; nocase; "
" (content: \" oneoneone \" ; fast_pattern:3,4; http_host; "
" msg: \" Testing fast_pattern \" ; sid:1;) " ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
@ -17023,9 +17020,7 @@ int DetectFastPatternTest591(void)
sm = de_ctx - > sig_list - > sm_lists [ DETECT_SM_LIST_HHHDMATCH ] ;
if ( sm ! = NULL ) {
if ( ( ( ( DetectContentData * ) sm - > ctx ) - > flags &
DETECT_CONTENT_FAST_PATTERN ) & &
( ( ( DetectContentData * ) sm - > ctx ) - > flags &
DETECT_CONTENT_NOCASE ) ) {
DETECT_CONTENT_FAST_PATTERN ) ) {
result = 1 ;
} else {
result = 0 ;
@ -17049,7 +17044,7 @@ int DetectFastPatternTest592(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
@ -17059,7 +17054,6 @@ int DetectFastPatternTest592(void)
}
DetectContentData * ud = sm - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP ) & &
ud - > fp_chop_offset = = 0 & &
@ -17086,7 +17080,7 @@ int DetectFastPatternTest593(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" oneoneone \" ; fast_pattern:3,4; http_host; nocase; sid:1;)" ) ;
" (content: \" oneoneone \" ; fast_pattern:3,4; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
@ -17097,7 +17091,6 @@ int DetectFastPatternTest593(void)
DetectContentData * ud = sm - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17123,8 +17116,8 @@ int DetectFastPatternTest594(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; fast_pattern:only; http_host; distance:10; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; fast_pattern:only; http_host; distance:10; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17146,8 +17139,8 @@ int DetectFastPatternTest595(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; distance:10; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; distance:10; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17169,8 +17162,8 @@ int DetectFastPatternTest596(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; fast_pattern:only; http_host; within:10; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; fast_pattern:only; http_host; within:10; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17192,8 +17185,8 @@ int DetectFastPatternTest597(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; within:10; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; within:10; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17215,8 +17208,8 @@ int DetectFastPatternTest598(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; fast_pattern:only; http_host; offset:10; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; fast_pattern:only; http_host; offset:10; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17238,8 +17231,8 @@ int DetectFastPatternTest599(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; offset:10; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; offset:10; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17261,8 +17254,8 @@ int DetectFastPatternTest600(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; fast_pattern:only; http_host; depth:10; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; fast_pattern:only; http_host; depth:10; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17284,8 +17277,8 @@ int DetectFastPatternTest601(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; depth:10; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; depth:10; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17307,8 +17300,8 @@ int DetectFastPatternTest602(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content:! \" two \" ; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content:! \" two \" ; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17330,15 +17323,14 @@ int DetectFastPatternTest603(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; http_host; distance:30; nocase; "
" content: \" two \" ; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; http_host; distance:30; "
" content: \" two \" ; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP ) & &
ud - > fp_chop_offset = = 0 & &
@ -17364,14 +17356,13 @@ int DetectFastPatternTest604(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; http_host; within:30; nocase; "
" content: \" two \" ; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; http_host; within:30; "
" content: \" two \" ; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP ) & &
ud - > fp_chop_offset = = 0 & &
@ -17397,14 +17388,13 @@ int DetectFastPatternTest605(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; http_host; offset:30; nocase; "
" content: \" two \" ; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; http_host; offset:30; "
" content: \" two \" ; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP ) & &
ud - > fp_chop_offset = = 0 & &
@ -17430,14 +17420,13 @@ int DetectFastPatternTest606(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; http_host; depth:30; nocase; "
" content: \" two \" ; fast_pattern:only; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; http_host; depth:30; "
" content: \" two \" ; fast_pattern:only; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP ) & &
ud - > fp_chop_offset = = 0 & &
@ -17463,13 +17452,12 @@ int DetectFastPatternTest607(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content:! \" one \" ; fast_pattern; http_host; nocase; "
" content: \" two \" ; http_host; nocase; sid:1;)" ) ;
" (content:! \" one \" ; fast_pattern; http_host; "
" content: \" two \" ; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > prev - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
ud - > flags & DETECT_CONTENT_NEGATED & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP ) & &
@ -17496,8 +17484,8 @@ int DetectFastPatternTest608(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" two \" ; http_host; nocase; "
" content:! \" one \" ; fast_pattern; http_host; distance:20; nocase; sid:1;)" ) ;
" (content: \" two \" ; http_host; "
" content:! \" one \" ; fast_pattern; http_host; distance:20; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17519,8 +17507,8 @@ int DetectFastPatternTest609(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" two \" ; http_host; nocase; "
" content:! \" one \" ; fast_pattern; http_host; within:20; nocase; sid:1;)" ) ;
" (content: \" two \" ; http_host; "
" content:! \" one \" ; fast_pattern; http_host; within:20; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17542,8 +17530,8 @@ int DetectFastPatternTest610(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" two \" ; http_host; nocase; "
" content:! \" one \" ; fast_pattern; http_host; offset:20; nocase; sid:1;)" ) ;
" (content: \" two \" ; http_host; "
" content:! \" one \" ; fast_pattern; http_host; offset:20; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17565,8 +17553,8 @@ int DetectFastPatternTest611(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" two \" ; http_host; nocase; "
" content:! \" one \" ; fast_pattern; http_host; depth:20; nocase; sid:1;)" ) ;
" (content: \" two \" ; http_host; "
" content:! \" one \" ; fast_pattern; http_host; depth:20; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17588,14 +17576,13 @@ int DetectFastPatternTest612(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; nocase; "
" content: \" three \" ; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; "
" content: \" three \" ; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > prev - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17621,14 +17608,13 @@ int DetectFastPatternTest613(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; nocase; "
" content: \" three \" ; http_host; distance:30; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; "
" content: \" three \" ; http_host; distance:30; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > prev - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17654,14 +17640,13 @@ int DetectFastPatternTest614(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; nocase; "
" content: \" three \" ; http_host; within:30; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; "
" content: \" three \" ; http_host; within:30; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > prev - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17687,14 +17672,13 @@ int DetectFastPatternTest615(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; nocase; "
" content: \" three \" ; http_host; offset:30; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; "
" content: \" three \" ; http_host; offset:30; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > prev - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17720,14 +17704,13 @@ int DetectFastPatternTest616(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; nocase; "
" content: \" three \" ; http_host; depth:30; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" oneonetwo \" ; fast_pattern:3,4; http_host; "
" content: \" three \" ; http_host; depth:30; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > prev - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17753,14 +17736,13 @@ int DetectFastPatternTest617(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; http_host; distance:10; nocase; "
" content: \" oneonethree \" ; fast_pattern:3,4; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; http_host; distance:10; "
" content: \" oneonethree \" ; fast_pattern:3,4; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17786,14 +17768,13 @@ int DetectFastPatternTest618(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; http_host; within:10; nocase; "
" content: \" oneonethree \" ; fast_pattern:3,4; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; http_host; within:10; "
" content: \" oneonethree \" ; fast_pattern:3,4; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17819,14 +17800,13 @@ int DetectFastPatternTest619(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; http_host; offset:10; nocase; "
" content: \" oneonethree \" ; fast_pattern:3,4; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; http_host; offset:10; "
" content: \" oneonethree \" ; fast_pattern:3,4; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17852,14 +17832,13 @@ int DetectFastPatternTest620(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; http_host; depth:10; nocase; "
" content: \" oneonethree \" ; fast_pattern:3,4; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; http_host; depth:10; "
" content: \" oneonethree \" ; fast_pattern:3,4; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
ud - > fp_chop_offset = = 3 & &
@ -17888,9 +17867,9 @@ int DetectFastPatternTest621(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; fast_pattern:65977,4; http_host; nocase; "
" content: \" three \" ; http_host; distance:10; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; fast_pattern:65977,4; http_host; "
" content: \" three \" ; http_host; distance:10; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17912,9 +17891,9 @@ int DetectFastPatternTest622(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" oneonetwo \" ; fast_pattern:3,65977; http_host; nocase; "
" content: \" three \" ; distance:10; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" oneonetwo \" ; fast_pattern:3,65977; http_host; "
" content: \" three \" ; distance:10; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17936,9 +17915,9 @@ int DetectFastPatternTest623(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content: \" two \" ; fast_pattern:65534,4; http_host; nocase; "
" content: \" three \" ; http_host; distance:10; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content: \" two \" ; fast_pattern:65534,4; http_host; "
" content: \" three \" ; http_host; distance:10; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -17960,14 +17939,13 @@ int DetectFastPatternTest624(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; nocase; "
" content: \" three \" ; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; "
" content: \" three \" ; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > prev - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
ud - > flags & DETECT_CONTENT_NEGATED & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &
@ -17994,9 +17972,9 @@ int DetectFastPatternTest625(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; distance:10; nocase; "
" content: \" three \" ; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; distance:10; "
" content: \" three \" ; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -18018,9 +17996,9 @@ int DetectFastPatternTest626(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; within:10; nocase; "
" content: \" three \" ; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; within:10; "
" content: \" three \" ; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -18042,9 +18020,9 @@ int DetectFastPatternTest627(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; offset:10; nocase; "
" content: \" three \" ; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; offset:10; "
" content: \" three \" ; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -18066,9 +18044,9 @@ int DetectFastPatternTest628(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; depth:10; nocase; "
" content: \" three \" ; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; depth:10; "
" content: \" three \" ; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list ! = NULL )
goto end ;
@ -18090,14 +18068,13 @@ int DetectFastPatternTest629(void)
de_ctx - > flags | = DE_QUIET ;
de_ctx - > sig_list = SigInit ( de_ctx , " alert icmp any any -> any any "
" (content: \" one \" ; http_host; nocase; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; nocase; "
" content: \" three \" ; http_host; nocase; sid:1;)" ) ;
" (content: \" one \" ; http_host; "
" content:! \" oneonetwo \" ; fast_pattern:3,4; http_host; "
" content: \" three \" ; http_host; sid:1;)" ) ;
if ( de_ctx - > sig_list = = NULL )
goto end ;
DetectContentData * ud = de_ctx - > sig_list - > sm_lists_tail [ DETECT_SM_LIST_HHHDMATCH ] - > prev - > ctx ;
if ( ud - > flags & DETECT_CONTENT_FAST_PATTERN & &
ud - > flags & DETECT_CONTENT_NOCASE & &
ud - > flags & DETECT_CONTENT_NEGATED & &
! ( ud - > flags & DETECT_CONTENT_FAST_PATTERN_ONLY ) & &
ud - > flags & DETECT_CONTENT_FAST_PATTERN_CHOP & &