Sysctl: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
 
K (cat)
 
Zeile 12: Zeile 12:


from http://blog.eukhost.com/category/server-security/page/3/
from http://blog.eukhost.com/category/server-security/page/3/
[[Category:Linux]]

Aktuelle Version vom 9. Januar 2007, 20:42 Uhr

sysctl.conf hardening - Helps prevent TCP/IP stack from syn-flood attacks and other network abuses.

vi /etc/sysctl.conf

add the below code:

# Enable IP spoofing protection, turn on Source Address Verification (is alow done, not needed on this server, maybe from shorewall!)
net.ipv4.conf.all.rp_filter = 1
# Enable TCP SYN Cookie Protection
net.ipv4.tcp_syncookies = 1

from http://blog.eukhost.com/category/server-security/page/3/