Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release v1.1.0] Provider and Attach type GUIDs does not match with ebpf-for-windows.x64.0.20.msi #768

Open
shpalani opened this issue Dec 18, 2024 · 0 comments

Comments

@shpalani
Copy link
Contributor

shpalani commented Dec 18, 2024

I tried to consume xdp-for-windows1.1.0.msi with ebpf-for-windows.x64.0.20.0.msi for an internal project.
Looks like in xdp-for-windows1.1.0 , the xdp provider and attach type GUIDs may not match with provider/attach type in ebpf-for-windows.x64.0.20.0.msi (https://github.com/microsoft/ebpf-for-windows/releases/tag/Release-v0.20.0)

Release v1.1.0 · microsoft/xdp-for-windows has

  • consume ebpf 0.18.0 by @mtfriesen in #608
    ==============

  • The expected attach type is
    __declspec(selectany) ebpf_attach_type_t EBPF_ATTACH_TYPE_XDP = {
    0x85e0d8ef, 0x579e, 0x4931, {0xb0, 0x72, 0x8e, 0xe2, 0x26, 0xbb, 0x2e, 0x9d}};

  • Also, the clang version needs to be 18.1.8 (latest).

netsh ebpf add program <bpf_xxx.sys> type=xdp
error 23: could not attach program
where error 23 is
/// The eBPF extension failed to load.
EBPF_EXTENSION_FAILED_TO_LOAD

@shpalani shpalani changed the title [Release v1.1.0] Provider and Attach GUIDs does not match with ebpf-for-windows.x64.0.20.msi [Release v1.1.0] Provider and Attach type GUIDs does not match with ebpf-for-windows.x64.0.20.msi Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant