Oxidize eBPF: eBPF programming with Rust - Paperback

Oxidize eBPF: eBPF programming with Rust - Paperback

$30.24
Sale price  $30.24 Regular price 
Skip to product information
Oxidize eBPF: eBPF programming with Rust - Paperback

Oxidize eBPF: eBPF programming with Rust - Paperback

$30.24
Sale price  $30.24 Regular price 

by Vishal Patil (Author)

eBPF (extended Berkeley Packet Filter) is a virtual machine that can run custom programs inside the Linux kernel. It is a powerful tool that allows low-level system operations 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 modification. 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 needed 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 as
  • Tracepoints
  • kprobes (Kernel probes)
  • uprobes (User Space probes)
  • Socket filters
  • XDP (eXpress Data Path)
  • LSM (Linux Security Module)
  • Traffic Control Classifier
The above examples are open source and can be found at https: //github.com/vishpat/oxidize-ebpf

The book aims to simplify the understanding of eBPF and provide a practical overview for the user to use the technology quickly.
Number of Pages: 114
Dimensions: 0.24 x 9 x 6 IN
Publication Date: December 11, 2022

Intentional design

We make things that work better and last longer. Our products solve real problems with clean design.

Quality first

We obsess over the details and strive to deliver the best products at the best prices, every time.

Customer care

We're always on your side: keeping our loyal customers happy is our top priority and number one goal.

Feature 1

Made with care and unconditionally loved by our customers, this signature bestseller exceeds all expectations.

Feature 2

Made with care and unconditionally loved by our customers, this signature bestseller exceeds all expectations.

At the heart of every product lies a unique story, driven by our passion for quality and innovation. Each item enhances your everyday life and sparks joy.