cilium/pwru
Packet, where are you? -- eBPF-based Linux kernel networking debugger
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#4 Repository Của Tuần
#6 Repository Của Tuần
#10 Repository Của Tuần
🕵️ pwru: Tìm gói tin bạn đang tìm ở đâu trong kernel Linux
pwru ("packet, where are you?") là công cụ truy trace gói tin dựa trên eBPF, giúp tìm vị trí gói tin bị dropped trong kernel Linux.
pwru là một công cụ dựa trên eBPF dùng để truy trace các gói mạng trong kernel Linux với khả năng lọc thông minh. Công cụ giúp kiểm tra trạng thái kernel chi tiết để gỡ lỗi kết nối mạng.
Trong ví dụ, pwru cho thấy gói tin yêu cầu curl bị dropped sau khi cài rule IP tables.
✨ Điểm nổi bật
- Trace gói tin qua eBPF: truy trace gói tin trong kernel bằng eBPF.
- Bộ lọc nây cao: hỗ trợ lọc theo gói tin, hàm kernel, mạng, netns.
- Hỗ trợ backend đa dạng: kprobe và kprobe-multi.
- Tùy chỉnh output: xuất ra skb, metadata, stack, JSON.
- Yêu cầu kernel thấp: hỗ trợ kernel >= 5.3.
- Cấu hình kernel linh hoạt: yêu cầu BTF, kprobe, BPF.
💡 Vì sao đáng chú ý
pwru khác biệt so với cách gỡ lỗi mạng thông thường bằng cách truy trace trực tiếp trong kernel thông qua eBPF, cung cấp thông tin chi tiết vị trí gói tin bị dropped. Phù hợp dùng để gỡ lỗi kết nối mạng phức tạp, đặc biệt khi iptables hoặc các rule mạng gây ra vấn đề.
#eBPF #LinuxNetworking #NetworkDebugging #KernelTracing #TiniX
Similar Projects
Discover other similar projects and AI models.
Kyanos is a networking analysis tool using eBPF. It can visualize the time packets spend in the kernel, capture requests/responses, makes troubleshooting more efficient.
eBPF Developer Tutorial: Learning eBPF Step by Step with Examples
Inspektor Gadget is a set of tools and framework for data collection and system inspection on Kubernetes clusters and Linux hosts using eBPF
bpftop provides a dynamic real-time view of running eBPF programs. It displays the average runtime, events per second, and estimated total CPU % for each program.