Skip to content

This is a simple ebpf cgroup program, just used for eBPF learing

Notifications You must be signed in to change notification settings

ChuanhongLi/cgroup-icmp-drop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test environments

  • CentOS Linux release 8.4.2105
  • mount cgroup2 :
  • mkdir /mnt/cgroup2
  • mount -t cgroup2 none /mnt/cgroup2/

/* *The cgroup2 FS must also be mounted, which by default is mounted on /sys/fs/cgroup/unified. *If it’s not, you can mount it with sudo mkdir /mnt/cgroup2 && sudo mount -t cgroup2 none /mnt/cgroup2 *the above comments are from https://nfil.dev/coding/security/ebpf-firewall-with-cgroups/ */

Usage

./main 

About

This is a simple ebpf cgroup program, just used for eBPF learing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published