mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-15 18:29:44 +07:00
Update tcp_hardening.conf
This commit is contained in:
@ -3,10 +3,6 @@
|
|||||||
# Protects against time-wait assassination. It drops RST packets for sockets in the time-wait state.
|
# Protects against time-wait assassination. It drops RST packets for sockets in the time-wait state.
|
||||||
net.ipv4.tcp_rfc1337=1
|
net.ipv4.tcp_rfc1337=1
|
||||||
|
|
||||||
# Enables source validation of packets and protects against IP spoofing methods.
|
|
||||||
net.ipv4.conf.default.rp_filter=1
|
|
||||||
net.ipv4.conf.all.rp_filter=1
|
|
||||||
|
|
||||||
# Disables ICMP redirect acceptance.
|
# Disables ICMP redirect acceptance.
|
||||||
net.ipv4.conf.all.accept_redirects=0
|
net.ipv4.conf.all.accept_redirects=0
|
||||||
net.ipv4.conf.default.accept_redirects=0
|
net.ipv4.conf.default.accept_redirects=0
|
||||||
|
Reference in New Issue
Block a user