aya-rs / book

The Aya Book is an introductory book about using the Rust Programming Language and Aya library to build extended Berkley Packet Filter (eBPF) programs.
https://aya-rs.dev/book/
Apache License 2.0
79 stars 60 forks source link

book need to update accroding to the template build command change #176

Open dassio opened 2 weeks ago

dassio commented 2 weeks ago

the recent template commit: https://github.com/aya-rs/aya-template/commit/5811d6ff5687ae115cc8876ddf511dd01c02539b make the getting started guide command cargo xtask build-ebpf not working. need to update the book and example code to reflect this change.

the build and running command should be:

cargo build 

RUST_LOG=info cargo run -- --iface enp5s0
tamird commented 2 weeks ago

Can you send a pull request?

tamird commented 1 week ago

Note that the book doesn't mention the template so it is technically not broken. But we should update the book examples to the latest template.