<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Infotech Notes</title>
	<atom:link href="http://infotechnotes.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://infotechnotes.wordpress.com</link>
	<description>Diversas informações técnicas que são sempre úteis</description>
	<lastBuildDate>Wed, 04 Nov 2009 12:43:57 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='infotechnotes.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/0d70babcc3e7f9f87eab8b5bbd72e327?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Infotech Notes</title>
		<link>http://infotechnotes.wordpress.com</link>
	</image>
			<item>
		<title>Apache autenticando em LDAP/LDAPS</title>
		<link>http://infotechnotes.wordpress.com/2009/10/26/apache-autenticando-em-ldapldaps/</link>
		<comments>http://infotechnotes.wordpress.com/2009/10/26/apache-autenticando-em-ldapldaps/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 16:01:04 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/?p=192</guid>
		<description><![CDATA[Para a realização de autenticação de usuários do serviço web fornecido por um Apache em uma base LDAP, a configuração é extremamente simples.
Supondo que voce já tem um servidor LDAP rodando e autenticando seus usuários corretamente (se não tiver, veja meus posts anteriores) e seu servidor web funcionando corretamente, basta editar seu arquivo de configuração [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=192&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Para a realização de autenticação de usuários do serviço web fornecido por um Apache em uma base LDAP, a configuração é extremamente simples.</p>
<p>Supondo que voce já tem um servidor LDAP rodando e autenticando seus usuários corretamente (se não tiver, veja meus posts anteriores) e seu servidor web funcionando corretamente, basta editar seu arquivo de configuração do servidor web, normalmente localizado em /etc/httpd/conf/httpd.conf, e ter a certeza de que estas linhas estarão presentes nele.</p>
<div>
<p><span style="font-family:Courier New;font-size:x-small;">DocumentRoot  &#8220;/var/www/html&#8221;</span></p>
</div>
<div>
<p><span style="font-family:Courier New;font-size:x-small;">LDAPTrustedCA            /etc/openldap/cacerts/cacert.pem<br />
LDAPTrustedCAType        BASE64_FILE<br />
LDAPOpCacheTTL          1800<br />
LDAPCacheTTL             1800<br />
LDAPOpCacheEntries      1024<span style="font-family:Arial;color:#0000ff;"> </span></span></p>
</div>
<div>
<p><span style="font-family:Courier New;font-size:x-small;"> </span></p>
</div>
<div>
<p><span style="font-family:Courier New;font-size:x-small;">&lt;Directory  &#8220;/var/www/html&#8221;&gt;</span></p>
</div>
<div>
<p><span style="font-family:Courier New;font-size:x-small;"> Options Indexes FollowSymLinks<br />
</span></p>
</div>
<div>
<p><span style="font-family:Courier New;font-size:x-small;"> </span><span style="font-family:Courier New;font-size:x-small;">AllowOverride None</span></p>
</div>
<div>
<p><span style="font-size:x-small;"><span style="font-family:Courier New;"> Order deny,allow<br />
Deny from  All<br />
AuthLDAPEnabled on<br />
AuthName &#8220;Autenticacao LDAP&#8221;<br />
AuthType Basic<br />
AuthLDAPUrl </span><a title="ldaps://ldap.servicos/ou=Datacenter,o=Diveo,c=BR?uid" href="//ldap.servicos/ou=Datacenter,o=Diveo,c=BR?uid"><span style="font-family:Courier New;">ldaps://ldap.server/ou=OrgUnit,o=Org?uid</span></a><br />
<span style="font-family:Courier New;">AuthLDAPAuthoritative on<br />
Require valid-user<br />
Satisfy any</span></span></p>
</div>
<div>
<p><span style="font-family:Arial;font-size:x-small;"><span style="font-family:Courier New;"> Order  allow,deny<br />
Allow from all</span></span></p>
</div>
<div>
<p><span style="font-family:Arial;font-size:x-small;"> </span></p>
</div>
<div>
<p><span style="font-family:Arial;font-size:x-small;"><span style="font-family:Courier New;">&lt;/Directory&gt;</span></span></p>
</div>
<div>
<p>Vale a pena observar aqui que a comunicação entre o servidor web e o servidor LDAP acontece na porta 636 (LDAP com TLS).</p>
</div>
<div>
<p>Caso voce tenha alguma dúvida sobre os parametros do Apache, siga este link <a href="http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html" target="_blank">http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html</a></p>
</div>
<div>
<p>Depois disso, basta reiniciar o serviço.</p>
</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=192&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2009/10/26/apache-autenticando-em-ldapldaps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
		<item>
		<title>Horário de verão brasileiro até 2078</title>
		<link>http://infotechnotes.wordpress.com/2009/10/15/horario-de-verao-brasileiro-ate-2078/</link>
		<comments>http://infotechnotes.wordpress.com/2009/10/15/horario-de-verao-brasileiro-ate-2078/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 15:40:17 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[horario de verao brasil]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/?p=184</guid>
		<description><![CDATA[Novamente temos em nossas mãos a responsabilidade de acertar os relógios dos nossos computadores, além de ser sempre solicitado a acertar o relógio dos micros dos parentes, vizinhos, namoradas, ex-namoradas, amantes, etc.
Este ano o governo brasileiro decidiu facilitar um pouco e definiu datas fixas de início e encerramento do período de Horário de Verão.  Este [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=184&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Novamente temos em nossas mãos a responsabilidade de acertar os relógios dos nossos computadores, além de ser sempre solicitado a acertar o relógio dos micros dos parentes, vizinhos, namoradas, ex-namoradas, amantes, etc.</p>
<p>Este ano o governo brasileiro decidiu facilitar um pouco e definiu datas fixas de início e encerramento do período de Horário de Verão.  Este <a title="Decreto n. 6558" href="http://www.planalto.gov.br/ccivil_03/_ato2007-2010/2008/decreto/d6558.htm" target="_blank">decreto</a> nº 6.558, de 8 de setembro de 2008, instituiu o início sempre à zero hora do terceiro domingo de outubro e o encerramento sempre à zero hora do terceiro domingo de fevereiro do ano seguinte.</p>
<p>Infelizmente, como em toda decisão governamental, há uma condição que impede a automatização definitiva do Horário de Verão nos computadores: se o terceiro domingo de fevereiro for um domingo de Carnaval então o encerramento é automaticamente transferido para zero hora do domingo seguinte.</p>
<p>Para facilitar um pouco a nossa vida (e a minha também, pois muitos micros e servidores não terão mais que ser ajustados), eu estou colocando um script que define o horário de verão brasileiro até o ano de 2078. Eu montei este script com base nas datas de carnaval definidas nesta <a title="Tabela Páscoa, Carnaval e Corpus Christi - 1951-2078" href="http://www.inf.ufrgs.br/~cabral/tabela_pascoa.html" target="_blank">Tabela de Páscoa, Carnaval e Corpus Christi</a>, de 1951 a 2078, publicado nesta página na UFRGS.</p>
<p>Neste <a href="http://infotechnotes.files.wordpress.com/2009/10/horario-de-verao-brasil-ate-20782.doc" target="_blank">arquivo</a> tem um script preparado para Linux, que ajudará voce a acertar estes horários nestes sistemas. Salve em um arquivo hv.sh e rode-o como root</p>
<p>É claro que eu sugiro que voces verifiquem o path do utulitário zic (costuma ficar em /usr/sbin/), para que as alterações sejam feitas corretamente.</p>
<p>Depois que o script for executado, basta rodar este comando para verificar as alterações:</p>
<p># /usr/sbin/zdump -v Brazil/East | egrep &#8220;2009|2010&#8243;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=184&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2009/10/15/horario-de-verao-brasileiro-ate-2078/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
		<item>
		<title>Autenticação por chaves</title>
		<link>http://infotechnotes.wordpress.com/2009/06/09/autenticacao-por-chaves/</link>
		<comments>http://infotechnotes.wordpress.com/2009/06/09/autenticacao-por-chaves/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 17:18:10 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/?p=181</guid>
		<description><![CDATA[Para quem não tem muita paciencia em ficar digitando a sua senha cada vez que se loga em uma máquina linux/unix, ou para quem executa scripts que vez ou outra necessitam obter informações de máquinas remotas, existe uma maneira de realizar um acesso seguro, através de SSH, para obter estas informações.
O legal do SSH, é [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=181&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Para quem não tem muita paciencia em ficar digitando a sua senha cada vez que se loga em uma máquina linux/unix, ou para quem executa scripts que vez ou outra necessitam obter informações de máquinas remotas, existe uma maneira de realizar um acesso seguro, através de SSH, para obter estas informações.</p>
<p>O legal do SSH, é que voce pode realizar um acesso com o comando e obter o resultado facilmente.</p>
<p>Por exemplo, imagine que voce criou um script chamado script.sh e que roda no servidor A e que este script necessita obter alguma informação que está no servidor B. Só que para obter esta informação, é necessário que voce se logue no servidor B, execute um comando, e pegue este resultado para continuar trabalhando.</p>
<p>Isto pode ser feito assim:</p>
<p>[user@serv-a ~]$ ssh -l user@serv-b</p>
<p>user@serv-b&#8217;s password:<br />
Last login: Tue Jun  9 12:07:20 2009 from serv-c</p>
<p>[user@serv-b ~]$</p>
<p>[user@serv-b ~]$ ps -ef | grep nscd</p>
<p>nscd     22431     1  0 Apr28 ?        00:00:03 /usr/sbin/nscd</p>
<p>[user@serv-b ~]$ exit</p>
<p>[user@serv-a ~]$</p>
<p>Em resumo, voce loga na maquina remota, informa seu usuario e senha, executa o comando e volta pra sua maquina anterior.</p>
<p>Se isto for feito uma única vez, então não há qualquer problema, mas imagine realizar isto várias vezes ao dia, ou então usar um script para verificar se o NSCD está no ar, e se não estiver, então o processo deve ser re-iniciado.</p>
<p>O grande problema aqui é a autenticação. Não é possível executar comandos de shell usando HTTP (não de maneira simples ou automatizada) ou FTP. Deve-se utilizar o SSH.</p>
<p>Para fazer com que este &#8220;problema&#8221; de autenticação não atrapalhe o seu script, voce deve usar chaves para realizar a autenticação.</p>
<p>Faça assim:</p>
<p>[user@serv-a ~]$ ssh-keygen -t rsa -b 2048<br />
Generating public/private rsa key pair.<br />
Enter file in which to save the key (/home/user/.ssh/id_rsa):<br />
Enter passphrase (empty for no passphrase):<br />
Enter same passphrase again:<br />
Your identification has been saved in /home/user/.ssh/id_rsa.<br />
Your public key has been saved in /home/user/.ssh/id_rsa.pub.<br />
The key fingerprint is:<br />
6d:9f:70:8a:b1:78:ea:12:85:49:d1:ac:ef:15:74:c7 user@serv-a<br />
[user@serv-a ~]$</p>
<p>Este comando vai gerar um par de chaves pública/privada, com o algoritmo RSA, com tamanho 2048 bits.</p>
<p>Os arquivos estão localizados em /home/user/.ssh</p>
<p>O arquivo id_rsa é a chave privativa e o arquivo id_rsa.pub é a chave pública.</p>
<p>Agora faça um login no servidor b, e copie o conteúdo do arquivo id_rsa.pub para o arquivo /home/user/.ssh/authorized_keys</p>
<p>Salve e saia, deslogue do servidor B e refaça o login no servidor B. Voce verá que a sua senha não será mais pedida.</p>
<p>Aqui vai uma dica. Para executar o seu comando mostrado acima, execute o comando e veja o resultado:</p>
<p>[user@serv-a ~]$ ssh -l user@serv-b &#8220;ps -ef | grep nscd&#8221;</p>
<p>nscd     22431     1  0 Apr28 ?        00:00:03 /usr/sbin/nscd</p>
<p>[user@serv-a ~]$</p>
<p>O único cuidado que voce precisa ter é que se alguém obtiver uma cópia de seu arquivo id_rsa, esta pessoa poderá usar seu login para acesso a qualquer máquina que tenha a sua chave pública.</p>
<p>É por isso que o arquivo id_rsa tem modo 0600 e o diretório .ssh tem modo 700.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=181&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2009/06/09/autenticacao-por-chaves/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://infotechnotes.wordpress.com/2009/02/20/174/</link>
		<comments>http://infotechnotes.wordpress.com/2009/02/20/174/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 01:56:07 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/?p=174</guid>
		<description><![CDATA[A carreira de engenheiro nos novos moldes:
A Carreira em &#8220;Y&#8221;
Nas grandes empresas (Bradesco, Votorantim, HSBC, Sony, Brasil Telecom, GM, ou qualquer empresa que tenha um grande número de pessoal de tecnologia) rola o que eles chamam de carreira em Y.  O indivíduo começa como Engenheiro 1 e pode chegar a ser Engenheiro 8.
Engenheiros 1
São comumente [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=174&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2><strong>A carreira de engenheiro nos novos moldes:</strong></h2>
<p><em>A Carreira em &#8220;Y&#8221;</em><br />
Nas grandes empresas (Bradesco, Votorantim, HSBC, Sony, Brasil Telecom, GM, ou qualquer empresa que tenha um grande número de pessoal de tecnologia) rola o que eles chamam de carreira em Y.  O indivíduo começa como Engenheiro 1 e pode chegar a ser Engenheiro 8.<br />
<strong>Engenheiros 1</strong><br />
São comumente conhecidos como Engenheiros baby, ou seja, um pouco mais que estagiários.</p>
<p>Condições necessárias para voce virar Engenheiro 2, 3, 4, 5, 6, 7 e 8:</p>
<p><strong>Engenheiros 2 e 3</strong><br />
Faça o seu dever, cumpra seus prazos, fique algumas vezes depois do  horário, faça cursos de aperfeiçoamento, seja sociável e trabalhe em equipe. É  necessário destruir plantações de pepinos (1 pepino = 1 problema).</p>
<p>Noções de Inglês Técnico.</p>
<p>Exemplo: Humanos normais</p>
<p><strong>Engenheiro 4<br />
</strong>Idem ao anterior + matar um leão por dia (1 leão = um grande problema), com  uma carga horária de 12 horas diárias. Ser responsável por 30% da administração de uma rede pequena tipo 700 usuários.</p>
<p>Inglês, espanhol e  Visual Basic obrigatórios + 1 linguagem desejável.</p>
<p>Exemplo: Fodões</p>
<p><strong>Engenheiro 5<br />
</strong>Idem ao anterior + um dragão por semana (1 dragão = um problema enorme),  com uma carga horária diária de 16 horas, sem feriados. Ser responsável por 40%  da administração de uma rede do tipo 1.000 usuários.</p>
<p>Inglês, francês, japonês, espanhol, VB e C++ obrigatórios.</p>
<p>Exemplo: Mister M, David Coperfield, Padre Quevedo, Chronos, Thomas Green Morton (Rá!).</p>
<p><strong>Engenheiro 6</strong><br />
Idem aos anteriores, só que, mata-se 1 leão por hora, um dragão por dia, um ALIEN por semana (1 ALIEN = um problema do outro mundo) e mais uma área  equivalente a meio globo terrestre em plantações de pepino. Carga horária  diária de 20 horas. Ser responsável por 75% da administração de uma rede de  2.500 usuários e 30% de todos os projetos internos de tecnologia.</p>
<p>Inglês,  francês, alemão, japonês, espanhol, aramaico, latim, mandarim, vietnamita,  VB, C++, ASP, PHP, DHTML, Cobol obrigatórios.</p>
<p>Exemplo: Criaturas Mitológicas, Gnomos, NINJAS com o poder dos 9 cortes.</p>
<p>Obs. Assim como os NINJAS, somente um Engenheiro 6 pode matar um Engenheiro 6.</p>
<p><strong>Engenheiro 7</strong><br />
Idem aos anteriores, só que, os leões e dragões fogem de você. Você terá  que caçá-los em outras dimensões e planetas. Uma área equivalente a uma estrela  classe 5 (Sol) em plantações de pepino e três ALIENS e um PREDADOR por dia  (1 PREDADOR = um problema impossível de ser resolvido, exemplo, fazer um  corpo com massa &#8220;m&#8221; viajar com velocidade acima da velocidade da luz).<br />
Carga horária diária de 25 horas. Ser responsável por 100% da administração  de uma rede de 6.000 usuários e 60% de todos os projetos internos de  tecnologia.</p>
<p>Inglês, francês, alemão, japonês, italiano, espanhol, aramaico, latim,  mandarim, vietnamita, Borg, Klingon, pascal, fortran, C#, ASP, JAVA, XML,  EasyTrieve, IMS/DC, Telon e todas as 13500 línguas e dialetos que o C3PO  fala no filme Star Wars, obrigatórios.</p>
<p>Exemplo: Mago Merlin, JEDIs como Luck Skywalker e Obi-Wan Kenobi, Mestre  Yoda (daí o nome de carreira em Y), Darth Maul, SPECTROMAN.</p>
<p>Não desanime.  Conseguir você irá, um engenheiro 7 você será.</p>
<p>Grande poder tem o lado negro ADMINISTRATIVO da FORÇA.</p>
<p>Você também terá que ser um HIGHLANDER, pois só com uma vida eterna você  terá tempo para atingir este cargo, mas não se esqueça que só pode haver  um, e não deixe que nenhum outro engenheiro 7 corte sua cabeça.</p>
<p><strong>Engenheiro 8</strong><br />
É o cargo máximo no UNIVERSO e você será considerado como o mestre dos  elementos. Você terá o poder sobre a vida e a morte dos seres, logo você  não precisa mais matá-los, você apenas deseja que os problemas se resolvam ou  cria novas leis físicas no universo para que isso aconteça. E você irá  perdoar a todos. Você será onisciente, onipresente e onipotente. Carga  horária diária indefinida, para você o tempo e o espaço já não existem. Ser  responsável por 100% dos projetos e 100% da área de tecnologia de uma  empresa de 30.000 usuários, em 7 dias por semana.</p>
<p>Exemplo: GAIA, ZEUS, ODIN, A FORÇA.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=174&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2009/02/20/174/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
		<item>
		<title>RAID</title>
		<link>http://infotechnotes.wordpress.com/2009/01/05/raid-2/</link>
		<comments>http://infotechnotes.wordpress.com/2009/01/05/raid-2/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 00:30:05 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/2009/01/05/raid-2/</guid>
		<description><![CDATA[A palavra RAID é um acronimo para Redundant Array of Inexpensive Disks que surgiu em 1988 e oferece basicamente:	

Ganho de desempenho no acesso para leitura ou gravação
Redundancia em caso de falha em um dos discos
Uso múltiplo de várias unidades de discos
Escalabilidade em recuperação de conteúdo

Existem hoje duas maneiras de criar um RAID &#8211; via Software [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=172&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-family:arial;">A palavra RAID é um acronimo para <strong>R</strong>edundant <strong>A</strong>rray of <strong>I</strong>nexpensive <strong>D</strong>isks que surgiu em 1988 e oferece basicamente:</span><span style="font-family:arial;"></span><br />	
<ul>
<li><span style="font-family:arial;">Ganho de desempenho no acesso para leitura ou gravação</span></li>
<li><span style="font-family:arial;">Redundancia em caso de falha em um dos discos</span></li>
<li><span style="font-family:arial;">Uso múltiplo de várias unidades de discos</span></li>
<li><span style="font-family:arial;">Escalabilidade em recuperação de conteúdo</span></li>
</ul>
<p><span style="font-family:arial;">Existem hoje duas maneiras de criar um RAID &#8211; via Software ou via Hardware</span></p>
<p><span style="font-family:arial;">O RAID feito via Software é feito através de softwares e módulos do kernel do Linux e só começa a funcionar após o kernel ser carregado (boot da máquina). Por este motivo não é possível utilizar o RAID via software na partição de boot.</span></p>
<p><span style="font-family:arial;">Já o RAID criado via hardware permite incluir todas as partições do disco, inclusive a /boot. Neste caso, toda a configuração de RAID é feito através de uma placa controladora externa, onde se conectam os discos. Esta controladora é a responsável pelas funções de escrita e gravação, informando à máquina o(s) disco(s) disponível(is) para a instalação do(s) Sistema(s) Operacional(is), seja ele Linux, Windows ou outro. O grande problema é que se a controladora falhar, nada mais é acessado. Os discos SCSI e SATA oferecem este tipo de RAID.</span></p>
<p><span style="font-family:arial;">Existem diversas configurações de RAID. As mais comuns são 0, 1 e 5.<br /></span><br /><span style="font-family:arial;">O RAID 0 é o único nível que não implementa redundancia. A sua finalidade é aumentar o desempenho na leitura e gravação dos dados. Pense assim, se voce fizer RAID 0 com 3 discos de 72 GB, voce terá cerca de 210 GB de espaço total em disco. Se um destes 3 discos apresentar algum problema, voce perde todos os seus 210 GB de dados. Voce também pode usar quantos discos quiser e discos de tamanhos diferentes para criar este único discão.</span></p>
<p><span style="font-family:arial;">O RAID 1 trabalha com dois discos, e cria um espelho de um disco no ooutro. Neste caso, se houver um problema em um dos discos, voce tem o outro para garantir os seus dados. Neste modo, a grande vantagem é o tempo de leitura, pois os dados são lidos dos dois discos ao mesmo tempo, duplicando o volume de dados lidos pelos discos. A desvantagem é que, se voce tem dois discos de 140 GB em RAID1, o seu disco total é de 140 GB.</span></p>
<p><span style="font-family:arial;">O RAID 5 traz as vantagens do RAID 0 e 1, mas também alguma desvantagem. Em uma configuracao com 3 discos de 72 GB, voce fica com um discão de 140GB. 1/3 do espaço total dos discos é usado para a geração dos dados de redundancia. A vantagem é que este RAID fornece um bom ganho de desempenho na leitura. Quanto mais discos voce tiver neste RAID, mais rápida será a leitura, pois os dados são gravados espalhados.</span></p>
<p><span style="font-family:arial;">Para configurar um RAID e administrá-lo, voce precisa da ferramenta mdadm, que é fornecida para todas as distribuições linux que suportam RAID. </span></p>
<p><span style="font-family:arial;">Após a instalação da ferramenta, vamos considerar um único disco com 3 partições disponíveis e ainda não montadas ou em uso, e vamos criar 1 x RAID 1 utilizando estas 3 partições, sendo que uma delas será usada como disco spare.</span></p>
<p><span style="font-family:arial;">Modifique as partições que serão usadas no RAID para o label &#8220;Linux raid auto&#8221;, código <strong>fd </strong>no fdisk.<br /></span><br /><font face="Courier New"><em><span style="font-family:arial;"></span></em><i><em># fdisk /dev/hda</em><br /></i></font><br /><span style="font-family:arial;">Para acompanhar o estado de seus discos durante a criação do RAID, use o seguinte comando em um terminal separado</span></p>
<p><font face="Courier New"><em><span style="font-family:arial;"></span></em></font><font face="Courier New"><em># watch cat /proc/mdstat </em></font></p>
<p><span style="font-family:arial;">Para criar o RAID, utilize este comando</span></p>
<p><font face="Courier New"><em><span style="font-family:arial;"></span></em></font><font face="Courier New"><em># mdadm &#8211;create /dev/md0 &#8211;level=1 &#8211;raid-devices=2 &#8211;spare-devices=1 /dev/hda5 /dev/hda6 /dev/hda7</em><br /></font><br /><span style="font-family:arial;">Onde:</span></p>
<p><span style="font-family:arial;"><strong>&#8211;create /dev/md0</strong> ==&gt; é o device que será criado. </span></p>
<p><span style="font-family:arial;"><strong>&#8211;level=1</strong> ==&gt; indoca que usaremos RAID 1.</span></p>
<p><span style="font-family:arial;"><strong>&#8211;raid-devices=2</strong> ==&gt; indica que teremos 2 partições ativas. </span></p>
<p><span style="font-family:arial;"><strong>&#8211;spare-devices=1</strong> ==&gt; indica que 1 das 3 partições informadas será usada para spare.</span></p>
<p><span style="font-family:arial;">As partições mencionadas no final do comando indicam quais serão as partições usadas. A última partição, neste caso, será usada para spare.</span></p>
<p><span style="font-family:arial;">Caso o comando fosse este abaixo, então teríamos 2 discos de spare, respectivamente hda7 e hda8<br /></span><br /><font face="Courier New"><em><span style="font-family:arial;"></span></em></font><font face="Courier New"><em># mdadm &#8211;create /dev/md0 &#8211;level=1 &#8211;raid-devices=4 &#8211;spare-devices=2 /dev/hda5 /dev/hda6 /dev/hda7 /dev/hda8</em></font></p>
<p><span style="font-family:arial;">A partir de agora, com o RAID criado, basta criar o filesystem e usar a nova partição. Vou criar usando ext3</span></p>
<p><font face="Courier New"><em><span style="font-family:arial;"></span></em></font><font face="Courier New"><em># mkfs.ext3 /dev/md0</em><br /></font><br /><span style="font-family:arial;">Crie um ponto de montagem e monte a partição.</span></p>
<p><font face="Courier New"><em><span style="font-family:arial;"></span></em></font><font face="Courier New"><em># mkdir /mnt/raid<br /># mount -t ext3 /dev/md0 /mnt/raid</em></font></p>
<p><span style="font-family:arial;">Caso voce queira montar esta partição automoaticamente, altere o arquivo /etc/mdadm/mdadm.conf adicionando as linhas</span><br /><font face="Courier New"><br /><font face="Courier New"><span style="font-family:arial;"></span></font></font><font face="Courier New"><em>DEVICE        /dev/hda5 /dev/hda6 /dev/hda7 /dev/hda8<br />ARRAY         /dev/md0 devices=/dev/hda5,/dev/hda6,/dev/hda7,/dev/hda8</em><br /></font><br /><span style="font-family:arial;">E altere também o /etc/fstab</span></p>
<p><font face="Courier New"><span style="font-family:arial;"></span></font><em><font face="Courier New"><em>/dev/md0      /mnt/raid     ext3    defaults      0     2</em></font><br /></em><span style="font-family:arial;"><br />Para verificar o estado do RAID como um todo, use o comando </span><br /><font face="Courier New"><br /># mdadm &#8211;detail /dev/md0</font><font face="Courier New"><font face="Courier New"><span style="font-family:arial;"><em></em></span><br /></font><br /></font><span style="font-family:arial;"><font face="Courier New">/dev/md0:<br />        Version : 00.90.01<br />  Creation Time : Fri Oct 17 18:03:09 2008<br />     Raid Level : raid1<br />     Array Size : 240832 (235.23 MiB 246.61 MB)<br />    Device Size : 240832 (235.23 MiB 246.61 MB)<br />   Raid Devices : 2<br />  Total Devices : 3<br />Preferred Minor : 0<br />    Persistence : Superblock is persistent</p>
<p>    Update Time : Fri Jan 03 18:05:12 2008<br />          State : clean<br /> Active Devices : 2<br />Working Devices : 3<br /> Failed Devices : 0<br />  Spare Devices : 1</p>
<p>           UUID : a78bd919:2301b5b2:da567592:1bd866f6<br />         Events : 0.8</p>
<p>Number   Major   Minor   RaidDevice State<br />0       8       17        0         active sync   /dev/hda5<br />1       8       18        1         active sync   /dev/hda6</p>
<p>2       8       19        &#8211;         spare   /dev/hda7<br /></font><br /></span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=172&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2009/01/05/raid-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
		<item>
		<title>Links Úteis</title>
		<link>http://infotechnotes.wordpress.com/2009/01/03/links-uteis/</link>
		<comments>http://infotechnotes.wordpress.com/2009/01/03/links-uteis/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 22:58:06 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[Links ùteis]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/?p=160</guid>
		<description><![CDATA[Este post serve apenas para listas os diversos links que se encontram pela Internet e que sempre ajudam em alguma coisa.
É claro que falta muita coisa aqui, mas eu prometo que sempre tentarei incluir neste post as coisas interessantes que eu acabo sabendo/encontrando/esbarrando quando estou à toa.
Abraços
goetti.blogspot.com &#8211; Grupo de operação especial e tática em [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=160&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Este post serve apenas para listas os diversos links que se encontram pela Internet e que sempre ajudam em alguma coisa.</p>
<p>É claro que falta muita coisa aqui, mas eu prometo que sempre tentarei incluir neste post as coisas interessantes que eu acabo sabendo/encontrando/esbarrando quando estou à toa.</p>
<p>Abraços</p>
<p><a href="http://goetti.blogspot.com" target="_blank">goetti.blogspot.com</a> &#8211; Grupo de operação especial e tática em TI</p>
<p><a href="http://www.meuip.com.br/" target="_blank">meuip.com.br</a> &#8211; Útil para saber seu ip</p>
<p><a href="http://jodies.de/ipcalc" target="_blank">http://jodies.de/ipcalc</a> &#8211; Calculadora IP</p>
<p><a href="http://aurelio.net/shell/canivete.html" target="_blank">http://aurelio.net/shell/canivete.html</a> &#8211; Um bom resumo sobre o shell Bash</p>
<p><a href="http://www.pctools.com/guides/password/" target="_blank">http://www.pctools.com/guides/password/</a> &#8211; Gerador randomico de senhas</p>
<p><a href="https://addons.mozilla.org/pt-BR/firefox/addon/433" target="_blank">https://addons.mozilla.org/pt-BR/firefox/addon/433</a> &#8211; Add-on do Firefox 3 que elimina aquelas propagandas em flash que aparecem</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=160&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2009/01/03/links-uteis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
		<item>
		<title>LPI 2</title>
		<link>http://infotechnotes.wordpress.com/2009/01/01/lpi-2/</link>
		<comments>http://infotechnotes.wordpress.com/2009/01/01/lpi-2/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 23:16:10 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[LPI 2]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/?p=148</guid>
		<description><![CDATA[Bom, agora que eu já tenho o certificado LPIC-1, eu preciso começar a estudar para obter a certificação LPIC-2.
Como parte deste estudo, eu vou colocar aqui alguns artigos com os pontos que a prova cobre. São eles:

RAID
HIDS
Syslog
DHCP
FTP
NFS
Samba
DNS
Apache
Postfix
Squid
PAM
OpenLDAP
OpenVPN

Eu vou apresentar configurações simples e em alguns casos algumas um pouco mais complicadas.
No tópico de OpenLDAP, eu já [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=148&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Bom, agora que eu já tenho o certificado LPIC-1, eu preciso começar a estudar para obter a certificação LPIC-2.</p>
<p>Como parte deste estudo, eu vou colocar aqui alguns artigos com os pontos que a prova cobre. São eles:</p>
<ul>
<li>RAID</li>
<li>HIDS</li>
<li>Syslog</li>
<li>DHCP</li>
<li>FTP</li>
<li>NFS</li>
<li>Samba</li>
<li>DNS</li>
<li>Apache</li>
<li>Postfix</li>
<li>Squid</li>
<li>PAM</li>
<li>OpenLDAP</li>
<li>OpenVPN</li>
</ul>
<p>Eu vou apresentar configurações simples e em alguns casos algumas um pouco mais complicadas.</p>
<p>No tópico de OpenLDAP, eu já postei aqui alguns artigos descrevendo os passos para se utilizar este serviço.  Então este tópico não será mencionado.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=148&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2009/01/01/lpi-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
		<item>
		<title>Does risk management make sense?</title>
		<link>http://infotechnotes.wordpress.com/2008/10/01/does-risk-management-make-sense/</link>
		<comments>http://infotechnotes.wordpress.com/2008/10/01/does-risk-management-make-sense/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 17:32:16 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[Segurança]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/2008/10/01/does-risk-management-make-sense/</guid>
		<description><![CDATA[http://searchsecurity.techtarget.com/magazinePrintFriendly/0,296905,sid14_gci1332745,00.html
Security Experts Bruce Schneier &#38; Marcus Ranum Offer Their Opposing
Points of View
POINT by Bruce Schneier
We engage in risk management all the time, but it only makes sense if we do it right.
&#8220;Risk management&#8221; is just a fancy term for the cost-benefit tradeoff associated with any security decision. It&#8217;s what we do when we react to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=139&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://searchsecurity.techtarget.com/magazinePrintFriendly/0,296905,sid14_gci1332745,00.html" target="_blank">http://searchsecurity.techtarget.com/magazinePrintFriendly/0,296905,sid14_gci1332745,00.html</a></p>
<p>Security Experts Bruce Schneier &amp; Marcus Ranum Offer Their Opposing<br />
Points of View</p>
<p>POINT by Bruce Schneier</p>
<p>We engage in risk management all the time, but it only makes sense if we do it right.</p>
<p>&#8220;Risk management&#8221; is just a fancy term for the cost-benefit tradeoff associated with any security decision. It&#8217;s what we do when we react to fear, or try to make ourselves feel secure. It&#8217;s the fight-or-flight reflex that evolved in primitive fish and remains in all vertebrates. It&#8217;s instinctual, intuitive and fundamental to life, and one of the brain&#8217;s primary functions.</p>
<p>Some have hypothesized that humans have a &#8220;risk thermostat&#8221; that tries to maintain some optimal risk level. It explains why we drive our motorcycles faster when we wear a helmet, or are more likely to take up moking during wartime. It&#8217;s our natural risk management in action.</p>
<p>The problem is our brains are intuitively suited to the sorts of risk management decisions endemic to living in small family groups in the East African highlands in 100,000 BC, and not to living in the New York City of 2008. We make systematic risk management mistakes&#8211;miscalculating the probability of rare events, reacting more to stories than data, responding to the feeling of security rather than reality, and making decisions based on irrelevant context. And that risk cockpit of ours? It&#8217;s not nearly as finely tuned as we might like it to be.</p>
<p>Like a rabbit that responds to an oncoming car with its default predator avoidance behavior&#8211;dart left, dart right, dart left, and at the last moment jump&#8211;instead of just getting out of the way, our Stone Age intuition doesn&#8217;t serve us well in a modern technological society. So when we in the security industry use the term &#8220;risk management,&#8221; we don&#8217;t want you to do it by trusting your gut. We want you to do risk management consciously and intelligently, to analyze the tradeoff and make the best decision.</p>
<p>This means balancing the costs and benefits of any security decision&#8211;buying and installing a new technology, implementing a new procedure or forgoing a common precaution. It means allocating a security budget to mitigate different risks by different amounts. It means buying insurance to transfer some risks to others. It&#8217;s what businesses do, all the time, about everything. IT security has its own risk management decisions, based on the threats and the technologies.</p>
<p>There&#8217;s never just one risk, of course, and bad risk management decisions often carry an underlying tradeoff. Terrorism policy in the U.S. is based more on politics than actual security risk, but the politicians who make these decisions are concerned about the risks of not being re-elected.</p>
<p>Many corporate security decisions are made to mitigate the risk of lawsuits rather than address the risk of any actual security breach. And individuals make risk management decisions that consider not only the risks to the corporation, but the risks to their departments&#8217; budgets, and to their careers.</p>
<p>You can&#8217;t completely remove emotion from risk management decisions, but the best way to keep risk management focused on the data is to formalize the methodology. That&#8217;s what companies that manage risk for a living&#8211;insurance companies, financial trading firms and arbitrageurs&#8211;try to do. They try to replace intuition with models, and hunches with mathematics.</p>
<p>The problem in the security world is we often lack the data to do risk management well. Technological risks are complicated and subtle. We don&#8217;t know how well our network security will keep the bad guys out, and we don&#8217;t know the cost to the company if we don&#8217;t keep them out. And the risks change all the time, making the calculations even harder. But this doesn&#8217;t mean we shouldn&#8217;t try.</p>
<p>You can&#8217;t avoid risk management; it&#8217;s fundamental to business just as to life. The question is whether you&#8217;re going to try to use data or whether you&#8217;re going to just react based on emotions, hunches and anecdotes.</p>
<p>COUNTERPOINT by Marcus Ranum</p>
<p>Bruce, you&#8217;re taking a very naturalistic&#8211;even evolutionary&#8211;view of risk management, and it&#8217;s hard to disagree with something that has obviously worked for hundreds of thousands of years. The problem with any evolutionary viewpoint, however, is that we tend to sweep under the table the grim slaughter of the failures. The reason we got to where we are today (other than just plain dumb luck) is a pretty strong flight/fight reaction&#8211;in that order. As you say, our reflexes don&#8217;t work in today&#8217;s networks because there&#8217;s no place to run&#8211;and the bad guys cheat.</p>
<p>It&#8217;s fine to say we need to balance the costs and benefits of our decisions, but life has gotten a lot more abstract and our decisions are less visceral. If you let the guys in marketing have their way and open that port in the firewall, you might lose your job, but it&#8217;s not as if the barbarians are going to force their way in and put everyone in the cubicle farm to the sword. Whenever someone says something like &#8220;a firewall is like a castle wall,&#8221; I remind them that the stakes used to be different, and that&#8217;s why the number of openings in a castle wall tended to be autocratically and rigidly controlled.</p>
<p>But that&#8217;s the problem, isn&#8217;t it? The stakes are moving and attitudes are not. It was one thing when a company&#8217;s poor decision about a firewall rule affected its stock price; it&#8217;s something completely different when you contemplate sovereignty-ending events like losing a war because too many secrets were leaked or a command/control network was compromised. I think a lot of decisions are being made based on wishful thinking rather than a clear-eyed assessment of costs and benefits.</p>
<p>I don&#8217;t think we do a very good job of estimating costs, benefits or risk. Simple example: a company hooks SCADA systems to a wide-area network to save money, then spends many times the savings when it has to go back years later and secure it. The fact is, we&#8217;re good at estimating risks right in front of us, but tend to leave long-range problems for later, when someone else who cares can deal with them. I&#8217;ve sat in on &#8220;risk assessment&#8221; exercises, and they generally seem to be a process whereby security practitioners try to manipulate senior management&#8217;s perception by cooking up a bunch of wild guesses that multiply out to just the pretty number they think it should. You say we shouldn&#8217;t &#8220;trust our gut,&#8221; but that&#8217;s exactly what&#8217;s going on.</p>
<p>Once, as part of a group building command-and-control networks for war fighters, I made myself amazingly unpopular by pointing out, as a potential consequence of a network breach, that the U.S. might no longer be a world power. Everyone remembers Imperial Rome for having been eventually toppled by the outsourcers it had relied on to secure its northern borders&#8211;not for its advances in engineering or indoor plumbing.</p>
<p>Risk assessment numbers are cooked to make them complete-looking, cost-probable and organizationally acceptable to upper management. It&#8217;s as if a bunch of medieval castellans based their wall design on the worst-case scenario of being attacked by ducks rather than barbarians.</p>
<p>You&#8217;re right: We lack the data to do risk management well. Unlike Las Vegas, which is built on straightforward statistics, computer security is infinitely squishy because the attack vectors change every day, the target surface changes every week, and the value of what&#8217;s at stake changes every second. The insurance industry tracks a lot of discrete parameters to formulate its point spreads, but in technology we&#8217;re adding new parameters every day, and they&#8217;re fiendishly interdependent. We&#8217;ll never have the data to do risk management well unless the rate of innovation (also known as &#8220;the rate at which security gets worse&#8221;) slows down. That brings its risks too.</p>
<p>In short, I don&#8217;t think &#8220;risk management&#8221; is the correct term. We should call it something more accurate. The cargo cultists and voodoo practitioners would probably be insulted if we tried to insinuate we used their methods, so maybe we should just settle on &#8220;hand waving.&#8221;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=139&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2008/10/01/does-risk-management-make-sense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
		<item>
		<title>Bloqueios de email pela Microsoft</title>
		<link>http://infotechnotes.wordpress.com/2008/08/25/bloqueios-de-email-pela-ms/</link>
		<comments>http://infotechnotes.wordpress.com/2008/08/25/bloqueios-de-email-pela-ms/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 20:46:11 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/2008/08/25/bloqueios-de-email-pela-ms/</guid>
		<description><![CDATA[Recentemente, o envio para contas de email do Hotmail começou a sofrer fortes filtragens pela Microsoft.
De acordo com este artigo (1), o filtro SmartScreen simplesmente apaga os emails, não informando o destinatário e o remetente que o email foi classificado como Spam ou que o mesmo não foi entregue. E ainda querem cobrar US$ 1.400,00 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=130&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recentemente, o envio para contas de email do Hotmail começou a sofrer fortes filtragens pela Microsoft.</p>
<p>De acordo com este artigo <strong>(1)</strong>, o filtro SmartScreen simplesmente apaga os emails, não informando o destinatário e o remetente que o email foi classificado como Spam ou que o mesmo não foi entregue. E ainda querem cobrar US$ 1.400,00 por ano para &#8220;permitir o recebimento&#8221;. Nada como gerar um problema e depois cobrar pela solução.</p>
<p>Já o nosso querido Rubens Queiroz (do Dicas-L) tomou uma decisão mais forte &#8211; todos os endereços de Hotmail, MSN.com e Live.com, estão sendo filtrados das mensagens da Dicas-L desde o dia 23 de julho de 2008 <strong>(2)</strong>.</p>
<p>Mais um bom motivo para usar o Gmail&#8230;</p>
<p><strong>(1)</strong> <a href="http://www.dicas-l.com.br/10anos/10anos_20080723.php" target="_blank">http://www.theregister.co.uk/2007/05/01/hotmail_friendly_fire/</a><br />
<strong>(2)</strong> <a href="http://www.dicas-l.com.br/10anos/10anos_20080723.php" target="_blank">http://www.dicas-l.com.br/10anos/10anos_20080723.php</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/infotechnotes.wordpress.com/130/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/infotechnotes.wordpress.com/130/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=130&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2008/08/25/bloqueios-de-email-pela-ms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
		<item>
		<title>Autenticando Máquinas Windows no servidor LDAP</title>
		<link>http://infotechnotes.wordpress.com/2008/08/22/autenticando-maquinas-windows-no-servidor-ldap/</link>
		<comments>http://infotechnotes.wordpress.com/2008/08/22/autenticando-maquinas-windows-no-servidor-ldap/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 02:14:44 +0000</pubDate>
		<dc:creator>Gustavo</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[ldap]]></category>

		<guid isPermaLink="false">http://infotechnotes.wordpress.com/?p=120</guid>
		<description><![CDATA[Para quem já montou o servidor LDAP explicado nos posts anteriores, segue uma parte interessante.
É possível autenticar máquinas Windows (2000, 2003, XP e Servers) na base LDAP. A mágica acontece através do software da Comtarsia (http://signon.comtarsia.com/main/en/Download)
Este software trabalha em duas frentes &#8211; autenticação e sessão. Para a autenticação é necessária a instalação do Comtarsia Logon [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=120&subd=infotechnotes&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Para quem já montou o servidor LDAP explicado nos posts anteriores, segue uma parte interessante.</p>
<p>É possível autenticar máquinas Windows (2000, 2003, XP e Servers) na base LDAP. A mágica acontece através do software da Comtarsia (<span class="headline17-2"><a href="http://signon.comtarsia.com/main/en/Download" target="_blank">http://signon.comtarsia.com/main/en/Download</a>)</span></p>
<p>Este software trabalha em duas frentes &#8211; autenticação e sessão. Para a autenticação é necessária a instalação do Comtarsia Logon Client. Já para o gerenciamento da sessão, é necessária a instalação do Comtarsia SignOn Gate.</p>
<p>Estes dois softwares estão disponíveis para download no site da Comtarsia, e podem ser testados anytime, anywhere.</p>
<p>O Comtarsia Logon Client troca o MSGina (interface de login padrão do Windows) pelo Gina da Comtarsia. Através dele é possível realizar a autenticação na base LDAP, e eventualmente, quando for necessário, pode-se clicar na opção para usar o MSGina e se autenticar no Windows através de um usuário local ou também através de um usuário no AD.</p>
<p>Sim, eu instalei estes softwares da Comtarsia em uma máquina com autenticação em um AD e neste ponto eu posso escolher onde eu quero autenticar &#8211; LDAP ou AD. Eu posso garantr que funciona porque eu uso. Caso voce tenha alguma dúvida, deixe um comentário.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/infotechnotes.wordpress.com/120/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/infotechnotes.wordpress.com/120/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infotechnotes.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infotechnotes.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infotechnotes.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infotechnotes.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infotechnotes.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infotechnotes.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infotechnotes.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infotechnotes.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infotechnotes.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infotechnotes.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infotechnotes.wordpress.com&blog=4271850&post=120&subd=infotechnotes&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://infotechnotes.wordpress.com/2008/08/22/autenticando-maquinas-windows-no-servidor-ldap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gustavo</media:title>
		</media:content>
	</item>
	</channel>
</rss>