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
Victor Julien a798cf9518 DNS: refactor tx completion logic
Use simple bool values to track the transaction state in both directions.

A tx is only created in two cases:
1. full request parsed
2. response parsed (request missing)

This is true even for multi-packet TCP requests.

This leads to the following tx completion logic for the request side:
the presence of a tx implies the request is complete

On the response side, we consider the tx complete when we have seen
the response. If the DNS parser thinks the response was lost, we also
flag the response side as complete.
11 years ago
benches
contrib
doc
lua
m4
qa
rules decode: add ERSPANv1 decoder 11 years ago
scripts multi-detect: implement reload tenant in suricatasc 11 years ago
src DNS: refactor tx completion logic 11 years ago
.gitignore
.travis.yml
COPYING
ChangeLog
LICENSE
Makefile.am
Makefile.cvs
acsite.m4
autogen.sh
classification.config
config.rpath
configure.ac autotools: cleanup 11 years ago
doxygen.cfg
reference.config
suricata.yaml.in yaml: add missing ippair section 11 years ago
threshold.config