Skip to content

westlaker/snort3-docker

Repository files navigation

Create docker images that support Snort3.1.1.0.

We use this pcap for testing:

wget https://download.netresec.com/pcap/maccdc-2012/maccdc2012_00001.pcap.gz

Before create your docker, please get above pcap files, run gunzip on it, the docker build script will load it into the docker you build.

Build docker image, run this:

./build_docker.sh

Eventually you will see the snort -V like this:

snort -V

,,_ -> Snort++ <-

o" )~ Version 3.1.1.0

'''' By Martin Roesch & The Snort Team

       http://snort.org/contact#team

       Copyright (C) 2014-2020 Cisco and/or its affiliates. All rights reserved.

       Copyright (C) 1998-2013 Sourcefire, Inc., et al.

       Using DAQ version 3.0.0

       Using LuaJIT version 2.1.0-beta3

       Using OpenSSL 1.1.1f  31 Mar 2020

       Using libpcap version 1.9.1 (with TPACKET_V3)

       Using PCRE version 8.44 2020-02-12

       Using ZLIB version 1.2.11

       Using FlatBuffers 1.12.0

       Using Hyperscan version 5.3.0 2021-02-10

       Using LZMA version 5.2.4

Spawn Multiple Snort Instances in Parallel

./run_snort_on_mcores.sh 24 hyperscan

These 24 intances will be run on cores 1~24 all at once, then watch htop to see cores/memory utilization. Once they are winding down, hit any key. Then all output will be collected in this directory:

cat snort-24-cores-hyperscan-results-02-12-21-19-00/snort-24-cores-hyperscan-results.csv

After that, you can delete all 24 container instances:

./delete-last-docker.sh 24

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published