Skip to content

Commit a77c7bd

Browse files
Documentation for netsniff installation
1 parent 01bad5b commit a77c7bd

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Automated packet capture using Netsniff-ng
2+
3+
## Downloading and installing the tool
4+
5+
> **Note:** At the moment, there is no automation present for netsniff-ng tool installation on the capturing machine. It must be installed on the system manually before running the test. If the capture fails, the test continues without the packet capture.
6+
7+
There is an official instruction on how to download the tool present on the [tool's website](http://netsniff-ng.org/). It can also be useful for finding mirrors of the repositories. Below, only the Github repository is considered as a source.
8+
9+
```shell
10+
NETSNIFF_REPO="https://github.com/netsniff-ng/netsniff-ng"
11+
NETSNIFF_VERSION="v0.6.9"
12+
```
13+
14+
### Download the repository
15+
16+
1. Clone the repository
17+
2. Change directory to the cloned repository
18+
3. Checkout on the proper release branch
19+
20+
```shell
21+
git clone "${NETSNIFF_REPO}" netsniff-ng # 1.
22+
cd netsniff-ng # 2.
23+
git checkout "${VERSION}" # 3.
24+
```
25+
26+
Alternatively:
27+
28+
1. Download the release package
29+
2. Unpack the package
30+
31+
```shell
32+
wget "${NETSNIFF_REPO}/archive/refs/tags/${NETSNIFF_VERSION}.tar.gz" # 1.
33+
tar xvz "${NETSNIFF_VERSION}" # 2.
34+
```
35+
36+
### Install the repository
37+
38+
> **Note:** The [document](https://github.com/netsniff-ng/netsniff-ng/blob/main/INSTALL) is also available online (main branch)
39+
40+
1. Use the INSTALL document from repository root to install the tool

0 commit comments

Comments
 (0)