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.
suricata/doc/userguide/rules
Yash Datre b800ace56f detect: add tcp.session keyword for unified TCP lifecycle matching
Introduce the tcp.session: keyword that accepts a comma-separated subset
of {setup, established, closing} and matches packets whose TCP session
state falls within the named phases.

This lets a rule writer cover the full TCP lifecycle in one rule instead
of separate flow:not_established + flow:established rules.

Changes:
- New detect-tcp-session.{c,h} with parser, match function, unit tests
- Register DETECT_TCP_SESSION in detect-engine-register.{c,h}
- Add to Makefile.am source list
- Extend engine-analyzer text output for tcp.session:
- Extend firewall.json keyword_info with tcp_session phase values
- Update flow-keywords.rst documentation
- Require TCP protocol and SIG_FLAG_REQUIRE_PACKET at setup

Ticket: 7704
(cherry picked from commit 398687d5d4)
4 days ago
..
dataset-examples
dns-keywords
fast-pattern
flow-keywords
header-keywords
http-keywords
intro
normalized-buffers
payload-keywords doc/userguide: fix within-distance pointer graphics in payload-keywords doc 7 months ago
pcre
rule-types
app-layer.rst detect: extend app-layer-protocol to accept a pipe-separated value list 4 days ago
base64-keywords.rst
bypass-keyword.rst doc: Update bypass docs to use new keyword format 1 year ago
config.rst detect/config: add flow tracking doc 1 year ago
datasets.rst doc/userguide: add dataset match subdomain documentation 3 weeks ago
dcerpc-keywords.rst doc: fix dcerpc.opnum documentation 6 months ago
decode-layer.rst
dhcp-keywords.rst
differences-from-snort.rst
dnp3-keywords.rst
dns-keywords.rst detect/dns: support string for dns.rrtype 1 year ago
email-keywords.rst detect: add email.received keyword 1 year ago
enip-keyword.rst
fast-pattern-explained.rst
file-keywords.rst
flow-keywords.rst detect: add tcp.session keyword for unified TCP lifecycle matching 4 days ago
ftp-keywords.rst ftp: support STOU data transfers 2 months ago
header-keywords.rst doc/userguide: add missing ipopts values 6 months ago
http-keywords.rst userguide: document how suricata processes rules 1 year ago
http2-keywords.rst
ike-keywords.rst
index.rst ntp: add ntp.version keyword 4 months ago
integer-keywords.rst detect/integers: support kibibyte unit 1 year ago
intro.rst doc/userguide: add rule hooks to protocol doc 11 months ago
ip-reputation-rules.rst
ipaddr.rst
ja-keywords.rst
kerberos-keywords.rst
ldap-keywords.rst detect: add ldap.responses.attribute_type 1 year ago
lua-detection.rst doc/lua-detection: fix example script; remove most buffers 1 year ago
mdns-keywords.rst mdns: add mdns parser, logger and detection 1 year ago
meta.rst userguide: document how suricata processes rules 1 year ago
modbus-keyword.rst
mqtt-keywords.rst
multi-buffer-matching.rst doc: complete list of multi-buffers 1 year ago
nfs-keywords.rst
noalert.rst
ntp-keywords.rst ntp: convert reference_id to buffer and add keyword 4 months ago
payload-keywords.rst doc/bytemath: document the result of wide shifts 2 weeks ago
pgsql-keywords.rst pgsql: add query keyword 1 year ago
prefilter-keywords.rst
quic-keywords.rst
rfb-keywords.rst
rule-types.rst doc: adjust for master to main rename 12 months ago
rules-internals.rst userguide: document how suricata processes rules 1 year ago
sdp-keywords.rst doc/sdp: fix doc to match real keywords names 1 year ago
sip-keywords.rst
smb-keywords.rst
smtp-keywords.rst
snmp-keywords.rst detect/snmp: add snmp.trap_type keyword 5 months ago
ssh-keywords.rst doc: fix typo and missing newline in rules/ssh_keywords. 11 months ago
tag.rst
thresholding.rst
tls-keywords.rst detect/ssl: properly handle negation in ssl_version keyword 9 months ago
transforms.rst doc: be more precise for decompress transforms 6 months ago
vlan-keywords.rst
websocket-keywords.rst
xbits.rst doc/userguide: add xbits tx scope support 11 months ago