ND-0006 / KERNEL DEFENSE
Where XDP fits in a Linux defense stack
A practical explanation of native and generic XDP, local policy authority, and what a controlled ingress test should prove.
XDP is a Linux packet-processing hook. It can run an eBPF program on ingress before ordinary application handling, but the hook does not decide which source is hostile, who may change policy, or how an administrator reverses a mistake. Those are product and operations decisions.
Native and generic are different test environments
Native XDP runs in a supporting network driver’s receive path. Generic XDP runs later in the kernel networking path and is useful where native attachment is unavailable. The mode affects compatibility and performance potential, so a result from a virtual interface in generic mode should not be described as a physical NIC benchmark.
Before comparing modes, identify the actual interface and driver, the kernel version, the XDP attachment, the traffic generator, and the packet sizes. Measure a baseline on the same host. Inspect packet behavior independently from the product’s own counters.
Test the decision as well as the drop
- Choose an allowed management route and an independent recovery path.
- Send traffic from a selected test source and a separate control source.
- Activate one scoped restriction through the documented authority path.
- Confirm the selected traffic is rejected and the control traffic still works.
- Release the restriction and verify the selected traffic returns.
Then repeat the relevant checks after a service restart or interface change. A packet drop alone does not establish recovery, authorization, or coexistence with another XDP program.
Our Firewall product page explains the current console and local Core boundary. The Kernel Defense validation division separates published evidence from planned tests. We have not published a broad native-XDP throughput qualification for the current preview, so this article makes no throughput claim.
Field note: This is an architectural explanation and a proposed test procedure. Use release-specific documentation before attaching a program to a production interface.