<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>El blog de Carlos Andrade Sánchez</title>
	<link>http://www.carlosandrade.es/blog</link>
	<description>CarlosAndrade.es</description>
	<pubDate>Tue, 03 Feb 2009 16:52:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>
	<language>en</language>
			<item>
		<title>Iptables basico</title>
		<link>http://www.carlosandrade.es/blog/2009/02/03/iptables-basico/</link>
		<comments>http://www.carlosandrade.es/blog/2009/02/03/iptables-basico/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 16:20:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[iptables]]></category>

		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2009/02/03/iptables-basico/</guid>
		<description><![CDATA[
Peticiones solo al DNS

iptables -A INPUT -p udp &#8211;sport 53 -j ACCEPT
iptables -A OUTPUT -p udp &#8211;dport 53 -j ACCEPT


Log SSH using IPTables:

iptables -I INPUT -j LOG -m state &#8211;state NEW -p tcp &#8211;dport 22



  
 
]]></description>
			<content:encoded><![CDATA[<ul>
<li>Peticiones solo al DNS
<ul>
<li>iptables -A INPUT -p udp &#8211;sport 53 -j ACCEPT</li>
<li>iptables -A OUTPUT -p udp &#8211;dport 53 -j ACCEPT</li>
</ul>
</li>
<li>Log SSH using IPTables:
<ul>
<li>iptables -I INPUT -j LOG -m state &#8211;state NEW -p tcp &#8211;dport 22</li>
</ul>
</li>
</ul>
<blockquote class="webkit-indent-blockquote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-width: initial; border-color: initial; border-style: none; padding: 0px"><p>  </p></blockquote>
<blockquote class="webkit-indent-blockquote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-width: initial; border-color: initial; border-style: none; padding: 0px"><p> </p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2009/02/03/iptables-basico/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IPTables. Filtrar querys DNS de tipo MX</title>
		<link>http://www.carlosandrade.es/blog/2009/02/03/iptables-filtrar-querys-dns-de-tipo-mx/</link>
		<comments>http://www.carlosandrade.es/blog/2009/02/03/iptables-filtrar-querys-dns-de-tipo-mx/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 16:02:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Firewall]]></category>

		<category><![CDATA[DNS]]></category>

		<category><![CDATA[tecnica]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2009/02/03/iptables-filtrar-querys-dns-de-tipo-mx/</guid>
		<description><![CDATA[Bastaria con poner
iptables -A INPUT -p udp --dport 53 -m string --string "MX" -j DROP

]]></description>
			<content:encoded><![CDATA[<p>Bastaria con poner<span style="font-family: Verdana; line-height: normal" class="Apple-style-span">
<pre>iptables -A INPUT -p udp --dport 53 -m string --string "MX" -j DROP</pre>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2009/02/03/iptables-filtrar-querys-dns-de-tipo-mx/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Leopard 10.5.6</title>
		<link>http://www.carlosandrade.es/blog/2008/12/20/leopard-1056/</link>
		<comments>http://www.carlosandrade.es/blog/2008/12/20/leopard-1056/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 08:28:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[MAC]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2008/12/20/leopard-1056/</guid>
		<description><![CDATA[Ha aparecido la sexta actualización de Leopard 10.5.6 HT3194
&#160;
Productos afectados
Mail, Mac OS X 10.5, iCal 3.x, MobileMe Push/Syncing, iChat, AirPort, Safari
¿Qué novedades hay en esta actualización?

Agenda

Mejora la fiabilidad de la sincronización de la agenda con iPhone y otros dispositivos y aplicaciones.

AirPort

Aumenta la fiabilidad de las conexiones AirPort, incluyendo mejoras en la itinerancia de redes inalámbricas [...]]]></description>
			<content:encoded><![CDATA[<p>Ha aparecido la sexta actualización de<a href="http://support.apple.com/kb/HT3194?viewlocale=es_ES&amp;locale=es_ES"> Leopard 10.5.6 HT3194</a></p>
<p class="affected">&nbsp;</p>
<h2>Productos afectados</h2>
<p>Mail, Mac OS X 10.5, iCal 3.x, MobileMe Push/Syncing, iChat, AirPort, Safari</p>
<p class="attr HOW_TO"><strong>¿Qué novedades hay en esta actualización?<br />
</strong></p>
<hr /><strong>Agenda</strong></p>
<ul>
<li>Mejora la fiabilidad de la sincronización de la agenda con iPhone y otros dispositivos y aplicaciones.</li>
</ul>
<hr /><strong>AirPort</strong></p>
<ul>
<li>Aumenta la fiabilidad de las conexiones AirPort, incluyendo mejoras en la itinerancia de redes inalámbricas de gran tamaño con sistemas Mac basados en Intel.</li>
</ul>
<hr /><strong>Gestión de clientes</strong></p>
<ul>
<li>Aumenta la fiabilidad de la sincronización de archivos en un directorio principal portátil.</li>
<li>Soluciona un problema en Mac OS X 10.5.4 y 10.5.5, en el que los usuarios administrados no pueden ver las impresoras que utilizan el PPD genérico.</li>
<li>Ahora los ordenadores de los clientes que utilizan las preferencias de ByHost basado en UUID respetan la configuración del Salvapantallas.</li>
</ul>
<hr /><strong>iChat</strong></p>
<ul>
<li>Aborda un problema que podría provocar que saliera una alerta de cifrado en la ventana del chat.</li>
<li>Al poner tu estado de iChat en &#8220;invisible&#8221; mediante AppleScript ya se cierra la sesión en iChat.</li>
<li>Resuelve un problema que consiste en que al pegar texto de un documento de Microsoft Office, se inserta una imagen en vez de texto.</li>
</ul>
<hr /><strong>Gráficos</strong></p>
<ul>
<li><span>Incluye mejoras generales en el rendimiento de juegos.<br />
</span></li>
<li>Incluye mejoras gráficas para iChat, Cover Flow, Aperture e iTunes.</li>
<li><span>Incluye la reparación de posibles problemas de distorsión de gráficos con ciertas tarjetas gráficas ATI.<br />
</span></li>
</ul>
<hr /><strong>Correo</strong></p>
<ul>
<li><span>Incluye reparaciones generales de rendimiento y fiabilidad.</span></li>
<li>Aumenta la precisión de Connection Doctor.</li>
<li>Soluciona un problema que podría provocar que los mensajes identificados como correo basura se queden en la bandeja de entrada.</li>
<li>Soluciona un problema que podría provocar que Mail añada un carácter a la extensión del archivo de un adjunto.</li>
<li>Aborda un problema que podría impedir que Mail se cierre.</li>
<li>Aumenta la fiabilidad al imprimir adjuntos en PDF.</li>
</ul>
<hr /><strong>MobileMe</strong></p>
<ul>
<li>Los contactos, calendarios y marcadores de un Mac se sincronizan automáticamente un minuto después de haber hecho el cambio en el ordenador, en otro dispositivo o en Internet, en me.com</li>
</ul>
<hr /><strong>Red</strong></p>
<ul>
<li>Aumenta el rendimiento de Servicio de archivos de Apple, especialmente cuando se utiliza un directorio principal alojado en un servidor AFP. <strong>Importante</strong>: si utilizas Mac OS X 10.5.6 (cliente) para conectarse a un servidor basado en Mac OS X Server 10.4, te recomendamos encarecidamente que actualices el servidor a la versión Mac OS X Server 10.4.11.</li>
<li>Aumenta el rendimiento y la fiabilidad de las conexiones TCP.</li>
<li>Aumenta el rendimiento y la fiabilidad de las tarjetas AT&amp;T 3G.</li>
<li>Actualiza el comando del terminal ssh para aumentar la compatibilidad con más servidores ssh.</li>
</ul>
<hr /><strong>Impresión</strong></p>
<ul>
<li>Mejora la impresión del conjunto de aplicaciones de Adobe CS3.</li>
<li>Mejora la impresión de las impresoras Canon y Brother basadas en USB.</li>
</ul>
<hr /><strong>Controles parentales</strong></p>
<ul>
<li>Aborda un problema en el que una cuenta con control parental no puede acceder a iTunes Store.</li>
<li><span>		</span>Incluye reparaciones generales relativas a límites de tiempo.</li>
<li><span>		</span>Resuelve un problema que impedía añadir sitios Web permitidos desde Safari arrastrando y soltando.</li>
</ul>
<hr /><strong>Time Machine</strong></p>
<ul>
<li>Soluciona problemas que podrían provocar que apareciera en Time Machine el mensaje &#8220;No se encontró el volumen de copia de seguridad&#8221;.</li>
<li>Mejora la fiabilidad de Time Machine con Time Capsule.</li>
</ul>
<hr /><strong>Safari</strong></p>
<ul>
<li>Mejora la compatibilidad con servidores proxy Web.<br />
<span><br />
</span></li>
</ul>
<hr /><strong>General</strong></p>
<ul>
<li>Incluye mejoras de seguridad de Mac OS X. Si deseas más información, consulta <a href="http://support.apple.com/kb/HT1222" onclick="s_objectID="><span>este sitio Web</span></a>.</li>
<li>Soluciona imprecisiones con Calculator cuando el idioma de Mac OS X está definido en Alemán o Suizo Alemán.</li>
<li>Aumenta la fiabilidad y el rendimiento de Chess.</li>
<li>Aumenta el rendimiento y la fiabilidad de DVD Player.</li>
<li>Incluye soporte de formato RAW de cámara digital para <a href="http://support.apple.com/kb/HT1475?viewlocale=es_ES" onclick="s_objectID=" ht1475?viewlocale="es_ES_1";return">más cámaras</a>.</li>
<li>Incluye mejoras de rendimiento de iCal.</li>
<li>Soluciona un problema al ejecutar la acción automatizada Nuevos eventos de iCal como un applet.</li>
<li>Añade un panel de Preferencias del sistema de trackpad para Mac portátiles.</li>
<li>Mejora la compatibilidad con tarjetas inteligentes como la Tarjeta de Acceso Común del Departamento de Defensa de Estados Unidos.</li>
<li>Actualiza los datos de zona horaria y las reglas de horario de verano para varios países.</li>
</ul>
<p><!--googleoff: all --></p>
<p class="sosumi"><strong>Important:</strong> La información sobre los productos no fabricados por Apple se proporciona sólo con fines informativos y no implica ninguna recomendación o aprobación por parte de Apple. Póngase en contacto con el proveedor para obtener información adicional.</p>
<p class="sosumi">&nbsp;</p>
<p class="sosumi">&nbsp;</p>
<p class="sosumi">  <a href="http://www.carlosandrade.es/blog/2008/12/20/leopard-1056/#more-82" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2008/12/20/leopard-1056/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Seguridad con Iptables y mas&#8230;</title>
		<link>http://www.carlosandrade.es/blog/2008/12/12/seguridad-con-iptables-y-mas/</link>
		<comments>http://www.carlosandrade.es/blog/2008/12/12/seguridad-con-iptables-y-mas/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 00:03:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[iptables]]></category>

		<category><![CDATA[Firewall]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2008/12/12/seguridad-con-iptables-y-mas/</guid>
		<description><![CDATA[Podemos leer en http://www.linux-os.com.ar/linuxos/seguridad-en-ssh-iptables-denyhosts-sudoers%E2%80%A6/
Si se fijan en los logs generados por ssh, verán la cantidad de intentos de ataques que sufre este servicio. Existen gusanos que lanzan ataques remotos con intención de loguearse como root en nuestros sistemas y así instalar otros rootkits o hacerse con el control del mismo.
Lo primero para mantener nuestra maquina [...]]]></description>
			<content:encoded><![CDATA[<p>Podemos leer en http://www.linux-os.com.ar/linuxos/seguridad-en-ssh-iptables-denyhosts-sudoers%E2%80%A6/
<p class="entry">Si se fijan en los logs generados por <strong>ssh</strong>, verán la cantidad de intentos de ataques que sufre este servicio. Existen gusanos que lanzan ataques remotos con intención de loguearse como <em>root</em> en nuestros sistemas y así instalar otros <a href="http://es.wikipedia.org/wiki/Rootkit">rootkits</a> o hacerse con el control del mismo.</p>
<p><span id="more-246"></span>Lo primero para mantener nuestra maquina protegida, será hacer un script de <a href="http://es.wikipedia.org/wiki/Netfilter/iptables">IPTABLES</a> personalizado para nuestro sistema, con <strong>política por defecto DROP</strong>.Una vez tengamos restringidos los accesos con <strong>IPTABLES</strong>, añadiremos nuestro usuario al grupo sudoers, así evitamos tener que estar logeados como <em>root</em> para tareas de administración. Para ello editamos (como root) el archivo.<code>$ nano /etc/sudoers</code>buscamos la linea:<code>root ALL=(ALL) ALL</code>a la que añadimos abajo el nombre de usuario que le permitiremos hacer sudo:<code>usuario ALL=(ALL) ALL</code>Conviene decir que es diferente hacer <a href="http://es.wikipedia.org/wiki/Su_%28Unix%29">su</a> o hacer <a href="http://es.wikipedia.org/wiki/Sudo">sudo</a>. <strong>Su</strong> es para convertirse en <em>root</em>, y <strong>sudo</strong> es para ejecutar un comando como <em>root</em>.También restringiremos el login de root desde <a href="http://www.linux-os.com.ar/linuxos/manual-ssh-el-dios-de-la-administracion-remota/">ssh</a> y el puerto editando el archivo <em>/etc/ssh/sshd.config</em>:<code>$ sudo nano /etc/ssh/sshd.config</code>y cambiamos las siguientes lineas:<code>PermitRootLogin YesPort 22</code>Por<code>PermitRootLogin NoPort 2222</code>Como hemos cambiado el puerto usado por <strong>ssh</strong>, tenemos que añadir una regla en nuestro script iptables (insisto, con política por defecto <strong>DROP</strong>):<code>$ sudo nano /etc/init.d/firewall.sh</code>Añadiendo lo siguiente:<code>#Permitimos el acceso <strong>ssh</strong> al puerto especificado en <em>/etc/ssh/sshd.config</em></code><code>iptables -A INPUT -p tcp --dport 2222 -j ACCEPTiptables -A OUTPUT -p tcp --sport 2222 -j ACCEPT</code>Bueno, ahora instalaremos una aplicación que revisa los logs de <strong>ssh</strong> en busca de ip’s que intente loguearse como root mediante ataques de <a href="http://es.wikipedia.org/wiki/Fuerza_bruta">fuerza bruta</a>. Después de varios intentos fallidos (se puede configurar) denyhosts rechazará y baneará las ip’s atacantes.<code>$ sudo apt-get install denyhosts</code>y lo paramos para posteriormente configurarlo:<code>$ /etc/init.d/denyhosts stop</code>editamos las siguientes variables a nuestro gusto:<code>$ sudo nano /etc/denyhosts.conf</code>*  DENY_THRESHOLD_INVALID: Número de intentos fallidos (con un usuario que no exista) necesarios para banear esa IP.* DENY_THRESHOLD_VALID: Número de intentos fallidos (con un usuario existente) necesarios para banear esa IP.* DENY_THRESHOLD_ROOT: Número de intentos fallidos (intentando entrar como root) necesarios para banear esa IP.* BLOCK_SERVICE = sshd/ALL/etc… : Servicios que bloqueados a usuarios baneados.* DAEMON_LOG = /var/log/denyhosts : Ubicación del log de denyhosts.y lo volvemos a iniciar:<code>$ /etc/init.d/denyhosts start</code>Ahora tendremos nuestro acceso <strong>ssh</strong> bastante protegido de ataques, recordad que tener una contraseña compuesta por letras, números y algún carácter especial ayuda mucho a la seguridad de nuestro sistema.<a href="http://www.thewilfamily.com/search/seguridad/"><em>Fuente: http://www.thewilfamily.com/search/seguridad/</em></a>Mas info <a href="http://www.linux-os.com.ar/linuxos/manual-ssh-el-dios-de-la-administracion-remota/">aquí</a> y <a href="http://www.linux-os.com.ar/linuxos/protege-tu-servidor-ssh-de-ataques-de-fuerza-bruta/">aquí</a>:Mas info también <a href="http://www.freesoftwaremagazine.com/articles/protect_your_server_with_deny_host">aquí</a> y <a href="http://oviedos.com.mx/index.php/blog/show/DenyHosts-Cmo-prevenir-ataques-de-diccionario-o-fuerza-bruta-contra-SSH.html">aquí</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2008/12/12/seguridad-con-iptables-y-mas/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Iptables en wikipedia</title>
		<link>http://www.carlosandrade.es/blog/2008/12/12/iptables-en-wikipedia/</link>
		<comments>http://www.carlosandrade.es/blog/2008/12/12/iptables-en-wikipedia/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 23:46:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[iptables]]></category>

		<category><![CDATA[Centos]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2008/12/12/iptables-en-wikipedia/</guid>
		<description><![CDATA[ Se puede leer en wikipedia Firewall con iptables 
Para generar este script con iptables, se deben seguir los siguientes pasos:

Se crea un archivo de texto con un editor de texto plano cualquiera, como ser vi, emacs o nano, entre muchísimos otros. A este archivo se lo llama, por ejemplo, iptables_ipt
Se le da permiso de ejecución [...]]]></description>
			<content:encoded><![CDATA[<h3> <span class="mw-headline">Se puede leer en wikipedia</span><span class="mw-headline"> <a href="http://es.wikipedia.org/wiki/Iptables">Firewall con iptables</a></span> <span style="font-size: small; font-weight: normal; float: none; margin-left: 0px" class="editsection"></span></h3>
<p>Para generar este <em>script</em> con <em>iptables</em>, se deben seguir los siguientes pasos:</p>
<ol>
<li>Se crea un archivo de texto con un editor de texto plano cualquiera, como ser vi, emacs o nano, entre muchísimos otros. A este archivo se lo llama, por ejemplo, <tt>iptables_ipt</tt></li>
<li>Se le da permiso de ejecución mediante el comando <tt>chmod u+x o también chmod 777 iptables_ipt</tt>.</li>
<li>Se ejecuta desde la línea de comandos <tt>./iptables_ipt</tt></li>
</ol>
<pre>#!/bin/bash

iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -m conntrack --ctstate NEW ! -i eth1 -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -A FORWARD -i eth1 -o eth1 -j REJECT
iptables -P INPUT DROP
iptables -P FORWARD DROP
echo "Firewall Activado"</pre>
<p>Para este ejemplo, <tt>eth0</tt> es la puerta local, y <tt>eth1</tt> es la puerta de enlace a Internet. Puede además agregarse bloqueo de puertos específicos, como por ejemplo:</p>
<pre>iptables -A INPUT -p tcp --dport 25 -j DROP # smtp filtrado 

# Corroboramos con nmap los puertos y nos dirá algo parecido 

$sudo nmap -sT "nuestra IP"

 * 22/tcp   filtered  ssh *
 * 25/tcp   filtered  smtp *</pre>
<p><a name="Filtrado_de_puertos" id="Filtrado_de_puertos"></a></p>
<h3> <span class="mw-headline">Filtrado de puertos</span> <span style="font-size: small; font-weight: normal; float: none; margin-left: 0px" class="editsection"></span></h3>
<p>Para filtrar un puerto específico, como el 22 ó 443, el código recomendable sería el siguiente:</p>
<pre>sudo iptables -t filter -I INPUT -p tcp --dport 22 -j DROP
sudo iptables -t filter -I INPUT -p tcp --dport 443 -j DROP</pre>
<p>Si se desea cerrar el puerto SSH completamente y que no sea filtrado:</p>
<pre> sudo /etc/init.d/sshd stop</pre>
<p>Si se desea acitvar de nuevo el puerto SSH para conexiones remotas:</p>
<pre> sudo /etc/init.d/sshd start</pre>
<p><a name="Enlaces_externos" id="Enlaces_externos"></a></p>
<h2> <span class="mw-headline"><br />
</span><span style="font-size: small; font-weight: normal; float: none; margin-left: 0px" class="editsection"></span></h2>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2008/12/12/iptables-en-wikipedia/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Instalando y configurando iptables en centos</title>
		<link>http://www.carlosandrade.es/blog/2008/12/12/instalando-y-configurando-iptables-en-centos/</link>
		<comments>http://www.carlosandrade.es/blog/2008/12/12/instalando-y-configurando-iptables-en-centos/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 23:25:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Firewall]]></category>

		<category><![CDATA[Centos]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2008/12/12/instalando-y-configurando-iptables-en-centos/</guid>
		<description><![CDATA[Podemos leer en  Instalando y configurando iptables en centos
 Entramos en materia, iptables es un firewall tipico de instalaciones linux:
1.- Instalacion usando yum:

yum install iptables
2.- Crear un archivo de texto de configuracion (usando nano o vim):
nano /etc/sysconfig/iptables

# By default drop all incoming and forwarded traffic
# Allow all outgoing traffic
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [...]]]></description>
			<content:encoded><![CDATA[<p>Podemos leer en  <a href="http://prog-asm.blogspot.com/2008/11/instalando-y-configurando-iptables-en.html">Instalando y configurando iptables en centos</a></p>
<p class="post-body entry-content"> Entramos en materia, iptables es un firewall tipico de instalaciones linux<span style="font-weight: bold">:</span></p>
<p>1.- Instalacion usando yum:<span style="font-weight: bold"><br />
</span><strong><br />
yum install iptables</strong></p>
<p>2.- Crear un archivo de texto de configuracion<span style="font-weight: bold"> </span><span><span>(usando nano o vim):</span></span></p>
<p><strong>nano /etc/sysconfig/iptables<br />
</strong><span style="font-style: italic"><br />
</span># By default drop all incoming and forwarded traffic<br />
<em># Allow all outgoing traffic<br />
*filter<br />
:INPUT DROP [0:0]<br />
:FORWARD DROP [0:0]<br />
:OUTPUT ACCEPT [0:0]</em></p>
<p># Puerto 80 http para los diferentes servicios web que podamos tener<br />
-A INPUT -p udp &#8211;dport 80 -j ACCEPT</p>
<p># Allow incoming SSH (el 22 es el puerto por default)<br />
<em> -A INPUT -p tcp &#8211;dport 22  -j ACCEPT<br />
</em></p>
<p><em># Allow ping<br />
-A INPUT -p icmp &#8211;icmp-type ping -j ACCEPT</em></p>
<p># Allow local traffic<br />
-A INPUT -i lo -j ACCEPT</p>
<p># Allow ping<br />
-A INPUT -p icmp &#8211;icmp-type ping -j ACCEPT</p>
<p>COMMIT<br />
Guardamos el archivo y debemos reiniciar iptables:</p>
<p><strong>service iptables restart</strong></p>
<p>Aparecera:</p>
<p><em>Flushing firewall rules:                                   [  OK  ]<br />
Setting chains to policy ACCEPT: filter                    [  OK  ]<br />
Unloading iptables modules:                                [  OK  ]<br />
Applying iptables firewall rules:                          [  OK  ]</em></p>
<p>Chequeo general:<strong>iptables -L</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2008/12/12/instalando-y-configurando-iptables-en-centos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Configuracion de un servidor DNS en centos</title>
		<link>http://www.carlosandrade.es/blog/2008/12/12/configuracion-de-un-servidor-dns-en-centos/</link>
		<comments>http://www.carlosandrade.es/blog/2008/12/12/configuracion-de-un-servidor-dns-en-centos/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 23:20:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[DNS]]></category>

		<category><![CDATA[Centos]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2008/12/12/configuracion-de-un-servidor-dns-en-centos/</guid>
		<description><![CDATA[Podemos leer en Configuracion de un servidor DNS en centos
BIND:

Usando yum para instalar bind:
yum -y install bind bind-libs caching-nameserver bind-chroot
chkconfig named on
service named start
Ahora editamos el fichero /var/named/chroot/etc/named.conf para añadir los reenviadores (servidores DNS externos, por ejemplo los de opendns.com), se agregan  dentro de la sección options:
forwarders {
IP1 del DNS que usemos;
IP2 del DNS [...]]]></description>
			<content:encoded><![CDATA[<p>Podemos leer en <span style="font-size: 100%"><span style="font-size: 85%"><span style="font-weight: bold"><a href="http://prog-asm.blogspot.com/2008/10/tutorial-de-openimscore-2-instalando.html">Configuracion de un servidor DNS en centos</a></span></span></span></p>
<p>BIND:</p>
<p><span style="font-size: 100%"><span style="font-size: 85%"><span style="font-weight: bold"><a href="http://prog-asm.blogspot.com/2008/10/tutorial-de-openimscore-2-instalando.html"></a></span></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt">Usando yum para instalar bind:</span></span></p>
<p>yum -y install bind bind-libs caching-nameserver bind-chroot</p>
<p>chkconfig named on</p>
<p>service named start</p>
<p>Ahora editamos el fichero /var/named/chroot/etc/named.conf para añadir los reenviadores (servidores DNS externos, por ejemplo los de opendns.com), se agregan <span> </span>dentro de la sección options:</p>
<p>forwarders {<br />
IP1 del DNS que usemos;<br />
IP2 del DNS que usemos;<br />
};</p>
<p>OJO: se debe borrar todo lo demas, solo dejar las lineas anteriores. Este archivo al modificarlo y resetear el servicio bind se actualiza el otro ubicado en /etc/chrootg&#8230;..-nameserver.conf<br />
Estos DNS son los de nuestro ISP o los de openDNS</p>
<p>Por último, editamos el fichero /etc/resolv.conf para decirle a la máquina que se consulte a sí misma y lo dejamos así:</p>
<p>search localdomain<br />
nameserver 127.0.0.1<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt">A todas las maquinas cliente le debemos editar el archivo resolv.conf si queremos que consulte a nuestro propio DNS.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt">Para configurar la zona:<o:p></o:p></span></span></p>
<p><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US">If you have installed the </span><tt><span style="font-size: 10pt" lang="EN-US">bind-chroot</span></tt><span style="font-size: 10pt" lang="EN-US"> package, the BIND service will run in the </span><tt><span style="font-size: 10pt" lang="EN-US">/var/named/chroot</span></tt><span style="font-size: 10pt" lang="EN-US"> environment. All configuration files will be moved there. As such, </span><tt><span style="font-size: 10pt" lang="EN-US">named.conf</span></tt><span style="font-size: 10pt" lang="EN-US"> will be located in </span><tt><span style="font-size: 10pt" lang="EN-US">/var/named/chroot/etc/named.conf</span></tt><span style="font-size: 10pt" lang="EN-US">, and so on.<o:p></o:p></span></span></p>
<p><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US">If you have installed the </span><tt><span style="font-size: 10pt" lang="EN-US">caching-nameserver</span></tt><span style="font-size: 10pt" lang="EN-US"> package, the default configuration file is </span><tt><span style="font-size: 10pt" lang="EN-US">/etc/named.caching-nameserver.conf</span></tt><span style="font-size: 10pt" lang="EN-US">. To override this default configuration, you can create your own custom configuration file in </span><tt><span style="font-size: 10pt" lang="EN-US">/etc/named.conf</span></tt><span style="font-size: 10pt" lang="EN-US">. BIND will use the </span><tt><span style="font-size: 10pt" lang="EN-US">/etc/named.conf</span></tt><span style="font-size: 10pt" lang="EN-US"> custom file instead of the default configuration file after you restart.<o:p></o:p></span></span></p>
<h3><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US"><o:p> </o:p></span></span></h3>
<h3><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US"><o:p> </o:p></span></span></h3>
<h3><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US"><o:p> </o:p></span></span></h3>
<h3><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US">Nameserver Types<o:p></o:p></span></span></h3>
<p><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US">There are four primary nameserver configuration types: <o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span class="term"><span style="font-size: 10pt" lang="EN-US">master</span></span><span style="font-size: 10pt" lang="EN-US"> <o:p></o:p></span></span></p>
<p style="margin-left: 36pt"><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US">Stores original and authoritative zone records for a namespace, and answers queries about the namespace from other nameservers. <o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span class="term"><span style="font-size: 10pt" lang="EN-US">slave</span></span><span style="font-size: 10pt" lang="EN-US"> <o:p></o:p></span></span></p>
<p style="margin-left: 36pt"><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US">Answers queries from other nameservers concerning namespaces for which it is considered an authority. However, slave nameservers get their namespace information from master nameservers. <o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span class="term"><span style="font-size: 10pt" lang="EN-US">caching-only</span></span><span style="font-size: 10pt" lang="EN-US"> <o:p></o:p></span></span></p>
<p style="margin-left: 36pt"><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US">Offers name-to-IP resolution services, but is not authoritative for any zones. Answers for all resolutions are cached in memory for a fixed period of time, which is specified by the retrieved zone record. <o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span class="term"><span style="font-size: 10pt" lang="EN-US">forwarding</span></span><span style="font-size: 10pt" lang="EN-US"> <o:p></o:p></span></span></p>
<p style="margin-left: 36pt"><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US">Forwards requests to a specific list of nameservers for name resolution. If none of the specified nameservers can perform the resolution, the resolution fails. <o:p></o:p></span></span></p>
<p><span style="font-size: 100%"><span style="font-size: 10pt" lang="EN-US">A nameserver may be one or more of these types. For example, a nameserver can be a master for some zones, a slave for others, and only offer forwarding resolutions for others. <o:p></o:p></span></span></p>
<pre><span style="font-size: 100%"><tt><span lang="EN-US">zone &#8220;example.com&#8221; {<span>   </span><o:p></o:p></span></tt></span></pre>
<pre><span style="font-size: 100%"><tt><span lang="EN-US"><span>        </span>type slave;<span>   </span><o:p></o:p></span></tt></span></pre>
<pre><span style="font-size: 100%"><tt><span lang="EN-US"><span>        </span>file &#8220;example.com.zone&#8221;;<span>   </span><o:p></o:p></span></tt></span></pre>
<pre><span style="font-size: 100%"><tt><span lang="EN-US"><span>        </span>masters { 192.168.0.1; }; <o:p></o:p></span></tt></span></pre>
<pre><span style="font-size: 100%"><tt><span lang="EN-US">};</span></tt><span lang="EN-US"><o:p></o:p></span></span></pre>
<p><span style="font-size: 100%"><span style="font-size: 10pt; font-family: 'Times New Roman'"><br />
Reiniciamos el servicio de DNS:</span></span></p>
<p>service named restart</p>
<p><!--[if !supportLineBreakNewLine]-->Otra forma:</p>
<p><span style="font-size: 100%">En primer lugar tendremos que instalar varios paquetes: </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>caching-nameserver-x.y.z<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>bind-utils-xx.xx-x<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>bind-xx.xx-x</samp></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%">Montamos el cd con la distribución en /mnt/cdrom: </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>mount /mnt/cdrom</samp></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%">e instalamos estos paquetes: </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>rpm -Uvh /mnt/cdrom/rutaacceso/bind-xx.xx-x<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>rpm -Uvh /mnt/cdrom/rutaacceso/caching-nameserver-x.y.z<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>rpm -Uvh /mnt/cdrom/rutaacceso/bind-utils-xx.xx-x</samp></span></pre>
<p class="MsoNormal"><span style="font-size: 100%">O bien utilizando apt-get, yum o el sistema de instalaci<span style="font-family: 'Arial Unicode MS'">ó</span>n de tu distribuci<span style="font-family: 'Arial Unicode MS'">ó</span>n.</span></p>
</td>
</tr>
</table>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt">yum -y install bind bind-libs caching-nameserver bind-chroot<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%">El paquete bind contiene todo el sistema de resolución de nombres. El paquete caching-nameserver contiene los datos necesarios para que nuestro servidor DNS sea un servidor válido para internet, va a actuar como servidor DNS para toda la red local. Por último el paquete bind-utils contiene varias utilidades para consultas y actualizaciones dinámicas.</span></p>
<h2><span style="font-size: 100%"><a title="AEN147" name="AEN147"></a><span style="font-size: 10pt">/etc/named.conf</span><span style="font-size: 10pt"> <o:p></o:p></span></span></h2>
<p><span style="font-size: 100%">El fichero named.conf contiene todos los dominios que va a albergar nuestro servidor DNS. Si el sistema está recién instalado deberá contener, entre otras cosas: </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>options {</samp></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%">directory &#8220;/var/named&#8221;; </span></p>
<p><span style="font-size: 100%">}; </span></p>
<p><span style="font-size: 100%">Indica que el resto de ficheros de configuración se encuentran en el directorio <tt><span style="font-size: 10pt">/var/named</span></tt></span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>zone &#8220;.&#8221; {<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>  </span>type hint;<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>  </span>file &#8220;root.cache&#8221;;<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>};</samp></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%">Este trozo de configuración indica al sistema de nombres de dominio que consulte a los servidores raíz de internet para resolver cualquier nombre que no sea local. De esta forma nuestro servidor actúa como servidor de internet. </span></p>
<p><span style="font-size: 100%">Ahora vamos a configurar nuestra zona: </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>zone &#8220;centro.ies&#8221; in {<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>  </span>type master;<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>  </span>file &#8220;centro.ies&#8221;;<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>  </span>allow-update{<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>    </span>127.0.0.1;<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>    </span>192.168.1.1;<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>  </span>};<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>};</samp></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%">Zone indica el nombre del dominio que estamos configurando, el resto son sus detalles. Type master indica que es el servidor principal de la zona. Si fuera un servidor secundario tendríamos que poner &#8220;type slave&#8221;. </span></p>
<p><span style="font-size: 100%">La línea file indica qué fichero contiene los datos de la zona. Este fichero se debe encontrar en el directorio <tt><span style="font-size: 10pt">/var/named</span></tt>. </span></p>
<p><span style="font-size: 100%">Por último, allow-update indica desde qué equipos se pueden realizar actualizaciones dinámicas, en nuestro caso sólo el mismo puede realizarlas. Si fuera un servidor secundario tendremos que poner la dirección del servidor principal. </span></p>
<p><span style="font-size: 100%">En estos ficheros tendremos que poner direcciones IP y no nombres porque el sistema de resolución aun no está activo. </span></p>
<h2><span style="font-size: 100%"><a title="AEN176" name="AEN176"></a>Configuración de la zona</span></h2>
<p><span style="font-size: 100%">Ahora tenemos que introducir una configuración inicial de la zona. No necesitamos introducir todos los equipos porque habilitaremos, mediante DHCP, el sistema de actualización dinámica, de forma que cuando un equipo se conecta se le asigna una dirección IP y un nombre y la correspondiente actualización de la zona. </span></p>
<p><span style="font-size: 100%">Hechas estas consideraciones pasamos a descibir el fichero <tt><span style="font-size: 10pt">/var/named/centro.ies</span></tt>, que deber ser similar al siguiente: </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>$TTL<span>    </span>604800<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>@<span>    </span>IN<span>   </span>SOA<span>  </span>ns1.centro.ies. root.ns1.centro.ies. (<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>                        </span>2002111502 ; serial<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>                        </span>86400 ; refresh<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>                        </span>7200 ; retry<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>                        </span>2592000 ; expire<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>                        </span>172800 ; default_ttl<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp><span>                        </span>)<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>@<span>               </span>IN<span>      </span>NS<span>      </span>ns1.centro.ies.<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>@<span>               </span>IN<span>      </span>MX<span>      </span>5<span>       </span>ns1.centro.ies.<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>ns1<span>             </span>IN<span>      </span>A<span>       </span>192.168.1.1<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>www.centro.ies.<span>         </span>IN<span>      </span>CNAME<span>   </span>ns1.centro.ies.<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>correo<span>                  </span>IN<span>      </span>CNAME<span>   </span>ns1.centro.ies.<span>         </span><o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>secretaria<span>              </span>IN<span>      </span>A<span>       </span>192.168.1.2<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>router<span>                  </span>IN <span>     </span>A<span>       </span>192.168.1.254</samp></span></pre>
<pre><span style="font-size: 100%"><span>              </span></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%">Los parámetro numéricos los dejaremos tal y como están, salvo quizás el número de serie que indica que es la segunda modificación (02) del día 15/11/2003 (20031105). </span></p>
<p><span style="font-size: 100%">El resto de los parámetros: </span></p>
<p><span style="font-size: 100%">@ equivale al dominio, centro.ies en este caso. </span></p>
<p><span style="font-size: 100%">SOA significa start of autority e indica el nombre del equipo (ns1.centro.ies) y la dirección de correo de administrador (root.centro.ies), sustituyendo la cásica @ por un &#8220;.&#8221;. </span></p>
<p><span style="font-size: 100%"><tt><span style="font-size: 10pt">@ IN NS ns1.centro.ies.</span></tt> indica que el servidor de nombres del dominio es ns1.centro.ies. (IN= internet NS=name server). </span></p>
<p><span style="font-size: 100%"><tt><span style="font-size: 10pt">@ IN MX 5 ns1.centro.ies.</span></tt> indica que el servidor de correo electrónico del dominio es ns1.centro.ies. (MX=Mail eXchanger) </span></p>
<p><span style="font-size: 100%"><tt><span style="font-size: 10pt">ns1 IN A 192.168.1.1</span></tt> esta línea asigna la dirección IP al nombrede máquina. (A=address). </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp><o:p> </o:p></samp></span></pre>
<pre><span style="font-size: 100%"><samp>www.centro.ies. IN CNAME ns1.centro.ies.<o:p></o:p></samp></span></pre>
<pre><span style="font-size: 100%"><o:p> </o:p></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%"><tt><span style="font-size: 10pt">correo IN CNAME ns1.centro.ies.</span></tt> estas líneas asignan dos alias a nuestro servidor principal, es decir ns1.centro.ies se llam también www.centro.ies y correo.cento.ies. </span></p>
<p><span style="font-size: 100%">Nota importante: Podemos observar como algunos nombres acaban en punto. El punto indica un nombre completo; si no tiene punto el sistema le añade automáticamente el nombre del dominio. Por ejemplo correo es equivalente a correo.centro.ies. Sim embargo si ponemos correo.cento.ies (sin punto final) en realidad lo que estamos poniendo es correo.centro.ies.cento.ies. Esta es la causa más frecuente de errores a la hora de configurar el servicio DNS. </span></p>
<p><span style="font-size: 100%">Las dos últimas líneas son dos nuevos registros de asignación de direcciones a nombres de máquina. </span></p>
<h2><span style="font-size: 100%"><a title="AEN211" name="AEN211"></a>Verificación del DNS</span></h2>
<p><span style="font-size: 100%">Una vez configurado el servicio de nombres vamos a ponerlo en marcha y comprobar si tiene algún error o funciona correctamente. </span></p>
<p><span style="font-size: 100%">El registro de incidencias anota en el fichero /var/log/messages el estado de inicio del sistema de nombres. Lo más cómodo es abrir una nueva consola y ejecutar: </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>tail -f /var/log/messages</samp></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%">para ir viendo las incidencia en el momento en que ocurren. </span></p>
<p><span style="font-size: 100%">Ahora reiniciamos el servicio: </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>/etc/init.d/named restart</samp></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%">y comprobamos en la consola qué ha sucedido. Si todo es correcto, enhorabuena, en caso contrarío tendremos que volver a editar los ficheros de configuración, corregir los errores y volver a reiniciar el servicio. </span></p>
<p><span style="font-size: 100%">Cuando tengamos el servicio en funcionamiento comprobaremos si la resolución la realiza correctamente. Ejecutamos: </span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>nslookup ns1.centro.ies</samp></span></pre>
</td>
</tr>
</table>
<p class="MsoNormal"><span style="display: none"><o:p> </o:p></span></p>
<table class="MsoNormalTable" style="background: #e0e0e0 none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial" border="0" cellpadding="0" width="100%">
<tr>
<td style="padding: 0.75pt">
<pre><span style="font-size: 100%"><samp>nslookup www.centro.ies</samp></span></pre>
</td>
</tr>
</table>
<p><span style="font-size: 100%">y en ambos casos nos debe responder con la dirección IP del servidor Linux. </span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: 100%"><span style="font-size: 10pt"><o:p> </o:p></span></span></p>
<p><span style="font-size: 100%"><br />
</span><span style="font-size: 85%"><span style="font-size: 100%"><span style="font-weight: bold"><br />
</span><br />
</span></span></p>
<p class="post hentry"> <a title="1623699055300059957" name="1623699055300059957"></a></p>
<h3 class="post-title entry-title"></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2008/12/12/configuracion-de-un-servidor-dns-en-centos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Aparicion de wordpress 2.6.5</title>
		<link>http://www.carlosandrade.es/blog/2008/11/28/httpwordpressorgdevelopment200811wordpress-265/</link>
		<comments>http://www.carlosandrade.es/blog/2008/11/28/httpwordpressorgdevelopment200811wordpress-265/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 23:14:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2008/11/28/httpwordpressorgdevelopment200811wordpress-265/</guid>
		<description><![CDATA[Se ha anuciado la release wp 2.6.5. Se ha saltado la 2.6.4 por no crear confusion con la hackeada.
Más sobre lo que se ha anunciado en este enlace de westi 
]]></description>
			<content:encoded><![CDATA[<p>Se ha anuciado la release <a href="http://wordpress.org/development/2008/11/wordpress-265/">wp 2.6.5</a>. Se ha saltado la 2.6.4 por no crear confusion con la hackeada.</p>
<p>Más sobre lo que se ha anunciado en este enlace de <a href="http://">westi </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2008/11/28/httpwordpressorgdevelopment200811wordpress-265/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Conexant High Definition audio for Windows XP Pro x64</title>
		<link>http://www.carlosandrade.es/blog/2008/11/25/conexant-high-definition-audio-for-windows-xp-pro-x64/</link>
		<comments>http://www.carlosandrade.es/blog/2008/11/25/conexant-high-definition-audio-for-windows-xp-pro-x64/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 00:51:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Sin categoría]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2008/11/25/conexant-high-definition-audio-for-windows-xp-pro-x64/</guid>
		<description><![CDATA[
Re: Conexant High Definition audio for Windows XP Pro x64

Here is what I found and what worked for my hp pavilion dv9205us (dv9000 family) notebook with Windows XP x64 Professional installed.I had been looking for around a month for a driver.I currently have XP x64 SP2 installed, however I don&#8217;t believe it makes a difference; [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana; font-size: 13px; line-height: normal" class="Apple-style-span">
<p style="font: normal normal normal 11px/normal verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif" class="smallfont"><strong>Re: Conexant High Definition audio for Windows XP Pro x64</strong></p>
<hr style="color: #cccccc" size="1" />
<p id="post_message_843528">Here is what I found and what worked for my hp pavilion dv9205us (dv9000 family) notebook with Windows XP x64 Professional installed.I had been looking for around a month for a driver.I currently have XP x64 SP2 installed, however I don&#8217;t believe it makes a difference; anyways:<strong>NOTE</strong>: Experienced users, please forgive me for the amount of detail and skip over what you already know. I have read other posts, where if you are a power user, you know what people are talking about, however for beginners I have seen posts that mention things such as &#8216;I don&#8217;t know what your talking about&#8217; etc.; hence the detail.I downloaded the following file from the HP site: <a href="ftp://ftp.hp.com/pub/softpaq/sp35001-35500/sp35271.exe" style="color: #000000" target="_blank" onclick="urchinTracker ('/outgoing/ftp_ftp_hp_com_pub_softpaq_sp35001_35500_sp35271_exe');">ftp://ftp.hp.com/pub/softpaq/sp35001-35500/sp35271.exe</a>I ran it and it extracts by default to: c:\swsetup\<strong>SP35271</strong> (If need be, you should be able to search the hp web site for <a href="http://search.hp.com/query.html?lang=en&amp;submit.x=4&amp;submit.y=6&amp;qt=SP35271&amp;la=en&amp;cc=us" style="color: #000000" target="_blank" onclick="urchinTracker ('/outgoing/http_search_hp_com_query_html_lang_en_amp_submit_x_4_amp_submit_y_6_amp_qt_SP35271_amp_la_en_amp_cc_us');">SP35271</a>)Once you select Next it runs this scan for the Hardware and mine failed with the following error with an OK option:Error - Driver Installation Failed Could not find the MEDIA device for this driver.I selected OK.I opened Device Manager (Right-click on My Computer &gt; Manage &gt; select Device Manager from the left pane)Beneath a section labeled Other devices; which has a question mark in from of that nameI double-clicked on the entry: Audio Device on High Definition Audio BusWent to the Driver tab and selected Update Driver.The &#8216;Hardware Update Wizard&#8217; dialog appears, select &#8216;Install from a list or specific location (Advanced)&#8217; &gt; NextSelect &#8216;Don&#8217;t search. I will choose the driver to install&#8217; &gt; NextFor the Hardware Type select &#8216;Show All Devices&#8217; (it takes longer to scroll down to Sound, video and game controllers) &gt; NextSelect &#8216;Have Disk&#8217;, on the &#8216;Install From Disk&#8217; panel, browse to where you extracted the files to; which by default is: c:\swsetup\SP35271 and select OKOn the Select the device driver you want to install for this hardware panel, beneath Model, it should list: Conexant High Definition Audio-Venice 5045Select it &gt; Next, it should display a &#8216;Update Driver Warning&#8217; panel, select Yes to continue installing this driver.It should then install the software for the driver, once it is done you should have sound!I Thank God for helping me get this figured out, and that is the truth!</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2008/11/25/conexant-high-definition-audio-for-windows-xp-pro-x64/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress spam-words blacklist</title>
		<link>http://www.carlosandrade.es/blog/2008/11/20/wordpress-spam-words-blacklist/</link>
		<comments>http://www.carlosandrade.es/blog/2008/11/20/wordpress-spam-words-blacklist/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 00:45:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.carlosandrade.es/blog/2008/11/20/wordpress-spam-words-blacklist/</guid>
		<description><![CDATA[WordPress spam-words blacklist.
Located in your Options/Discussion (wp-admin/options-discussions.php) admin panel, the WordPress Spam-Words Blacklist (a.k.a. the Comment Moderation Box) gives bloggers a chance to moderate comments that contain any of the words specified in the list. All such comments are not published, not deleted, but rather relocated to the “moderation” queue for further investigation. This is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://perishablepress.com/press/2007/10/08/wordpress-spam-battle-3-seconds-that-will-save-you-hours-of-time/">WordPress spam-words blacklist.</a></p>
<p>Located in your Options/Discussion (<code>wp-admin/options-discussions.php</code>) admin panel, the WordPress Spam-Words Blacklist (a.k.a. the Comment Moderation Box) gives bloggers a chance to moderate comments that contain any of the words specified in the list. All such comments are not published, not deleted, but rather relocated to the “moderation” queue for further investigation. This is good, because there <em>are</em> legitimate reasons why someone would want to include the word “sex” in a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlosandrade.es/blog/2008/11/20/wordpress-spam-words-blacklist/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

