<?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>Jhony Maseto</title>
	<atom:link href="http://jhony.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jhony.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 15 Apr 2011 19:41:08 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jhony.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Jhony Maseto</title>
		<link>http://jhony.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jhony.wordpress.com/osd.xml" title="Jhony Maseto" />
	<atom:link rel='hub' href='http://jhony.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Reduzindo a velocidade de download se o usuário abusar</title>
		<link>http://jhony.wordpress.com/2010/09/21/reduzindo-a-velocidade-de-download-conforme-se-o-usuario-abusar/</link>
		<comments>http://jhony.wordpress.com/2010/09/21/reduzindo-a-velocidade-de-download-conforme-se-o-usuario-abusar/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 17:30:08 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redes]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=65</guid>
		<description><![CDATA[Com a expansão da Wifi aqui na empresa tive problemas com usuários que abusam do serviço para baixar videos, filmes entre outras coisas.  Então resolvi buscar por soluções menos trabalhosas para ajudar. Me utilizei do relatório do lightsquid para ver quem são os usuários que abusam do serviço. Criei as seguintes ACL no squid.conf antes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=65&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Com a expansão da Wifi aqui na empresa tive problemas com usuários que abusam do serviço para baixar videos, filmes entre outras coisas.  Então resolvi buscar por soluções menos trabalhosas para ajudar. Me utilizei do relatório do lightsquid para ver quem são os usuários que abusam do serviço.</p>
<p>Criei as seguintes ACL no squid.conf antes das regras de portas seguras:</p>
<p>#############################################################<br />
###                                                                                                                           #####<br />
###   CONTROLE DE BANDA POR USUÁRIOS                                           #####<br />
###                                                                                                                           #####<br />
#############################################################<br />
# Controle de banda &#8211; jhony 09/09/2010 magoado com os usuários<br />
acl user_fdp proxy_auth &#8220;/etc/squid/usuarios_limitados_banda1.txt&#8221;<br />
acl user_fdp_fuck proxy_auth &#8220;/etc/squid/usuarios_limitados_banda2.txt&#8221;<br />
### quantia de pools<br />
delay_pools 2</p>
<p>#faixa 1 redução pequena<br />
delay_class 1 2<br />
# Limita a sua banda para +- 64 Kbps de download<br />
delay_parameters 1 7200/7200 7200/7200<br />
delay_access 1 allow user_fdp</p>
<p>#faixa Fuck  redução maior<br />
delay_class 2 2<br />
# Limita a sua banda para +- 35 Kbps de download<br />
delay_parameters 2 3800/3800 3800/3800<br />
delay_access 2 allow user_fdp_fuck</p>
<p>##############################################################<br />
###  FIM DO CONTROLE DE BANDA                                                                  ###<br />
##############################################################</p>
<p>em seguida criei os arquivos em que os nomes dos usuários vão ser consultados pelas acls:</p>
<p>/etc/squid/usuarios_limitados_banda1.txt</p>
<p>/etc/squid/usuarios_limitados_banda2.txt</p>
<p>para finalizar criei um script shell que busca no report do lightsquid e adiciona estes usuário aos arquivos acima e faz reload do squid.</p>
<p>#!/bin/bash</p>
<p>﻿dt=`date +%Y%m%d`<br />
dtlog=`date +%d%m%Y:%HH%MM`<br />
log=/var/log/usuarios_fdp.log<br />
###</p>
<p>#Cria log histórico dos usuários<br />
echo &#8221; dia e hora &#8211; $dtlog&#8221; &gt;&gt; $log</p>
<p>#limpa o arquivo<br />
&gt; /etc/squid/usuarios_limitados_banda1.txt<br />
&gt; /etc/squid/usuarios_limitados_banda2.txt</p>
<p>### busca no report do lightsquid quem são os usuários que estão abusando</p>
<p>### se for maior que 200mb e menor que 500mb coloca na primeira faixa de velocidade limitada<br />
for i in `grep &#8220;total:&#8221; /var/www/html/lightsquid/report/$dt/* |cut -d: -f3`; do<br />
if [ "$i" -gt "200000000" ] &amp;&amp; [ "$i" -lt "500000000" ];then<br />
echo &#8220;Limitados banda 1&#8243; &gt;&gt; $log<br />
usuario1=`grep &#8220;$i&#8221; /var/www/html/lightsquid/report/$dt/* |cut -d: -f1 `<br />
echo `basename $usuario1` &gt;&gt; /etc/squid/usuarios_limitados_banda1.txt<br />
echo `basename $usuario1` &gt;&gt; $log<br />
### se for maior que 500mb coloca na segunda faixa de velocidade limitada.<br />
elif [ "$i" -gt "500000001" ];then<br />
echo &#8220;Limitados banda 2&#8243; &gt;&gt; $log<br />
usuario2=`grep &#8220;$i&#8221; /var/www/html/lightsquid/report/$dt/* |cut -d: -f1 `<br />
echo `basename $usuario2` &gt;&gt; /etc/squid/usuarios_limitados_banda2.txt<br />
echo `basename $usuario2` &gt;&gt; $log<br />
fi<br />
done<br />
#carega as configs no squid<br />
/sbin/service squid reload</p>
<p>Depois é só adicionar no cron e ferrar com os abusados:</p>
<p>*/15 * * * * /var/www/html/lightsquid/lightparser.pl today<br />
*/15 * * * * /etc/squid/verifica_usuario_fdp.sh</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=65&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2010/09/21/reduzindo-a-velocidade-de-download-conforme-se-o-usuario-abusar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Verificando se os rádios estão online através das portas</title>
		<link>http://jhony.wordpress.com/2010/03/16/verificando-se-os-radios-estao-online-atraves-das-portas/</link>
		<comments>http://jhony.wordpress.com/2010/03/16/verificando-se-os-radios-estao-online-atraves-das-portas/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 01:09:11 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=58</guid>
		<description><![CDATA[Recentemente instalamos um D-Link DWS-3024, que centraliza a configuração dos rádios da dlink e disponibiliza sinal 2.4GHz, como gosto da monitoração via nágios e não de ficar acessando direto a ferramenta fiz um scritp simples em shell para saber as portas ativas e por conseguinte saber se os rádios estão online. ###################################################################### #!/bin/bash #historico #11/02/2010 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=58&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recentemente instalamos um    D-Link DWS-3024, que centraliza a configuração dos rádios da dlink e disponibiliza sinal 2.4GHz, como gosto  da monitoração via nágios e não de ficar acessando direto a ferramenta fiz um  scritp simples em shell para saber as portas ativas e por conseguinte  saber se os rádios estão online.</p>
<p>######################################################################</p>
<p>#!/bin/bash</p>
<p>#historico<br />
#11/02/2010 -  script de monitoração dos wireless switch e respectivos AP&#8217;s</p>
<p>#versão 1.0</p>
<p>#################<br />
#Variáveis gerais<br />
#as portas a ser monitoradas vão de um até o especificado abaixo.<br />
portas=15</p>
<p>################</p>
<p>#recupera os valores da MIB das portas<br />
sw=`snmpbulkget -v2c  -Cr$portas -c public $1 ifOperstatus |cut -d. -f2 |awk &#8216;{print $1 $4}&#8217;|cut -d s -f 3- |rev |cut -d \(  -f2- |rev`</p>
<p>#busca por down na variável<br />
for w1 in `echo  $sw` ;do<br />
if [ `echo $w1| grep down` ];<br />
then<br />
echo &#8220;CRITICAL: Antena $w1 &#8220;<br />
exit 2<br />
fi<br />
done;<br />
#se não encontrar erros retorne ao nagios OK<br />
if [ $? = 0 ];<br />
then<br />
echo &#8220;OK: Antenas funcionando &#8220;<br />
exit 0<br />
fi</p>
<p>para executar é só chamar o script com ./nomescript.sh  ipdoequipamento</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=58&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2010/03/16/verificando-se-os-radios-estao-online-atraves-das-portas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Fala agora magrão</title>
		<link>http://jhony.wordpress.com/2009/10/29/fala-agora-magrao/</link>
		<comments>http://jhony.wordpress.com/2009/10/29/fala-agora-magrao/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 00:09:55 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=56</guid>
		<description><![CDATA[Fui convidado no mês passado para ministrar algoritmos a uma turma do curso de ciência da computação da Unochapecó no Campi de São Lourenço do Oeste. Confesso que de início fiquei meio aflito, mas encarei, e de fato achei uma experiência muito interessante. Agora estou na expectativa de fechar para o próximo semestre também. Como [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=56&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Fui convidado no mês passado para ministrar algoritmos a uma turma do curso de ciência da computação da Unochapecó no Campi de São Lourenço do Oeste. Confesso que de início fiquei meio aflito, mas encarei, e de fato achei uma experiência muito interessante. Agora estou na expectativa de fechar para o próximo semestre também. Como estou utilizando materiais de outros professores não vou disponibilizar nada por momento.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=56&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/10/29/fala-agora-magrao/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>IV Jornada de Ciência e Tecnologia – JOCETEC e II Jornada de Integração das Semanas Acadêmicas do CETEC,</title>
		<link>http://jhony.wordpress.com/2009/09/17/v-jornada-de-ciencia-e-tecnologia-%e2%80%93-jocetec-e-ii-jornada-de-integracao-das-semanas-academicas-do-cetec/</link>
		<comments>http://jhony.wordpress.com/2009/09/17/v-jornada-de-ciencia-e-tecnologia-%e2%80%93-jocetec-e-ii-jornada-de-integracao-das-semanas-academicas-do-cetec/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 00:23:04 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Redes]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=53</guid>
		<description><![CDATA[Fui convidado a palestrar em conjunto com meu colega de trabalho, na IV Jornada de Ciência e Tecnologia – JOCETEC e II Jornada de Integração das Semanas Acadêmicas do CETEC, e o tema foi Monitoração de redes com softwares livres, no evento falamos sobre Cacti e Nagios como ferramentas, fizemos uma instalação básica para demostrar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=53&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Fui convidado a palestrar em conjunto com meu colega de trabalho, na IV Jornada de Ciência e Tecnologia – JOCETEC e II Jornada de Integração das Semanas Acadêmicas do CETEC,  e o tema foi <strong>Monitoração de redes com softwares livres</strong>, no evento falamos sobre Cacti e Nagios como ferramentas, fizemos uma instalação básica para demostrar e expomos alguns casos de uso da empresa. Segue o material:</p>
<p><a title="monitoração de redes com sl" href="http://www.unochapeco.edu.br/~jhony/sl.pdf" target="_blank">slides</a></p>
<p><a title="Tutorial passo a passo" href="http://nagios.sourceforge.net/docs/3_0/quickstart.html" target="_self">nagios-passo-a-passo </a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=53&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/09/17/v-jornada-de-ciencia-e-tecnologia-%e2%80%93-jocetec-e-ii-jornada-de-integracao-das-semanas-academicas-do-cetec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Base Ldap + Domínio Samba</title>
		<link>http://jhony.wordpress.com/2009/08/21/base-ldap-dominio-samba/</link>
		<comments>http://jhony.wordpress.com/2009/08/21/base-ldap-dominio-samba/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 20:20:36 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=47</guid>
		<description><![CDATA[Recentemente tivemos que criar um novo servidor de LDAP aqui para a empresa, segue os passos utilizados:

Versões  dos pacotes:

CentOS release 5.2 (Final) 2.6.18-92.el5

Nota: Habilitar o repo centos-plus e atualizar o so.

samba-common-3.0.28-1.el5_2.1

samba-client-3.0.28-1.el5_2.1

samba-3.0.28-1.el5_2.1

 

Para instalar o pacote smbldap-tools-0.9.4-1.el5.rf executar o abaixo:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=47&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom:0;">Recentemente tivemos que criar um novo servidor de LDAP aqui para a empresa, segue os passos utilizados:</p>
<p style="margin-bottom:0;">Versões  dos pacotes:</p>
<p style="margin-bottom:0;">CentOS release 5.2 (Final) 2.6.18-92.el5</p>
<p style="margin-bottom:0;"><span style="color:#ff0000;">Nota: Habilitar o repo centos-plus e atualizar o so.</span></p>
<p style="margin-bottom:0;">samba-common-3.0.28-1.el5_2.1</p>
<p style="margin-bottom:0;">samba-client-3.0.28-1.el5_2.1</p>
<p style="margin-bottom:0;">samba-3.0.28-1.el5_2.1</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Para instalar o pacote smbldap-tools-0.9.4-1.el5.rf executar o abaixo:</p>
<p style="margin-bottom:0;">wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm</p>
<p style="margin-bottom:0;">rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><strong>Criar o usuário ldap antes de instalar os rpms.</strong></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">nss_ldap-253-12.el5</p>
<p style="margin-bottom:0;">python-ldap-2.2.0-2.1</p>
<p style="margin-bottom:0;">openldap-clients-2.3.27-8.el5_2.4</p>
<p style="margin-bottom:0;">smbldap-tools-0.9.5-1.el5.rf</p>
<p style="margin-bottom:0;">openldap-2.3.27-8.el5_2.4</p>
<p style="margin-bottom:0;">openldap-servers-2.3.27-8.el5_2.4</p>
<p style="margin-bottom:0;">Não instalar -&gt; cyrus-sasl-ldap-2.1.22-4</p>
<p style="margin-bottom:0;">php-ldap-5.1.6-20.el5_2.1</p>
<p style="margin-bottom:0;">openldap-devel-2.3.27-8.el5_2.4</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">php</p>
<p style="margin-bottom:0;">apache</p>
<p style="margin-bottom:0;">phpldapadmin-1.1.0.6.tar.gz</p>
<p style="margin-bottom:0;">##################</p>
<p style="margin-bottom:0;">
<ol>
<p style="margin-bottom:0;">
</ol>
<p style="margin-bottom:0;">Editar o arquivo /etc/ldap.conf:</p>
<p style="margin-bottom:0;">host 127.0.0.1</p>
<p style="margin-bottom:0;">base o=empresa</p>
<p style="margin-bottom:0;">ssl no</p>
<p style="margin-bottom:0;">tls_cacertdir /etc/openldap/cacerts</p>
<p style="margin-bottom:0;">pam_password md5</p>
<p style="margin-bottom:0;">##################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Criar arquivo /etc/ldap.secret com mode 600 com a senha do manager do ldap.</p>
<p style="margin-bottom:0;">#################</p>
<p style="margin-bottom:0;">Editar o arquivo /etc/samba/smb.conf:</p>
<p style="margin-bottom:0;">
<p style="margin-left:.26in;margin-bottom:0;">workgroup = [nome do domínio]</p>
<p style="margin-left:.26in;margin-bottom:0;">server string = Samba Server</p>
<p style="margin-left:.26in;margin-bottom:0;">
<p style="margin-left:.26in;margin-bottom:0;">netbios name = MYSERVER</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Comentar a linha:</p>
<p style="margin-bottom:0;">;       passdb backend = tdbsam</p>
<p style="margin-bottom:0;">Descomentar as linhas:</p>
<p style="margin-bottom:0;">domain master = yes</p>
<p style="margin-bottom:0;">domain logons = yes</p>
<p style="margin-bottom:0;">preferred master = yes</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">add user script = /usr/sbin/useradd &#8220;%u&#8221; -n -g users</p>
<p style="margin-bottom:0;">add group script = /usr/sbin/groupadd &#8220;%g&#8221;</p>
<p style="margin-bottom:0;">add machine script = /usr/sbin/useradd -n -c &#8220;Workstation (%u)&#8221; -M -d /nohome -s /bin/false &#8220;%u&#8221;</p>
<p style="margin-bottom:0;">delete user script = /usr/sbin/userdel &#8220;%u&#8221;</p>
<p style="margin-bottom:0;">delete user from group script = /usr/sbin/userdel &#8220;%u&#8221; &#8220;%g&#8221;</p>
<p style="margin-bottom:0;">delete group script = /usr/sbin/groupdel &#8220;%g&#8221;</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">passdb backend = ldapsam:ldap://127.0.0.1</p>
<p style="margin-bottom:0;">ldap admin dn = &#8220;cn=manager, o=empresa&#8221;</p>
<p style="margin-bottom:0;">ldap group suffix = ou=Group</p>
<p style="margin-bottom:0;">ldap user suffix = ou=People</p>
<p style="margin-bottom:0;">ldap machine suffix = ou=Hosts</p>
<p style="margin-bottom:0;">ldap suffix = o=empresa</p>
<p style="margin-bottom:0;">ldap ssl= off</p>
<p style="margin-bottom:0;">idmap uid = 16777216-33554431</p>
<p style="margin-bottom:0;">idmap gid = 16777216-33554431</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">wins support = yes</p>
<p style="margin-bottom:0;">################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Executar o comando smbpasswd -w senha do manager do ldap</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Editar o arquivo /etc/smbldap-tools/smbldap_bind.conf:</p>
<p style="margin-bottom:0;">slaveDN=&#8221;cn=manager,o=empresa&#8221;</p>
<p style="margin-bottom:0;">slavePw=&#8221;senhadomanager&#8221;</p>
<p style="margin-bottom:0;">masterDN=&#8221;cn=manager,o=empresa&#8221;</p>
<p style="margin-bottom:0;">masterPw=&#8221;senhadomanager&#8221;</p>
<p style="margin-bottom:0;">###################</p>
<p style="margin-bottom:0;">Executar os comandos:</p>
<p style="margin-bottom:0;">cp 	/etc/openldap/DB_CONFIG.example /var/lib/ldap/DB_CONFIG</p>
<p style="margin-bottom:0;">chown ldap. 	/var/lib/ldap/DB_CONFIG</p>
<p style="margin-bottom:0;">cp /usr/share/doc/samba-3.0.28/LDAP/samba.schema /etc/openldap/schema/</p>
<p style="margin-bottom:0;">###################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Editar o arquivo /etc/openldap/slapd.conf:</p>
<p style="margin-bottom:0;">Incluir os schemas adicionais necessários:</p>
<p style="margin-bottom:0;">include         /etc/openldap/schema/samba.schema</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">suffix          &#8220;o=empresa”</p>
<p style="margin-bottom:0;">rootdn          &#8220;cn=manager,o=empresa&#8221;</p>
<p style="margin-bottom:0;">rootpw {SSHA}KOllLHHyDoeyY0IEdqy18v/BH+4bB2Lt (gerar a senha com o comando slappasswd)</p>
<p style="margin-bottom:0;">##########################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Editar o arquivo /etc/smbldap-tools/smbldap.conf:</p>
<p style="margin-bottom:0;">Executar “net getlocalsid” e inserir o SID resultante em SID=</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">sambaDomain=&#8221;nomedodominionosamba&#8221;</p>
<p style="margin-bottom:0;">slaveLDAP=&#8221;127.0.0.1&#8243; (alterar para o ip do ldap)</p>
<p style="margin-bottom:0;">masterLDAP=&#8221;127.0.0.1&#8243; (alterar para o ip do ldap)</p>
<p style="margin-bottom:0;">suffix=&#8221;o=empresa</p>
<p style="margin-bottom:0;">&#8220;ldapTLS=&#8221;0&#8243;</p>
<p style="margin-bottom:0;">usersdn=&#8221;ou=People,o=empresa&#8221;</p>
<p style="margin-bottom:0;">computersdn=&#8221;ou=Hosts,o=empresa&#8221;</p>
<p style="margin-bottom:0;">groupsdn=&#8221;ou=Groups,o=empresa&#8221;</p>
<p style="margin-bottom:0;">idmapdn=&#8221;ou=Idmap,o=empresa&#8221;</p>
<p style="margin-bottom:0;">sambaUnixIdPooldn=&#8221;cn=NextFreeUnixId,o=empresa&#8221; (depende da estrutura do LDAP)</p>
<p style="margin-bottom:0;">userLoginShell=&#8221;/bin/false&#8221;</p>
<p style="margin-bottom:0;">defaultUserGid=&#8221;65535&#8243; (configurar para o grupo primário do usuário padrão)</p>
<p style="margin-bottom:0;">defaultMaxPasswordAge=&#8221;99&#8243; (desabilitar expiração de senhas)</p>
<p style="margin-bottom:0;">userSmbHome=&#8221;"</p>
<p style="margin-bottom:0;">userProfile=&#8221;"</p>
<p style="margin-bottom:0;">userScript=&#8221;%U.bat&#8221;</p>
<p style="margin-bottom:0;">mailDomain=&#8221;empresa.com.br&#8221;</p>
<p style="margin-bottom:0;">######################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Executar o comando service ldap start.</p>
<p style="margin-bottom:0;">######################</p>
<p style="margin-bottom:0;">Editar o arquivo /etc/nsswitch.conf:</p>
<p style="margin-bottom:0;">passwd:     files ldap</p>
<p style="margin-bottom:0;">shadow:     files ldap</p>
<p style="margin-bottom:0;">group:      files ldap</p>
<p style="margin-bottom:0;">####################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Descompactar o arquivo phpldapadmin-1.1.0.6.tar.gz na pasta /var/www/html.</p>
<p style="margin-bottom:0;">####################</p>
<p style="margin-bottom:0;">Editar o arquivo config.php com os dados do ip do servidor LDAP.</p>
<p style="margin-bottom:0;">Inserir no arquivo /var/lib/ldap/DB_CONFIG as linhas abaixo:</p>
<p style="margin-bottom:0;">### INICIO ARQUIVO DB_CONFIG ###</p>
<p># Define o tamanho do arquivo de cache.</p>
<p>set_cachesize 0 52428800 0</p>
<p>#### Set database flags ####</p>
<p># Remove automaticamente arquivos de logs.<br />
set_flags DB_LOG_AUTOREMOVE</p>
<p># Setando valores dos LOGS</p>
<p>set_lg_regionmax 262144<br />
set_lg_max 10485760<br />
set_lg_bsize 2097152<br />
set_lg_dir /var/lib/ldap/<br />
# Increase locks<br />
set_lk_max_locks 3000<br />
set_lk_max_objects 1500<br />
set_lk_max_lockers 1500</p>
<p>### FIM ARQUIVO DB_CONFIG ###</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><a name=":8h"></a>rodar <strong>smbldap-populate</strong> para popular a base com os atributos necessários para o domínio.</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Espero que ajude.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=47&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/08/21/base-ldap-dominio-samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Autenticando usuários no LDAP e mapeando as unidades de rede do antigo servidor samba via sshfs no fedora 10</title>
		<link>http://jhony.wordpress.com/2009/04/14/autenticando-usuarios-no-ldap-e-mapeando-as-unidades-de-rede-do-antigo-servidor-samba-via-sshfs-no-fedora-10/</link>
		<comments>http://jhony.wordpress.com/2009/04/14/autenticando-usuarios-no-ldap-e-mapeando-as-unidades-de-rede-do-antigo-servidor-samba-via-sshfs-no-fedora-10/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 00:56:37 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redes]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=42</guid>
		<description><![CDATA[Estamos começando a migrar as estações dos nossos usuários de Windows para Linux e adivinha uma das primeiras requisições do usuário são os mapeamentos automáticos feitos via samba. 

Depois de algumas tentativas frustradas de inserir o linux no domínio como faz com o Windows resolvemos mudar a tática e chegamos a uma receita que a princípio esta funcionando, autenticar no LDAP e buscar as unidades do usuário via sshfs através das informações de grupos que o usuário possui no LDAP. 
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=42&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Estamos começando a migrar as estações dos nossos usuários de Windows para Linux e adivinha uma das primeiras requisições do usuário são os mapeamentos automáticos feitos via samba.</p>
<p style="margin-bottom:0;">Depois de algumas tentativas frustradas de inserir o linux no domínio como faz com o Windows resolvemos mudar a tática e chegamos a uma receita que a princípio esta funcionando, autenticar no LDAP e buscar as unidades do usuário via sshfs através das informações de grupos que o usuário possui no LDAP.</p>
<p style="margin-bottom:0;">Criamos um script que busca todos os grupos que o usuário pertence e cria a conexão sshfs com uma unidade no Desktop do usuário, ficando transparente para ele o processo. O processo ficou assim: quando o usuário faz login no micro aparece um dialog pedindo a senha para acessar os recursos de rede, após digitado ele cria os locais por letras e o usuário acessa como se fosse uma pasta.</p>
<p style="margin-bottom:0;">Uma pena que não encontrei ainda uma forma de recuperar a senha no login que ele faz do Gnome, assim o usuário não precisaria digitar a senha duas vezes.</p>
<p style="margin-bottom:0;">Segue os passo que utilizei:</p>
<p style="margin-bottom:0;">####################################################</p>
<p style="margin-bottom:0;">Passo 1</p>
<p style="margin-bottom:0;">clicar na barra Sistemas -&gt; Administração -&gt; Autenticação -&gt; Informações do usuário -&gt; Ativar suporte LDAP</p>
<p style="margin-bottom:0;">BASE-&gt; o=empresa</p>
<p style="margin-bottom:0;">Servidor -&gt; xxx.xxx.xxx.xxx</p>
<p style="margin-bottom:0;">Para verificar se funcionou abrir um terminal e testar com id usuario</p>
<p style="margin-bottom:0;">##############################################</p>
<p style="margin-bottom:0;">Passo 2</p>
<p style="margin-bottom:0;">Configurar no seu servidor DNS um CNAME para serarq com o ip do seu antigo servidor samba</p>
<p style="margin-bottom:0;">##############################################</p>
<p style="margin-bottom:0;">Passo 3</p>
<p style="margin-bottom:0;">Instalar na estação o fuse.sshfs ou sshfs e o dialog e o Xdialog</p>
<p style="margin-bottom:0;">fazer update do sistema todo</p>
<p style="margin-bottom:0;">#########################################################</p>
<p style="margin-bottom:0;">Passo 4</p>
<p style="margin-bottom:0;">criar o script scritp.desktop dentro de /usr/share/gnome/autostart/  com o seguinte conteúdo:</p>
<p style="margin-bottom:0;">[Desktop Entry]</p>
<p style="margin-bottom:0;">Encoding=UTF-8</p>
<p style="margin-bottom:0;">Name=Map user script</p>
<p style="margin-bottom:0;">Comment[br]=MAP user scritp</p>
<p style="margin-bottom:0;">Icon=bluetooth</p>
<p style="margin-bottom:0;">Exec= gnome-terminal /usr/sbin/mapeia_rede.sh</p>
<p style="margin-bottom:0;">Terminal=false</p>
<p style="margin-bottom:0;">Type=Application</p>
<p style="margin-bottom:0;">Categories=</p>
<p style="margin-bottom:0;">OnlyShowIn=GNOME;</p>
<p style="margin-bottom:0;">############################################################</p>
<p style="margin-bottom:0;">Passo 5</p>
<p style="margin-bottom:0;">criar o script chamado mapeia_rede.sh em /usr/sbin/  com o seguinte<a title="Script de mapear unidades via sshfs" href="http://www.unochapeco.edu.br/~jhony/mapeia_rede.sh" target="_blank"> conteudo:</a></p>
<p style="margin-bottom:0;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=42&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/04/14/autenticando-usuarios-no-ldap-e-mapeando-as-unidades-de-rede-do-antigo-servidor-samba-via-sshfs-no-fedora-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Reportagem sobre CakePHP revista TIdigital</title>
		<link>http://jhony.wordpress.com/2009/04/08/reportagem-sobre-cakephp-revista-tidigital/</link>
		<comments>http://jhony.wordpress.com/2009/04/08/reportagem-sobre-cakephp-revista-tidigital/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 21:48:07 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=35</guid>
		<description><![CDATA[Foi publicada na segunda edição da revista TIdigital uma reportagem sobre o framework CakePHP. A Equipe da revista fez uma entrevista com John David Anderson (um dos criadores do cake-php), e entrevistou alguns profissionais que utilizam a ferramenta para expor as suas opiniões sobre o framework. Dentre eles encontra-se: Elton Luís Minetto, Tulio Vitor Machado [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=35&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Foi publicada na segunda edição da revista <a href="http://www.revistatidigital.com.br/index.php" target="_blank">TIdigital</a> uma reportagem sobre o framework CakePHP.</div>
<div>A Equipe da revista fez uma entrevista com John David Anderson (um dos criadores do cake-php), e entrevistou alguns profissionais que utilizam a ferramenta para expor as suas opiniões sobre o framework. Dentre eles encontra-se: <a href="http://www.eltonminetto.net/" target="_blank"> Elton Luís Minetto</a>, Tulio Vitor Machado Faria, Oberaldo Büll Junior, João José Carvalho Pedrini.</div>
<div>Nossas participações foram modestas mas o formato da revista ficou muito bom.</div>
<div>O PDF da reportagem está disponível neste <a href="http://www.arteccom.com.br/revistatidigital/downloads/02/link_02_4851.pdf">link</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=35&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/04/08/reportagem-sobre-cakephp-revista-tidigital/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Especialização em Software Livre</title>
		<link>http://jhony.wordpress.com/2009/02/20/especializacao-em-sl/</link>
		<comments>http://jhony.wordpress.com/2009/02/20/especializacao-em-sl/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 01:14:54 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=30</guid>
		<description><![CDATA[Após um ano de dedicação e estudo, finalmente a confirmação do meu orientador Professor Luiz Otavio Botelho Lento Agora sou especialista em Gestão e implantação de software livre pela Fundação de Apoio á Educação, Pesquisa e Extensão da UNISUL, FAEPESUL; Como trabalho de conclusão escrevi o seguinte artigo: SOLUÇÕES DE SOFTWARE LIVRE PARA MONITORAÇÃO DE [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=30&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Após um ano de dedicação e estudo, finalmente a confirmação do meu orientador Professor<span style="font-family:Tahoma;font-size:x-small;"> <em>Luiz Otavio Botelho Lento</em></span></p>
<p>Agora sou especialista<strong> </strong>em<strong> <em>Gestão e implantação de software livre pela Fundação de Apoio á Educação, Pesquisa e Extensão da UNISUL, FAEPESUL;</em></strong></p>
<p>Como trabalho de conclusão escrevi o seguinte artigo: SOLUÇÕES DE SOFTWARE LIVRE PARA MONITORAÇÃO DE REDES, onde falo sobre duas ferramentas muito bacanas que utilizamos, o Nagios e o Cacti. O artigo está disponível <a title="artigo pós em SL" href="http://www2.unochapeco.edu.br/~jhony/artigo.pdf" target="_blank">aqui</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=30&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/02/20/especializacao-em-sl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Script para detecção de Erros nos Switches</title>
		<link>http://jhony.wordpress.com/2008/12/08/script-para-deteccao-de-erros-nos-switches/</link>
		<comments>http://jhony.wordpress.com/2008/12/08/script-para-deteccao-de-erros-nos-switches/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 22:02:55 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Redes]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=25</guid>
		<description><![CDATA[Para otimização da rede e melhoria na monitoração proativa, criamos um shell script que captura da MIB dos switchs da 3Com e retorna quais portas estão com problema, assim se você tiver uma placa de rede com problema ligada a um switch gerenciável da 3com é possível descobrir o erro sem precisar acessar a interface [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=25&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Para otimização da rede e melhoria na monitoração proativa, criamos um shell script que captura da MIB dos switchs da 3Com e retorna quais portas estão com problema, assim se você tiver uma placa de rede com problema ligada a um switch gerenciável da 3com é possível descobrir o erro sem precisar acessar a interface WEB do switch. Pode ser útil para quem administra redes com muitos equipamentos como no nosso caso e não tem tempo para ficar olhando de equipamento em equipamento.<br />
Funciona bem com os switches de modelo:<br />
- 3c17300: neste modelo ele captura os erros de CRC Error e colisões no mesmo trap.<br />
- 3c17300A: se o firmware estiver atualizado captura só os CRC Errors.<br />
O código fonte do plugin esta <a title="script switch" href="http://www2.unochapeco.edu.br/~jhony/check_switch" target="_blank">aqui</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=25&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2008/12/08/script-para-deteccao-de-erros-nos-switches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Shell Script Profissional</title>
		<link>http://jhony.wordpress.com/2008/11/27/shell-script-profissional/</link>
		<comments>http://jhony.wordpress.com/2008/11/27/shell-script-profissional/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 22:02:26 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=22</guid>
		<description><![CDATA[Recentemente adquiri o livro do Aurélio Marinho Jargas, shell script profissional, confesso que ainda não consegui ler por inteiro mas fica aqui meu elogio ao Aurélio pela qualidade do material e principalmente pelo incentivo ao uso de boas praticas de programação tão raras entre os administradores de redes. hehehe eu tbm não comentava nada até [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=22&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recentemente adquiri o livro do <em>Aurélio Marinho Jargas</em>,  <strong>shell script profissional</strong>, confesso que ainda não consegui ler por inteiro mas fica aqui meu elogio ao Aurélio pela qualidade do material e principalmente pelo incentivo ao uso de boas praticas de programação tão raras entre os administradores de redes.</p>
<p><em>hehehe eu tbm não comentava nada até então</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&amp;blog=266041&amp;post=22&amp;subd=jhony&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2008/11/27/shell-script-profissional/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
	</channel>
</rss>
