zeek_pfring_ansible
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:
On the client
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
Prerequisites
ansible-playbook setup.yml -u root -k -i hosts -t pre_setup
Install pf_ring
ansible-playbook setup.yml -u root -k -i hosts -t install_pf_ring
Install zeek
ansible-playbook setup.yml -u root -k -i hosts -t install_zeek
Install filebeat
ansible-playbook setup.yml -u root -k -i hosts -t install_filebeat
Install Everything
ansible-playbook setup.yml -u root -k -i hosts