Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Anoop Saldanha 1ea5d27508 Fix for bug #989.
In case of recursive call to protocol detection from within protocol
detection, and the recursively invoked stream still hasn't been ack'ed
yet, protocol detection doesn't take place.  In such cases we will end up
still calling the app layer with the wrong direction data.  Introduce a
check to not call app layer with wrong direction data.

When sockets are re-used reset all relevant vars correctly.

This commit fixes a bug where we were not reseting app proto detection
vars.

While fixing #989, we discovered some other bugs which have also been
fixed, or rather some features which are now updated.  One of the feature
update being if we recieve wrong direction data first, we don't reset the
protocol values for the flow.  We let the flow retain the detected
values.

Unittests have been modified to accomodate the above change.
12 years ago
benches
contrib
doc
m4
qa coccinelle: implement parallel check 12 years ago
rules http: add new events for invalid host header and host part of uri 12 years ago
scripts
src Fix for bug #989. 12 years ago
.gitignore unittest: make check use a qa/log dir for logging 12 years ago
COPYING
ChangeLog
LICENSE
Makefile.am Use wget or curl to download ruleset. 12 years ago
Makefile.cvs
acsite.m4
autogen.sh
classification.config
config.rpath
configure.ac configure: accept libnet 1.1 and 1.2. 12 years ago
doxygen.cfg
mkinstalldirs
reference.config
suricata.yaml.in log: change default log level to notice 12 years ago
threshold.config