mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2026-10-22 15:12:23 +00:00
Update README.md
This commit is contained in:
parent
b3a1035afa
commit
6eb024378e
1 changed files with 5 additions and 6 deletions
11
README.md
11
README.md
|
|
@ -48,13 +48,12 @@ The application can then be run using ```sniffnet [OPTIONS]```
|
|||
<summary>Build on Linux <img alt="" src="https://user-images.githubusercontent.com/100347457/193474239-c48d37af-d4c1-4a94-9207-0d46c6d75f1f.png" width="35px"/></summary>
|
||||
|
||||
<br>
|
||||
In order to build and run Sniffnet on Linux systems, install the libraries and header files for the libpcap library. For example:
|
||||
|
||||
In order to build and run Sniffnet on Linux systems, install the libraries and header files for the libpcap library:
|
||||
`sudo apt-get install libpcap-dev`
|
||||
|
||||
- On Debian based Linux: ```install libpcap-dev```.
|
||||
|
||||
- On Fedora Linux: ```install libpcap-devel```.
|
||||
|
||||
- Note that if you are not running as root, you need to set capabilities like so: ```sudo setcap cap_net_raw,cap_net_admin=eip path/to/bin```.
|
||||
Note that if you are not running as root, you need to set capabilities like so:
|
||||
`sudo setcap cap_net_raw,cap_net_admin=eip ~/.cargo/bin/sniffnet`
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue