From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Subject: [PATCH 1/4] ruleset-sources: Add details about rule sid and info URL
Date: Mon, 9 Feb 2026 15:23:19 +0100 [thread overview]
Message-ID: <20260209142322.2481-1-stefan.schantl@ipfire.org> (raw)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
config/suricata/ruleset-sources | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/config/suricata/ruleset-sources b/config/suricata/ruleset-sources
index af65648af..5b9073d85 100644
--- a/config/suricata/ruleset-sources
+++ b/config/suricata/ruleset-sources
@@ -13,6 +13,8 @@ package IDS::Ruleset;
# requires_subscription => "True/False" - If some kind of registration code is required in order to download the ruleset.
# dl_url => The download URL to grab the ruleset.
# dl_type => "archive/plain" - To specify, if the downloaded file is a packed archive or a plain text file.
+# sid_range => The sid range which the provider uses for it's rules, specified as an array. "[start sid, stop sid]"
+# sid_info_url => An URL which provides additional information about a rule based on it's sid.
# },
# Hash which contains the supported ruleset providers.
@@ -25,6 +27,8 @@ our %Providers = (
requires_subscription => "True",
dl_url => "https://www.snort.org/rules/snortrules-snapshot-29200.tar.gz?oinkcode=<subscription_code>",
dl_type => "archive",
+ sid_range => ["1", "1000000"],
+ sid_info_url => "https://www.snort.org/rule_docs/1-<sid>",
},
# Ruleset for registered sourcefire users with a valid subscription.
@@ -35,6 +39,8 @@ our %Providers = (
requires_subscription => "True",
dl_url => "https://www.snort.org/rules/snortrules-snapshot-29200.tar.gz?oinkcode=<subscription_code>",
dl_type => "archive",
+ sid_range => ["1", "1000000"],
+ sid_info_url => "https://www.snort.org/rule_docs/1-<sid>",
},
# Community rules from sourcefire.
@@ -45,6 +51,8 @@ our %Providers = (
requires_subscription => "False",
dl_url => "https://www.snort.org/downloads/community/community-rules.tar.gz",
dl_type => "archive",
+ sid_range => ["1", "1000000"],
+ sid_info_url => "https://www.snort.org/rule_docs/1-<sid>",
},
# Emerging threats community rules.
@@ -55,6 +63,8 @@ our %Providers = (
requires_subscription => "False",
dl_url => "https://rules.emergingthreats.net/open/suricata-5.0/emerging.rules.tar.gz",
dl_type => "archive",
+ sid_range => ["2000000", "2999999"],
+ sid_info_url => "https://threatintel.proofpoint.com/sid/<sid>",
},
# Emerging threats Pro rules.
@@ -65,6 +75,8 @@ our %Providers = (
requires_subscription => "True",
dl_url => "https://rules.emergingthreatspro.com/<subscription_code>/suricata-5.0/etpro.rules.tar.gz",
dl_type => "archive",
+ sid_range => ["2000000", "2999999"],
+ sid_info_url => "https://threatintel.proofpoint.com/sid/<sid>",
},
# Abuse.ch SSLBL Blacklist rules.
@@ -72,6 +84,7 @@ our %Providers = (
summary => "Abuse.ch SSLBL Blacklist Rules",
website => "https://sslbl.abuse.ch/",
tr_string => "sslbl blacklist rules",
+ sid_range => ["902200000", "902299999"],
},
# Etnetera Aggressive Blacklist.
@@ -82,6 +95,7 @@ our %Providers = (
requires_subscription => "False",
dl_url => "https://security.etnetera.cz/feeds/etn_aggressive.rules",
dl_type => "plain",
+ sid_range => ["500000", "599999"],
},
# OISF Traffic ID rules.
@@ -92,6 +106,7 @@ our %Providers = (
requires_subscription => "False",
dl_url => "https://openinfosecfoundation.org/rules/trafficid/trafficid.rules",
dl_type => "plain",
+ sid_range => ["300000000", "301000000"],
},
# Positive Technologies Attack Detection Team rules.
@@ -99,6 +114,7 @@ our %Providers = (
summary => "PT Attack Detection Team Rules",
website => "https://github.com/ptresearch/AttackDetection",
tr_string => "attack detection team rules",
+ sid_range => ["10000000", "11999999"],
},
# Secureworks Security rules.
@@ -130,6 +146,7 @@ our %Providers = (
requires_subscription => "False",
dl_url => "https://threatfox.abuse.ch/downloads/threatfox_suricata.rules",
dl_type => "plain",
+ sid_range => ["91000000", "91999999"],
},
# Travis B. Green hunting rules.
@@ -140,6 +157,7 @@ our %Providers = (
requires_subscription => "False",
dl_url => "https://raw.githubusercontent.com/travisbgreen/hunting-rules/master/hunting.rules",
dl_type => "plain",
+ sid_range => ["2610000", "2619999"],
},
ipfire_dbl => {
@@ -149,5 +167,6 @@ our %Providers = (
requires_subscription => "False",
dl_url => "https://dbl.ipfire.org/lists/suricata.tar.gz",
dl_type => "archive",
+ sid_range => ["406000000", "406999999"],
},
);
--
2.47.3
next reply other threads:[~2026-02-09 14:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-09 14:23 Stefan Schantl [this message]
2026-02-09 14:23 ` [PATCH 2/4] ids-functions.pl: Add function to get the provider by a given rule id Stefan Schantl
2026-02-09 14:23 ` [PATCH 3/4] ids-functions.pl: Add function to get the info url for " Stefan Schantl
2026-02-09 14:23 ` [PATCH 4/4] logs.cgi/ids.dat: Use new mechanic to obtain sid info url's Stefan Schantl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260209142322.2481-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox