Skip to content

cross-logic/ids_install

 
 

Repository files navigation

ids_install

This content is currently under development and should not be considered production ready

A role to install many different Intrusion Detection Systems, these are defined as "providers" to the Role.

Current supported list of providers:

  • snort

Requirements

Red Hat Enterprise Linux 7.x, or derived Linux distribution such as CentOS 7, Scientific Linux 7, etc

Role Variables

Role variables that get put into use are IDS provider specific, they are listed below.

snort

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 and ids_install_snort_daq_version will change upstream sometimes and care should be taken that you are aligned with the correct version.

https://www.snort.org/

snort variables

  • 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.

Dependencies

  • geerlingguy.repo-epel

Example Playbook

- 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"

License

BSD

Author Information

Ansible Security Automation Team

About

Ansible role to install Intrusion Detection Systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%