A role to install many different Intrusion Detection Systems, these are defined as "providers" to the Role.
Current supported list of providers:
- snort
Red Hat Enterprise Linux 7.x, or derived Linux distribution such as CentOS 7, Scientific Linux 7, etc
Role variables that get put into use are IDS provider specific, they are listed below.
For the Snort provider you will need to set the ids_install_provider
variable
as such:
vars:
ids_install_provider: snort
From there, all our ids_install_provider_*
variables will be namespaced to the
specific provider.
Note that the
ids_install_snort_version
andids_install_snort_daq_version
will change upstream sometimes and care should be taken that you are aligned with the correct version.
ids_install_provider
- Default value:"snort"
ids_install_normalize_logs
- Default value:True
ids_install_snort_interface
- Default value:eth0
ids_install_snort_version
- Default value:2.9.12
ids_install_snort_daq_version
- Default value:2.0.6
ids_install_snort_rulesversion
- Default value:29120
ids_install_snort_promiscuous_interface
- Default value:False
ids_install_snort_logdir
- Default value:"/var/log/snort"
ids_install_snort_logfile
- Default value:"snort.log"
ids_install_snort_config_path
- Default value:"/etc/snort/snort.conf"
When ids_install_normalize_logs
is set, the role will also install
barnyard2 in service of normalizing the
snort logs.
geerlingguy.repo-epel
- name: configure snort
hosts: idshosts
vars:
ids_install_provider: "snort"
ids_install_normalize_logs: True
tasks:
- name: import ids_install role
import_role:
name: "ids_install"
BSD