You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to run a userspace program to create AF_XDP socket and receive packet through this socket, but withput "sudo" and/or sysadmin capillitia.
It is possible?
Not natively, no. Using AF_XDP requires loading an XDP program, which is
a privileged operation. There have been various attempts at creating a
policy daemon that can do this on behalf of applications, but I don't
believe any of them have really matured yet...
Baruch-Fridman @.***> writes:
I want to run a userspace program to create AF_XDP socket and receive packet through this socket, but withput "sudo" and/or sysadmin capillitia. It is possible?
Not natively, no. Using AF_XDP requires loading an XDP program, which is a privileged operation. There have been various attempts at creating a policy daemon that can do this on behalf of applications, but I don't believe any of them have really matured yet...
I want to run a userspace program to create AF_XDP socket and receive packet through this socket, but withput "sudo" and/or sysadmin capillitia.
It is possible?
I tried this xdp-project/xdp-tools#320 (comment) https://next.redhat.com/2023/07/18/using-ebpf-in-unprivileged-pods/ solution on ubuntu 22.04 kernel v6.5 but it doesn't work.
any idea?
The text was updated successfully, but these errors were encountered: