This file contains the ruleset vendors and download urls and
will be used by the ids.cgi.
If an url or filename changes, we easily can adjust this file. In most
cases this will be needed when performing a snort update.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
#usr/share/doc/snort/WISHLIST
#usr/share/doc/snort/generators
#usr/share/man/man8/snort.8
+var/ipfire/snort/ruleset-sources.list
var/log/snort
--- /dev/null
+# Ruleset for registered sourcefire users.
+registered = https://www.snort.org/downloads/registered/snortrules-snapshot-29110.tar.gz?oinkcode=<oinkcode>
+
+# Ruleset for registered sourcefire users with valid subscription.
+subscripted = https://www.snort.org/downloads/registered/snortrules-snapshot-29110.tar.gz?oinkcode=<oinkcode>
+
+# Community rules from sourcefire.
+community = https://www.snort.org/downloads/community/community-rules.tar.gz
+
+# Emerging threads community rules.
+emerging = http://rules.emergingthreats.net/open/snort-2.9.0/emerging.rules.tar.gz
chown -R nobody:nobody /etc/snort
-mkdir -p /var/log/snort
chown -R snort:snort /var/log/snort
+ install -m 0644 $(DIR_SRC)/config/snort/ruleset-sources.list /var/ipfire/snort
@rm -rf $(DIR_APP) $(DIR_SRC)/snort*
@$(POSTBUILD)