dorkamotorka / ebpf-multihost-map-sync

Multihost eBPF Map Sync Setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run the program using:

sudo ./map-sync -ip <IP-of-the-syncing-peer>

On each host you can trigger actions on eBPF map using:

sudo bpftool map
sudo bpftool map update id <MAP-ID> key 0 0 0 0 value 1 0 0 0
sudo bpftool map delete id <MAP-ID> key 0 0 0 0
sudo bpftool map lookup id <MAP-ID> key 0 0 0 0

About

Multihost eBPF Map Sync Setup

License:BSD 2-Clause "Simplified" License


Languages

Language:C 99.8%Language:Go 0.2%