mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 15:32:59 +02:00
Suricata: Update to 5.0.1
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
ee9bc7c477
commit
1a65ea1b72
@@ -6,7 +6,7 @@
|
||||
#
|
||||
# Author : Stefan Schantl <stefan.schantl@ipfire.org>
|
||||
#
|
||||
# Version : 01.02
|
||||
# Version : 01.03
|
||||
#
|
||||
# Notes :
|
||||
#
|
||||
@@ -159,11 +159,11 @@ case "$1" in
|
||||
cpu_count=$(get_cpu_count)
|
||||
|
||||
# Numer of NFQUES.
|
||||
NFQUEUES=
|
||||
NFQUEUES="-q 0"
|
||||
|
||||
for i in $(seq 0 $((cpu_count-1)) ); do
|
||||
NFQUEUES+="-q $i "
|
||||
done
|
||||
if [ $cpu_count -gt "1" ]; then
|
||||
NFQUEUES+=":$(($cpu_count-1))"
|
||||
fi
|
||||
|
||||
# Check if the IDS should be started.
|
||||
if [ "$ENABLE_IDS" == "on" ]; then
|
||||
|
||||
Reference in New Issue
Block a user