Bug 215739

Summary: /proc/sys/net/ipv4/conf/*/send_redirects doesn't work per-interface
Product: Networking Reporter: Luke-Jr (luke-jr+linuxbugs)
Component: IPV4Assignee: Stephen Hemminger (stephen)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.4.154 Subsystem:
Regression: No Bisected commit-id:

Description Luke-Jr 2022-03-24 13:10:51 UTC
I have some custom routing rules that ICMP redirects interfere with, so I tried to disable them by writing 0 to /proc/sys/net/ipv4/conf/br-lan/send_redirects, but this didn't actually work. Neither did it for the bridge sub-interfaces.

To disable redirects, I had to write to /proc/sys/net/ipv4/conf/lo/send_redirects instead.
Comment 1 Luke-Jr 2022-03-24 13:14:18 UTC
Actually, it looks like setting it on lo doesn't work either. :/

Manually setting it for every interface seems to have (so far). (Noteworthy, setting it for 'all' did *not* change it for other bridges)