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

Asset /probe.o not found #1

Open
m4y0nnaise opened this issue Nov 3, 2022 · 1 comment
Open

Asset /probe.o not found #1

m4y0nnaise opened this issue Nov 3, 2022 · 1 comment

Comments

@m4y0nnaise
Copy link

Hi,

I can't make it works following your README steps:

  1. Clone the repo
  2. Install Golang 1.13+
  3. Install clang & llvm
  4. Create a profile file for user bob in /profiles/bob.yaml
  5. Run: make build-ebpf
  6. Run: make build
  7. Run: make install
  8. Run: ssh-probe-register --user bob --output /tmp/qr.png
  9. Flash the created qr code
  10. Export the SSH_PROBE_SECRETS="bob:2QKHKH3LEXGSH2LB" in env
  11. Now when running:
sudo --preserve-env=SSH_PROBE_SECRETS ./bin/ssh-probe --profiles ./profiles/bob.yaml --access-control-events-level allow --agent-url "127.0.0.1:10518"

I get this error:

FATAL[2022-11-03T08:41:33Z] failed to retrieve eBPF bytecode: Asset /probe.o not found

But there is a file called probe.o in ./ebpf/bin/probe.o.
I tried to change the path to call the asset in the generated file (in ./pkg/assets/probe.go for example) but couldn't make it works...

Any idea please?

My machine is a VirtualBox VM:

  • Ubuntu 22.04 LTS
  • Kernel: 5.15.0-52-generic

Tell me if you need more information.
Regards.

@HRNasr
Copy link

HRNasr commented May 3, 2023

Hello
this problem solve with change /probe.o in related code to probe.o

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