LOGBOOK

HELP

Quiz Entry - updated: 2026.12.01

What are the sid and rev keywords, and why do SID ranges matter?

sid is the rule's unique numeric ID; rev is its version, incremented on each change. SID ranges are allocated so rules from different sources never collide: 1,000,000–1,999,999 is reserved for your own local rules.

Every alert carries the SID of the rule that fired. That is how analysts, dashboards and suppression lists refer to a rule, so the SID must be unique.

rev tracks changes. When a rule is improved, the SID stays and rev goes up (rev:1 → rev:2). Tools such as suricata-update can then tell that a rule has changed rather than been newly added.

Because rules come from many publishers and end up in the same engine, SID numbers are allocated by range (see sidallocation.org):

Range Owner
1,000,000 – 1,999,999 Local use: your own rules
2,000,000 – 2,103,999 Emerging Threats Open (includes the converted old "GPL" Snort rules, such as 2100498)
2,200,000 – 2,299,999 Suricata engine events
2,800,000 – 2,899,999 Emerging Threats Pro

So custom rules in local.rules should use SIDs in the local range. A collision with a published rule would make one of them silently disappear or confuse every alert that carries that SID.

Go deeper:

From Quiz: ISLAB / Network Security Monitoring | Updated: Dec 01, 2026