-
https://godbolt.org/z/ProhnxfTv
`-target bpf -mcpu=v2 -O3`
```C
typedef unsigned int __u32;
typedef long long unsigned int __u64;
#pragma clang attribute push(__attribute__((preserve_access…
-
Just tried running it on Kubernetes 1.9 in GKE with Ubuntu node OS.
```
ilya@gke-istio-demo-default-pool-11532261-j543:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.4 LTS (Xenial Xerus)"
…
-
On running the docker command I am getting
```
sh: 1: modprobe: not found
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module)
chdir(/lib/modules/4.14.138-89.102.a…
-
When doing [json-c 0.14 upgrade](https://github.com/Homebrew/homebrew-core/pull/53407), I found out the tracebox does not build successfully.
It looks like it relies on `libpcap`.
```
checking …
-
Despite the fact, that major Linux distributions set either `kernel.unprivileged_bpf_disabled = 0` (or give capability `CAP_BPF` to all processes of all users) *by default*, I think it'd be valuable t…
-
```shell
level=info ts=2021-07-20T14:04:36.113Z caller=filesystem_common.go:110 collector=filesystem msg="Parsed flag --collector.filesystem.mount-points-exclude" flag=^/(dev|proc|sys|var/lib/docker/…
-
I am trying to create my own elf file using examples suggested in the examples. .c file as below
```
#include "bpf_helpers.h"
struct iphdr {
__u8 ihl : 4;
__u8 version : 4;
__u8 tos;
…
ghost updated
5 years ago
-
I have some ideas with using https://pkg.go.dev/github.com/google/gopacket/pcapgo , BPF, and adding `CAP_BPF` capability to the executable at build time.
-
Once a user has discovered `bpf2go` they usually need to figure out where to get headers from. We can remove this pain point by shipping common headers via a `go:embed` directive. When invoking the bi…
-
### Windows Version
Microsoft Windows [Version 10.0.22621.2215]
### WSL Version
1.2.5.0
### Are you using WSL 1 or WSL 2?
- [X] WSL 2
- [ ] WSL 1
### Kernel Version
5.15.90.1
…