use vmlinux.h
Linux firewall powered by eBPF and XDP
make # change lo if you need sudo ./LilyFirewall lo
GET /api/v1/rules
POST /api/v1/rule
{ "SrcAddr": "127.0.0.1", "DstPort": 8000, "Proto": 6 }
Proto 6 is TCP
{ "SrcAddr": "127.0.0.1", "DstPort": 8000, "Proto": 17 }
Proto 17 is UDP
GET /api/v1/rule
DELETE /api/v1/rule
EtherType
IPv4
IPv6
IP protocol numbers
TCP
UDP
Linux firewall powered by Go (cilium/ebpf) & eBPF & XDP
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
LilyFirewall
Linux firewall powered by eBPF and XDP
Requirements
Support feature
Usage
API
Get all rules
GET /api/v1/rules
Add rule
POST /api/v1/rule
Get rule
GET /api/v1/rule
Delete rule
DELETE /api/v1/rule
Reference
EtherType
IPv4
IPv6
IP protocol numbers
TCP
UDP