Giter Site home page Giter Site logo

klaver / sysctl Goto Github PK

View Code? Open in Web Editor NEW
162.0 162.0 46.0 12 KB

Linux/BSD kernel tuning and network security hardening optimizations, improving the performance of server systems via optimized sysctl tweaks

License: MIT License

bsd-kernel-tuning centos debian fedora hardening ipv4 ipv6 kernel-tuning linux optimized-sysctl-tweaks performance redhat sysctl sysctl-variables tcp ubuntu udp

sysctl's Issues

Oudated variables and improvements

Some variables are actually deprecated:

  • kernel.maps_protect - was deprecated since kernel v2.6.28 more than 10 years ago.
  • net.ipv4.tcp_tw_recycle - deprecated since v4.12
  • kernel.exec-shield - No longer supported in sysctl settings.

Also I think in most recent linux versions "net.ipv4.tcp_congestion_control" BBR is better, instead of HTCP.

I like to add these variables to your configuration:

fs.nr_open=12000000
net.ipv4.tcp_sack=1
net.ipv4.tcp_mtu_probing = 1
net.ipv4.tcp_base_mss = 1024
net.ipv4.tcp_challenge_ack_limit = 999999999
net.ipv6.conf.default.router_solicitations = 0
net.ipv6.conf.default.accept_ra_rtr_pref = 0
net.ipv6.conf.default.accept_ra_pinfo = 0
net.ipv6.conf.default.accept_ra_defrtr = 0
net.ipv6.conf.default.dad_transmits = 0
net.ipv6.conf.default.max_addresses = 1

Any Updated Version?

Hello.
Is the sysctl.conf file updated after 2019? since then some of the settings may have changed/deprecated...

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.