mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
system: bootstrap a default value and always apply #3806
So that users are not seeing issues because they haven't done a config reset yet. It also allows us to bump the default again if needed.
This commit is contained in:
parent
8917f1c06f
commit
4a4d72afd8
@ -208,7 +208,7 @@
|
||||
<item>
|
||||
<descr><![CDATA[Maximum outgoing UDP datagram size]]></descr>
|
||||
<tunable>net.local.dgram.maxdgram</tunable>
|
||||
<value>8192</value>
|
||||
<value>default</value>
|
||||
</item>
|
||||
</sysctl>
|
||||
<system>
|
||||
|
||||
@ -106,6 +106,7 @@ function get_default_sysctl_value($id)
|
||||
'net.link.bridge.pfil_member' => '1',
|
||||
'net.link.bridge.pfil_onlyip' => '0',
|
||||
'net.link.tap.user_open' => '1',
|
||||
'net.local.dgram.maxdgram' => '8192',
|
||||
'security.bsd.see_other_gids' => '0',
|
||||
'security.bsd.see_other_uids' => '0',
|
||||
'vfs.read_max' => '32',
|
||||
@ -128,6 +129,7 @@ function system_sysctl_get()
|
||||
'net.enc.in.ipsec_filter_mask' => '2', /* after processing */
|
||||
'net.enc.out.ipsec_bpf_mask' => '1', /* before processing */
|
||||
'net.enc.out.ipsec_filter_mask' => '1', /* before processing */
|
||||
'net.local.dgram.maxdgram' => 'default',
|
||||
);
|
||||
|
||||
if (isset($config['sysctl']['item'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user