GithubHelp home page GithubHelp logo

ebpf-training's Introduction

ebpf-training's People

Contributors

daniel-lavie-seekret avatar guyarb avatar val06 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ebpf-training's Issues

a question about running ebpf on openwrt

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

feat: add support for tracing ingress traffic where connection is alive

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.

docker run error

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.