Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track latest Suricata release rather than what's in Debian stable APT repository #462

Closed
mmguero opened this issue Apr 23, 2024 · 3 comments
Assignees
Labels
build For issues related to compilation/building enhancement New feature or request suricata Relating to Malcolm's use of Suricata
Milestone

Comments

@mmguero
Copy link
Collaborator

mmguero commented Apr 23, 2024

Currently the Malcolm builds (for both Hedgehog Linux and Malcolm Docker image) is grabbing Suricata from the Debian stable APT repositories.

We need to change the mechanism for doing this to be more like what we're doing for Zeek: determine the latest stable release (currently 7.0.x) and either grab official packages or build from source.

This involves not only changes to Malcolm but also we need to verify that the code today that we have for generating suricata.yaml, update, etc., to make sure that we handle getting from 6.x to 7.x.

@mmguero mmguero added enhancement New feature or request build For issues related to compilation/building suricata Relating to Malcolm's use of Suricata labels Apr 23, 2024
@mmguero mmguero added this to the v24.05.0 milestone Apr 23, 2024
@mmguero mmguero added this to Malcolm Apr 23, 2024
@mmguero mmguero added the falcon label Apr 23, 2024
@mmguero mmguero moved this to Todo (design) in Malcolm Apr 23, 2024
@mmguero mmguero self-assigned this Apr 23, 2024
@mmguero mmguero moved this from Todo (design) to In Progress in Malcolm May 1, 2024
@mmguero
Copy link
Collaborator Author

mmguero commented May 1, 2024

The debian bookworm-backports repository has the suricata version we want. Rather than increasing build times by doing it from source, we will install from backports and explicitly set the version we wish to install.

@mmguero mmguero changed the title Track latest Suricata release rather than what's in Debian APT repository Track latest Suricata release rather than what's in Debian stable APT repository May 1, 2024
mmguero added a commit to mmguero-dev/Malcolm that referenced this issue May 1, 2024
mmguero added a commit to mmguero-dev/Malcolm that referenced this issue May 1, 2024
mmguero added a commit to mmguero-dev/Malcolm that referenced this issue May 2, 2024
mmguero added a commit to mmguero-dev/Malcolm that referenced this issue May 2, 2024
mmguero added a commit to mmguero-dev/Malcolm that referenced this issue May 2, 2024
@mmguero
Copy link
Collaborator Author

mmguero commented May 2, 2024

I've also gone through the suricata_config_populate.py and compared suricata.yaml.in to get the differences between the suricata.yaml config files between the two versions, and added code to handle new environment variables supported in the 7.0.x config file.

@mmguero mmguero moved this from In Progress to Testing in Malcolm May 2, 2024
@mmguero mmguero moved this from Testing to In Progress in Malcolm May 2, 2024
mmguero added a commit to mmguero-dev/Malcolm that referenced this issue May 2, 2024
@mmguero mmguero moved this from In Progress to Testing in Malcolm May 2, 2024
@mmguero
Copy link
Collaborator Author

mmguero commented May 6, 2024

Working, Malcolm:

Image

Hedgehog:

Image

Data from both Malcolm and Hedgehog:

Image

Image

I think we're good. Closing.

@mmguero mmguero closed this as completed May 6, 2024
@github-project-automation github-project-automation bot moved this from Testing to Done in Malcolm May 6, 2024
This was referenced May 29, 2024
@mmguero mmguero moved this from Done to Released in Malcolm May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build For issues related to compilation/building enhancement New feature or request suricata Relating to Malcolm's use of Suricata
Projects
Status: Released
Development

No branches or pull requests

1 participant