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
Eric Leblond c2fcf329f0 tls: fix negated match
A negated match is matching if the tested field is NULL. But as it
is not set, nor negated nor normal test must match.

Without this patch, a rule like:
 alert tls any any -> any any (msg:"negated match"; tls.subject:!"CN=home.regit.org"; sid:1; rev:1;)
is alerting for all connections. Event if they are done on a certificate
with matching subject. This was due to the fact that tls protocol
is discovered before the handshake is complete. Thus the condition
on tls is true with a NULL tls.subject. And code was returning a
positive match in the case of a NULL subject and a signature with
a negated match.
13 years ago
benches
…
contrib Add one shot run option to suri-graphite. 14 years ago
doc Update docs from wiki 14 years ago
m4
…
qa Updated banned function cocci check 13 years ago
rules dns: add event for when memcap is reached 13 years ago
scripts suricatasc: fix make distcheck. 14 years ago
src tls: fix negated match 13 years ago
.gitignore unittest: make check use a qa/log dir for logging 13 years ago
COPYING
…
ChangeLog Update Changelog for 2.0beta2 13 years ago
LICENSE
…
Makefile.am dns: rules files was not installed 13 years ago
Makefile.cvs
…
acsite.m4
…
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 14 years ago
classification.config Import of classification.config 17 years ago
config.rpath Add file needed for some autotools version. 13 years ago
configure.ac prelude: fix configure and cleanup 13 years ago
doxygen.cfg doxygen: document all code 13 years ago
reference.config Add md5 to reference.config. 15 years ago
suricata.yaml.in stream: yaml addition for recent config options 13 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 14 years ago