Coder Social home page Coder Social logo

Comments (4)

YHNdnzj avatar YHNdnzj commented on June 28, 2024

Hmm, that's why drop-ins support ordering? When you add new sysctl.d config, just order it after vendor-supplied ones?

from systemd.

Gunni avatar Gunni commented on June 28, 2024

Yes but if I add

net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter =  1

To 01-custom.conf to sysctl.d it is ignored because this patch is setting

net.ipv4.conf.*.rp_filter = 2

So it gets applied to all interfaces too, then i would need to do that too but:

The max value from conf/{all,interface}/rp_filter is used when doing source validation on the {interface}.

from systemd.

yuwata avatar yuwata commented on June 28, 2024

Please try to rename the file to e.g. 60-custom.conf.

from systemd.

Gunni avatar Gunni commented on June 28, 2024

The problem is not what to name the file, it is the fact that because you define a value for ALL INTERFACES separately without just using the .all. as intended you require me to do the same.

It is not enough for me to make a 60-custom.conf with

net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter =  1

I would have to make it with the same as you

net.ipv4.conf.*.rp_filter =  1

Which is ridiculous, why can't you either not set these kinds of policies, or set the all key as it is designed to be used.

from systemd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.