eBPF Workshops
This repository contains the code that goes along with our blog posts about eBPF.
Workshops:
License: Apache License 2.0
This repository contains the code that goes along with our blog posts about eBPF.
Workshops:
I assume this is a result of Seekret being acquired by DataDog. The tutorials reference a container image at gcr.io/seekret/ebpf-training-setup
, but this registry can no longer be found.
Instead of using that image, I'll build my own locally for doing the tutorial. That is fine, I just wanted to let you know so you can update your tutorials accordingly.
Hi,
It is really a good repo for new man. I read the README in this repo, but I found the tutorials does not fit any Linux, openwrt for example. I tried the steps described , but I found it really tough to run eBPF on openwrt. Do you have any thoughts? :(
Best regards
I've tried workshop-1 and used curl
to hit the request. I was able to see the captured request and response. But when I tried with Postman or any other client that supports connection:keep-alive
. I was not able to capture it adequately. After debugging I found that the close system call doesn't trigger for every request in the latter case.
We need to find a way to ensure we can capture the traffic no matter how it's sent.
hi,when i in docker exec go run main.go ./sourcecode.c,the error is:
root@ubuntu:/src/workshop1/capture-traffic# go run main.go ./sourcecode.c
go: downloading github.com/iovisor/gobpf v0.2.0
go: downloading golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9
github.com/iovisor/gobpf/bcc
/go/pkg/mod/github.com/iovisor/[email protected]/bcc/module.go:230:28: not enough arguments in call to _C2func_bcc_func_load
have (unsafe.Pointer, _Ctype_int, *_Ctype_char, *_Ctype_struct_bpf_insn, _Ctype_int, *_Ctype_char, _Ctype_uint, _Ctype_int, *_Ctype_char, _Ctype_uint, nil)
want (unsafe.Pointer, _Ctype_int, *_Ctype_char, *_Ctype_struct_bpf_insn, _Ctype_int, *_Ctype_char, _Ctype_uint, _Ctype_int, *_Ctype_char, _Ctype_uint, *_Ctype_char, _Ctype_int)
how can i solve ?thanks!
Hi,
can not get remote ip address? thks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.