-
Thomas Haller authored
Don't let NetworkManager change rp_filter sysctl [1]. By default, various distributions set rp_filter rather strict. That works badly, in common cases where the user connects multiple interfaces to the same IP network (for example, using Wi-Fi and ethernet in your home network). It also confuses connectivity checking. For that reason, NetworkManager would loosen the rp_filter setting. However, that was not configurable and users who really wanted a strict setting could not prevent NetworkManager from doing it ([2], [3], [4]). Hence it was decided, that a better solution is for NetworkManager not to do anything about rp_filter. Instead, distibutions should not enable it strictly (or at least, only for certain setups where it makes sense -- if it ever makes sense) ([5], [6]); Disble this behavior for the moment. In the future, the code will be removed entirely. [1] https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt [2] https://bugzilla.redhat.com/show_bug.cgi?id=1492472 [4] https://bugzilla.redhat.com/show_bug.cgi?id=1593194 [3] https://bugzilla.redhat.com/show_bug.cgi?id=1651097 [5] https://bugzilla.redhat.com/show_bug.cgi?id=1653824 [6] https://github.com/systemd/systemd/pull/10971 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1651097
b1082aa9