It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda XDR

Setting up the Barracuda XDR Collector for Barracuda IDS for Linux

  • Last updated on

This setup is for the XDR Collector only. If you are using a physical or virtual sensor, refer to Integrating Barracuda IDS.

The XDR Collector runs as a service in your environment. While the minimum specifications are listed below, the required resources depend on the number of active integrations and the amount of data being processed.

Install the XDR Collector on each server you want to monitor. 

Minimum requirements

To set up the XDR Collector, the minimum requirements are the following:

Minimum requirements
CPU2vCPU
Disk Size10GB SSD
Memory1GB
Network interface cards (NICs)2

For Barracuda IDS/Suricata, the host must have 2 Network Interface Cards. One to monitor span traffic and one for host traffic.

Operating System

  • Ubuntu 22.04 (Recommended)
  • For other versions, see the Elastic Agent 8.12.x row in the Elastic Agent table on this page.

IP Address requirements

Two private static IP addresses are required, one for each Ethernet interface.

Required Endpoint/Port Communication

The XDR Collector must be able to communicate to the following endpoints/ports:

Logstash

a96190b49bd294a5fbb3725ff20aab78-c7f64fe7557a87d2.elb.us-east-1.amazonaws.com:5044

Management Server

b5e9a5096e0a4f7782cc444c8edbbd5e.fleet.us-east-1.aws.found.io:443

Update Server

artifacts.elastic.co:443

Dedicated Host Requirements

Barracuda IDS/Suricata requires that the collector run in a dedicated host.

Setting Up the XDR Collector for Linux for Barracuda IDS

To set up the XDR Collector for Linux, perform the following procedures:
  • To configure a static IP address
  • To install the XDR Collector
  • To set up switch port mirroring
  • To install Suricata
To configure a static IP address
To install the XDR Collector
The install command is unique to the current selected account and should only be run on systems within that environment.
  1. In Barracuda XDR Dashboard, click Infrastructure Collectors.
  2. In the Policies table, next to the on-prem policy, click Action Install.
  3. Click Linux.
    InstallXDRCollectorDialog1.png
  4. Copy the command at the bottom of the dialog box.
    InstallXDRCollectorDialog2.png
  5. Open a terminal on the appropriate system, paste the command, and run it.
To set up switch port mirroring
  1. Connect the secondary Ethernet interface on the XDR Collector's host machine to the mirrored port on the switch.
  2. Configure the switch to mirror traffic in both directions on all other ports on the switch.
Checking the Status of the Barracuda XDR Elastic Collector

To check the status of the XDR Collector, open a terminal and run the following command:
elastic-agent status

To install Suricata
  1. If using Ubuntu, add the Suricata repository:
    sudo add-apt-repository ppa:oisf/suricata-stable
  2. Update and install Suricata.
    • For Ubuntu/Debian, run the following:
      sudo apt-get update
      sudo apt-get install suricata
    • For RHEL/CentOS/Rocky/Alma/Fedora, run the following:
      sudo dnf update -y
      sudo dnf install suricata

      For RHEL/CentOS/Rocky releases, the EPEL repository must be enabled

  3. Enable the Suricata service by running the following:
    sudo systemctl enable suricata.service --now
  4. Set the host machine's secondary interface in the configuration file, by doing the following:
    • To open the suricata.yaml configuration file in Nano, open a terminal on the appropriate system and run the following command:
      sudo nano /etc/suricata/suricata.yaml
    • To search for af-packet, press CTRL+W.
    • Next to interface:, press the spacebar, then enter the secondary network interface.

      Example For example, if the secondary network interface is eth0, the code should read:
      af-packet:
        - interface: eth0
    • To save the file, press CTRL + O.
    • To exit, press CTRL + X.
  5. Restart the Suricata service by doing the following:
    sudo systemctl restart suricata.service

Suricata should now be running in the background. To verify that Suricata is generating new entries in the log file, run the following command in the same directory where you installed Suricata:
sudo tail -f /var/log/suricata/eve.json