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
Containerized gadgets have a ebpf module but currently don't yet contain code in userspace to handle events.
Impact
Some gadgets lose features after they're converted from the build-in gadget to a containerized gadget.
Example: the dns gadget has a "NAME" column with a domain name with dots:
$ sudo ig trace dns -c test-trace-dns
QR TYPE QTYPE NAME
Q OUTGOING A inspektor-gadget.io.
This string is built up from userspace. The ebpf program only sends the encoded name from the DNS packet. The containerized dns gadget does not have this string with dots.
Ideal future situation
Gadget authors can include a wasm module in their gadgets to implement custom changes in events in userspace.
Implementation options
We can use wazero, a WebAssembly runtime in Go that does not require dependencies with cgo.
Current situation
Containerized gadgets have a ebpf module but currently don't yet contain code in userspace to handle events.
Impact
Some gadgets lose features after they're converted from the build-in gadget to a containerized gadget.
Example: the dns gadget has a "NAME" column with a domain name with dots:
This string is built up from userspace. The ebpf program only sends the encoded name from the DNS packet. The containerized dns gadget does not have this string with dots.
Ideal future situation
Gadget authors can include a wasm module in their gadgets to implement custom changes in events in userspace.
Implementation options
We can use wazero, a WebAssembly runtime in Go that does not require dependencies with cgo.
Additional information
The text was updated successfully, but these errors were encountered: