osrm-text-instructions icon indicating copy to clipboard operation
osrm-text-instructions copied to clipboard

Asset /probe.o not found

Open m4y0nnaise opened this issue 2 years ago • 1 comments

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.

m4y0nnaise avatar Nov 03 '22 08:11 m4y0nnaise

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

HRNasr avatar May 03 '23 14:05 HRNasr