ebpf-packet-redirect
CommunityControl eBPF packet forwarding
Authorcassamajor
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the complexity of managing packet forwarding in eBPF-based Cloud-Native Functions (CNFs) by providing tools and examples for implementing sophisticated routing logic.
Core Features & Use Cases
- Packet Redirection: Implement basic and neighbor-aware packet redirection using
bpf_redirectandbpf_redirect_neigh. - Policy Routing: Define source-based policy routing, map-based routing tables, and dynamic route updates.
- Advanced Patterns: Includes load balancing, conditional routing, policy chaining, and IPv6 support.
- Use Case: Build custom routers, gateways, load balancers, or service mesh sidecars that require fine-grained control over packet forwarding paths.
Quick Start
Use the ebpf-packet-redirect skill to implement source-based policy routing for IPv4 traffic.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ebpf-packet-redirect Download link: https://github.com/cassamajor/xcnf/archive/main.zip#ebpf-packet-redirect Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.