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

Snort 3.1.74.0 #14

Merged
merged 5 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Define variables for build args
ALPINE_VERSION := 3.18.2
ALPINE_VERSION := 3.18.4
CONTAINERFILE=Containerfile

# User may specify the architecture to build else build for the host
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# Krakatoa
![Docker-Image CI](https://github.com/wtfbbqhax/Krakatoa/actions/workflows/docker-image.yml/badge.svg)

**FROM [Alpine Linux 3.18.2](https://www.alpinelinux.org/posts/Alpine-3.15.9-3.16.6-3.17.4-3.18.2-released.html)**
![Krakatoa-Image Logo](doc/silhouette-of-krakatoa-volcano-eruption.svg)

**FROM [Alpine Linux 3.18.4](https://www.alpinelinux.org/posts/Alpine-3.18.4-released.html)**

This repository serves as a reference for building a custom Alpine container images based on the Alpine Linux. We make use of the Alpine Packaging tools `abuild` and `apk` to build a package repository local to the image itself. The local package repo builds package and subpackage targets from the software listed below.

### Packaged Software
Several dependencies to build a complete version of Snort 3 are not part officially supported by Alpine Linux or what does exist did not meet my expectations so they've been pulled directly. Additionally, the Snort3, Snort3 Extra and LibDAQ packages were solely produced for **Krakatoa**.

* [Snort3 3.1.67.0](https://github.com/snort3/snort3/releases/tag/3.1.67.0)
* [Snort3 Extra 3.1.67.0](https://github.com/snort3/snort3_extra/releases/tag/3.1.67.0)
* [Snort3 3.1.74.0](https://github.com/snort3/snort3/releases/tag/3.1.74.0)
* [Snort3 Extra 3.1.74.0](https://github.com/snort3/snort3_extra/releases/tag/3.1.74.0)
* [hwloc 2.9.1](https://www-lb.open-mpi.org/software/hwloc/v2.9/)
* [jemalloc 5.3.0](https://github.com/jemalloc/jemalloc/releases/tag/5.3.0/)
* [Vectorscan 5.4.9](https://github.com/VectorCamp/vectorscan/releases/tag/vectorscan/5.4.9)
* [LibDAQ 3.0.12](https://github.com/snort3/libdaq/releases/tag/v3.0.12)
* [Vectorscan 5.4.10.1](https://github.com/VectorCamp/vectorscan/releases/tag/vectorscan/5.4.10.1)
* [LibDAQ 3.0.13](https://github.com/snort3/libdaq/releases/tag/v3.0.13)
* [AbcIP 2.4.1](https://github.com/crc181/abcip)[^1]
* [Lightspd Manifest 0.1.0](https://github.com/wtfbbqhax/lightspd-manifest)

Expand Down
25 changes: 25 additions & 0 deletions doc/silhouette-of-krakatoa-volcano-eruption.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/hyperscan/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Based on original by Duncan Bellamy <[email protected]>
# Vectorscan, a hyperscan alternative that works on aarch64.
pkgname=hyperscan
pkgver=5.4.9
pkgver=5.4.10.1
pkgrel=0
pkgdesc="A fork of Intel's Hyperscan, modified to run on more platforms."
url="https://github.com/VectorCamp/vectorscan"
Expand Down Expand Up @@ -71,5 +71,5 @@ tools() {
}

sha512sums="
2a482eaf60a51efb6f1235eb0c2614e791b3533d346b5e42c6b1362afa12f3ebf2ae2d32c125dfdb665bae55cdbe8f099f8466cda131ef6ce1dd6ece0a3f1458 vectorscan-5.4.9.tar.gz
6965dfaca563648b4fc226497381fb45a12ed921a87730c97081a83af795110af621c8908d08685df450c09acc1cc77ba7b313b78a1997184d1cd28ec8607b15 vectorscan-5.4.10.1.tar.gz
"
4 changes: 2 additions & 2 deletions packages/libdaq/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# TODO Make sure module debug symbols do not get packaged into the libdaq-dbg
pkgname=libdaq
pkgver=3.0.12
pkgver=3.0.13
pkgrel=0
pkgdesc="Snort3 DAQ"
url="www.snort.org"
Expand Down Expand Up @@ -191,7 +191,7 @@ gwlb_module_static() {
}

sha512sums="
e2699bd97045d195e9c3187beaa56da53f907751ed87e6dfd7b90bbc138f8dc21d2b3fe1aae731ee198e01e0d124dab9e52291ad909ed65147277ae82b62b58a libdaq-3.0.12.tar.gz
56750b2d0ea783fd1527d2d8c9ed4e05db32c4a6adacfd5c23a1e4a9b0de63617a3920a428914b8bb6113dabb6f98ad6da4f0d118809c06a19b58fd72d7f7615 libdaq-3.0.13.tar.gz
"

# FIXME Breakout dbg symbols for each daq module into separate packages.
Expand Down
4 changes: 2 additions & 2 deletions packages/snort3/APKBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Contributor: Victor Roemer <[email protected]>
# Maintainer: Victor Roemer <[email protected]>
pkgname=snort3
pkgver=3.1.67.0
pkgver=3.1.74.0
pkgrel=0
pkgdesc="Snort3 Intrusion Prevention System"
url="www.snort.org"
Expand Down Expand Up @@ -89,5 +89,5 @@ utils() {
}

sha512sums="
8cfcec96ca8a9d0aa1613427c4ba69b2b6704f963d3b6be40e360c5ae797c5c6300bb9b4a5016e2f6407902ee125eecfc2dccf34f6f3c6b121a270f98afbedc4 snort3-3.1.67.0.tar.gz
b2b32f0b186899863296df839d5fed99bacf75c958096207994fabe83e00dfafc292cd5e5b7f889b392811e0ff2f2b21206e808f48212b2a65c3eeb30b205bdf snort3-3.1.74.0.tar.gz
"
4 changes: 2 additions & 2 deletions packages/snort3_extra/APKBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Contributor: Victor Roemer <[email protected]>
# Maintainer: Victor Roemer <[email protected]>
pkgname="snort3-extra"
pkgver=3.1.67.0
pkgver=3.1.74.0
pkgrel=0
pkgdesc="Snort3 Extra Stuff"
url="https://github.com/snort3/snort3_extra"
Expand Down Expand Up @@ -31,5 +31,5 @@ package() {
}

sha512sums="
e3e574a0152495f38549164ab03c38b912cb6ef61f8ce32ce62305cf329fdc57811647d3ea2939f15307033ce076f58cdc5560f6fb2b671d32f1cedfd3cb60f7 snort3-extra-3.1.67.0.tar.gz
ebea47049b26fe6a187aca6564ae1a524dc5b176bde9d3b22b3e833215adbee2241e38648428618674f46461a862130a7a78049ad0fa20d191909123fd1b2dc3 snort3-extra-3.1.74.0.tar.gz
"