extract-handshakes: add BTF approach and fix compatibility
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | extract-handshakes: fix compatibility with upstream WireGuard modulecontrib/ | +11 | 0 replies | |
| 2/2 | extract-handshakes: add a more user-friendly BTF approachcontrib/ contrib/ contrib/ | +82 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] extract-handshakes: add BTF approach and fix compatibility
While trying to decrypt WireGuard traffic in Wireshark, I noticed the extract-handshakes utility broke since upstreaming in Linux v5.6 (2019).
Attached is a patch to fix the main issue, and another one to remove a dependency on the WireGuard kernel module sources by relying on BTF.
Tested on Arch Linux (7.0.10-arch1-1) and Ubuntu 24.04 (6.8.0-41-generic), both have BTF support.
Peter Wu (2):
extract-handshakes: fix compatibility with upstream WireGuard module
extract-handshakes: add a more user-friendly BTF approach
contrib/extract-handshakes/README | 7 +- .../extract-handshakes/extract-handshakes.sh | 25 ++++--- contrib/extract-handshakes/make-offsets.sh | 70 +++++++++++++++++++ 3 files changed, 93 insertions(+), 9 deletions(-) create mode 100755 contrib/extract-handshakes/make-offsets.sh
Signature · 1 line
2.54.0