mirror of
https://github.com/k4yt3x/sysctl.git
synced 2025-12-18 02:06:37 +00:00
added more descriptions for TCP timestamps
This commit is contained in:
parent
fbe72f187d
commit
5eecf56b0a
10
sysctl.conf
10
sysctl.conf
@ -2,7 +2,7 @@
|
|||||||
# Author: K4YT3X
|
# Author: K4YT3X
|
||||||
# Contributors: IceCodeNew
|
# Contributors: IceCodeNew
|
||||||
# Date Created: October 5, 2020
|
# Date Created: October 5, 2020
|
||||||
# Last Updated: October 21, 2020
|
# Last Updated: October 29, 2020
|
||||||
|
|
||||||
# Licensed under the GNU General Public License Version 3 (GNU GPL v3),
|
# Licensed under the GNU General Public License Version 3 (GNU GPL v3),
|
||||||
# available at: https://www.gnu.org/licenses/gpl-3.0.txt
|
# available at: https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
@ -197,7 +197,13 @@ net.ipv4.tcp_window_scaling = 0
|
|||||||
# increase system IP port limits
|
# increase system IP port limits
|
||||||
net.ipv4.ip_local_port_range = 1024 65535
|
net.ipv4.ip_local_port_range = 1024 65535
|
||||||
|
|
||||||
# disable TCP timestamps for better CPU utilization
|
# TCP timestamps could provide protection against wrapped sequence numbers,
|
||||||
|
# but the host's uptime can be calculated precisely from its timestamps
|
||||||
|
# it is also possible to differentiate operating systems based on their use of timestamps
|
||||||
|
# - 0: disable TCP timestamps
|
||||||
|
# - 1: enable timestamps as defined in RFC1323 and use random offset for
|
||||||
|
# each connection rather than only using the current time
|
||||||
|
# - 2: enable timestamps without random offsets
|
||||||
net.ipv4.tcp_timestamps = 0
|
net.ipv4.tcp_timestamps = 0
|
||||||
|
|
||||||
# enabling SACK can increase the throughput
|
# enabling SACK can increase the throughput
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user