Sign inSign up

openeuler/suricata

Sponsored OSS

By openeuler

•Updated 27 days ago

Image
0

5.9K

openeuler/suricata repository overview

⁠Quick reference

⁠Suricata | openEuler

Current Suricata docker images are built on the openEuler⁠. This repository is free to use and exempted from per-user rate limits.

Suricata is a high performance Network IDS, IPS and Network Security Monitoring engine. It is open source and owned by a community-run non-profit foundation, the Open Information Security Foundation (OISF⁠). Suricata is developed by the OISF.

The tag of each suricata docker image is consist of the version of suricata and the version of basic image. The details are as follows

TagsCurrentlyArchitectures
8.0.7-oe2403sp4⁠suricata 8.0.7 on openEuler 24.03-LTS-SP4amd64, arm64
8.0.4-oe2403sp4⁠suricata 8.0.4 on openEuler 24.03-LTS-SP4amd64, arm64
8.0.4-oe2403sp3⁠suricata 8.0.4 on openEuler 24.03-LTS-SP3amd64, arm64
8.0.1-oe2403sp2⁠suricata 8.0.1 on openEuler 24.03-LTS-SP2amd64, arm64
7.0.8-oe2403lts⁠suricata 7.0.8 on openEuler 24.03-LTSamd64, arm64

⁠Usage

In this usage, users can select the corresponding {Tag} based on their requirements.

  • Online Documentation You can find the latest suricata documentation, including a programming guide, on the project web page⁠. This README file only contains basic setup instructions.

  • Pull the openeuler/suricata image from docker

    docker pull openeuler/suricata:{Tag}
    
  • Usage You will most likely want to run Suricata on a network interface on your host machine rather than the network interfaces normally provided inside a container:

    docker run -it --rm \
    -v /var/log/suricata:/var/log/suricata \
    -v /var/lib/suricata:/var/lib/suricata \
    -v /var/run/suricata:/var/run/suricata \
    -v /etc/suricata:/etc/suricata \
    --net=host \
    --cap-add=net_admin \
    --cap-add=net_raw \
    --cap-add=sys_nice \
    openeuler/suricata:<Tag> \
    -i eth0
    

    Additionally, this container will attempt to run Suricata as a non-root user provided the containers has the capabilities to do so. In order to monitor a network interface, and drop root privileges the container must have the sys_nice, net_admin, and net_raw capabilities. If the container detects that it does not have these capabilities, Suricata will be run as root.

  • Container startup options

    OptionDescription
    -i eth0Specify that Suricata should monitor the network interface eth0.
    -v /var/log/suricata:/var/log/suricataMount the log directory.
    -v /var/lib/suricata:/var/lib/suricataMount the lib directory.
    -v /etc/suricata:/etc/suricataMount the configuration file directory.
    -v /etc/suricata:/etc/suricataMount the configuration file directory.
    --cap-add=net_adminAllow the container to perform network administration tasks.
    --cap-add=sys_niceAllow the container to adjust the priority (nice value) of processes running inside it.
    --cap-add=net_rawGrant the container the ability to send and receive raw network packets.
    --net=hostAllows the container to use the host's network directly.
  • To get an interactive shell

    docker run -it --rm --entrypoint bash openeuler/suricata:{Tag} bash
    

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:01178ec08…

Size

329.3 MB

Last updated

27 days ago

docker pull openeuler/suricata

This week's pulls

Pulls:

30

Last week