Skip to content

Asset /probe.o not found #1

@m4y0nnaise

Description

@m4y0nnaise

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions