Skip to content

ebpf_create_map() failed: Operation not permitted #45

@ValentinoUberti

Description

@ValentinoUberti

Hi, I can not run any examples due to this error (I'm using Fedora 33):

$ uname -r
5.10.19-200.fc33.x86_64

$ pwd
goebpf/examples/xdp/basic_firewall

$ sudo ulimit
unlimited

$ clang --version
clang version 11.0.0 (Fedora 11.0.0-2.fc33)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

$ sudo ./main -iface enp7s0u2u1u2 -drop 8.8.8.8
LoadElf() failed: loadAndCreateMaps() failed: map.Create() failed: ebpf_create_map() failed: Operation not permitted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions