]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: update eBPF compilation instructions
authorLukas Sismis <lsismis@oisf.net>
Tue, 16 Jan 2024 13:47:08 +0000 (14:47 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 15 Jun 2024 13:43:30 +0000 (15:43 +0200)
Ticket: #6599

doc/userguide/capture-hardware/ebpf-xdp.rst

index 116038716eff8166c5ca94108c0b60305bafc882..d9e3b2eeb04d8b545f1fd9a6bab7507cb9552223 100644 (file)
@@ -80,16 +80,15 @@ Make sure you have ``clang`` (>=3.9) installed on the system  ::
 
  sudo apt install clang
 
-Some i386 headers will also be needed as eBPF is not x86_64 and some included headers
-are architecture specific ::
-
- sudo apt install libc6-dev-i386 --no-install-recommends
-
 libbpf
 ~~~~~~
 
 Suricata uses libbpf to interact with eBPF and XDP ::
 
+  sudo apt install libbpf-dev
+
+If the libbpf package is unavailable, it can be cloned from the repository ::
+
  git clone https://github.com/libbpf/libbpf.git
 
 Now, you can build and install the library ::
@@ -109,7 +108,7 @@ Compile and install Suricata
 To get Suricata source, you can use the usual ::
 
  git clone https://github.com/OISF/suricata.git
- cd suricata && git clone https://github.com/OISF/libhtp.git -b 0.5.x
+ cd suricata && ./scripts/bundle.sh
 
  ./autogen.sh