Skip to content

About

An Ansible role to deploy Zeek on Debian and Ubuntu hosts in Ludus environments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Zeek (Ludus)

An Ansible role to deploy Zeek on Debian and Ubuntu hosts in Ludus environments.

Warning

This role deploys a minimal, unoptimized Zeek setup using the VM’s primary network interface for packet capture. Intended only for small, controlled test environments. Capturing high volumes of traffic may lead to packet loss, performance degradation, or unstable behavior.

Tip

This role is for general Zeek deployment in Ludus. If you want Zeek for a Splunk Attack Range, use @P4T12ICK's role instead.

Requirements

  • Supported: Debian bookworm/12, trixie/13; Ubuntu jammy/22.04, noble/24.04, questing/25.10, resolute/26.04.
  • Zeek is installed from the openSUSE Build Service (OBS) repo, with URLs built dynamically for supported versions.
  • Tested on Ubuntu 22.04 (jammy), Ubuntu 24.04 (noble), and Debian 12 (bookworm).
  • For VLAN-wide capture, disable bridge-ageing on the Proxmox host’s bridge (see Ludus docs).

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

# Optionally install Zeek addons via zkg - was meant for BZAR but it doesn't seem to work very well with recent Zeek versions
ludus_zeek_install_addons: false
ludus_zeek_addons:
  - bzar

# Zeek OBS repository base
ludus_zeek_repo_base: "https://download.opensuse.org/repositories/security:/zeek"

# NIC configuration
# ens18 is the default interface on Ludus VMs (at least in my environment)
ludus_zeek_nic_name: "ens18"

Dependencies

None.

Example Playbook

- hosts: zeek_hosts
  roles:
    - 5tuk0v.ludus_zeek
  vars:
    ludus_zeek_nic_name: "eth4"

Example Ludus Range Config

ludus:
  - vm_name: "{{ range_id }}-ubuntu-zeek"
    hostname: "linux-zeek"
    template: ubuntu-22.04-x64-server-template
    vlan: 20
    ip_last_octet: 11
    ram_gb: 4
    cpus: 2
    linux: true
    roles:
      - 5tuk0v.ludus_zeek

License

MIT

Author Information

This role was created by 5tuk0v, for Ludus.

About

An Ansible role to deploy Zeek on Debian and Ubuntu hosts in Ludus environments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors