You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/snort3-multithreading/build-and-install.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Install Snort3 and the required dependencies
2
+
title: Installing Snort 3 and the required dependencies
3
3
weight: 2
4
4
5
5
### FIXED, DO NOT MODIFY
@@ -10,15 +10,15 @@ Snort is an Open Source Intrusion Prevention System (IPS). Snort uses a series o
10
10
11
11
Multithreading in Snort 3 refers to the ability to associate multiple threads with a single Snort instance enabling the concurrent processing of multiple packet files. This optimization frees up additional memory for further packet processing.
12
12
13
-
In order to enable multithreading in Snort3, specify the quantity of threads designated for processing network traffic using either the '--max-packet-threads' or '-z' option.
13
+
In order to enable multithreading in Snort 3, specify the number of threads designated for processing network traffic using either the `--max-packet-threads` or `-z` option.
14
14
15
15
{{%notice Note%}}
16
16
The instructions provided have been tested on AWS EC2 Graviton4 instance, based on Neoverse V2. The examples are easiest to use if you have at least 16 cores in the system.
17
17
{{%/notice%}}
18
18
19
19
## Compile and build Snort3
20
20
21
-
To install Snort3, use a text editor to save the script below on your Arm server in a file named `install-snort.sh`.
21
+
To install Snort 3, use a text editor to save the script below on your Arm server in a file named `install-snort.sh`.
22
22
23
23
<!-- add github link for the below file [build_snort3.sh]() -->
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/snort3-multithreading/usecase.md
+25-24Lines changed: 25 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,13 @@ layout: learningpathall
8
8
9
9
Before testing multithreading performance, perform the following steps to configure your system:
10
10
11
-
1. Configure Grub settings
12
-
2. Set up the Snort3 rule set
13
-
3. Download the PCAP files
14
-
4. Adjust Lua configurations
11
+
1. Configure the Grub settings
12
+
2. Set up the Snort 3 rule set
13
+
3. Download the packet capture files
14
+
4. Adjust the Lua configurations
15
+
5. Review the Snort parameters
15
16
16
-
## Configure Grub settings
17
+
## Configure the Grub settings
17
18
18
19
To enable Transparent HugePages (THP) and configure CPU isolation and affinity, append the following line to the /etc/default/grub file:
19
20
@@ -71,7 +72,7 @@ The output shows the isolated processors:
71
72
0-9
72
73
```
73
74
74
-
## Set up the Snort3 rule set
75
+
## Set up the Snort 3 rule set
75
76
76
77
Download the rule set from https://www.snort.org/ and extract it into your working directory. You should start in the `build` directory you used to build snort.
77
78
@@ -95,9 +96,9 @@ Copy the `lua` folder from the `snort3` source directory into the rules director
95
96
cp -r snort3/lua/ Test/snortrules/
96
97
```
97
98
98
-
## Download the packet capture (PCAP) files
99
+
## Download the packet capture files
99
100
100
-
You can use any PCAP files that are relevant to your test scenario.
101
+
You can use any packet capture (PCAP) files that are relevant to your test scenario.
Include the above file in`snort.lua` by editing the file and adding the line below to the end of the file.
155
+
Include the above file in`snort.lua` by editing the file and adding the line below to the end of the file:
155
156
156
157
``` bash
157
158
include('common.lua')
@@ -176,25 +177,25 @@ Continue to edit `snort.lua` and comment out the `profiler` and `latency` lines
176
177
177
178
### Modify the IPS policy
178
179
179
-
Snort3 allows you to fine-tune setups with the `--tweaks` parameter. This feature allows you to use one of Snort's policy files to enhance the detection engine for improved performance or increased security.
180
+
Snort 3 allows you to fine-tune setups with the `--tweaks` parameter. This feature allows you to use one of Snort's policy files to enhance the detection engine for improved performance or increased security.
180
181
181
-
Snort3 includes four preset policy files: max_detect, security, balanced, and connectivity.
182
+
Snort 3 includes four preset policy files: `max_detect`, `security`, `balanced`, and `connectivity`.
182
183
183
-
The max_detect policy favors maximum security, whereas the connectivity policy focuses on performance and uptime, which may come at the expense of security.
184
+
The `max_detect` policy favors maximum security, whereas the `connectivity` policy focuses on performance and uptime, which may come at the expense of security.
184
185
185
186
### Specify the data acquisition module
186
187
187
-
Snort supports DAQ modules which serves as an abstraction layer for interfacing with data source such as network interface.
188
+
Snort supports data acquisition (DAQ) modules which serve as an abstraction layer for interfacing with a data source such as a network interface.
188
189
189
-
To see list of DAQ modules supported by snort use `--daq-list` command.
190
+
To see list of DAQ modules supported by Snort use `--daq-list` command.
0 commit comments