<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1618663333888458484</id><updated>2014-04-01T05:14:44.392-07:00</updated><category term="Linux"/><category term="Windows"/><category term="Monitoreo"/><category term="Solaris"/><category term="Seguridad"/><category term="Scripts"/><category term="Virtualización"/><category term="Aplicaciones"/><category term="Servicios"/><category term="Informix"/><category term="Hardware"/><category term="VMware"/><category term="Blogger"/><category term="CLI"/><category term="Comandos"/><category term="Dominios"/><category term="Networking"/><category term="Proxy"/><category term="ldap"/><category term="Active Directory"/><category term="Squid"/><category term="Backups"/><category term="BlackBerry"/><category term="Cisco"/><category term="Glassfish"/><category term="MSSQL"/><category term="Routers"/><category term="XenServer"/><category term="Mini Ipad"/><category term="Storage"/><category term="Switches"/><category term="Tape"/><title type='text'>redes-seguridad</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Hernán Tirado</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>242</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-3939472963845186795</id><published>2014-03-02T18:38:00.003-08:00</published><updated>2014-03-02T18:48:05.103-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="CLI"/><category scheme="http://www.blogger.com/atom/ns#" term="Comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Dominios"/><category scheme="http://www.blogger.com/atom/ns#" term="ldap"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="Servicios"/><category scheme="http://www.blogger.com/atom/ns#" term="Squid"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Autenticando Squid en Active Directory</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Ado4aF78cuA/UxPtMch0PAI/AAAAAAAAUQw/NhlltdTHeTo/s1600/Squid+ad.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-Ado4aF78cuA/UxPtMch0PAI/AAAAAAAAUQw/NhlltdTHeTo/s1600/Squid+ad.png&quot; height=&quot;135&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Requerimientos:&amp;nbsp;&lt;/b&gt;Squid &amp;gt;= 2.5 (con LDAP helpers)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Versión de Squid utilizada:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;root@squid-testing:~# squid -v&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;Squid Cache: Version 2.7.STABLE9&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;LDAP Helpers (&lt;span style=&quot;color: red;&quot;&gt;ldap_auth &lt;/span&gt;y &lt;span style=&quot;color: red;&quot;&gt;squid_ldap_group&lt;/span&gt;):&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;root@squid-testing:~# locate ldap_auth&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;/usr/lib/squid/ldap_auth&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;/usr/share/doc/squid/README.auth_module.ldap_auth.gz&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;root@squid-testing:~# locate squid_ldap_group&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;/usr/lib/squid/squid_ldap_group&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;/usr/share/man/man8/squid_ldap_group.8.gz&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Antes de modificar la configuración del squid testeamos por la línea de comandos:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;/usr/lib/squid/ldap_auth -R -D usuario@mi.dominio.net -w &#39;password_de_usuario&#39; -b &quot;dc=mi,dc=dominio,dc=net&quot; -f &quot;sAMAccountName=%s&quot; -h ip_del_AD&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Ejemplo:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;root@squid-testing:~# /usr/lib/squid/ldap_auth -R -D morsa@redes.seguridad.net -w &#39;Mi-P2ssbuor&#39; -b &quot;dc=global,dc=company,dc=domain&quot; -f &quot;sAMAccountName=%s&quot; -h 192.168.0.1&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Luego de ejecutar el comando previo, queda esperando que ingresemos usuario y password separado por un espacio, en mi caso:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;morsa Mi-P2ssbuor&lt;br /&gt;OK&lt;/blockquote&gt;&lt;br /&gt;Si obtenemos &lt;b&gt;OK &lt;/b&gt;es que la autenticación funciona correctamente.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Editamos la configuración del Squid:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;root@squid-testing:~# vi /etc/squid/squid.conf&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Reemplazamos el auth_param basic program por el comando ejecutado anteriormente y unos parametros más como el realm y las TTLs de las credenciales:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;auth_param basic program &amp;nbsp;/usr/lib/squid/ldap_auth -R -D morsa@redes.seguridad.net -w &#39;Mi-P2ssbuor&#39; -b &quot;dc=redes,dc=seguridad,dc=net&quot; -f &quot;sAMAccountName=%s&quot; -h 192.168.0.1&lt;br /&gt;auth_param basic children 5&lt;br /&gt;auth_param basic realm Tupperware&lt;br /&gt;auth_param basic credentialsttl 5 minutes&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;La siguiente acl nos permite el que al abrir el explorardor nos pida credenciales:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl password proxy_auth REQUIRED&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Agregamos una lista de acceso externa llamada &lt;span style=&quot;color: red;&quot;&gt;GrupoInternet &lt;/span&gt;utilizando squid_ldap_group:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;external_acl_type &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;GrupoInternet &lt;/b&gt;&lt;/span&gt;%LOGIN /usr/lib/squid/squid_ldap_group -R -b &quot;dc=redes,dc=seguridad,dc=net&quot; -D morsa@redes.seguridad.net -w&amp;nbsp;Mi-P2ssbuor&amp;nbsp;-f &quot;(&amp;amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=%a,ou=Groups,ou=Contenedor1,ou=Contenedor2,dc=redes,dc=seguridad,dc=net))&quot; -h 192.168.0.1&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Agregamos otra lista de acceso llamada Internet utilizando la previa acl (&lt;span style=&quot;color: red;&quot;&gt;GrupoInternet&lt;/span&gt;) y utilizará un grupo en Active Directory llamado &lt;span style=&quot;color: blue;&quot;&gt;GrupoSquidAD&lt;/span&gt;&amp;nbsp;donde este grupo estará dentro del contenedor (&lt;/b&gt;ou=Groups,ou=Contenedor1,ou=Contenedor2,dc=redes,dc=seguridad,dc=net):&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl &lt;span style=&quot;color: #e69138;&quot;&gt;&lt;b&gt;Internet&lt;/b&gt; &lt;/span&gt;external &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;GrupoInternet&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;GrupoSquidAD&lt;/b&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;Permitimos acceso a la acl previa con el siguiente linea:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access allow &lt;b&gt;&lt;span style=&quot;color: #e69138;&quot;&gt;Internet&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reiniciamos el squid:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;root@squid-testing:~# /etc/init.d/squid start&lt;br /&gt;Starting Squid HTTP proxy: squid.&lt;br /&gt;root@squid-testing:~# !ps&lt;br /&gt;ps -efa | grep squid&lt;br /&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp;3901 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 20:14 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 /usr/sbin/squid -D -YC&lt;br /&gt;proxy &amp;nbsp; &amp;nbsp; 3906 &amp;nbsp;3901 99 20:14 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:02 (squid) -D -YC&lt;br /&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp;3932 31579 &amp;nbsp;0 20:14 pts/2 &amp;nbsp; &amp;nbsp;00:00:00 grep squid&lt;br /&gt;root@squid-testing:~#&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;IMPORTANTE:&lt;/b&gt; Recordar agregar los usuarios que queremos permitir el acceso a internet deben estar dentro del grupo&amp;nbsp;&lt;b style=&quot;color: blue;&quot;&gt;GrupoSquidAD &lt;/b&gt;del Active Directory.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;También les dejo una configuración completa del squid para que quede más claro:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;root@squid-testing:~# cat /etc/squid/squid.conf&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;############################################################## &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Auth&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;#############################################################&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;auth_param basic program /usr/lib/squid/ldap_auth -R -D morsa@redes.seguridad.net -w&amp;nbsp;&#39;Mi-P2ssbuor&amp;nbsp;-b &quot;dc=redes,dc=seguridad,dc=net&quot; -f&amp;nbsp;&quot;sAMAccountName=%s&quot; -h 192.168.0.1&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;auth_param basic children 5&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;auth_param basic realm Redes.Seguridad&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;auth_param basic credentialsttl 5 minutes&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;############################################################## &amp;nbsp; &amp;nbsp; &amp;nbsp; ACL&#39;s&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;#############################################################&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl http proto http&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl port_80 port 80&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl port_443 port 443&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl SSL_ports port 443 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# https&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl SSL_ports port 563 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# snews&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl SSL_ports port 873 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# rsync&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 80 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# http&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 21 20 &amp;nbsp; &amp;nbsp; &amp;nbsp; # ftp&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 443 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # https&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 70 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# gopher&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 210 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # wais&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 1025-65535 &amp;nbsp;# unregistered ports&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 280 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # http-mgmt&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 488 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # gss-http&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 591 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # filemaker&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 777 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # multiling http&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 631 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # cups&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 873 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # rsync&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Safe_ports port 901 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # SWAT&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl purge method PURGE&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl CONNECT method CONNECT&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl all src all&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;#Agregado por morsa para bloqueo de youtube&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl no_domains dstdomain &quot;/etc/squid/sitios_denegados.txt&quot;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl manager proto cache_object&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl localhost src 127.0.0.1/32&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl to_localhost dst 127.0.0.0/8 0.0.0.0/32&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl password proxy_auth REQUIRED&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;external_acl_type GrupoInternet %LOGIN /usr/lib/squid/squid_ldap_group -R -b &quot;dc=redes,dc=seguridad,dc=net&quot; -D morsa@redes.seguridad.net -w Mi-P2ssbuor&amp;nbsp;-f &quot;(&amp;amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=%a,ou=groups,ou=Contenedor1,ou=Contenedor2,dc=redes,dc=seguridad,dc=net))&quot; -h 192.168.0.1&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl Internet external GrupoInternet ARG1-InternetSquid&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;##############################################################ACCESOS&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;#############################################################&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access deny no_domains&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access allow Internet&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access allow password&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access deny all&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access allow manager localhost&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access deny manager&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access allow purge localhost&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access deny purge&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access deny !Safe_ports&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access deny CONNECT !SSL_ports&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access allow localhost&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access deny all&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;icp_access deny all&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_port 3128&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;hierarchy_stoplist cgi-bin ?&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;cache_mem 100 MB&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;cache_dir aufs /var/spool/squid 20000 16 256&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;maximum_object_size 4096 KB&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;cache_swap_low 95&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;cache_swap_high 100&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;access_log /var/log/squid/access.log squid&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;cache_log /var/log/squid/cache.log&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;pid_filename /var/run/squid.pid&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;refresh_pattern ^ftp: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1440 &amp;nbsp; &amp;nbsp;20% &amp;nbsp; &amp;nbsp; 10080&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;refresh_pattern ^gopher: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1440 &amp;nbsp; &amp;nbsp;0% &amp;nbsp; &amp;nbsp; &amp;nbsp;1440&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;refresh_pattern -i (/cgi-bin/|\?) 0 &amp;nbsp; &amp;nbsp; 0% &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;refresh_pattern (Release|Packages(.gz)*)$ &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 20% &amp;nbsp; &amp;nbsp; 2880&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;refresh_pattern . &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 20% &amp;nbsp; &amp;nbsp; 4320&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl permitidos src &quot;/etc/squid/permitidos&quot;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;http_access allow permitidos&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;upgrade_http0.9 deny shoutcast&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;acl apache rep_header Server ^Apache&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;broken_vary_encoding allow apache&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;extension_methods REPORT MERGE MKACTIVITY CHECKOUT&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;cache_effective_user proxy&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;cache_effective_group proxy&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;visible_hostname squid-testing&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;icon_directory /usr/share/squid/icons&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;error_directory /usr/share/squid/errors/es-ar&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;hosts_file /etc/hosts&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;coredump_dir /var/spool/squid&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;root@squid-testing:~#&lt;/blockquote&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/3939472963845186795/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=3939472963845186795' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/3939472963845186795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/3939472963845186795'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/03/autenticando-squid-en-active-directory.html' title='Autenticando Squid en Active Directory'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-Ado4aF78cuA/UxPtMch0PAI/AAAAAAAAUQw/NhlltdTHeTo/s72-c/Squid+ad.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-451841576085846245</id><published>2014-03-02T17:57:00.000-08:00</published><updated>2014-03-02T17:57:10.549-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Dominios"/><category scheme="http://www.blogger.com/atom/ns#" term="ldap"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Autenticando OpenFire en Active Directory</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;En esta otra vieja entrada se explicó como instalar OpenFire:&amp;nbsp;&lt;a href=&quot;http://www.redes-seguridad.com.ar/2012/03/openfire-debian-squeeze.html&quot;&gt;http://www.redes-seguridad.com.ar/2012/03/openfire-debian-squeeze.html&lt;/a&gt;, ahora se mostrará la configuración para que autentique en AD.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Luego de Instalarlo accedemos a la página de administración:&amp;nbsp;&lt;a href=&quot;http://openfire-server:9090/&quot;&gt;http://openfire-server:9090/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Configuramos el Idioma:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-FnshdargMYA/UxPexYEwUzI/AAAAAAAAUPM/_Xke2HxrsPY/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-FnshdargMYA/UxPexYEwUzI/AAAAAAAAUPM/_Xke2HxrsPY/s1600/01.png&quot; height=&quot;324&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Especificamos el nombre del servidor para ser accedido y los puertos:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-A2sD3hsE7E4/UxPew89HtnI/AAAAAAAAUPE/wnvU0wFN0wc/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-A2sD3hsE7E4/UxPew89HtnI/AAAAAAAAUPE/wnvU0wFN0wc/s1600/02.png&quot; height=&quot;204&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos &quot;&lt;b&gt;Base de datos interna&lt;/b&gt;&quot;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-1l8UXSNwT4I/UxPexE22NhI/AAAAAAAAUPI/K2m_pRQDIxg/s1600/03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-1l8UXSNwT4I/UxPexE22NhI/AAAAAAAAUPI/K2m_pRQDIxg/s1600/03.png&quot; height=&quot;164&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Especificamos la opción LDAP:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-KojYEL960iM/UxPexyaf-iI/AAAAAAAAUPY/kiGH4fyK0A4/s1600/04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-KojYEL960iM/UxPexyaf-iI/AAAAAAAAUPY/kiGH4fyK0A4/s1600/04.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos tipo de servidor &quot;Active Directory&quot;, la ip del servidor, el puerto, la DN Base, usuario y contraseña:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Bj4s8GfjRcI/UxPeyJcAChI/AAAAAAAAUPg/QQ_PeNXe-Xs/s1600/05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-Bj4s8GfjRcI/UxPeyJcAChI/AAAAAAAAUPg/QQ_PeNXe-Xs/s1600/05.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Indicamos el campo de usuario, el filtro en campo de búsqueda y el campo de la foto del avatar:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Neo5j4B9Eb8/UxPeyi0rFTI/AAAAAAAAUPo/BpR0cG48efw/s1600/06.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-Neo5j4B9Eb8/UxPeyi0rFTI/AAAAAAAAUPo/BpR0cG48efw/s1600/06.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;El mapeo del grupo:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-MEE9FUwxLVg/UxPezMCgmCI/AAAAAAAAUPw/zTmKRn_not4/s1600/07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-MEE9FUwxLVg/UxPezMCgmCI/AAAAAAAAUPw/zTmKRn_not4/s1600/07.png&quot; height=&quot;256&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Finalmente agregamos los usuarios que deseamos que administren la aplicación:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-sOc7UdU60Lc/UxPezlWqAlI/AAAAAAAAUP8/N6fwDWA5aqo/s1600/08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-sOc7UdU60Lc/UxPezlWqAlI/AAAAAAAAUP8/N6fwDWA5aqo/s1600/08.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/451841576085846245/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=451841576085846245' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/451841576085846245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/451841576085846245'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/03/autenticando-openfire-en-active.html' title='Autenticando OpenFire en Active Directory'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-FnshdargMYA/UxPexYEwUzI/AAAAAAAAUPM/_Xke2HxrsPY/s72-c/01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-4230750919827969113</id><published>2014-02-26T07:18:00.000-08:00</published><updated>2014-02-26T07:18:01.040-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><category scheme="http://www.blogger.com/atom/ns#" term="Virtualización"/><category scheme="http://www.blogger.com/atom/ns#" term="VMware"/><title type='text'>Ver Versión de VMtools en Unix</title><content type='html'>&lt;b&gt;Buscamos dentro del perl de las tools la cadena buildNr:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# cat /usr/bin/vmware-config-tools.pl |grep buildNr&lt;br /&gt;&amp;nbsp; my $buildNr;&lt;br /&gt;&amp;nbsp; $buildNr = &#39;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;aca aparece la version&lt;/span&gt;&lt;/b&gt;&#39;;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/4230750919827969113/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=4230750919827969113' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/4230750919827969113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/4230750919827969113'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/02/ver-version-de-vmtools-en-unix.html' title='Ver Versión de VMtools en Unix'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-7163980284981091634</id><published>2014-02-19T05:42:00.003-08:00</published><updated>2014-02-19T06:57:01.756-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="CLI"/><category scheme="http://www.blogger.com/atom/ns#" term="Comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Servicios"/><title type='text'>Instalar VNC Server en Oracle Linux Server </title><content type='html'>&lt;b&gt;Instalamos tigervnc-server:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# yum install tigervnc-server&lt;br /&gt;Loaded plugins: refresh-packagekit, security&lt;br /&gt;Setting up Install Process&lt;br /&gt;Resolving Dependencies&lt;br /&gt;--&amp;gt; Running transaction check&lt;br /&gt;---&amp;gt; Package tigervnc-server.x86_64 0:1.1.0-8.el6_5 will be installed&lt;br /&gt;--&amp;gt; Finished Dependency Resolution&lt;br /&gt;Dependencies Resolved&lt;br /&gt;================================================================================&lt;br /&gt;&amp;nbsp;Package &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Arch &amp;nbsp; &amp;nbsp; &amp;nbsp; Version &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Repository &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Size&lt;br /&gt;================================================================================&lt;br /&gt;Installing:&lt;br /&gt;&amp;nbsp;tigervnc-server &amp;nbsp; &amp;nbsp; x86_64 &amp;nbsp; &amp;nbsp; 1.1.0-8.el6_5 &amp;nbsp; &amp;nbsp; &amp;nbsp; public_ol6_latest &amp;nbsp; &amp;nbsp; 1.1 M&lt;br /&gt;Transaction Summary&lt;br /&gt;================================================================================&lt;br /&gt;Install &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 Package(s)&lt;br /&gt;Total download size: 1.1 M&lt;br /&gt;Installed size: 2.9 M&lt;br /&gt;Is this ok [y/N]: &lt;span style=&quot;color: red;&quot;&gt;y&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ENTER&lt;/span&gt;&lt;br /&gt;Downloading Packages:&lt;br /&gt;tigervnc-server-1.1.0-8.el6_5.x86_64.rpm &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 1.1 MB &amp;nbsp; &amp;nbsp; 00:03&lt;br /&gt;Running rpm_check_debug&lt;br /&gt;Running Transaction Test&lt;br /&gt;Transaction Test Succeeded&lt;br /&gt;Running Transaction&lt;br /&gt;&amp;nbsp; Installing : tigervnc-server-1.1.0-8.el6_5.x86_64 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1/1&lt;br /&gt;&amp;nbsp; Verifying &amp;nbsp;: tigervnc-server-1.1.0-8.el6_5.x86_64 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1/1&lt;br /&gt;Installed:&lt;br /&gt;&amp;nbsp; tigervnc-server.x86_64 0:1.1.0-8.el6_5&lt;br /&gt;Complete!&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Editamos la config y especificamos el usuario, en este caso root:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vi /etc/sysconfig/vncservers&lt;br /&gt;VNCSERVERS=&quot;2:root&quot;&lt;br /&gt;VNCSERVERARGS[2]=&quot;-geometry 1280x1024 -nolisten tcp -localhost&quot;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Especificamos el usuario de root para la conexión de VNC:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vncpasswd&lt;br /&gt;Password: &lt;span style=&quot;color: red;&quot;&gt;ponemos_el_pass&lt;/span&gt;Verify: &lt;span style=&quot;color: red;&quot;&gt;ponemos_el_pass&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Agregamos para que inicie cuando se reinicie el equipo:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# chkconfig vncserver on&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Iniciamos el servicio:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# service vncserver start&lt;br /&gt;Starting VNC server: 2:root xauth: &amp;nbsp;creating new authority file /root/.Xauthority&lt;br /&gt;xauth: (stdin):1: &amp;nbsp;bad display name &quot;MISERVER:2&quot; in &quot;add&quot; command&lt;br /&gt;New &#39;MISERVER:2 (root)&#39; desktop is MISERVER:2&lt;br /&gt;Creating default startup script /root/.vnc/xstartup&lt;br /&gt;Starting applications specified in /root/.vnc/xstartup&lt;br /&gt;Log file is /root/.vnc/MISERVER:2.log&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ &amp;nbsp;OK &amp;nbsp;]&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Deshabilitamos el firewall:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# iptables -F&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Lo habilitamos en la interface gráfica:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-zywLNRIp1Wg/UwS0zoKE1XI/AAAAAAAATqw/aQx7SWrsIbs/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-zywLNRIp1Wg/UwS0zoKE1XI/AAAAAAAATqw/aQx7SWrsIbs/s1600/01.png&quot; height=&quot;385&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-rqpx-6o8qwQ/UwS0zp_Gu-I/AAAAAAAATqs/n5doHN0Rm64/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-rqpx-6o8qwQ/UwS0zp_Gu-I/AAAAAAAATqs/n5doHN0Rm64/s1600/02.png&quot; height=&quot;311&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/7163980284981091634/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=7163980284981091634' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7163980284981091634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7163980284981091634'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/02/instalar-vnc-server-en-oracle-linux.html' title='Instalar VNC Server en Oracle Linux Server '/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-zywLNRIp1Wg/UwS0zoKE1XI/AAAAAAAATqw/aQx7SWrsIbs/s72-c/01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-7231603201556779081</id><published>2014-02-17T13:03:00.001-08:00</published><updated>2014-02-17T13:03:11.889-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>LVM (Logical Volume Manager)</title><content type='html'>&lt;div&gt;Creamos las particiones de cada disco con fdisk ahora que lo vemos (ya está explicado en este otro enlace:&amp;nbsp;&lt;a href=&quot;http://www.redes-seguridad.com.ar/2013/05/mover-el-var-otro-disco.html&quot;&gt;http://www.redes-seguridad.com.ar/2013/05/mover-el-var-otro-disco.html&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# fdisk /dev/sdf&lt;br /&gt;# fdisk /dev/sdg&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Creamos el Volumen Físico (PV) especificando las 2 particiones de ambos discos:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# pvcreate /dev/sdf1 /dev/sdg1&lt;br /&gt;&amp;nbsp; Physical volume &quot;/dev/sdf1&quot; successfully created&lt;br /&gt;&amp;nbsp; Physical volume &quot;/dev/sdg1&quot; successfully created&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Escanemos los PV:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# pvscan&lt;br /&gt;&amp;nbsp; PV /dev/sdf1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lvm2 [300.00 GiB]&lt;br /&gt;&amp;nbsp; PV /dev/sdg1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lvm2 [300.00 GiB]&lt;br /&gt;&amp;nbsp; Total: 2 [599.99 GiB] / in use: 0 [0 &amp;nbsp; ] / in no VG: 2 [599.99 GiB]&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Creamos el Volumen Group (VG) especificando las particiones creadas:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vgcreate VG-DATOS /dev/sdf1 /dev/sdg1&lt;br /&gt;&amp;nbsp; Volume group &quot;VG-DATOS&quot; successfully created&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Verificamos el VG:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vgdisplay&lt;br /&gt;&amp;nbsp; --- Volume group ---&lt;br /&gt;&amp;nbsp; VG Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VG-DATOS&lt;br /&gt;&amp;nbsp; System ID&lt;br /&gt;&amp;nbsp; Format &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lvm2&lt;br /&gt;&amp;nbsp; Metadata Areas &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;br /&gt;&amp;nbsp; Metadata Sequence No &amp;nbsp;1&lt;br /&gt;&amp;nbsp; VG Access &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; read/write&lt;br /&gt;&amp;nbsp; VG Status &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resizable&lt;br /&gt;&amp;nbsp; MAX LV &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;&amp;nbsp; Cur LV &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;&amp;nbsp; Open LV &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br /&gt;&amp;nbsp; Max PV &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;&amp;nbsp; Cur PV &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;br /&gt;&amp;nbsp; Act PV &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;br /&gt;&amp;nbsp; VG Size &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 599.98 GiB&lt;br /&gt;&amp;nbsp; PE Size &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4.00 MiB&lt;br /&gt;&amp;nbsp; Total PE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;153596&lt;br /&gt;&amp;nbsp; Alloc PE / Size &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 / 0&lt;br /&gt;&amp;nbsp; Free &amp;nbsp;PE / Size &amp;nbsp; &amp;nbsp; &amp;nbsp; 153596 / 599.98 GiB&lt;br /&gt;&amp;nbsp; VG UUID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JacDGH-3VEI-7TMP-bg83-uW6z-HuJS-uLjhtD&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Creamos el Volumen Lógico (LV):&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# lvcreate -l 100%FREE -n LV-DATOS DATOS-VG&lt;br /&gt;&amp;nbsp; Logical volume &quot;LV-DATOS&quot; created&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Formateamos el LV con mkfs en ext4:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# mkfs.ext4 /dev/DATOS-VG/LV-DATOS&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Listamos los LV:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# lvs&lt;br /&gt;&amp;nbsp; LV &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attr &amp;nbsp; &amp;nbsp; &amp;nbsp; LSize &amp;nbsp; Pool Origin Data% &amp;nbsp;Move Log Cpy%Sync Convert&lt;br /&gt;&amp;nbsp; LV-DATOS DATOS-VG -wi-a----- 599.98g&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Verificamos el ID para montarlo en el fstab:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# blkid&lt;br /&gt;/dev/mapper/DATOS--LV--DATOS--LV: UUID=&quot;c89de210-52de-4005-8d10-9b4676e4d97d&quot; TYPE=&quot;ext4&quot;&amp;nbsp;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Creamos el punto de montaje, editamos el fstab y lo montamos:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# mkdir /datos&lt;br /&gt;# vi /etc/fstab&lt;br /&gt;UUID=c89de210-52de-4005-8d10-9b4676e4d97d /datos &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ext4 &amp;nbsp; &amp;nbsp;defaults &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 2&lt;br /&gt;# mount /datos&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/7231603201556779081/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=7231603201556779081' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7231603201556779081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7231603201556779081'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/02/lvm-logical-volume-manager.html' title='LVM (Logical Volume Manager)'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-319360438561236930</id><published>2014-02-17T13:00:00.002-08:00</published><updated>2014-02-17T13:03:29.646-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Agregar disco a Linux que no lo veía con el fdisk</title><content type='html'>Al agregar un nuevo disco, ejecutaba &quot;fdisk -l&quot; y no veía los discos, para no reiniciar el S.O. ejecuté lo siguiente:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ls -ltr /sys/class/scsi_host&lt;br /&gt;total 0&lt;br /&gt;lrwxrwxrwx. 1 root root 0 Feb 12 11:59 host2 -&amp;gt; ../../devices/pci0000:00/0000:00:10.0/host2/scsi_host/host2&lt;br /&gt;lrwxrwxrwx. 1 root root 0 Feb 12 11:59 host1 -&amp;gt; ../../devices/pci0000:00/0000:00:07.1/ata2/host1/scsi_host/host1&lt;br /&gt;lrwxrwxrwx. 1 root root 0 Feb 12 11:59 host0 -&amp;gt; ../../devices/pci0000:00/0000:00:07.1/ata1/host0/scsi_host/host0&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Por cada host que nos devuelve el comando previo se ejecuta lo siguiente:&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# echo &quot;- - -&quot; &amp;gt; /sys/class/scsi_host/host0/scan&lt;br /&gt;# echo &quot;- - -&quot; &amp;gt; /sys/class/scsi_host/host1/scan&lt;br /&gt;# echo &quot;- - -&quot; &amp;gt; /sys/class/scsi_host/host2/scan&lt;/blockquote&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/319360438561236930/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=319360438561236930' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/319360438561236930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/319360438561236930'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/02/agregar-disco-linux-no-lo-veia-el-fdisk.html' title='Agregar disco a Linux que no lo veía con el fdisk'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-167865775856421471</id><published>2014-02-13T12:27:00.000-08:00</published><updated>2014-03-02T17:58:41.954-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="CLI"/><category scheme="http://www.blogger.com/atom/ns#" term="Comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="ldap"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Agregar Usuarios de una OU a un grupo en Active Directory</title><content type='html'>&lt;b&gt;Utilizamos el dsquery para obtener el listado y luego el dsmod para modificarlo:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;C:\Users\&amp;gt;dsquery user -startnode &quot;ou=Ventas,ou=Users,dc=mi,dc=dominio,dc=com&quot; | dsmod group &quot;cn=Ventas,ou=groups,dc=mi,dc=dominio,dc=com&quot; -addmbr&lt;/blockquote&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/167865775856421471/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=167865775856421471' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/167865775856421471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/167865775856421471'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/02/agregar-usuarios-de-una-ou-un-grupo-en.html' title='Agregar Usuarios de una OU a un grupo en Active Directory'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-3019651120123196491</id><published>2014-02-10T07:09:00.003-08:00</published><updated>2014-02-13T12:29:59.875-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="CLI"/><category scheme="http://www.blogger.com/atom/ns#" term="Comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Networking"/><category scheme="http://www.blogger.com/atom/ns#" term="Virtualización"/><category scheme="http://www.blogger.com/atom/ns#" term="VMware"/><title type='text'>Default Gateway on ESXi</title><content type='html'>&lt;blockquote class=&quot;tr_bq&quot;&gt;~ # esxcli network ip route ipv4 list&lt;br /&gt;Network &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Netmask &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Gateway &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Interface &amp;nbsp;Source&lt;br /&gt;------------- &amp;nbsp;------------- &amp;nbsp;--------------- &amp;nbsp;--------- &amp;nbsp;------&lt;br /&gt;default &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;0.0.0.0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;192.168.0.1 &amp;nbsp;&amp;nbsp;vmk0 &amp;nbsp; &amp;nbsp; &amp;nbsp; MANUAL&lt;br /&gt;192.168.0.0 &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;255.255.255.0 &amp;nbsp;0.0.0.0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vmk0 &amp;nbsp; &amp;nbsp; &amp;nbsp; MANUAL&lt;br /&gt;~ #&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/3019651120123196491/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=3019651120123196491' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/3019651120123196491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/3019651120123196491'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/02/default-gateway-on-esxi.html' title='Default Gateway on ESXi'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-8653359395164039661</id><published>2014-01-28T13:09:00.002-08:00</published><updated>2014-02-19T05:45:17.693-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Backups"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoreo"/><category scheme="http://www.blogger.com/atom/ns#" term="Scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Servicios"/><category scheme="http://www.blogger.com/atom/ns#" term="Tape"/><title type='text'>Monitoring IBM TS3100 Tape Library with Nagios</title><content type='html'>&lt;div class=&quot;tr_bq&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://lh6.googleusercontent.com/-Cl9VV4AY4j0/UwDck_firKI/AAAAAAAATiM/jELEx9u5uzU/s640/blogger-image-1842537018.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;125&quot; src=&quot;https://lh6.googleusercontent.com/-Cl9VV4AY4j0/UwDck_firKI/AAAAAAAATiM/jELEx9u5uzU/s400/blogger-image-1842537018.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;tr_bq&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;tr_bq&quot;&gt;&lt;b&gt;Descargué el &quot;&lt;span style=&quot;color: red;&quot;&gt;check_ibm_ts_tape.pl&lt;/span&gt;&quot; del siguiente enlace: &lt;a href=&quot;http://www.claudiokuenzler.com/nagios-plugins/check_ibm_ts_tape.php&quot;&gt;http://www.claudiokuenzler.com/nagios-plugins/check_ibm_ts_tape.php&lt;/a&gt;&amp;nbsp;en la ruta donde guardo los scripts de nagios (en mi caso /ruta-nagios/libexec):&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;tr_bq&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# wget http://www.claudiokuenzler.com/nagios-plugins/check_ibm_ts_tape.pl&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;--2014-01-28 17:06:08-- &amp;nbsp;http://www.claudiokuenzler.com/nagios-plugins/check_ibm_ts_tape.pl&lt;br /&gt;Resolving www.claudiokuenzler.com... 144.76.83.23&lt;br /&gt;Connecting to www.claudiokuenzler.com|144.76.83.23|:80... connected.&lt;br /&gt;HTTP request sent, awaiting response... 200 OK&lt;br /&gt;Length: 7078 (6.9K) [text/x-perl]&lt;br /&gt;Saving to: `check_ibm_ts_tape.pl&#39;&lt;br /&gt;100%[=======================================================================================================================================&amp;gt;] 7,078 &amp;nbsp; &amp;nbsp; &amp;nbsp; 30.9K/s &amp;nbsp; in 0.2s&lt;br /&gt;2014-01-28 17:06:10 (30.9 KB/s) - `check_ibm_ts_tape.pl&#39; saved [7078/7078]&lt;br /&gt;#&lt;/blockquote&gt;&lt;div class=&quot;tr_bq&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Damos permisos de ejecución:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;#&amp;nbsp;chmod a+x check_ibm_ts_tape.pl&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Lo ejecutamos sin parámetros y nos muestra que library&#39;s están disponibles:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./check_ibm_ts_tape.pl&lt;br /&gt;Model must be either ts3100 or ts3200.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Si le damos --help nos muestra la ayuda:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;# ./check_ibm_ts_tape.pl --help&lt;br /&gt;check_ibm_ts_tape.pl (c) 2012 Claudio Kuenzler (published under GPL License)&lt;br /&gt;Version: 20120901&lt;br /&gt;Usage: ./check_ibm_ts_tape.pl -H host [-C community] -m model -t checktype&lt;br /&gt;Options:&lt;br /&gt;-H &amp;nbsp; &amp;nbsp; &amp;nbsp;Hostname or IP address of tape library.&lt;br /&gt;-C &amp;nbsp; &amp;nbsp; &amp;nbsp;SNMP community name (if not set, public will be used).&lt;br /&gt;-m &amp;nbsp; &amp;nbsp; &amp;nbsp;Model of the tape library. Must be either ts3100 or ts3200.&lt;br /&gt;-t &amp;nbsp; &amp;nbsp; &amp;nbsp;Type to check. See below for valid types.&lt;br /&gt;--help &amp;nbsp;Show this help/usage.&lt;br /&gt;Check Types:&lt;br /&gt;info -&amp;gt; Show basic information of the tape library (hostname, serial number, etc)&lt;br /&gt;status -&amp;gt; Checks the current status and outputs error codes if status is not ok&lt;br /&gt;clean -&amp;gt; Checks all drives of tape library if cleaning is required&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Ejecutamos el comando completo (Donde 192.168.0.100 es la ip de la Library, la Comunidad la especificamos con el -C, el modelo con el -m y lo que deseamos chequear con el -t, en este caso uso el info):&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./check_ibm_ts_tape.pl -H 192.168.0.100 -C Comunidad -m ts3100 -t info&lt;br /&gt;server.dominio (IBM TS3100) - Product-No: XXXX-TL - S/N: XXXXXXXX - running on Firmware X.XX&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Ejecutamos el mismo comando, pero ahora con el check de status y luego el de clean:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./check_ibm_ts_tape.pl -H 192.168.0.100 -C Comunidad -m ts3100 -t info&lt;br /&gt;ts3100 WARNING - Current status is: non-critical - No error (error code: 0)&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./check_ibm_ts_tape.pl -H 192.168.0.100 -C Comunidad -m ts3100 -t clean&lt;br /&gt;ts3100 WARNING - 1 tape drive needs to be cleaned&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Editamos el commands.cfg del nagios y agregamos lo siguiente:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vi /ruta-del-nagios/commands.cfg&lt;br /&gt;define command{&lt;br /&gt;command_name check_library&lt;br /&gt;command_line $USER1$/check_ibm_ts_tape.pl -H $HOSTADDRESS$ -C Comunidad -m ts3100 -t $ARG1$&lt;br /&gt;}&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Editamos el hosts.cfg y el services.cfg de la ruta del nagios y agregamos lo siguiente:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vi /ruta-del-nagios/hosts.cfg&lt;br /&gt;define host{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; host_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tape_Library&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alias &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tape_Library&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;address &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;192.168.0.100&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vi /ruta-del-nagios/services.cfg&lt;br /&gt;define service{&lt;br /&gt;use &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; generic-service,srv-pnp&lt;br /&gt;host_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tape_Library&lt;br /&gt;service_description &amp;nbsp; &amp;nbsp; &amp;nbsp;Clean&lt;br /&gt;check_command &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; check_library!clean&lt;br /&gt;}&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;define service{&lt;br /&gt;use &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; generic-service,srv-pnp&lt;br /&gt;host_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tape_Library&lt;br /&gt;service_description &amp;nbsp; &amp;nbsp; &amp;nbsp;Info&lt;br /&gt;check_command &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; check_library!info&lt;br /&gt;}&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;define service{&lt;br /&gt;use &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; generic-service,srv-pnp&lt;br /&gt;host_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tape_Library&lt;br /&gt;service_description &amp;nbsp; &amp;nbsp; &amp;nbsp;Status&lt;br /&gt;check_command &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; check_library!status&lt;br /&gt;}&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Verificamos la configuración del nagios antes de reiniciarlo:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;#/ruta-del-nagios/bin/nagios -v /ruta-del-nagios/etc/nagios.cfg&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Si devuelve 0 warnings y 0 errors reiniciamos el servicio con:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# /etc/init.d/nagios reload&lt;/blockquote&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/8653359395164039661/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=8653359395164039661' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/8653359395164039661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/8653359395164039661'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/01/monitoring-ibm-ts3100-tape-library-with.html' title='Monitoring IBM TS3100 Tape Library with Nagios'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh6.googleusercontent.com/-Cl9VV4AY4j0/UwDck_firKI/AAAAAAAATiM/jELEx9u5uzU/s72-c/blogger-image-1842537018.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-4510506573371035048</id><published>2014-01-21T13:29:00.000-08:00</published><updated>2014-01-21T13:29:09.783-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>Sumatoria de Espacio Usado de Todos los Filesystems </title><content type='html'>&lt;blockquote class=&quot;tr_bq&quot;&gt;# df -k|awk {&#39;print $3&#39;}|grep -v used|grep -v ^0|awk &#39;{ sum+=$1 } END {print sum/1024/1024 &quot;G&quot;}&#39;&lt;/blockquote&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/4510506573371035048/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=4510506573371035048' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/4510506573371035048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/4510506573371035048'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/01/sumatoria-de-espacio-usado-de-todos-los.html' title='Sumatoria de Espacio Usado de Todos los Filesystems '/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-5774292500889950479</id><published>2014-01-21T08:09:00.002-08:00</published><updated>2014-01-21T08:11:33.076-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Backups"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Instalando RALUS en CentOS 5.4 (Symantec Backup Exec Agent for Linux 14.0.1798)</title><content type='html'>&lt;b&gt;Descargamos el cliente para linux: &lt;span style=&quot;color: red;&quot;&gt;RALUS_RMALS_RAMS-1798.17.tar.gz&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Descomprimimos y destareamos:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# tar xzvf RALUS_RMALS_RAMS-1798.17.tar.gz&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;VxIF/NativePerl/Net/SocketCmd.pm&lt;br /&gt;VxIF/NativePerl/PerlUnixSh.pm&lt;br /&gt;VxIF/NativePerl/PerlUnixCmds.pm&lt;br /&gt;#&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Accedemos a la carpeta y verificamos que exista el installralus y instalamos:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# cd RALUS64/&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ls -l&lt;br /&gt;total 28&lt;br /&gt;-rwxr-xr-x 1 10001 110 &amp;nbsp;634 Nov &amp;nbsp;8 &amp;nbsp;2011 installralus&lt;br /&gt;-rwxr-xr-x 1 10001 110 &amp;nbsp;623 Nov &amp;nbsp;8 &amp;nbsp;2011 installrmal&lt;br /&gt;drwxr-xr-x 3 10001 110 4096 Jan 26 &amp;nbsp;2012 pkgs&lt;br /&gt;-rwxr-xr-x 1 10001 110 &amp;nbsp;226 Jan 26 &amp;nbsp;2012 ralusinst.conf&lt;br /&gt;-rwxr-xr-x 1 10001 110 &amp;nbsp;257 Jan 26 &amp;nbsp;2012 rmalinst.conf&lt;br /&gt;-rwxr-xr-x 1 10001 110 &amp;nbsp;567 Nov &amp;nbsp;8 &amp;nbsp;2011 uninstallralus&lt;br /&gt;-rwxr-xr-x 1 10001 110 &amp;nbsp;566 Nov &amp;nbsp;8 &amp;nbsp;2011 uninstallrmal&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./installralus&lt;/blockquote&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Symantec Backup Exec Agent for Linux 14.0.1798&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Enter the system names separated by spaces on which to install RALUS: (LinuxServer)&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Checking system communication:&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Checking OS version on LinuxServer ......................................................... Linux 2.6.18-164.el5&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Checking system support for LinuxServer ................................. Linux 2.6.18-164.el5 supported by RALUS&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Initial system check completed successfully.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Press [Return] to continue: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;ENTER&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;installralus will install the following RALUS packages on Linux target system: LinuxServer&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;VRTSralus &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Symantec Backup Exec Agent for Linux&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Press [Return] to continue: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;ENTER&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Checking system installation requirements:&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Checking RALUS installation requirements on Linux target systems: LinuxServer&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Checking RALUS installation requirements on LinuxServer:&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Checking file system space ..................................................................... required space is available&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Installation requirements checks completed successfully.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Press [Return] to continue: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;ENTER&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Checking for port 10000 ............................................................................................... Done&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Agent and Backup Exec server Configuration&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Enter the names or IP addresses of the Backup Exec servers that you want the agent on &#39;LinuxServer&#39; to communicate with.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; An IP Address: XXX.XXX.XXX.XXX&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A Host Name: COMPUTERNAME&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Enter a directory host:&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Enter the names or IP addresses of the Backup Exec servers that you want the agent on &#39;LinuxServer&#39; to communicate with.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; An IP Address: XXX.XXX.XXX.XXX&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A Host Name: COMPUTERNAME&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Enter a directory host: Ip_Del_Server_De_Backup_Exec&lt;/i&gt;&lt;br /&gt;&lt;i&gt;Do you want to add another name or address for this agent? [y, n] (n) &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;ENTER&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Hostnames and/or IP addresses verification for &#39;LinuxServer&#39;:&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Address: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Ip_Del_Server_De_Backup_Exec&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Is this information correct? [y, n] (y) &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ENTER&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;To perform backups, you must have a &#39;beoper&#39; user group configured with root account priviledges on the system. The &#39;beoper&#39; user group can be created on all systems except NIS Servers.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;After pressing [Return], the system &#39;LinuxServer&#39; will be scanned to detect a &#39;beoper&#39; user group with root account privileges. It will also scan for a NIS server.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Press [Return] to continue: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ENTER&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Checking for NIS server: ............................................................................................... No&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Checking for &#39;beoper&#39; user group: ................................................................................ Not Found&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Checking for &#39;root&#39; user membership in &#39;beoper&#39; user group: ...................................................... Not Found&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;You can create &#39;beoper&#39; user group manually or you can choose to have it created automatically.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Do you want installer to create &#39;beoper&#39; user group on &#39;LinuxServer&#39;? [y, n] (y) &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ENTER&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Do you want to use specific group ID when creating &#39;beoper&#39; user group? [y, n] (n) &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;ENTER&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Creating group &#39;beoper&#39;: .............................................................................................. Done&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Do you want to add the &#39;root&#39; user to &#39;beoper&#39; user group? [y, n] (y) &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ENTER&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Adding &#39;root&#39; user to &#39;beoper&#39; user group: ........................................................................... Done&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Press [Return] to continue: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ENTER&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Checking Symantec Backup Exec Agent for Linux on LinuxServer:&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Checking VRTSralus package&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Installing VRTSralus 14.0.1798 on LinuxServer&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;................................................. done 1 of 1 steps&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Symantec Backup Exec Agent for Linux installation completed successfully.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Press [Return] to continue: &amp;nbsp; &amp;nbsp; Copying new initialization scripts .................................................................................... Done&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Updating files for beoper group ....................................................................................... Done&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Installing SymSnap driver ........................................................................................... Failed&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Symantec Backup Exec Agent for Linux 14.0.1798&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Configuring Symantec Backup Exec Agent for Linux:&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Creating configuration files on LinuxServer ................................................................ Done&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;The agent installer can automatically start the agent after the installation completes. Do you want to automatically start the agent on &#39;LinuxServer&#39;? [y, n] (y) &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ENTER&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Starting agent on LinuxServer .............................................................................. Done&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;To establish a trust between the Backup Exec server and the agent, move to the Backup Exec server and add the agent computer to the list of servers.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;To add the agent computer, click Add on the Backup and Restore tab.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Symantec Backup Exec Agent for Linux configured successfully.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;Press [Return] to continue: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ENTER&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;The response file is saved at:&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; /var/tmp/vxif/installralus121105902/installralus121105902.response&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;The installralus log is saved at:&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; /var/tmp/vxif/installralus121105902/installralus.log&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Vemos que esté corriendo el VRTSralus:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ps -efa |grep ralus&lt;br /&gt;root &amp;nbsp; &amp;nbsp; 12651 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 11:10 pts/0 &amp;nbsp; &amp;nbsp;00:00:00 /opt/VRTSralus/bin/beremote&lt;br /&gt;root &amp;nbsp; &amp;nbsp; 13733 &amp;nbsp;3152 &amp;nbsp;0 11:22 pts/0 &amp;nbsp; &amp;nbsp;00:00:00 grep ralus&lt;br /&gt;#&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Ahora agregamos el cliente en el Backup Exec:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Agregar:&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-yGP6igb47ro/Ut6aR5UGRvI/AAAAAAAASy8/_woQBr-nU8o/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-yGP6igb47ro/Ut6aR5UGRvI/AAAAAAAASy8/_woQBr-nU8o/s1600/01.png&quot; height=&quot;121&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos &quot;Equipo Linux&quot;, Siguiente:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-pdROWa4xpok/Ut6aRxCGwaI/AAAAAAAASzE/xvDtkB5Mm5c/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-pdROWa4xpok/Ut6aRxCGwaI/AAAAAAAASzE/xvDtkB5Mm5c/s1600/02.png&quot; height=&quot;310&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Tildamos el para establecer relación de confianza, Siguiente:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-nNMWMU1o6Xs/Ut6aR8MV2vI/AAAAAAAASzA/wSpMx0EPGmM/s1600/03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-nNMWMU1o6Xs/Ut6aR8MV2vI/AAAAAAAASzA/wSpMx0EPGmM/s1600/03.png&quot; height=&quot;311&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Agregamos el hostname ó la ip del Servidor Linux, Agregar:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-o85EBFJ8SVM/Ut6aTLjwKYI/AAAAAAAASzk/CW6JxjU5ULU/s1600/04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-o85EBFJ8SVM/Ut6aTLjwKYI/AAAAAAAASzk/CW6JxjU5ULU/s1600/04.png&quot; height=&quot;311&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Vemos que aparece abajo y Siguiente:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-neXaEZ_c5Ms/Ut6aTHlGV-I/AAAAAAAASzM/uzi2a1Xdp30/s1600/05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-neXaEZ_c5Ms/Ut6aTHlGV-I/AAAAAAAASzM/uzi2a1Xdp30/s1600/05.png&quot; height=&quot;311&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Agregamos las credenciales de root:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-eWQ0oi4N3pk/Ut6aTTBCepI/AAAAAAAASzg/vV7FWiV3e5w/s1600/06.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-eWQ0oi4N3pk/Ut6aTTBCepI/AAAAAAAASzg/vV7FWiV3e5w/s1600/06.png&quot; height=&quot;311&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Agregar:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-FK7WynP_U1w/Ut6aT4Dw4hI/AAAAAAAASzc/HiyvPAMbUh0/s1600/07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-FK7WynP_U1w/Ut6aT4Dw4hI/AAAAAAAASzc/HiyvPAMbUh0/s1600/07.png&quot; height=&quot;261&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Cambiamos la contraseña, tildamos cuenta restringida:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-RiddUDXuWRk/Ut6aUvXq13I/AAAAAAAASz8/SMQKeeLIrsE/s1600/08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-RiddUDXuWRk/Ut6aUvXq13I/AAAAAAAASz8/SMQKeeLIrsE/s1600/08.png&quot; height=&quot;301&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Agregamos, confirmamos la password y damos aceptar a todas las ventanas:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-NTEWluW5KG8/Ut6aVNACZoI/AAAAAAAASz4/bMn9lkScmjg/s1600/09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-NTEWluW5KG8/Ut6aVNACZoI/AAAAAAAASz4/bMn9lkScmjg/s1600/09.png&quot; height=&quot;256&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Finalizar:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-VsBjD-Zm-n8/Ut6aU8GVxyI/AAAAAAAASz0/q-dqh1MG3nY/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-VsBjD-Zm-n8/Ut6aU8GVxyI/AAAAAAAASz0/q-dqh1MG3nY/s1600/10.png&quot; height=&quot;310&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Esperamos unos segundos:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-PrlODv98cDc/Ut6aWHBN7JI/AAAAAAAAS0Q/R56WSPhy7aA/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-PrlODv98cDc/Ut6aWHBN7JI/AAAAAAAAS0Q/R56WSPhy7aA/s1600/11.png&quot; height=&quot;312&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Y listo, ya lo vemos en la consola del Backup Exec:&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-ZLMdrpZQDhY/Ut6aWUXezyI/AAAAAAAAS0M/6fckDv2nIjI/s1600/12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-ZLMdrpZQDhY/Ut6aWUXezyI/AAAAAAAAS0M/6fckDv2nIjI/s1600/12.png&quot; height=&quot;188&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/5774292500889950479/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=5774292500889950479' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5774292500889950479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5774292500889950479'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/01/instalando-ralus-en-centos-54-symantec.html' title='Instalando RALUS en CentOS 5.4 (Symantec Backup Exec Agent for Linux 14.0.1798)'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-yGP6igb47ro/Ut6aR5UGRvI/AAAAAAAASy8/_woQBr-nU8o/s72-c/01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-3802278484816058242</id><published>2014-01-15T11:24:00.001-08:00</published><updated>2014-01-15T11:24:48.274-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Seguridad"/><category scheme="http://www.blogger.com/atom/ns#" term="Servicios"/><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>Cobol Error invoking unauthorized copy of runtime. Multi-user server disallowed (Loc 828)</title><content type='html'>&lt;b&gt;Problema:&lt;/b&gt; &amp;nbsp;Está instalado un runtime de cobol con una misma licencia en más de un equipo en una misma red.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solución: &lt;/b&gt;Colocar los servidores en redes distintas ó bloquear todo tipo de tráfico entre servidores que tengan la misma licencia instalada.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Puede realizar en un linux con iptables ó en solaris con ipf.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;En Linux les dejo ejemplos de iptables en esta entrada:&amp;nbsp;&lt;a href=&quot;http://www.redes-seguridad.com.ar/2007/10/filtrar-ping-con-iptables-desde-todas.html&quot;&gt;http://www.redes-seguridad.com.ar/2007/10/filtrar-ping-con-iptables-desde-todas.html&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Para Solaris les dejo este otro ejemplo:&amp;nbsp;&lt;a href=&quot;http://www.redes-seguridad.com.ar/2014/01/firewall-en-solaris-10-ipfilter.html&quot;&gt;http://www.redes-seguridad.com.ar/2014/01/firewall-en-solaris-10-ipfilter.html&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/3802278484816058242/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=3802278484816058242' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/3802278484816058242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/3802278484816058242'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/01/cobol-error-invoking-unauthorized-copy.html' title='Cobol Error invoking unauthorized copy of runtime. Multi-user server disallowed (Loc 828)'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-7393677579429560273</id><published>2014-01-15T11:12:00.000-08:00</published><updated>2014-01-15T11:18:51.675-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>Firewall en Solaris 10 (ipfilter)</title><content type='html'>&lt;b&gt;Vemos que el servicio de ipfilter está bajo:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# svcs -a |grep filter&lt;br /&gt;offline 12:12:30 svc:/network/ipfilter:default&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Editamos el archivo de configuración:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vi /etc/ipf/ipf.conf&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Colocamos dentro del archivo lo que deseamos bloquear, en mi caso todas las conexiones icmp, tcp y udp desde el server local donde corremos las reglas al remote_server (debe estar la ip en el /etc/hosts)&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;block return-rst out proto icmp from any to remote_server&lt;br /&gt;block return-rst out proto tcp/udp from any to remote_server&lt;/blockquote&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Habilitamos el servicio de ipfilter:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# svcadm restart svc:/network/ipfilter:default&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Verificamos que esté online:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# svcs -a |grep filter&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;online &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12:12:30 svc:/network/ipfilter:default&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Probamos hacer un telnet, ssh, ping, etc al equipo remoto y vemos que no recibimos respuesta.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;NOTA: Tener en cuenta cuando reiniciamos ó habilitamos el servicio ver que no tire ningún error el log:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# tail -f /var/svc/log/network-ipfilter:default.log&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;[ Jan 15 12:12:30 Stopping because service restarting. ]&lt;br /&gt;[ Jan 15 12:12:30 Executing stop method (&quot;/lib/svc/method/ipfilter stop&quot;) ]&lt;br /&gt;[ Jan 15 12:12:30 Method &quot;stop&quot; exited with status 0 ]&lt;br /&gt;[ Jan 15 12:12:30 Executing start method (&quot;/lib/svc/method/ipfilter start&quot;) ]&lt;br /&gt;[ Jan 15 12:12:30 Method &quot;start&quot; exited with status 0 ]&lt;/blockquote&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/7393677579429560273/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=7393677579429560273' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7393677579429560273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7393677579429560273'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/01/firewall-en-solaris-10-ipfilter.html' title='Firewall en Solaris 10 (ipfilter)'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-4897891079188979728</id><published>2014-01-09T08:11:00.002-08:00</published><updated>2014-01-09T08:11:28.387-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Monitoreo"/><category scheme="http://www.blogger.com/atom/ns#" term="Seguridad"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Logins erroneos en Windows Event Viewer</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Inicio -&amp;gt; Ejecutar y tipeamos &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;gpedit.msc&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-sFrVUMPzXDs/Us609jYznQI/AAAAAAAASkk/Oj2AIHZo1Pk/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-sFrVUMPzXDs/Us609jYznQI/AAAAAAAASkk/Oj2AIHZo1Pk/s1600/01.png&quot; height=&quot;160&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Local Computer Policy -&amp;gt; Computer Configuration -&amp;gt; Windows Settings -&amp;gt; Security Settings -&amp;gt; Local Policies -&amp;gt; Audit Policy.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Sobre el panel derecho clickeamos sobre &quot;&lt;b&gt;Audit logon events&lt;/b&gt;&quot;:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-STfNZVhJjgQ/Us609jsK_xI/AAAAAAAASks/jXEV20iYxkw/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-STfNZVhJjgQ/Us609jsK_xI/AAAAAAAASks/jXEV20iYxkw/s1600/02.png&quot; height=&quot;323&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;En la solapa &quot;&lt;b&gt;Local Security Setting&lt;/b&gt;&quot; tildamos &quot;&lt;b&gt;Success&lt;/b&gt;&quot; y &quot;&lt;b&gt;Failure&lt;/b&gt;&quot;:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-FfFj1thxvS0/Us609lLUddI/AAAAAAAASko/N9MnCYrDkbE/s1600/03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-FfFj1thxvS0/Us609lLUddI/AAAAAAAASko/N9MnCYrDkbE/s1600/03.png&quot; height=&quot;400&quot; width=&quot;336&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Probamos conectarnos al servidor con un password incorrecto y nos aparecerá &quot;&lt;b&gt;Failure Audit&lt;/b&gt;&quot; en la solapa Security del Visor de Eventos, como muestra el cuadro en rojo:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-YmvcBjoGNGo/Us60-nceYgI/AAAAAAAASk8/_-HtH4ZVqVM/s1600/04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-YmvcBjoGNGo/Us60-nceYgI/AAAAAAAASk8/_-HtH4ZVqVM/s1600/04.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/4897891079188979728/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=4897891079188979728' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/4897891079188979728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/4897891079188979728'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/01/logins-erroneos-en-windows-event-viewer.html' title='Logins erroneos en Windows Event Viewer'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-sFrVUMPzXDs/Us609jYznQI/AAAAAAAASkk/Oj2AIHZo1Pk/s72-c/01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-7199525679774813096</id><published>2014-01-03T09:28:00.001-08:00</published><updated>2014-01-09T08:16:07.342-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoreo"/><category scheme="http://www.blogger.com/atom/ns#" term="Scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Chequear Visor de Sucesos Windows con Nagios</title><content type='html'>&lt;div class=&quot;tr_bq&quot;&gt;&lt;b&gt;Descargué el script&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;check_wmi_eventid&lt;/span&gt; de:&lt;/b&gt;&lt;/div&gt;&amp;nbsp;&lt;a href=&quot;http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-eventlog-2Feventid-by-WMI/details&quot;&gt;http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-eventlog-2Feventid-by-WMI/details&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Damos permisos de ejecución al script:&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# chmod a+x ./check_wmi_eventid&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Lo ejecutamos sin parámetros para ver la ayuda:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./check_wmi_eventid&lt;br /&gt;usage: ./check_wmi_eventid options&lt;br /&gt;check_wmi_eventid is a script to check windows event log , for a certian eventid..&lt;br /&gt;Simple example : check application log , for eventtype error(-t) and &amp;nbsp;eventid 9003(-e) with in the last 60 mins(-m60),&lt;br /&gt;set warning (-w) if greater than 1 ,and set error(-c) if greater than 3&lt;br /&gt;check_wmi_eventid &amp;nbsp;-H 172.10.10.10 -u domain/user -p password -l application -e 9003 &amp;nbsp;-w 1 -c 3 &amp;nbsp;-t1 -m60&lt;br /&gt;Adv. example : same as above , but with arguments -O -W -C, these are custom plugin output for OK,Warning and Critical&lt;br /&gt;Marco ITEMCOUNt,LASTSTR , can be used!!&lt;br /&gt;check_wmi_eventid &amp;nbsp;-H 172.10.10.10 -u domain/user -p password -l application -e 9003 &amp;nbsp;-w 1 -c 3 &amp;nbsp;-t1 -m60 -O &quot;Every thing is OK&quot;&lt;br /&gt;-W &quot;Warning : something is not right&quot; -C &quot;It is totaly bad , found ITEMCOUNT events&quot;&lt;br /&gt;Try it out :)&lt;br /&gt;If you find any error , please let me know&lt;br /&gt;OPTIONS:&lt;br /&gt;&amp;nbsp; &amp;nbsp;-h &amp;nbsp; &amp;nbsp; &amp;nbsp;Show this message&lt;br /&gt;&amp;nbsp; &amp;nbsp;-H &amp;nbsp; &amp;nbsp; &amp;nbsp;Host/Ip&lt;br /&gt;&amp;nbsp; &amp;nbsp;-u &amp;nbsp; &amp;nbsp; &amp;nbsp;Domain/user&lt;br /&gt;&amp;nbsp; &amp;nbsp;-p &amp;nbsp; &amp;nbsp; &amp;nbsp;password&lt;br /&gt;&amp;nbsp; &amp;nbsp;-l &amp;nbsp; &amp;nbsp; &amp;nbsp;Name of the log eg &quot;System&quot; or &quot;Application&quot; or any other Event log as shown in the Windows &quot;Event Viewer&quot;.&lt;br /&gt;&amp;nbsp; &amp;nbsp;-t &amp;nbsp; &amp;nbsp; &amp;nbsp;Eventtype: # 1=error , 2=warning , 3=Information,4=Security Audit Success,5=Security Audit Failure&lt;br /&gt;&amp;nbsp; &amp;nbsp;-e &amp;nbsp; &amp;nbsp; &amp;nbsp;Eventid&lt;br /&gt;&amp;nbsp; &amp;nbsp;-s &amp;nbsp; &amp;nbsp; &amp;nbsp;Sting search for string in message&lt;br /&gt;&amp;nbsp; &amp;nbsp;-m &amp;nbsp; &amp;nbsp; &amp;nbsp;Number of past min to check for events.&lt;br /&gt;&amp;nbsp; &amp;nbsp;-w &amp;nbsp; &amp;nbsp; &amp;nbsp;Warning&lt;br /&gt;&amp;nbsp; &amp;nbsp;-W &amp;nbsp; &amp;nbsp; &amp;nbsp;Custom waring string &amp;nbsp; &amp;nbsp;- ITEMCOUNT,LASTSTR marco can be used &amp;nbsp;ex. -W &quot;ITEMCOUNT Wanings &amp;nbsp;with in the LASTSTR&quot;&lt;br /&gt;&amp;nbsp; &amp;nbsp;-c &amp;nbsp; &amp;nbsp; &amp;nbsp;Critical&lt;br /&gt;&amp;nbsp; &amp;nbsp;-C &amp;nbsp; &amp;nbsp; &amp;nbsp;Custom critical string &amp;nbsp;- ITEMCOUNT,LASTSTR marco can be used &amp;nbsp;ex. -W &quot;ITEMCOUNT Critical &amp;nbsp;with in the LASTSTR&quot;&lt;br /&gt;&amp;nbsp; &amp;nbsp;-O &amp;nbsp; &amp;nbsp; &amp;nbsp;Custom ok sting &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - ITEMCOUNT,LASTSTR marco can be used &amp;nbsp;ex. -W &quot;Everything ok with in the LASTSTR&quot;&lt;br /&gt;&amp;nbsp; &amp;nbsp;-U &amp;nbsp; &amp;nbsp; &amp;nbsp;CUstom unknown string &amp;nbsp; - ITEMCOUNT,LASTSTR marco can be used &amp;nbsp;ex. -W &quot;ITEMCOUNT &amp;nbsp;Unknowns &amp;nbsp;with in the LASTSTR&quot;&lt;br /&gt;&amp;nbsp; &amp;nbsp;-d &amp;nbsp; &amp;nbsp; &amp;nbsp;Debug&lt;br /&gt;&amp;nbsp; &amp;nbsp;-v &amp;nbsp; &amp;nbsp; &amp;nbsp;Version&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Eligiendo los parámetros, ejecuté lo siguiente y me aparecía que no encontraba el cliente de WMI (wmic)&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./check_wmi_eventid -H hostname -u administrator -p password -l application -e 9003 -w 1 -c 3 -t1 -m60&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;WMIC ERROR : ./check_wmi_eventid: line 252: /bin/wmic: No such file or directory&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Descargamos WMIC del siguiente enlace:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;a href=&quot;http://sourceforge.net/projects/pandora/files/Tools%20and%20dependencies%20%28All%20versions%29/RPM%20CentOS%2C%20RHEL/wmic-4.0.0SVN-2.1.el5.centos.noarch.rpm/download&quot;&gt;http://sourceforge.net/projects/pandora/files/Tools%20and%20dependencies%20%28All%20versions%29/RPM%20CentOS%2C%20RHEL/wmic-4.0.0SVN-2.1.el5.centos.noarch.rpm/download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Lo instalamos con rpm:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# rpm -hiv wmic-4.0.0SVN-2.1.el5.centos.noarch.rpm&lt;br /&gt;warning: wmic-4.0.0SVN-2.1.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 155987ef&lt;br /&gt;Preparing... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;########################################### [100%]&lt;br /&gt;&amp;nbsp; &amp;nbsp;1:wmic &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ########################################### [100%]&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Lo ejecutamos si parámetros para ver los parametros requeridos:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# wmic&lt;br /&gt;Usage: [-?] [-?] [-?] [-?NP] [-?NPV] [-?|--help] [--usage] [-d|--debuglevel DEBUGLEVEL]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [--debug-stderr] [-s|--configfile CONFIGFILE] [--option=name=value]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [-l|--log-basename LOGFILEBASE] [--leak-report] [--leak-report-full]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [-R|--name-resolve NAME-RESOLVE-ORDER]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [-O|--socket-options SOCKETOPTIONS] [-n|--netbiosname NETBIOSNAME]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [-S|--signing on|off|required] [-W|--workgroup WORKGROUP]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [--realm=REALM] [-i|--scope SCOPE] [-m|--maxprotocol MAXPROTOCOL]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [-U|--user [DOMAIN/]USERNAME[%PASSWORD]] [-N|--no-pass]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [--password=STRING] [-A|--authentication-file FILE] [-P|--machine-pass]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [--simple-bind-dn=STRING] [-k|--kerberos STRING] [-V|--version]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [--namespace=STRING]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //host query&lt;br /&gt;&lt;br /&gt;Example: wmic -U [domain/]adminuser%password //host &quot;select * from Win32_ComputerSystem&quot;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Una vez instalado al querer ejecutar nuevamente el comando, nos tiraba error que no lo encontraba:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./check_wmi_eventid -H hostname -u administrator -p password -l application -e 9003 -w 1 -c 3 -t1 -m60&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;WMIC ERROR : ./check_wmi_eventid: line 252: /bin/wmic: No such file or directory&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Viendo donde fue instalado, vemos que no encontraba la ruta:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# which wmic&lt;br /&gt;/usr/bin/wmic&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Editamos el script que descargamos (check_wmi_eventid):&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vim check_wmi_eventid&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;Cambiar:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;WMIC=/bin/wmic&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;Por:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;WMIC=/usr/bin/wmic&lt;/blockquote&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Ahora ejecutando el comando nuevamente, todo me devolvía el mismo valor, siempre era = 12:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./check_wmi_eventid -H server_name-u administrator -p password -l application -e 9003 -w 20 -c 30 -t1 -m60&lt;br /&gt;OK 12 with Severity Level Error in application with in the last 1 hour|eventid9003=&lt;span style=&quot;color: red;&quot;&gt;12&lt;/span&gt;;20;30;;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ./check_wmi_eventid -H server_name-u administrator -p password -l security -e 4625 -w 20 -c 30 -t1 -m60&lt;br /&gt;OK 12 with Severity Level Error in application with in the last 1 hour|eventid9003=&lt;span style=&quot;color: red;&quot;&gt;12&lt;/span&gt;;20;30;;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Entonces decidí hacer mi propio script con WMIC, con el siguiente comando (cambiando las variables en rojo por los valores correspondientes):&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# wmic -U &lt;span style=&quot;color: red;&quot;&gt;USUARIO&lt;/span&gt;%&lt;span style=&quot;color: red;&quot;&gt;PASWORD &lt;/span&gt;//&lt;span style=&quot;color: red;&quot;&gt;HOSTNAME &lt;/span&gt;&quot;select EventCode,EventIdentifier,EventType,TimeGenerated from Win32_NTLogEvent&quot;&lt;/blockquote&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Obtenía algo como lo siguiente:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;CLASS: Win32_NTLogEvent&lt;br /&gt;EventCode|EventIdentifier|EventType|Logfile|RecordNumber|TimeGenerated&lt;br /&gt;.....&lt;br /&gt;.....&lt;br /&gt;902|1073742726|0|Application|4506|20100615130231.000000-000&lt;br /&gt;5615|3221231087|0|Application|4507|20100615130239.000000-000&lt;br /&gt;5617|3221231089|0|Application|4508|20100615130243.000000-000&lt;br /&gt;34|1073872930|3|Application|4509|20100615130247.000000-000&lt;br /&gt;4|1073872900|3|Application|4510|20100615130250.000000-000&lt;br /&gt;5|1073872901|3|Application|4511|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4512|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4513|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4514|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4515|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4516|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4517|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4518|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4519|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4520|20100615130251.000000-000&lt;br /&gt;5|1073872901|3|Application|4521|20100615130251.000000-000&lt;br /&gt;34|1073872930|3|Application|4522|20100615130251.000000-000&lt;br /&gt;34|1073872930|3|Application|4523|20100615130251.000000-000&lt;br /&gt;.....&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Modificando un poco la query que hacía al server por WMI llegué a obtener todos los Eventos del visor de sucesos de un windows que tuvieran id=4625 (loguin erroneo) del registro de seguridad:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# wmic -U USUARIO%PASSWORD //HOSTNAME &quot;select EventCode,EventIdentifier,EventType,TimeGenerated from Win32_NTLogEvent where EventCode=&#39;4625&#39; AND Logfile=&#39;security&#39;&quot;&amp;nbsp;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Pero yo en nagios quería monitorear los loguins erroneos del día actual, entonces quedó así:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;#HOY=`date +%d/%m/%Y`&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# wmic -U USUARIO%USUARIO //HOSTNAME &quot;select EventCode,EventIdentifier,EventType,TimeGenerated from Win32_NTLogEvent where EventCode=&#39;4625&#39; AND Logfile=&#39;security&#39; AND TimeGenerated&amp;gt;=&#39;$HOY&#39;&quot;&lt;/blockquote&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Inicialmente la consulta comenzaba pero se cortaba, así que borré el visor de sucesos de seguridad de windows e hice un par de logueos erroneos para que aparezcan y aparecieron correctamente:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;CLASS: Win32_NTLogEvent&lt;br /&gt;EventCode|EventIdentifier|EventType|Logfile|RecordNumber|TimeGenerated&lt;br /&gt;4625|4625|5|Security|2774019|20140103151300.184621-000&lt;br /&gt;4625|4625|5|Security|2774020|20140103151325.320732-000&lt;br /&gt;4625|4625|5|Security|2774027|20140103151335.353332-000&lt;br /&gt;4625|4625|5|Security|2774047|20140103153339.520120-000&lt;br /&gt;4625|4625|5|Security|2774048|20140103153339.535719-000&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Una vez obtenido el comando correcto armamos el script para testear los visores de sucesos de windows con nagios:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vi check_wmi_eventWindows.sh&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;#!/bin/bash&lt;br /&gt;#&lt;br /&gt;# Script creado el 03-01-2013 por Hernán Tirado&lt;br /&gt;# Descripción: Chequea por WMI el visor de sucesos de windows del día actual&lt;br /&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Verifica si hay mas de 10 loguins erroneos en el visor de sucesos =&amp;gt; Critical&lt;br /&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Verifica si hay mas de 5 loguins erroneos en el visor de sucesos =&amp;gt; Warning&lt;br /&gt;#&lt;br /&gt;# NOTA:&lt;br /&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; Tener en cuenta que si el visor de suscesos es muy largo la query tarda y se corta&lt;br /&gt;#&lt;br /&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; Setear las variables de entorno antes de ejecutarlo.&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;################## INICIO DE CONFIGURACION DE VARIABLES&lt;br /&gt;# Ruta de ubicación del comando wmic:&lt;br /&gt;WMIC=/usr/bin/wmic&lt;/blockquote&gt;&lt;blockquote&gt;# Fecha de HOY:&lt;br /&gt;HOY=`date +%d/%m/%Y`&lt;br /&gt;# Usuario administrador del windows:&lt;br /&gt;USER=&lt;br /&gt;# Contraseña del usuario administrador de windows:&lt;br /&gt;PASSWORD=&lt;br /&gt;# Nombre de host ó ip del windows:&lt;br /&gt;HOST=jdeenterprise&lt;br /&gt;# Tipo de Visor de Suceso (Application, Security, Setup, System):&lt;br /&gt;EVENT_TYPE=&#39;security&#39;&lt;br /&gt;# Tipo de Evento (Ej: 4625 testea loguins erroneos):&lt;br /&gt;ID_EVENTO=4625&lt;br /&gt;################## FIN DE CONFIGURACION DE VARIABLES&lt;br /&gt;&lt;br /&gt;# Ejecución del comando WMIC:&lt;br /&gt;CANT_ERRONEA=`$WMIC -U $USER%$PASSWORD //$HOST &quot;select EventCode,EventIdentifier,EventType,TimeGenerated from Win32_NTLogEvent where EventCode=&#39;$ID_EVENTO&#39; AND Logfile=&#39;$EVENT_TYPE&#39; AND TimeGenerated&amp;gt;=&#39;$HOY&#39;&quot; | grep -v CLASS | grep -v Event | wc -l`&lt;br /&gt;# Testeamos los valores que devuelve, si:&lt;br /&gt;# CANT_ERRONEA &amp;lt;= 5 &amp;nbsp; =&amp;gt; &amp;nbsp;OK &amp;nbsp; &amp;nbsp; &amp;nbsp; (exit 0)&lt;br /&gt;# CANT_ERRONEA &amp;nbsp;&amp;gt; 5 &amp;nbsp; =&amp;gt; &amp;nbsp;WARNING &amp;nbsp;(exit 1)&lt;br /&gt;# CANT_ERRONEA &amp;nbsp;&amp;gt; 10 &amp;nbsp;=&amp;gt; &amp;nbsp;CRITICAL (exit 2)&lt;br /&gt;&lt;br /&gt;if [ $CANT_ERRONEA -lt 5 ]; then&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;echo OK - Cantidad de Logins Erroneos = $CANT_ERRONEA;&lt;br /&gt;&amp;nbsp;exit 0;&lt;br /&gt;}&lt;br /&gt;fi&lt;br /&gt;if [ $CANT_ERRONEA -gt 10 ]; then&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;echo CRITICAL - Cantidad de Logins Erroneos = $CANT_ERRONEA;&lt;br /&gt;&amp;nbsp;exit 1;&lt;br /&gt;}&lt;br /&gt;fi&lt;br /&gt;if [ $CANT_ERRONEA -gt 4 ]; then&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;echo WARNING - Cantidad de Logins Erroneos = $CANT_ERRONEA;&lt;br /&gt;&amp;nbsp;exit 1;&lt;br /&gt;}&lt;br /&gt;fi&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;En el commands de nagios agregamos lo siguiente:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vi /etc/nagios/commands.cfg&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;define command{&lt;br /&gt;command_name check_wmi_eventWindows.sh&lt;br /&gt;command_line $USER1$/check_wmi_eventWindows.sh&lt;br /&gt;}&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;En el services de nagios agregamos lo siguiente:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vi /etc/nagios/services.cfg:&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;define service{&lt;br /&gt;use &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; generic-service,srv-pnp&lt;br /&gt;host_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nombre_de_host&lt;br /&gt;service_description &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Check_Bad_Logins&lt;br /&gt;check_command &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; check_wmi_eventWindows.sh&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Chequeamos la config de nagios y si no da errores, reiniciamos el servicio:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# bin/nagios -v /etc/nagios.cfg&lt;br /&gt;...&lt;br /&gt;Total Warnings: 0&lt;br /&gt;Total Errors: &amp;nbsp; 0&lt;br /&gt;...&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# /etc/init.d/nagios reload&lt;br /&gt;Running configuration check...done.&lt;br /&gt;Reloading nagios configuration...done&lt;/blockquote&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;NOTA:&lt;/b&gt; Tener en cuenta que en Windows debe estar habilitada la auditoría de logins erroneos. En esta entrada del blog les dejo como habilitarlo:&amp;nbsp;&lt;a href=&quot;http://www.redes-seguridad.com.ar/2014/01/logins-erroneos-en-windows-event-viewer.html&quot;&gt;http://www.redes-seguridad.com.ar/2014/01/logins-erroneos-en-windows-event-viewer.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/7199525679774813096/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=7199525679774813096' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7199525679774813096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7199525679774813096'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/01/chequear-visor-de-sucesos-windows-con.html' title='Chequear Visor de Sucesos Windows con Nagios'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-5121160532569227116</id><published>2014-01-02T04:51:00.000-08:00</published><updated>2014-01-02T04:51:29.293-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Obtener Serial Number Remoto con wmic</title><content type='html'>&lt;b&gt;En este post ya hemos visto como obtener el serial number de nuestra pc con wmic:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.redes-seguridad.com.ar/2011/08/obtener-serial-number-del-server-por.html&quot;&gt;http://www.redes-seguridad.com.ar/2011/08/obtener-serial-number-del-server-por.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;También podemos hacer lo mismo para obtener el serial number remoto por WMI con el siguiente comando:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;C:\Users\morsa&amp;gt;wmic /user:administrador /node:nombre_pc_remota bios get serialnumber&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;Escriba la contraseña :**********&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;SerialNumber&lt;/blockquote&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;AGXT8T2&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/5121160532569227116/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=5121160532569227116' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5121160532569227116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5121160532569227116'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2014/01/obtener-serial-number-remoto-con-wmic.html' title='Obtener Serial Number Remoto con wmic'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-7641144079239616164</id><published>2013-12-23T12:35:00.003-08:00</published><updated>2013-12-23T12:35:41.051-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoreo"/><category scheme="http://www.blogger.com/atom/ns#" term="Scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>Script que testea intentos fallidos de SSH</title><content type='html'>&lt;b&gt;Script en Bash:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;#!/bin/bash&lt;br /&gt;# Script que testea intentos fallidos de&lt;br /&gt;# 0=OK&lt;br /&gt;# 1=WARNING&lt;br /&gt;# 2=CRITICAL&lt;br /&gt;# 3=UNKNOWN&lt;br /&gt;HOY=`date &quot;+%b %d&quot;`&lt;br /&gt;LOG=/var/log/auth.log&lt;br /&gt;CANT_FALLIDOS=`cat $LOG |grep &quot;Authentication failed&quot;|grep &quot;$HOY&quot; | wc -l`&lt;br /&gt;if [ $CANT_FALLIDOS -gt 15 ]; then&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;echo &quot;CRITICAL - Intentos fallidos:$CANT_FALLIDOS&quot;;&lt;br /&gt;&amp;nbsp;exit 2;&lt;br /&gt;}&lt;br /&gt;fi&lt;br /&gt;if [ $CANT_FALLIDOS -gt 10 ]; then&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;echo &quot;WARNING - Intentos fallidos:$CANT_FALLIDOS&quot;;&lt;br /&gt;&amp;nbsp;exit 1;&lt;br /&gt;}&lt;br /&gt;fi&lt;br /&gt;echo &quot;OK - Intentos fallidos:$CANT_FALLIDOS&quot;;&lt;br /&gt;exit 0;&lt;/blockquote&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;Monitoreamos NRPE, editamos el services.cfg del server de nagios:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;vi /etc/nagios/services.cfg&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;define service{&lt;br /&gt;use &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; generic-service&lt;br /&gt;host_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ar-stf-vm-xen-1-crp-3&lt;br /&gt;service_description &amp;nbsp; &amp;nbsp; SSH_Fail_Login&lt;br /&gt;check_command &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;check_nrpe!check_ssh_auth&lt;br /&gt;}&lt;/blockquote&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;Editamos en el server que queremos monitorear el nrpe.conf y luego reiniciamos el servicio:&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;vi /usr/local/apps/nagios/etc/nrpe.cfg&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;command[check_ssh_auth]=/usr/local/apps/nagios/libexec/check_ssh_auth&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/7641144079239616164/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=7641144079239616164' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7641144079239616164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7641144079239616164'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2013/12/script-que-testea-intentos-fallidos-de.html' title='Script que testea intentos fallidos de SSH'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-5525863042385521328</id><published>2013-11-27T04:35:00.002-08:00</published><updated>2013-11-27T04:35:32.373-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Networking"/><category scheme="http://www.blogger.com/atom/ns#" term="Servicios"/><title type='text'>Ruta estática en Linux Centos</title><content type='html'>Si tenemos configurada la interface eth0, entonces tendremos que agregar el siguiente archivo, si quisieramos agregar una ruta a la eth1 usaríamos lo mismo pero llamarlo route-eth1 y así sucesivaente:&lt;br /&gt;&lt;br /&gt;Editamos el archivo y colocamos también dentro de el los siguientes campos: direcciónN, netmaskN, gatewayN, donde N corresponde al número de interface como el siguiente ejemplo:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;[root@server ~]# vi /etc/sysconfig/network-scripts/route-eth0&lt;br /&gt;ADDRESS0=192.168.1.0&lt;br /&gt;NETMASK0=255.255.255.0&lt;br /&gt;GATEWAY0=110.120.130.140&lt;/blockquote&gt;&lt;br /&gt;Reiniciamos el servicio de red y listo:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;[root@server ~]# /etc/init.d/network restart&lt;/blockquote&gt;&lt;br /&gt;Probamos la conectividad a la nueva red:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;[root@server ~]# ping 192.168.1.1&lt;br /&gt;PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.&lt;br /&gt;64 bytes from 192.168.1.1: icmp_seq=1 ttl=254 time=13.3 ms&lt;br /&gt;64 bytes from 192.168.1.1: icmp_seq=2 ttl=254 time=9.94 ms&lt;br /&gt;64 bytes from 192.168.1.1: icmp_seq=3 ttl=254 time=10.4 ms&lt;/blockquote&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/5525863042385521328/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=5525863042385521328' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5525863042385521328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5525863042385521328'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2013/11/ruta-estatica-en-linux-centos.html' title='Ruta estática en Linux Centos'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-1328566127540597181</id><published>2013-11-06T11:08:00.003-08:00</published><updated>2013-11-06T11:09:31.879-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>Remplazando Texto en Unix</title><content type='html'>&lt;b&gt;Con el comando sed:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;sed &quot;s/hola/chau/g&quot; morsa.txt &amp;gt; morsa.tmp; mv morsa.tmp morsa.txt&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Con perl:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;perl -pi -e &#39;s/hola/chau/g&#39; morsa.txt&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/1328566127540597181/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=1328566127540597181' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/1328566127540597181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/1328566127540597181'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2013/11/remplazando-texto-en-unix.html' title='Remplazando Texto en Unix'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-1966115490936143492</id><published>2013-09-25T11:55:00.002-07:00</published><updated>2013-09-25T12:00:10.811-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoreo"/><category scheme="http://www.blogger.com/atom/ns#" term="Scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Storage"/><title type='text'>Disk Storage IBM Storwize V3700 Monitoring with Nagios:</title><content type='html'>&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Descargué el plugin llamado &lt;span style=&quot;color: red;&quot;&gt;check_ibm_v7000.sh&lt;/span&gt; de:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;a href=&quot;http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=3157&amp;amp;cf_id=24&quot;&gt;http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=3157&amp;amp;cf_id=24&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Probé primero que funcione desde el bash ejecutando, lo siguiente, donde -M es la ip del storage, -U user (debe existir en el storage) y -Q la consulta:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;# /ruta/del/plugins/check_ibm_v7000.sh -M 192.168.0.100 -U nagios -Q lsdrive&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Password:&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;En este caso me devolvió que tengo el disco 9 dañado en el storage:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;CRITICAL: Disk OFFLINE&lt;br /&gt;&amp;nbsp;OK: Drive 0 is online&lt;br /&gt;&amp;nbsp;OK: Drive 1 is online&lt;br /&gt;&amp;nbsp;OK: Drive 2 is online&lt;br /&gt;&amp;nbsp;OK: Drive 3 is online&lt;br /&gt;&amp;nbsp;OK: Drive 4 is online&lt;br /&gt;&amp;nbsp;OK: Drive 5 is online&lt;br /&gt;&amp;nbsp;OK: Drive 6 is online&lt;br /&gt;&amp;nbsp;OK: Drive 7 is online&lt;br /&gt;&amp;nbsp;OK: Drive 8 is online&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;ATTENTION: Disk 9&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;status:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;role: failed&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;type: sas_hdd&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;capacity: 558.4GB&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;enclosure:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;slot: &amp;nbsp; OK: Drive 10 is online&lt;br /&gt;&amp;nbsp;OK: Drive 11 is online&lt;br /&gt;&amp;nbsp;OK: Drive 12 is online&lt;br /&gt;&amp;nbsp;OK: Drive 13 is online&lt;br /&gt;&amp;nbsp;OK: Drive 14 is online&lt;br /&gt;&amp;nbsp;OK: Drive 15 is online&lt;br /&gt;&amp;nbsp;OK: Drive 16 is online&lt;br /&gt;&amp;nbsp;OK: Drive 17 is online&lt;br /&gt;&amp;nbsp;OK: Drive 18 is online&lt;br /&gt;&amp;nbsp;OK: Drive 19 is online&lt;br /&gt;&amp;nbsp;OK: Drive 20 is online&lt;br /&gt;&amp;nbsp;OK: Drive 21 is online&lt;br /&gt;&amp;nbsp;OK: Drive 22 is online&lt;br /&gt;&amp;nbsp;OK: Drive 23 is online&lt;br /&gt;&amp;nbsp;OK: Drive 24 is online&lt;br /&gt;&amp;nbsp;OK: Drive 25 is online&lt;br /&gt;&amp;nbsp;OK: Drive 26 is online&lt;br /&gt;&amp;nbsp;OK: Drive 27 is online&lt;br /&gt;&amp;nbsp;OK: Drive 28 is online&lt;br /&gt;&amp;nbsp;OK: Drive 29 is online&lt;br /&gt;&amp;nbsp;OK: Drive 30 is online&lt;br /&gt;&amp;nbsp;OK: Drive 31 is online&lt;br /&gt;&amp;nbsp;OK: Drive 32 is online&lt;br /&gt;&amp;nbsp;OK: Drive 33 is online&lt;br /&gt;&amp;nbsp;OK: Drive 34 is online&lt;br /&gt;&amp;nbsp;OK: Drive 35 is online&lt;br /&gt;&amp;nbsp;OK: Drive 36 is online&lt;br /&gt;&amp;nbsp;OK: Drive 37 is online&lt;br /&gt;&amp;nbsp;OK: Drive 38 is online&lt;br /&gt;&amp;nbsp;OK: Drive 39 is online&lt;br /&gt;&amp;nbsp;OK: Drive 40 is online&lt;br /&gt;&amp;nbsp;OK: Drive 41 is online&lt;br /&gt;&amp;nbsp;OK: Drive 42 is online&lt;br /&gt;&amp;nbsp;OK: Drive 43 is online&lt;br /&gt;&amp;nbsp;OK: Drive 44 is online&lt;br /&gt;&amp;nbsp;OK: Drive 45 is online&lt;br /&gt;&amp;nbsp;OK: Drive 46 is online&lt;br /&gt;&amp;nbsp;OK: Drive 47 is online&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Nos logueamos al server donde tenemos instalado nagios con el usuario nagios y generamos las keys para que no nos pida password:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# su - nagios&lt;br /&gt;$ cd /home/nagios/.ssh/&lt;br /&gt;$ ssh-keygen&lt;br /&gt;$ ls&lt;br /&gt;id_rsa &amp;nbsp;id_rsa.pub &amp;nbsp;known_hosts&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Copiamos la llave pública por winscp a nuestro equipo: id_rsa.pub para luego importarla al storage por web, vamos a usuarios:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-mluKtYnH5-E/UkMuAJ-CgkI/AAAAAAAARYw/pZOJTZ9HR8c/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;384&quot; src=&quot;http://3.bp.blogspot.com/-mluKtYnH5-E/UkMuAJ-CgkI/AAAAAAAARYw/pZOJTZ9HR8c/s640/01.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Creamos un nuevo usuario en el grupo monitor:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-uUcgvq2YOL0/UkMuAON4T6I/AAAAAAAARY0/vMKt5WzddNA/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;420&quot; src=&quot;http://4.bp.blogspot.com/-uUcgvq2YOL0/UkMuAON4T6I/AAAAAAAARY0/vMKt5WzddNA/s640/02.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Le asignamos un nombre, en mi caso nagios, que use autenticación local:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-db-pWq1e8bk/UkMt_7efa_I/AAAAAAAARYs/4wf1VgvrWgo/s1600/03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;375&quot; src=&quot;http://2.bp.blogspot.com/-db-pWq1e8bk/UkMt_7efa_I/AAAAAAAARYs/4wf1VgvrWgo/s400/03.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Importamos la llave pública generada en el server de monitoreo para el usuario nagios:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-fHLHCdSO2Zo/UkMuAhgauhI/AAAAAAAARZI/FTIS73EY25U/s1600/04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;302&quot; src=&quot;http://2.bp.blogspot.com/-fHLHCdSO2Zo/UkMuAhgauhI/AAAAAAAARZI/FTIS73EY25U/s400/04.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Quedándonos así:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-2SNQl6ubV20/UkMuAnDRxgI/AAAAAAAARZE/pBpHz7xhyCc/s1600/05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;403&quot; src=&quot;http://3.bp.blogspot.com/-2SNQl6ubV20/UkMuAnDRxgI/AAAAAAAARZE/pBpHz7xhyCc/s640/05.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Agregamos el host al nagios:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vim /ruta/del/nagios/hosts.cfg&lt;br /&gt;define host{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; linux-server&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; host_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STORAGE&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alias &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STORAGE&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;address &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 192.168.0.100&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Parametrizamos el comando:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vim /ruta/del/nagios/commands.cfg&lt;br /&gt;define command{&lt;br /&gt;command_name check_storage&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;command_line $USER1$/check_ibm_v7000.sh -M $HOSTADDRESS$ -U $ARG1$ -Q $ARG2$&lt;/span&gt;&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configuramos el Servicio:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vim /ruta/del/nagios/services.cfg&lt;br /&gt;define service{&lt;br /&gt;use &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; generic-service&lt;br /&gt;host_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STORAGE&lt;br /&gt;service_description &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STORAGE_DISKs&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;check_command &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; check_storage!nagios!lsdrive&lt;/span&gt;&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/1966115490936143492/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=1966115490936143492' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/1966115490936143492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/1966115490936143492'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2013/09/monitoring-disk-storage-ibm-storwize.html' title='Disk Storage IBM Storwize V3700 Monitoring with Nagios:'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-mluKtYnH5-E/UkMuAJ-CgkI/AAAAAAAARYw/pZOJTZ9HR8c/s72-c/01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-5460834371282264924</id><published>2013-08-12T13:34:00.001-07:00</published><updated>2013-08-12T13:37:21.563-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Virtualización"/><category scheme="http://www.blogger.com/atom/ns#" term="VMware"/><title type='text'>Clonar Máquina Virtual en VMware ESXi 5</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Nos logueamos al vSphere Client y vamos a &quot;&lt;b&gt;Configuración&lt;/b&gt;&quot;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-FkQyNYvTUNk/UglAPFrrTBI/AAAAAAAAO2U/SXik3PFJdiY/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;185&quot; src=&quot;http://2.bp.blogspot.com/-FkQyNYvTUNk/UglAPFrrTBI/AAAAAAAAO2U/SXik3PFJdiY/s400/01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Vamos a la solapa izquierda y seleccionamos &quot;&lt;b&gt;Storage&lt;/b&gt;&quot;, hacemos click derecho sobre datastore y &quot;&lt;b&gt;Browse Datastore...&lt;/b&gt;&quot;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-lft0L0tOCLU/UglAO7q6NpI/AAAAAAAAO2M/bo-mtllGRdA/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;146&quot; src=&quot;http://2.bp.blogspot.com/-lft0L0tOCLU/UglAO7q6NpI/AAAAAAAAO2M/bo-mtllGRdA/s400/02.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Creamos una nueva carpeta haciendo click en el cuadro rojo:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-RpBlvbRsGJ4/UglAO46VaoI/AAAAAAAAO2Q/i1O9rejLORI/s1600/03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;http://1.bp.blogspot.com/-RpBlvbRsGJ4/UglAO46VaoI/AAAAAAAAO2Q/i1O9rejLORI/s400/03.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Elegimos el nombre que deseamos:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-eaWos5nyA3A/UglAPb527wI/AAAAAAAAO2k/-lkzKotfO00/s1600/04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;152&quot; src=&quot;http://1.bp.blogspot.com/-eaWos5nyA3A/UglAPb527wI/AAAAAAAAO2k/-lkzKotfO00/s320/04.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Copiamos desde la carpeta origen todos los archivos que terminen en &lt;b&gt;.vmx&lt;/b&gt; y en &lt;b&gt;.vmdk&lt;/b&gt;:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-13ZnyXgnJhk/UglAPsy7gJI/AAAAAAAAO2g/jaJ_-A1PtgY/s1600/05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;http://2.bp.blogspot.com/-13ZnyXgnJhk/UglAPsy7gJI/AAAAAAAAO2g/jaJ_-A1PtgY/s400/05.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Seleccionamos la carpeta destino y luego &quot;&lt;b&gt;Pegar&lt;/b&gt;&quot;:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-t4-nOJvB-8s/UglAPyMLf1I/AAAAAAAAO2o/k9JWx3vEFkw/s1600/06.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;http://2.bp.blogspot.com/-t4-nOJvB-8s/UglAPyMLf1I/AAAAAAAAO2o/k9JWx3vEFkw/s400/06.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Esperamos que terminen de copiar los files:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-nNwR4bM-ugI/UglAQfP5EMI/AAAAAAAAO2w/OxtcPF8EtiA/s1600/07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://4.bp.blogspot.com/-nNwR4bM-ugI/UglAQfP5EMI/AAAAAAAAO2w/OxtcPF8EtiA/s400/07.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Una vez copiada, boton derecho sobre el &lt;b&gt;.vmx&lt;/b&gt; y &quot;&lt;b&gt;Add to Inventory&lt;/b&gt;&quot;:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-hSwNiU4csZI/UglAQUjyHKI/AAAAAAAAO3E/nka9QBG6ZtY/s1600/08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;http://1.bp.blogspot.com/-hSwNiU4csZI/UglAQUjyHKI/AAAAAAAAO3E/nka9QBG6ZtY/s400/08.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Ingresamos el nombre de la Virtual y &quot;&lt;b&gt;Next&lt;/b&gt;&quot;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-sOfgBIO7om0/UglAQl4HgpI/AAAAAAAAO3I/eZ2ZtRn4KPU/s1600/09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;http://4.bp.blogspot.com/-sOfgBIO7om0/UglAQl4HgpI/AAAAAAAAO3I/eZ2ZtRn4KPU/s400/09.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Elegimos el ESXi server de la lista, &quot;&lt;b&gt;Next&lt;/b&gt;&quot; nuevamente:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Ozsw9XBB3sA/UglAQ2z3IuI/AAAAAAAAO3U/8O9wtIRDu3Q/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;http://4.bp.blogspot.com/-Ozsw9XBB3sA/UglAQ2z3IuI/AAAAAAAAO3U/8O9wtIRDu3Q/s400/10.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&quot;&lt;b&gt;Finish&lt;/b&gt;&quot;:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-E_k9FnZ4AhY/UglARobUKmI/AAAAAAAAO3M/8AO3We1pLyo/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;http://3.bp.blogspot.com/-E_k9FnZ4AhY/UglARobUKmI/AAAAAAAAO3M/8AO3We1pLyo/s400/11.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Tildamos sobre &quot;&lt;b&gt;I copied it&lt;/b&gt;&quot; y &quot;&lt;b&gt;Ok&lt;/b&gt;&quot;:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-fCKfNK3GSL8/UglASJfCHxI/AAAAAAAAO3c/QciHrVN_DxI/s1600/12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;http://3.bp.blogspot.com/-fCKfNK3GSL8/UglASJfCHxI/AAAAAAAAO3c/QciHrVN_DxI/s400/12.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/5460834371282264924/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=5460834371282264924' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5460834371282264924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5460834371282264924'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2013/08/clonar-maquina-virtual-en-vmware-esxi-5.html' title='Clonar Máquina Virtual en VMware ESXi 5'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-FkQyNYvTUNk/UglAPFrrTBI/AAAAAAAAO2U/SXik3PFJdiY/s72-c/01.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-7560562813971979821</id><published>2013-08-08T14:09:00.000-07:00</published><updated>2013-08-08T14:10:26.657-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Glassfish"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="Seguridad"/><title type='text'>Proxy Reverso para Glassfish con Apache </title><content type='html'>&lt;b&gt;Ya he explicado como hacer un reverse proxy en el anterior post:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;a href=&quot;http://www.redes-seguridad.com.ar/2013/08/reverse-proxy-con-apache-2-en-debian.html&quot;&gt;http://www.redes-seguridad.com.ar/2013/08/reverse-proxy-con-apache-2-en-debian.html&lt;/a&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Pero con Glassfish no me funcionaba así que habilité el módulo &amp;nbsp;&quot;rewrite&quot;:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# a2enmod rewrite&lt;br /&gt;Enabling module rewrite.&lt;br /&gt;Run &#39;/etc/init.d/apache2 restart&#39; to activate new configuration!&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reiniciamos apache:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# /etc/init.d/apache2 restart&lt;br /&gt;Restarting web server: apache2 ... waiting .&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Editamos la config del apache:&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vim /etc/apache2/httpd.conf&lt;br /&gt;&lt;virtualhost&gt;&lt;br /&gt;&amp;nbsp;ProxyPreserveHost on&lt;br /&gt;&amp;nbsp;RewriteEngine on&lt;br /&gt;&amp;nbsp;ProxyPass /glassfish http://mi_glassfish.com.ar:8080/&lt;br /&gt;&amp;nbsp;ProxyPassReverse /crp http://mi_glassfish.com.ar:8080/&lt;br /&gt;&amp;nbsp;Redirect / http://mi_glassfish.com.ar:8080/&lt;br /&gt;&amp;nbsp;RewriteRule ^/(.*)&amp;nbsp;mi_glassfish.com.ar:8080/$1 [P,L]&lt;/virtualhost&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reiniciamos apache:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# /etc/init.d/apache2 restart&lt;br /&gt;Restarting web server: apache2 ... waiting .&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Fuente:&lt;/b&gt; &lt;a href=&quot;http://czetsuya-tech.blogspot.com.ar/2012/07/how-to-port-forward-apaches-80-to.html#.UfkTqvkyaN1&quot;&gt;http://czetsuya-tech.blogspot.com.ar/2012/07/how-to-port-forward-apaches-80-to.html#.UfkTqvkyaN1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/7560562813971979821/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=7560562813971979821' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7560562813971979821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7560562813971979821'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2013/08/proxy-reverso-para-glassfish-con-apache.html' title='Proxy Reverso para Glassfish con Apache '/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-5078528470932166904</id><published>2013-08-08T13:38:00.002-07:00</published><updated>2013-08-08T14:09:53.125-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Glassfish"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="Seguridad"/><category scheme="http://www.blogger.com/atom/ns#" term="Servicios"/><title type='text'>Reverse Proxy con Apache 2 en Debian</title><content type='html'>&lt;b&gt;Instalamos modulo para apache:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# apt-get install libapache2-mod-proxy-html&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree&lt;br /&gt;Reading state information... Done&lt;br /&gt;The following extra packages will be installed:&lt;br /&gt;&amp;nbsp; apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common file&lt;br /&gt;&amp;nbsp; libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcap2&lt;br /&gt;&amp;nbsp; libdb4.7 libexpat1 libgcrypt11 libgnutls26 libgpg-error0 libldap-2.4-2&lt;br /&gt;&amp;nbsp; libmagic1 libpcre3 libsasl2-2 libsasl2-modules libtasn1-3 libxml2&lt;br /&gt;&amp;nbsp; mime-support openssl perl perl-modules sgml-base ssl-cert xml-core&lt;br /&gt;Suggested packages:&lt;br /&gt;&amp;nbsp; www-browser apache2-doc apache2-suexec apache2-suexec-custom rng-tools&lt;br /&gt;&amp;nbsp; gnutls-bin libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql&lt;br /&gt;&amp;nbsp; libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal ca-certificates&lt;br /&gt;&amp;nbsp; perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl make&lt;br /&gt;&amp;nbsp; sgml-base-doc openssl-blacklist debhelper&lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;&amp;nbsp; apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common file&lt;br /&gt;&amp;nbsp; libapache2-mod-proxy-html libapr1 libaprutil1 libaprutil1-dbd-sqlite3&lt;br /&gt;&amp;nbsp; libaprutil1-ldap libcap2 libdb4.7 libexpat1 libgcrypt11 libgnutls26&lt;br /&gt;&amp;nbsp; libgpg-error0 libldap-2.4-2 libmagic1 libpcre3 libsasl2-2 libsasl2-modules&lt;br /&gt;&amp;nbsp; libtasn1-3 libxml2 mime-support openssl perl perl-modules sgml-base ssl-cert&lt;br /&gt;&amp;nbsp; xml-core&lt;br /&gt;0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;Need to get 14.9 MB of archives.&lt;br /&gt;After this operation, 55.3 MB of additional disk space will be used.&lt;br /&gt;Do you want to continue [Y/n]? &lt;b&gt;Y&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configuramos el httpd con lo siguiente:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vim /etc/apache2/httpd.conf&lt;br /&gt;LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so&lt;br /&gt;LoadModule proxy_connect_module /usr/lib/apache2/modules/mod_proxy_connect.so&lt;br /&gt;LoadModule proxy_ftp_module /usr/lib/apache2/modules/mod_proxy_ftp.so&lt;br /&gt;LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so&lt;br /&gt;ProxyRequests Off&lt;br /&gt;&lt;proxy&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; Order deny,allow&lt;br /&gt;&amp;nbsp; &amp;nbsp; Allow from all&lt;/proxy&gt;&lt;br /&gt;ProxyPass /web http://www.mi_web_server.com.ar/&lt;br /&gt;ProxyPassReverse /web&amp;nbsp;http://www.mi_web_server.com.ar/&lt;br /&gt;ProxyPreserveHost On&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reiniciamos apache:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# /etc/init.d/apache2 restart&lt;br /&gt;Restarting web server: apache2apache2: Could not reliably determine the server&#39;s fully qualified domain name, using 192.168.0.1 for ServerName&lt;br /&gt;&amp;nbsp;... waiting apache2: Could not reliably determine the server&#39;s fully qualified domain name, using 192.168.0.1 for ServerName&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Para solucionar el warning previo, editamos el archivo de configuración de apache:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vim /etc/apache2/apache2.conf&lt;br /&gt;ServerName &lt;b&gt;nombre_server&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reiniciamos el apache y vemos que ahora no aparece el warning:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# /etc/init.d/apache2 restart&lt;br /&gt;Restarting web server: apache2 ... waiting .&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;b&gt;Fuente:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;http://httpd.apache.org/docs/2.2/mod/mod_proxy.html&quot;&gt;http://httpd.apache.org/docs/2.2/mod/mod_proxy.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/5078528470932166904/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=5078528470932166904' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5078528470932166904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/5078528470932166904'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2013/08/reverse-proxy-con-apache-2-en-debian.html' title='Reverse Proxy con Apache 2 en Debian'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-6448419941518249082</id><published>2013-08-04T11:21:00.003-07:00</published><updated>2013-08-04T11:28:02.433-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Servicios"/><title type='text'>Instalar Glassfish 3 en Debian Squeeze</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-keIj453QAjE/Uf6cGEC9NzI/AAAAAAAAOts/zjKE6E20YT4/s1600/05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;271&quot; src=&quot;http://4.bp.blogspot.com/-keIj453QAjE/Uf6cGEC9NzI/AAAAAAAAOts/zjKE6E20YT4/s400/05.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Agregamos el usuario, grupo, el home y el shell:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# adduser --home /home/glassfish --system --shell /bin/bash glassfish&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# groupadd glassfishadm&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# usermod -a -G glassfishadm root&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Instalamos los requerimientos:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# apt-get install python-software-properties&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Agregamos los repositorios:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vim /etc/apt/sources.list&lt;br /&gt;deb http://ftp.ch.debian.org/debian/ squeeze main non-free&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# apt-get update&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# apt-get install sun-java6-jdk &amp;nbsp;sun-java6-jre&lt;/blockquote&gt;&lt;br /&gt;Damos &lt;b&gt;OK&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-stsV2IgP8sg/Uf6cEvAw9oI/AAAAAAAAOtQ/O9pNx_qi2kI/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;http://3.bp.blogspot.com/-stsV2IgP8sg/Uf6cEvAw9oI/AAAAAAAAOtQ/O9pNx_qi2kI/s400/01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Aceptamos la licencia:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-qEJqDzWUiVM/Uf6cFHKWaDI/AAAAAAAAOtU/IbOta2g9Mo8/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;251&quot; src=&quot;http://3.bp.blogspot.com/-qEJqDzWUiVM/Uf6cFHKWaDI/AAAAAAAAOtU/IbOta2g9Mo8/s400/02.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# apt-get install unzip&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# su glassfish&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;$ cd /home/glassfish&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;$ mkdir downloads&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;$ cd downloads&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;$ wget http://download.java.net/glassfish/3.0.1/release/glassfish-3.0.1.zip&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;$ unzip glassfish-3.0.1.zip&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# mkdir -p /usr/local/apps/SDK/glassfish&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# mv /home/glassfish/downloads/glassfishv3/* /usr/local/apps/SDK/glassfish/&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# chgrp -R glassfishadm /usr/local/apps/SDK/glassfish/&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# chown -R glassfish /usr/local/apps/SDK/glassfish/&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# chmod -R +x /usr/local/apps/SDK/glassfish/bin/&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# chmod -R +x /usr/local/apps/SDK/glassfish/glassfish/bin/&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# su glassfish&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Iniciamos glassfish:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;$ /usr/local/apps/SDK/glassfish/bin/asadmin start-domain domain1&lt;br /&gt;Waiting for DAS to start ....&lt;br /&gt;Started domain: domain1&lt;br /&gt;Domain location: /usr/local/apps/SDK/glassfish/glassfish/domains/domain1&lt;br /&gt;Log file: /usr/local/apps/SDK/glassfish/glassfish/domains/domain1/logs/server.log&lt;br /&gt;Admin port for the domain: 4848&lt;br /&gt;Command start-domain executed successfully.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Accedemos a la web de administración:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://192.168.0.100:4848/&quot;&gt;http://192.168.0.100:4848&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-ahLjMrTTa1Y/Uf6cFrw1IpI/AAAAAAAAOtg/cpshDIf9Gvk/s1600/04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;270&quot; src=&quot;http://1.bp.blogspot.com/-ahLjMrTTa1Y/Uf6cFrw1IpI/AAAAAAAAOtg/cpshDIf9Gvk/s400/04.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Paramos el servicio:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;$ /usr/local/apps/SDK/glassfish/bin/asadmin stop-domain domain1&lt;br /&gt;Waiting for the domain to stop ...&lt;br /&gt;Command stop-domain executed successfully.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Cambiamos el Master password:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;$ /usr/local/apps/SDK/glassfish/bin/asadmin change-master-password --savemasterpassword=true&lt;br /&gt;Enter New_Master_Password password&amp;gt; &lt;b&gt;NuevoMasterPassword&lt;/b&gt;Enter New_Master_Password password again&amp;gt;&amp;nbsp;&lt;b&gt;NuevoMasterPassword&lt;/b&gt;&lt;br /&gt;Command change-master-password executed successfully.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Cambiamos el admin password:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Debe estar iniciado y ejecutar lo siguiente:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;glassfish@glassfish:/root$ /usr/local/apps/SDK/glassfish/bin/asadmin change-admin-password&lt;br /&gt;$ /usr/local/apps/SDK/glassfish/bin/asadmin change-admin-password&lt;br /&gt;Enter admin user name [default: admin]&amp;gt;&lt;br /&gt;Enter admin password&amp;gt;&lt;br /&gt;Enter new admin password&amp;gt; &lt;b&gt;NuevoPasswordAdmin&lt;/b&gt;Enter new admin password again&amp;gt;&amp;nbsp;&lt;b&gt;NuevoPasswordAdmin&lt;/b&gt;&lt;br /&gt;Command change-admin-password executed successfully.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Nos logueamos nuevamente al glassfish.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Instalamos sudo porque lo utilizaremos en el script:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# apt-get install sudo&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Creamos el script para iniciarlo:&lt;/b&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# vim /etc/init.d/glassfish&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;#! /bin/sh&lt;br /&gt;&lt;br /&gt;#Agregar el path de java&lt;br /&gt;export AS_JAVA=/usr/lib/jvm/java-6-sun&lt;br /&gt;&lt;br /&gt;GLASSFISHPATH=/usr/local/apps/SDK/glassfish/bin/&lt;br /&gt;&lt;br /&gt;case &quot;$1&quot; in&lt;br /&gt;start)&lt;br /&gt;echo &quot;starting glassfish from $GLASSFISHPATH&quot;&lt;br /&gt;sudo -u glassfish $GLASSFISHPATH/asadmin start-domain domain1&lt;br /&gt;#Reemplazar por la siguiente linea cuando habilite https:&lt;br /&gt;#sudo -u glassfish $GLASSFISHPATH/asadmin --secure start-domain domain1&lt;br /&gt;;;&lt;br /&gt;restart)&lt;br /&gt;$0 stop&lt;br /&gt;$0 start&lt;br /&gt;;;&lt;br /&gt;stop)&lt;br /&gt;echo &quot;stopping glassfish from $GLASSFISHPATH&quot;&lt;br /&gt;sudo -u glassfish $GLASSFISHPATH/asadmin stop-domain domain1&lt;br /&gt;#Reemplazar por la siguiente linea cuando habilite https:&lt;br /&gt;#sudo -u glassfish $GLASSFISHPATH/asadmin --secure stop-domain domain1&lt;br /&gt;;;&lt;br /&gt;*)&lt;br /&gt;echo $&quot;usage: $0 {start|stop|restart}&quot;&lt;br /&gt;exit 3&lt;br /&gt;;;&lt;br /&gt;esac&lt;br /&gt;:&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# chmod a+x /etc/init.d/glassfish&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# /etc/init.d/glassfish start&lt;br /&gt;starting glassfish from /usr/local/apps/SDK/glassfish/bin/&lt;br /&gt;Waiting for DAS to start ....&lt;br /&gt;Started domain: domain1&lt;br /&gt;Domain location: /usr/local/apps/SDK/glassfish/glassfish/domains/domain1&lt;br /&gt;Log file: /usr/local/apps/SDK/glassfish/glassfish/domains/domain1/logs/server.log&lt;br /&gt;Admin port for the domain: 4848&lt;br /&gt;Command start-domain executed successfully.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Agregarlo al inicio:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# cd /etc/rc2.d/&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;# ln -s ../init.d/glassfish S99glassfish&lt;/blockquote&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-8Ko8k43S3-c/Uf6cHJsx69I/AAAAAAAAOt4/Sgm7XCkNvLo/s1600/06.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;http://1.bp.blogspot.com/-8Ko8k43S3-c/Uf6cHJsx69I/AAAAAAAAOt4/Sgm7XCkNvLo/s400/06.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;FUENTES:&lt;/b&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;a href=&quot;http://www.nabisoft.com/tutorials/glassfish/installing-glassfish-301-on-ubuntu&quot;&gt;http://www.nabisoft.com/tutorials/glassfish/installing-glassfish-301-on-ubuntu&lt;/a&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;a href=&quot;http://www.gurx.net/index.php?option=com_content&amp;amp;view=article&amp;amp;id=39:instalar-sun-java&quot;&gt;http://www.gurx.net/index.php?option=com_content&amp;amp;view=article&amp;amp;id=39:instalar-sun-java&lt;/a&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;a href=&quot;http://packages.debian.org/es/squeeze/sun-java6-jre&quot;&gt;http://packages.debian.org/es/squeeze/sun-java6-jre&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/6448419941518249082/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=6448419941518249082' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/6448419941518249082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/6448419941518249082'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2013/08/instalar-glassfish-3-en-debian-squeeze.html' title='Instalar Glassfish 3 en Debian Squeeze'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-keIj453QAjE/Uf6cGEC9NzI/AAAAAAAAOts/zjKE6E20YT4/s72-c/05.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1618663333888458484.post-7474919097711486095</id><published>2013-07-15T14:22:00.001-07:00</published><updated>2013-07-16T06:10:35.429-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Virtualización"/><category scheme="http://www.blogger.com/atom/ns#" term="VMware"/><title type='text'>Registrar Licencia ESXi 5.1</title><content type='html'>Ya había explicado hace un tiempo como registrar la licencia de VMware ESXi 5.0 en este enlace:&amp;nbsp;&lt;a href=&quot;http://www.redes-seguridad.com.ar/2011/10/registrar-licencia-esxi-50.html&quot;&gt;http://www.redes-seguridad.com.ar/2011/10/registrar-licencia-esxi-50.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ahora voy a mostrar como actualizarla en ESXi 5.1&lt;br /&gt;&lt;br /&gt;Nos logueamos al vSphere Client, vamos a la solapa &quot;&lt;b&gt;Configuration&lt;/b&gt;&quot; y luego &quot;&lt;b&gt;Edit&lt;/b&gt;&quot;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-ReF1qvipbz8/UeRnZB2PkNI/AAAAAAAANTo/qtB21glyVpw/s1600/lic.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;211&quot; src=&quot;http://4.bp.blogspot.com/-ReF1qvipbz8/UeRnZB2PkNI/AAAAAAAANTo/qtB21glyVpw/s400/lic.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;Seleccionamos &quot;&lt;b&gt;Assing a new license key to this host&lt;/b&gt;&quot; -&amp;gt; &quot;&lt;b&gt;Enter key&lt;/b&gt;&quot;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-oBKOrg0VDi4/UeRTa5PXFHI/AAAAAAAANTY/OVHBct8J3xk/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;386&quot; src=&quot;http://2.bp.blogspot.com/-oBKOrg0VDi4/UeRTa5PXFHI/AAAAAAAANTY/OVHBct8J3xk/s400/02.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Ingresamos la licencia y listo &quot;&lt;b&gt;OK&lt;/b&gt;&quot;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-x577V_fIKYU/UeRoA9cR3eI/AAAAAAAANTw/mo4hHiaRa5s/s1600/lic2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;80&quot; src=&quot;http://4.bp.blogspot.com/-x577V_fIKYU/UeRoA9cR3eI/AAAAAAAANTw/mo4hHiaRa5s/s320/lic2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redes-seguridad.com.ar/feeds/7474919097711486095/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1618663333888458484&amp;postID=7474919097711486095' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7474919097711486095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1618663333888458484/posts/default/7474919097711486095'/><link rel='alternate' type='text/html' href='http://www.redes-seguridad.com.ar/2013/07/registrar-licencia-esxi-51.html' title='Registrar Licencia ESXi 5.1'/><author><name>Hernán Tirado</name><uri>https://plus.google.com/100387279112367748081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-UgwzpE1JQ10/AAAAAAAAAAI/AAAAAAAAD5M/Y-9MkPRh_Rs/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-ReF1qvipbz8/UeRnZB2PkNI/AAAAAAAANTo/qtB21glyVpw/s72-c/lic.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>