Hello,
In implementation of suricata-update I see following two things which I have question about:
- If I don’t enable any source, I get following message “No sources configured, will use Emerging Threats Open”. Why is that?
- In “def load_dist_rules(files)”, I see following code:
# In the future hopefully we can just pull in all files from
# /usr/share/suricata/rules, but for now pull in the set of files
# known to have been provided by the Suricata source.
filenames = [
"app-layer-events.rules",
"decoder-events.rules",
"dhcp-events.rules",
"dnp3-events.rules",
"dns-events.rules",
"files.rules",
"http-events.rules",
"ipsec-events.rules",
"kerberos-events.rules",
"modbus-events.rules",
"nfs-events.rules",
"ntp-events.rules",
"smb-events.rules",
"smtp-events.rules",
"stream-events.rules",
"tls-events.rules",
]
The downside of this code is, even if I enable mqtt and ssh, suricata provided rule files, /usr/share/suricata/rules/ssh-events.rules and /usr/share/suricata/rules/mqtt-events.rules respectively, won’t get loaded.
Why is the implementation does not consider mqtt and ssh distribution provided rule files?
Thanks in advance!