Feature #695
closed
Ubuntu PPA Doesn't Install Any Rules
Added by Kevin Harriss almost 12 years ago.
Updated over 8 years ago.
Description
I just installed Suricata-stable from the Ubuntu PPA for 12.04 per the installation guide. When I installed the package it didn't install any rules. I am not sure if this is the correct behavior but the documentation doesn't give steps to installing the rules for a package install. Usually Ubuntu packages would install a rule set along with the package or have a separate package for the rules.
Kevin Harriss
- Tracker changed from Bug to Feature
- Priority changed from High to Normal
- Assignee set to Peter Manev
- Target version set to TBD
- % Done changed from 0 to 90
The current 2.0.2 Ubuntu PPA Launchpad package downloads and installs a full ET Open ruleset.
How does it install them? What happens if it encounters an existing ruleset?
It overrides.
It can be made to ask Y|N - but then that would mean that apt-get upgrade would stop and not continue until the user answers.
Hmm this not is how the packaging should behave. It needs to be non-interactive and it certainly shouldn't override and existing config/rulesetup.
I know that Debian has a separate package for rules (https://packages.debian.org/sid/snort-rules-default), but that is a not a good approach either. It lacks update capabilities. In general, data like rules shouldn't be in debs. It's too volatile and needs to be updated regularly (daily/weekly).
I really think the proper way would be to install oinkmaster/pulledpork with a tuned for suri default configuration. But this doesn't belong in the suricata ppa package though. We could consider offering such an oinkmaster or pulledpork package through our ppa, but thats another thing to maintain then.
Yes... I agree - this is a challenge.
Maybe we can download the rules in a sub dir of /etc/suricata/rules/ETOpen-date or something like this? (during upgrade/install)
That way we will not override any rules if such exist and there will be a rule-set to use if none is present.
- Target version changed from TBD to Packaging/PPA
- Status changed from New to Closed
Also available in: Atom
PDF