Project

General

Profile

Actions

Feature #8431

open

Task #8388: firewall: support protocol hooks for all app-layer protocols

Feature #8394: firewall: support NTP hook states for firewall rule evaluation

rules: add ntp.stratum keyword

Added by Victor Julien 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Effort:
Difficulty:
Label:

Description

The proposed states in the ticket (Kiss-o'-Death, broadcast mode, symmetric active/passive, etc.) don't need to be separate hook states — they can all be expressed as keyword matches on the existing hooks. For example, ntp.stratum:0 at ntp:response_complete covers Kiss-o'-Death, ntp.mode:5 covers broadcast, and ntp.mode:1 covers symmetric active. Adding ntp.mode, ntp.version, and ntp.stratum as detection keywords eliminates the need for protocol-specific hook states entirely. These are the same fields that ET Pro rules already inspect via raw byte_test for NTP DDoS/amplification detection — native keywords would replace fragile byte-level matching and benefit both firewall and IDS rule authors.

ntp.stratum keyword should be a int keyword.


Related issues 1 (1 open0 closed)

Related to Suricata - Feature #8425: ntp: add ntp transaction loggingNewOISF DevActions
Actions

Also available in: Atom PDF