Advanced rp_ filter
summary
Covers the IETF RPF variants and how Linux implements them (sysctl + iptables/ip6tables + nftables), showing five divergent implementations and concrete failures: strict RPF drops traffic with asymmetric routes, ECMP and duplicate-route semantics differ across implementations, policy routing breaks when DSCP, packet mark or socket UID aren’t mirrored, and equal‑cost multipath yields inconsistent acceptance. Demonstrates that feasible RPF and the extensions in RFC 8704 require BGP cooperation and admin workarounds; enabling rp_filter is not just flipping a sysctl.
AI-written summary · about
chapters (6)
- 0:00RP filter introduction
- 3:54IETF RPF algorithms
- 12:32Linux RP filter
- 18:25Policy routing with RP filter
- 26:22RP filter summary
- 28:35Q&A on RP filter
related talks
21mStealth BGP Hijacks with uRPF Filtering
33mbpfilter: a BPF-based packet filtering framework
32mDemystifying eBPF - eBPF Firewall from scratch
12mxBGP: Faster Innovation in Routing Protocols
28mSafe sharing of the network with eBPF
32meBPF: BPF kernel infrastructure
27mSimplifying and Making the Network Programmable with Kubernetes and SRv6
21mR2P2: Making RPCs first-class datacenter citizens
