Skip to content

A pure Go implementation of interacting with some of the Linux kernel's eBPF functionality

License

Notifications You must be signed in to change notification settings

aterlo/puregobpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PureGoBpf is an all Go implementation for interacting with some of the Linux kernel's eBPF features. So far, PureGoBpf is focused on cls_bpf use cases so if you want to use it for other eBPF use cases there will be work to do. However, the map implementation is generic so it should work for other use cases.

You may also want to take a look at the GoBpf (https://github.com/iovisor/gobpf) project for another approach to interacting with eBPF that uses C Go.

Testing

Root permissions are required to run the tests because the tests load eBPF programs. Also, you will need to increase the locked memory limit in order to create the test map.

ulimit -l unlimited

About

A pure Go implementation of interacting with some of the Linux kernel's eBPF functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published