Ansible playbook for the installation of pf_ring and zeek
This will install zeek with pf_ring support. In addition filebeat will be installed and ship logs to port 5044 of your log receiver.
Various options can be set in the zeek_pf_ring/vars/main.yml file. The most important ones are:
zeek_interface:
timezone:
FILEBEAT_OUTPUT_HOST:
git clone https://github.com/iamckn/zeek_pfring_ansible
cd zeek_pfring_ansible
Edit the hosts file in that folder and fill in the IP field with the zeek server IP
ansible-playbook setup.yml -u root -k -i hosts -t pre_setup
ansible-playbook setup.yml -u root -k -i hosts -t install_pf_ring
ansible-playbook setup.yml -u root -k -i hosts -t install_zeek
ansible-playbook setup.yml -u root -k -i hosts -t install_filebeat
ansible-playbook setup.yml -u root -k -i hosts