branching test

remotes/origin/master-1.0.x
Victor Julien 17 years ago
parent 0ffa1c2465
commit 45f83f7636

@ -6,6 +6,16 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `net' library (-lnet). */
#undef HAVE_LIBNET
/* Define to 1 if you have the `netfilter_queue' library (-lnetfilter_queue).
*/
#undef HAVE_LIBNETFILTER_QUEUE
/* Define to 1 if you have the `nfnetlink' library (-lnfnetlink). */
#undef HAVE_LIBNFNETLINK
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

@ -85,7 +85,7 @@ AR_FLAGS="cru"
LTCC="gcc"
# LTCC compiler flags.
LTCFLAGS="-g -O2"
LTCFLAGS="-O0 -g"
# A language-specific compiler.
CC="gcc"
@ -6740,7 +6740,7 @@ AR_FLAGS="cru"
LTCC="gcc"
# LTCC compiler flags.
LTCFLAGS="-g -O2"
LTCFLAGS="-O0 -g"
# A language-specific compiler.
CC="g++"

@ -209,19 +209,12 @@ void SigLoadSignatures (void)
fclose(fp);
printf("SigLoadSignatures: %d successfully loaded from file. %d sigs failed to load\n", good, bad);
/* http_ua -- for the log-httplog module */
sig = SigInit("alert tcp any any -> any any (msg:\"HTTP UA cap\"; flow:to_server; content:\"User-Agent:\"; depth:400; pcre:\"/^User-Agent: (?P<http_ua>.*)\\r\\n/m\"; noalert; sid:4;)");
if (sig == NULL)
return;
prevsig->next = sig;
prevsig = sig;
//#endif
/* Setup the signature group lookup structure and
* pattern matchers */
SigGroupBuild(sig_list);
abort();
//abort();
}
/* check if a certain sid alerted, this is used in the test functions */

Loading…
Cancel
Save