BMW FAQ Club BMW FAQ Club
Registrarse Blogs Galería Marcar como leído Ayuda


Regresar   BMW FAQ Club > Blogs > Danny Bembibre (dbembibre)


Pensamientos al azar acerca de BMW FAQ Club
Valorar Entrada

Tweaking and hardening sysctl.conf

Escrito 29-may-2009 a las 10:20 por Danny
Etiquetas bmwfaq, net, security

The principal purpouse of hardening sysctl.com is not allow DoS attacks and spoofing.
A real Distributed Denial of Service (DDoS) only can be stopped with expensive hardware. This hardening is a little prevention to buffer overflow with Apache MaxClients.

Please complete this setup together a dynamic firewall like APF http://www.rfxnetworks.com/apf.php

The main interface in my server are eth1 please change eth1 by eth0 or whatever you want.

Código:
#Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.

net.ipv4.ip_forward=0

net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.lo.accept_source_route = 0
net.ipv4.conf.eth1.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0

net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.lo.rp_filter = 1
net.ipv4.conf.eth1.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.lo.accept_redirects = 0
net.ipv4.conf.eth1.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0

net.ipv4.conf.all.log_martians = 0
net.ipv4.conf.lo.log_martians = 0
net.ipv4.conf.eth1.log_martians = 0

net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.lo.accept_source_route = 0
net.ipv4.conf.eth1.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0

net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.lo.rp_filter = 1
net.ipv4.conf.eth1.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.lo.accept_redirects = 0
net.ipv4.conf.eth1.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0

kernel.sysrq = 0

net.ipv4.tcp_fin_timeout = 15

net.ipv4.tcp_keepalive_time = 1800

net.ipv4.tcp_window_scaling = 0

net.ipv4.tcp_sack = 0

net.ipv4.tcp_timestamps = 0

net.ipv4.tcp_syncookies = 1

net.ipv4.icmp_echo_ignore_broadcasts = 1

net.ipv4.icmp_ignore_bogus_error_responses = 1

net.ipv4.conf.all.log_martians = 1

net.ipv4.tcp_max_syn_backlog = 1024

net.ipv4.tcp_max_tw_buckets = 1440000

net.ipv4.ip_local_port_range = 16384 65536
Categoría: BMWFAQ Club, Linux
Vistas 1831 Comentarios 0
« Anterior     Regresar     Siguiente »
Total de Comentarios 0

Comentarios

 

Todas las horas son GMT +2. La hora es 03:10.
© 1998-2011 BMW FAQ CLUB
Para cualquier información relacionada con este sitio contacte con Danny
Para ejercer su derecho de cancelación de sus datos por favor solicitelo a través del siguiente correo:info(arroba)bmwfaq.com
Todos los logos y marcas registradas que puedan aparecer, son propiedad de sus respectivos dueños.
Esta web cumple con las leyes LSSI como puede ver en: Condiciones de uso y Privacidad de datos
Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.
Página Generada en 0.10648 segundos