Introduction

Suricata is a free and open source, mature, fast and robust network threat detection engine developed by the OISF and the Suricata community. The Suricata engine is capable of real time intrusion detection (IDS), inline intrusion prevention (IPS), network security monitoring (NSM) and offline pcap processing. Suricata can act as a high-level content firewall as well.

Suricata inspects the network traffic using a powerful and extensive rules and signature language, and has powerful Lua scripting support for detection of complex threats. It can log network transactions (flows, connections, high level protocols communication) to JSON files or sockets that integrate well with tools like existing SIEMs, Splunk, elastic stack (Logstash / Filebeat, Elasticsearch, Kibana) or other databases.

This page describes only the specifics of the Debian packages of Suricata and Suricata-Update: Which packages and versions exist, where files are located, how the service is integrated and how rules are managed on Debian.

For everything else, in particular configuration options, the rule language, output formats and performance tuning, please refer to the upstream documentation:

Debian Packages

The Suricata software is well integrated into Debian.

Installing the deb package from the official Debian repository will give you a Suricata ready for use.

Packages available

Package

Contents

suricata

Suricata itself, the engine and some supporting tools

suricata-update

Tool to download and manage rulesets

The suricata package recommends suricata-update, but rule management can also be done without. See Rules for more details.

Manual pages: suricata(1), suricatasc(1), suricatactl(1), suricatactl-filestore(1), suricata-update(1)

Versions, support and security

This table gives an overview of Suricata and Suricata-Update upstream versions, its corresponding packages in the Debian releases and the Debian security issue trackers:

Package

Upstream

Debian packages

Debian Security-Tracker

suricata

Suricata upstream releases

Debian package tracker: suricata

Debian Security Tracker: suricata

suricata-update

Suricata-Update upstream releases

Debian package tracker: suricata-update

Debian Security Tracker: suricata-update

Suricata, by its nature as a security tool, is made for processing untrusted, sometimes malicious input from the network, so keeping Suricata secure is of particular importance for the whole system's security!

The Suricata packages can only be kept secure as long as upstream supports the release series!

See the upstream end of life policy for the actual dates here: EOL Policy

It is up to you to keep your Suricata version up to date and only use versions having active upstream support!

Because backporting of security patches is not always possible, please refer to the Debian security tracker to see the current state of patched / unpatched CVEs.

Debian unstable/sid, testing and stable-backports

Currently, Suricata packages are updated very quickly after an upstream release, so the Debian suites unstable/sid, testing and stable-backports should get new versions pretty soon.

Active development of the packaging is done in the unstable/sid suite, and testing and stable-backports are tracking it closely. This means that in all of these three suites there will be breaking changes when a new Suricata upstream major version comes in and there might be other breaking changes regarding the packaging itself even within minor or patch releases of the package. Be aware of that, when using this suites in production!

Debian stable

Because Suricata releases align with the Debian releases, new Suricata major releases just barely fail to make it into the upcoming Debian release. This means that a new Debian stable release will most likely contain the old Suricata major version with just about one year upstream support left. A series that has reached upstream end-of-life is therefore removed from Debian stable in a point release, so expect Suricata to be removed from a stable release about one year after the release.

Please upgrade to the next Suricata major release from stable-backports within the first year after the Debian release!

Debian oldstable

Since Suricata has most likely already been removed from stable, it won't be available in oldstable any more.

Suricata will probably be available in oldstable-backports though, but use this version just as an upgrade path to stable or stable-backports respectively. Due to backports policy, this version can never be newer than the version in stable, so do not use this EOL version in production environments!

Debusine repositories

Using the Debian Debusine repository service, the goal is to provide up to date versions of each suricata major release series on each supported Debian release.

This is currently an experimental project. If you do not trust the binary packages, feel free to use the Salsa branches to see the source code and to build your own packages from source. Feedback is welcome!

Suricata release

Debian release

Debusine suite and repo

Salsa branch

Suricata 8.0.x

Trixie

trixie-suricata8

debian/8.0.x/trixie

Suricata 8.0.x

Bookworm

bookworm-suricata8

debian/8.0.x/bookworm

Versions here are a little different (e.g. 1:8.0.8-1~deb13+1 for Suricata 8.0.8 on Debian 13 "Trixie") but will lead you back to stable (e.g. 1:8.0.8-1) if an identical Suricata version becomes available there.

Because the debusine repository is tracking the testing suite like backports, be aware that there might be breaking changes regarding new major versions or packaging in that suites!

Other repositories

The OISF repositories (Ubuntu PPAs, Fedora COPR) are not Debian repositories. Their packages are built independently and do not necessarily follow Debian packaging conventions, and there is no official OISF repository for Debian yet. Do not mix them with the Debian packages.

Package installation

Depending on your Debian release and the version or repository you chose, installation can be done as follows:

Debian stable

apt install suricata suricata-update

Debian stable-backports

Configure the backports repository accordingly: Debian Backports Instructions

