{% extends "base.html" %} {% from "_ui.html" import icon, lic_class, copy_btn %} {% block title %}About & licences{% endblock %} {% block content %}

About & licences

suriharvest {{ version }} · workspace {{ home }}

What suriharvest does

It downloads free Suricata rulesets, parses every rule, checks that it loads in a real Suricata (suricata -T), merges copies and mirrors into one entry per rule, and builds the rulesets you define as profiles. Nothing leaves your machine except the source downloads.

  1. Sources: tarballs, files and git repositories from sources.yaml
  2. Parse: one entry per rule text; lines that do not parse are quarantined, never dropped silently
  3. suricata -T in every engine of suriharvest.yaml, cached by rule text
  4. Dedupe: identical logic from several sources becomes one rule, with every copy and its licence
  5. Profiles: a search, an engine and your exclusions
  6. Builds: suricata.rules, what changed, what was left out and why

Licences

ClassExamplesMay you share it?What export does
{{ lic_class('permissive') }}BSD, MIT, Apache-2.0, CC0, CC-BYYes, keep the noticeExported; NOTICE.md lists the source
{{ lic_class('copyleft') }}GPL-2.0, GPL-3.0, CC-BY-SAYes, under the same licenceExported; keep the licence with the file
{{ lic_class('restricted') }}CC-BY-NC, custom terms, redistribute: noNo: your own sensors onlyExported for you; dropped by "Only rules I may share"
{{ lic_class('none') }}no licence statedNoTreated like own use only
ET Open ships two licences in one tarball: rules named ET ... are BSD, rules named GPL ... are GPL-2.0. suriharvest shows each rule with its own. Check the publisher's terms before you publish a build.

Sids

Suricata loads one rule per gid:sid. Who owns a sid comes from the public allocation table at sidallocation.org: a rule inside a publisher's range is that publisher's rule, wherever it was found (rule key namespace:gid:sid, the newest rev wins between copies).

When two different rules share a sid, the best one keeps it and the others get new sids from remap_base (now {{ remap_base|num }}, outside every allocated range). Every decision is written to state/sid-map.tsv, so a remapped sid never moves between builds: alerts, suppressions and thresholds keep working.

Rules whose sid was remapped: remapped:yes.

Search syntax

words search the name, contents, metadata and references
{% for f, meaning, ex in [ ('words, "a phrase"', 'full-text search', '"cobalt strike"'), ('sid:', 'a sid (any namespace)', 'sid:2024897'), ('key:', 'a rule key namespace:gid:sid', 'key:et:1:2024897'), ('cve:', 'a CVE in references or metadata; cve:* = any', 'cve:CVE-2021-44228'), ('app: proto: buffer:', 'app-layer, header protocol, sticky buffer', 'app:tls buffer:ja3.hash'), ('classtype: severity:', 'classtype; signature_severity (lists with commas, unrated)', 'severity:critical,major'), ('source: licence:', 'carried by a source (a,b = either); licence class', 'source:et-open licence:copyleft'), ('ioc:', 'yes, no or an indicator type (domain ip url ja3 cert_fingerprint dataset)', 'ioc:ja3'), ('flowbits:', 'sets or checks this flowbit', 'flowbits:ET.http.binary'), ('metadata:', 'a metadata key=value, or a key alone', 'metadata:malware_family=Cobalt_Strike'), ('loads: fails:', 'checked in an engine (short names: 7, 8)', 'fails:7'), ('flag:', 'missing_setter, needs_files, deprecated, retired, no_prefilter_content', 'flag:missing_setter'), ('dialect:', 'suricata, both or snort', 'dialect:both'), ('cat: mitre: enabled:', 'name category, ATT&CK id, enabled upstream', 'cat:"ET INFO"'), ('remapped:', 'the sid clashed and was remapped', 'remapped:yes'), ('updated> score>=', 'updated after a date; ranking score', 'updated>2026-01-01')] %} {% endfor %}
FilterMeaningExample
{{ f }}{{ meaning }}{{ ex }}

Command line

{{ copy_btn('#cli-text') }}
suriharvest init --preset core          # new workspace in this folder (core | community | all)suriharvest update                      # download, check, index, gates, rebuild profilessuriharvest sync et-open                # one source onlysuriharvest validate                    # suricata -T on every new rule (cached)suriharvest sources listsuriharvest sources add my-rules https://github.com/OWNER/REPO --type git --licence MIT --redistribute yessuriharvest search 'cobalt strike app:http ioc:no'suriharvest show 2024897suriharvest profile exclude default 'ET INFO' --reason 'noise'suriharvest profile build default       # data/profiles/default/<time>/suricata.rulessuriharvest profile diff default        # previous build -> latestsuriharvest export 'source:et-open' --out out/ --by-source --redistributable-onlysuriharvest runs accept latest          # a failed gate was an intended changesuriharvest serve                         # this page

Daily work in the browser

  1. Overview → Download new rules: every enabled source, checked in Suricata, every profile rebuilt. Sources → Download only this does it for one source.
  2. Builds & changes → New to review: what a profile would get that is not in its last build. Tick what you do not want and exclude it.
  3. Profiles & exclusions: add by name, or search and tick rules; also in exclusions/<profile>.yaml. Rebuild now applies it.
  4. Export: suricata.rules, one file per source, or a suricata-update URL.
{% endblock %}