Bug 215739 - /proc/sys/net/ipv4/conf/*/send_redirects doesn't work per-interface
Summary: /proc/sys/net/ipv4/conf/*/send_redirects doesn't work per-interface
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: IPV4 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-24 13:10 UTC by Luke-Jr
Modified: 2022-03-24 13:14 UTC (History)
0 users

See Also:
Kernel Version: 5.4.154
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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)

Note You need to log in before you can comment on or make changes to this bug.