apt install -t stable-backports suricata suricata-update

Debian unstable/sid and testing

On Debian testing and unstable, add the repository to your apt sources and then install the packages as usual.

Do not mix testing or unstable into a stable installation.

Debusine

On the experimental debusine repository named above, chose the suite in the apt sources according to your Debian release and then install the packages as usual.

Getting started / First startup

Before starting Suricata, it has to be configured properly. Please see the upstream Quickstart guide for details.

The deb packaged version comes with a preconfigured default configuration that requires just a few settings to get Suricata up and running as a systemd service in AF_PACKET mode.

The service is not started automatically on installation, because it cannot work without a configured capture interface.

Before starting the systemd service, at least the following steps are needed:

  1. Set the capture interface in the af-packet section of /etc/suricata/suricata.yaml. The default configuration is not tied to a specific interface, so the service cannot capture traffic until you have set one up. Adapt the remaining settings (for example the HOME_NET networks to protect) as described in the upstream documentation.

  2. Test the configuration:
     suricata -T -c /etc/suricata/suricata.yaml
  3. Install a ruleset, see Rules below.

  4. Enable and start the service:
     systemctl enable --now suricata.service
  5. Check the logs in /var/log/suricata/ and with journalctl -u suricata.service.

See /usr/share/doc/suricata/README.Debian.gz for more details. It also gives some hints on how to override the systemd unit configuration which is needed to run Suricata in other, non AF_PACKET runmodes such as NFQUEUE.

Rules

Suricata has great capabilities in network security monitoring (NSM), but its real power comes from the rules, containing the actual threat-detection patterns. Rules typically come from two places:

suricata-update writes its results to /var/lib/suricata/rules/suricata.rules, and this is the only rule file that Suricata loads in the Debian default configuration. suricata-update detects the Engine Rules in /etc/suricata/rules/ and includes them in this file, so they are loaded as well.

Please refer to the Suricata-Update upstream documentation about rule sources and how to activate them.

Using Suricata-Update

On a basic setup one may want to enable at least the Proofpoint Emerging Threats Open (ET OPEN) ruleset:

  1. Enable the ET OPEN ruleset:
     suricata-update enable-source et/open
  2. Run Suricata-Update to download and test the ruleset:
     suricata-update
  3. Reload Suricata to load and apply the newly updated rules:
     systemctl reload suricata.service

Automatically run Suricata-Update

The Debian packages do not ship a cron job nor a systemd timer for suricata-update. To update the rules regularly, set one up yourself, for example with a daily cronjob like this:

# /etc/cron.d/suricata-update
0 0 * * * root suricata-update --reload-command='suricatasc -c ruleset-reload-nonblocking ' >> /var/log/suricata/suricata-update.log 2>&1

Please be aware of the ruleset reload to actually load the newly updated rules in Suricata!

Unix command socket

In the Debian default configuration Suricata provides an unix command socket at /var/run/suricata/suricata-command.socket to interact with a running Suricata instance. Use the provided tool suricatasc for that.

For example, it can show you the time of the last rule reload:

suricatasc -c ruleset-reload-time
{"message":[{"id":0,"last_reload":"2026-10-31T21:09:39.945494+0000"}],"return":"OK"}

Troubleshooting

In case of trouble (e.g. Suricata does not start), these are the first places to look:

Files and directories

Path

Purpose

/etc/suricata/suricata.yaml

Main configuration file

/etc/suricata/classification.config, reference.config, threshold.config

Further configuration files shipped by upstream

/etc/suricata/rules/*.rules

The upstream Suricata Engine Rules (decoder and protocol event rules)

/var/lib/suricata/rules/suricata.rules

Ruleset generated by suricata-update (created on first run, not part of the package)

/var/log/suricata/

Log directory

/etc/logrotate.d/suricata

Log rotation configuration

/usr/lib/systemd/system/suricata.service

systemd unit

/var/run/suricata/suricata-command.socket

Unix command socket

/usr/lib/suricata/ebpf/

Prebuilt eBPF and XDP programs

/usr/share/doc/suricata/README.Debian.gz, NEWS.Debian.gz

Debian-specific documentation and upgrade notes

Build features

The Debian packages are built with a wide range of capture methods and features. Show what your installed package supports with:

suricata --build-info

The build options can differ between releases and architectures. Some features, such as Hyperscan, are not available on every architecture.

Modifying and building the package

Get the source with apt source suricata or apt source suricata-update.

The packaging is maintained on:

git-buildpackage (gbp) is used as the preferred tool for managing the git repository.

Reporting bugs and contributing

Report problems with the Debian packages to the Debian bugtracker:

See the bugtrackers at:

Report problems in Suricata und Suricata-Update itself directly to upstream.

For contributions to the Debian packages, please create a merge request on Salsa.

Outdated information

Many older tutorials and previous versions of this page describe things that no longer apply to current packages:


CategorySystemSecurity