Oxidize eBPF: eBPF programming with Rust
- Format
- Bog, hæftet
- Engelsk
- 104 sider
Normalpris
Medlemspris
- Du sparer kr. 20,00
- Fri fragt
-
Leveringstid: 7-9 Hverdage (Sendes fra fjernlager) Forventet levering: 03-03-2026
- Kan pakkes ind og sendes som gave
Beskrivelse
eBPF (extended Berkeley Packet Filter) is a virtual machine that can be used to run custom programs inside the Linux kernel. It is a powerful tool that allows low-level system operations to be performed without modifying the kernel itself. This is achieved via the sandboxed eBPF VM that verifies and safely runs the program inside the Linux kernel. eBPF does to Linux what JavaScript does to web browsers. eBPF enables the dynamic addition of new functionality or instrumentation to the Linux kernel without modifying it. This book will teach you to write eBPF programs in Rust that will be compiled to run directly inside the Linux kernel.
To ease the learning curve, the book is divided into two parts. The first part will cover the basics of the eBPF Virtual Machine (VM), the VM instruction set, eBPF maps, and eBPF program types. The first part will also cover the setup required to run an eBPF Rust program and the tools required to debug eBPF programs.
The book's second part will perform a thorough code walkthrough of several eBPF programs covering topics such as adding new instrumentation and modifying kernel behavior. The sample programs included cover topics such asTracepointskprobes (Kernel probes)uprobes (User Space probes)Socket filtersXDP (eXpress Data Path)LSM (Linux Security Module)Traffic ClassifierThese programs will be implemented in Rust using the aya-rs library.
Detaljer
- SprogEngelsk
- Sidetal104
- Udgivelsesdato11-12-2022
- ISBN139798367994193
- Forlag Independently Published
- MålgruppeFrom age 0
- FormatHæftet
Størrelse og vægt
10 cm
Anmeldelser
Vær den første!