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

run error #117

Open
tower111 opened this issue Feb 23, 2024 · 3 comments
Open

run error #117

tower111 opened this issue Feb 23, 2024 · 3 comments

Comments

@tower111
Copy link

when i run .\conn_tracker.exe. I got error
Press Ctrl-C to shutdown
bpf_object__load for conn_track.sys failed: 0

what‘s mean 0

@Alan-Jowett
Copy link
Member

That seems like a bug in the eBPF for Windows libbpf implementation. It should probably return something more meaningful.

A couple of things to check:

  1. Is the eBPF for Windows MSI installed and is eBPF running (sc query ebpfcore)
  2. Is the command being run from an elevated command prompt (only admin can load BPF programs).

@tower111
Copy link
Author

server is running
image

The command line is opened with administrator privileges. Could this be a driver signature issue? My computer has entered test mode, and netsh ebpf add prog .\conn_track.o is no problem.

@tower111
Copy link
Author

I also raised this issue in ebpf-for-windows. I think they are caused by the same reason, which is caused by the bpf_object__load function returning -22. My installation process is fine, are there any missing steps?
microsoft/ebpf-for-windows#3286

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

2 participants