<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2916542564645798250</id><updated>2024-09-21T00:13:35.993-03:00</updated><category term="REDE E MONITORAMENTO"/><category term="Eventos"/><category term="JAVA"/><category term="SISTEMA OPERACIONAL"/><category term="UBUNTU"/><title type='text'>Blog ID Tecnologia da Informação</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-6954280925696686370</id><published>2017-04-03T15:32:00.001-03:00</published><updated>2017-04-20T10:07:27.117-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SISTEMA OPERACIONAL"/><title type='text'>Instalação do debian 8 em fake RAID (&quot;BIOS RAID&quot;)</title><content type='html'>&lt;b&gt;INTRODUÇÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Recentemente precisei realizar a instalação do Debian 8 (Jessie) em um arranjo RAID 1 configurado com fake RAID. Como encontrei pouco material para resolver os problemas que enfrentei, descrevo nesse tutorial (que considero mais como um informativo) o que precisei fazer para que tudo funcionasse de acordo com o esperado.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;MAS ANTES: O QUE É FAKE RAID (&quot;BIOS RAID&quot;)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Existe basicamente 3 formas de se criar arranjos RAID:&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Via hardware dedicado:&lt;/u&gt; nesses casos todas as operações de acesso aos discos são realizadas via hardware dedicado para esse objetivo. É a forma recomendada devido ao desempenho e confiabilidade. Funciona independente do sistema operacional, pois para ele irá aparecer apenas um disco independente de como o RAID foi configurado.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Via software:&lt;/u&gt; nesses casos todas as configurações do RAID são realizadas no sistema operacional, ficando esse responsável também pelas operações. Como não necessita de um hardware específico para criação do RAID é muito vantajoso em questão valores.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Via fake RAID (&quot;Bios RAID&quot;):&lt;/u&gt; é a forma de RAID utilizada pela maioria das controladoras utilizadas em placas-mães planejadas para desktop. No fake RAID é realizada a configuração do RAID via software da controladora, no entanto, é necessário ainda um driver que roda pelo sistema operacional e é nesse ponto que chegamos ao objetivo desse tutorial.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;INICIANDO A INSTALAÇÃO.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Após o RAID configurado no software da BIOS, na tela de inicial de boot do CD de instalação do debian, será necessário carregar o grub com a seguinte opção dmraid=true.&lt;br /&gt;
&lt;br /&gt;
No menu de inicialização, selecione a opção de instalação desejada (não aperte Enter ainda), pressione Tab para editar a linha de inicialização do kernel e adicione &quot;dmraid = true&quot; sem aspas para o final da linha. Pressione Enter.&amp;nbsp; Conforme figura abaixo:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0wjs0DBHMk6qzKStg-rjGaul7Ee8yU4brZK8vSp0DnFzdyu0FX7ERmgqUKW_h8OGs-fOACA6D-zEyh5R6LppAEivJ4obmnwO5WCZhfcCm2X8kvJUj9JrZs_HRb3mdRFv7bUks3Saq9Tc/s1600/fakeraid.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;242&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0wjs0DBHMk6qzKStg-rjGaul7Ee8yU4brZK8vSp0DnFzdyu0FX7ERmgqUKW_h8OGs-fOACA6D-zEyh5R6LppAEivJ4obmnwO5WCZhfcCm2X8kvJUj9JrZs_HRb3mdRFv7bUks3Saq9Tc/s320/fakeraid.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Figura 1&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;Caso a opção não seja digita o disco não irá ser detectado e você provavelmente irá se dar conta disso na fase de particionamento do disco.&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;u&gt;Aqui cabe uma observação importante: &lt;/u&gt;Se você criar apenas uma partição no disco provavelmente não terá mais nenhum problema desde que no final da instalação seja selecione o arranjo RAID para instalação do gerenciador de boot grub como na figura abaixo:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6kSVkx6q9r2jDxHktWgY1-9UQ-0Noc5uBgnj1myvi4TYR1RlIpiap2PxcHghBK-InUbq74pcdVcaD_4TWYJgZL7ED0zJGl-L0OI7MrLIzHNnEnVfqMGSa0plUvhTjqo78XacGplMMcGo/s1600/fakeraid2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6kSVkx6q9r2jDxHktWgY1-9UQ-0Noc5uBgnj1myvi4TYR1RlIpiap2PxcHghBK-InUbq74pcdVcaD_4TWYJgZL7ED0zJGl-L0OI7MrLIzHNnEnVfqMGSa0plUvhTjqo78XacGplMMcGo/s320/fakeraid2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Figura 2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
No meu caso como eu precisava de 3 partições distintas no disco, foi quando meus problemas começaram. Após o primeiro boot, verifiquei que a primeira partição criada no disco / montava sem problemas, mas a /var e /home, que estavam configurados em outras 2 partições separadas, não eram montados. Me retornando um erro semelhante ao da figura 3 abaixo:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyePcwMyJU47ro6u5_q-_BSpdVi_1lIOPSCRn7EWQxlHbYFQIZqcGzSDwbdWtxPXbbUBgyQevOg-4wsiCtuuvEyndDtAOdsycClnb-APITpkd1AEMnn9wkDdUobjMOlTitUGEwKlwB-3Y/s1600/faikeraid3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;253&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyePcwMyJU47ro6u5_q-_BSpdVi_1lIOPSCRn7EWQxlHbYFQIZqcGzSDwbdWtxPXbbUBgyQevOg-4wsiCtuuvEyndDtAOdsycClnb-APITpkd1AEMnn9wkDdUobjMOlTitUGEwKlwB-3Y/s320/faikeraid3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Figura 3&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;COMO CORRIGIR (&quot;O PULO DO GATO&quot;):&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Se o seu boot parou na mesma tela da figura 3, siga a dica abaixo, no entanto, se após o boot a tela é semelhante a da figura 4, siga a dica no final do tutorial (COMO REINSTALAR O GRUB), antes de prosseguir.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1MCve3zTkTrJw0AO1wkcYK4vHbQiK-1h4O0uBR-va-XUXzbkcnMqzhIdFK6UNwsGV3GMkppJwYoKCOzNHx3RjNaCmJifKbiiqpBi7GRu2y83-HiOqZn54h2AfAljHK_IXip0qomGiMXQ/s1600/fakeraid4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;193&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1MCve3zTkTrJw0AO1wkcYK4vHbQiK-1h4O0uBR-va-XUXzbkcnMqzhIdFK6UNwsGV3GMkppJwYoKCOzNHx3RjNaCmJifKbiiqpBi7GRu2y83-HiOqZn54h2AfAljHK_IXip0qomGiMXQ/s320/fakeraid4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Figura 4&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Utilizando o próprio console de recuperação, edite o fstab, alterando as linhas referente as partições que não montaram para dm-X, onde x é o número correspondente a partição que você quer montar. Abaixo uma possível configuração de como o fstab estará e como deve ficar:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Antes da modificação: &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;/dev/mapper/isw_dbigideeae_Volume1p1 /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; ext4&amp;nbsp;&amp;nbsp;&amp;nbsp; errors=remount-ro&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;/dev/mapper/isw_dbigideeae_Volume1p2 /home &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext4&amp;nbsp;&amp;nbsp;&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;br /&gt;/dev/mapper/isw_dbigideeae_Volume1p3 /var&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext4&amp;nbsp;&amp;nbsp;&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Após a modificação:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;/dev/mapper/isw_dbigideeae_Volume1p1 /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ext4&amp;nbsp;&amp;nbsp;&amp;nbsp; errors=remount-ro&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;/dev/dm-2 /home &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ext4&amp;nbsp;&amp;nbsp;&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;br /&gt;/dev/dm-3 /var&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; ext4&amp;nbsp;&amp;nbsp;&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;COMO REINSTALAR O GRUB&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Se a instalação do grub não ocorreu com sucesso e você recebeu uma tela como a da figura 4 após o boot, siga os seguintes passos:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1 - Inicialize novamente usando a mídia de instalação Debian. No menu de inicialização, vá para Opções avançadas e mova o cursor para &quot;Rescue system&quot; (não aperte Enter ainda), pressione Tab para editar a linha de inicialização do kernel e adicione &quot;dmraid = true&quot; sem aspas para o final da linha. Pressione Enter. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
2 - Você será apresentado com telas semelhantes às telas de instalação. Responda as questões das telas até você ser convidado a escolher um sistema de arquivos raiz para montar e usar.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Escolha o primeiro /dev/dm-? (? É um número). Você receberá um prompt de comando.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
3 - Digite &lt;i&gt;bash&lt;/i&gt; no prompt, para edição de linha de comando mais fácil e histórico de comandos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
4 - Digite&lt;i&gt; grub-install /dev/mapper/ &lt;/i&gt;e pressione tab e tab novamente, você obterá os nomes das partições raid. Complete o grub-install /dev/mapper/ com o nome de todo o seu disco falso.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Por exemplo, grub-install /dev/mapper/isw-jggdha7s-SYS (Observe que não há número no final do nome). Você pode ter algo como /dev/mapper /isw-jggdha7s-SYS e /dev/mapper/isw-jggdha7s-SYS1 , ou /dev/mapper/isw-jggdha7s-Volume e /dev/mapper/isw-jggdha7s-Volume1. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Escolha uma que não tenha o número da partição e pressione enter.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
O grub deve instalado sem retornar erros.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;REFERÊNCIAS:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
DEBIAN Installer/Sata Raid. Disponível em: &amp;lt;https://wiki.debian.org/DebianInstaller/SataRaid&amp;gt; Acesso em 03 abr. 2017.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
FAKE Raid - Definição de Fake RAID. Disponível em: &amp;lt;http://www.hardware.com.br/termos/fake-raid&amp;gt; Acesso em 03 abr. 2017.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/6954280925696686370/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2017/04/instalacao-do-debian-8-em-fake-raid.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/6954280925696686370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/6954280925696686370'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2017/04/instalacao-do-debian-8-em-fake-raid.html' title='Instalação do debian 8 em fake RAID (&quot;BIOS RAID&quot;)'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0wjs0DBHMk6qzKStg-rjGaul7Ee8yU4brZK8vSp0DnFzdyu0FX7ERmgqUKW_h8OGs-fOACA6D-zEyh5R6LppAEivJ4obmnwO5WCZhfcCm2X8kvJUj9JrZs_HRb3mdRFv7bUks3Saq9Tc/s72-c/fakeraid.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-2960998609412658532</id><published>2016-06-06T17:16:00.000-03:00</published><updated>2016-06-06T17:19:36.816-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>TUTORIAL - ZIMBRA 8 NO UBUNTU SERVER 14.04</title><content type='html'>&lt;h3&gt;
&lt;b&gt;TUTORIAL 2 - INSTALAÇÃO E CONFIGURAÇÃO DO SERVIÇO DE E-MAIL ZIMBRA&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
Essa
 é a segunda parte de uma série de quatro tutoriais que possui como objetivo demonstrar a instalação do mais recente servidor de e-mails 
Zimbra, a configuração de um backup e como bônus a instalação de um chat
 integrado com o serviço de e-mail. &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;1 INTRODUÇÃO&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
Nesse
 segundo tutorial iremos instalar e configurar o Zimbra, o qual no 
final, estará pronto para ser utilizado. É necessário que você tenha 
completado com sucesso o primeiro tutorial para continuar.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;/h3&gt;
&lt;h3&gt;
&lt;b&gt;2 INSTALAÇÃO&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
2.1 OBTENDO O ZIMBRA&lt;br /&gt;
&lt;br /&gt;
Para nossa instalação 
utilizaremos o pacote de instalação do Zimbra para o Ubuntu 14.04.&lt;br /&gt;
&lt;br /&gt;
Baixe o pacote do link 64bit x86 disponível em:&lt;br /&gt;
&lt;a href=&quot;https://www.zimbra.com/downloads/os-downloads.html&quot;&gt;https://www.zimbra.com/downloads/os-downloads.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Você pode baixar também em uma pasta (aconselho baixar na pasta /root) do sistema&amp;nbsp; operacional com o comando:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#cd /root&lt;br /&gt;#wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Descompactar os arquivos de instalação&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#tar -zxvf &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2.2 EXECUTANDO A INSTALAÇÃO&lt;br /&gt;
&lt;br /&gt;
Com todos os requisitos atendidos a instalação do Zimbra é relativamente simples.&lt;br /&gt;
&lt;br /&gt;
Entre na pasta onde a instalação foi descompactada e execute a instalação:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#cd &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;#./install.sh&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A instalação irá realizar algumas perguntas de configuração, basta responder de acordo com a sequência abaixo:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Do you agree with the terms of the software license agreement? Y&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Install zimbra-ldap [Y] y&lt;br /&gt;Install zimbra-logger [Y] y&lt;br /&gt;Install zimbra-mta [Y] y&lt;br /&gt;Install zimbra-dnscache [Y] n&lt;br /&gt;Install zimbra-snmp [Y] y&lt;br /&gt;Install zimbra-store [Y] y&lt;br /&gt;Install zimbra-apache [Y] y&lt;br /&gt;Install zimbra-spell [Y] y&lt;br /&gt;Install zimbra-memcached [Y] y&lt;br /&gt;Install zimbra-proxy [Y] n&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Note que não foram selecionado para instalação o zimbra-dnscache, o qual não deve ser instalado em sistemas que já tem bind ou outro serviço de dns instalado e o zimbra-proxy que pode ser utilizado no caso de existir mais de um servidor Zimbra.&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;The system will be modified. Continue? Y&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Aguarde...&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;Change domain name? [Yes]&lt;br /&gt;&lt;br /&gt;Create domain: [ns1.teste.com.br] teste.com.br&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
O Zimbra já esta quase pronto, necessita agora serem aplicadas as configurações. A única configuração que faremos pela linha 
de comando é a mudança da senha do usuário admin. Após a instalação inicial 
aparecerá o Menu Principal de configuração do zimbra.&lt;/div&gt;
&lt;br /&gt;
No menu principal &lt;b&gt;tecle 6 [Enter]&lt;/b&gt;, &lt;b&gt;tecle 4 [Enter]&lt;/b&gt; e entre com a senha do usuário &lt;b&gt;admin [ENTER]&lt;/b&gt;. Volte ao menu &lt;b&gt;teclando r [Enter]&lt;/b&gt; e aplique a configuração &lt;b&gt;teclando a [Enter].&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Save configuration data to a file? [Yes]&lt;br /&gt;Save config in file [/opt/zimbra/config.9481]&lt;br /&gt;The system will be modified - continued? [Yes]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Aguarde o final da configuração. O Zimbra já está em funcionamento.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Notify Zimbra of your instalation? [YES] NO&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Configuration complete - press return to exit&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Você
 pode acessar o console de gerenciamento, com ele que será realizada 
todas as configurações necessárias para administração do servidor.&lt;br /&gt;
&lt;br /&gt;
https://192.168.0.1:7071/zimbraAdmin/&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTdaL-ic2xypMCUhFl5HmTFwTxy-BAHbTIFDoTuLau0U0Ue3-5dkEt9DA27g3l0nUPXHkn9tYT2xid9rkqdT8giYNEUkEXGeGUEj0QAxeMTjuJUkiuc7q-8B0lvJlgVStDH6POO5rfSFI/s1600/figura1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTdaL-ic2xypMCUhFl5HmTFwTxy-BAHbTIFDoTuLau0U0Ue3-5dkEt9DA27g3l0nUPXHkn9tYT2xid9rkqdT8giYNEUkEXGeGUEj0QAxeMTjuJUkiuc7q-8B0lvJlgVStDH6POO5rfSFI/s640/figura1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;Figura 1 - Imagem do console de administração Zimbra 8.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Também pode ter acesso a interface do usuário.&lt;br /&gt;
&lt;br /&gt;
https://192.168.0.1/&lt;br /&gt;
&lt;br /&gt;
2.3 COMANDOS BÁSICOS E DICAS&lt;br /&gt;
&lt;br /&gt;
Alguns comandos que podem ajudar o administrador a resolver pequenos problemas do servidor Zimbra.&lt;br /&gt;
&lt;br /&gt;
*Para mudar senha do administrador&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#su - zimbra&lt;br /&gt;#zmprov sp &amp;lt;admin email address&amp;gt; &amp;lt;new password&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
*Para parar e iniciar o zimbra:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#su - zimbra&lt;br /&gt;#zmcontrol stop&lt;br /&gt;#zmcontrol start&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
*Para ver o status dos serviços do zimbra:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#su - zimbra&lt;br /&gt;#zmcontrol status&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Uma dica é o fato de o Zimbra vir configurado para acesso apenas via https, que na minha opinião deve ser mantido por questão de segurança, mas também pode ativado o acesso via http.&lt;br /&gt;
&lt;br /&gt;
Como usuário zimbra:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#su - zimbra&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Ativa suporte ao acesso http e https&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#/opt/zimbra/bin/zmtlsctl mixed&lt;br /&gt;#zmcontrol restart&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Ativa suporte apenas ao https&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#/opt/zimbra/bin/zmtlsctl https&lt;br /&gt;#zmcontrol restart&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Ativa suporte apenas ao http&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#/opt/zimbra/bin/zmtlsctl http&lt;br /&gt;#zmcontrol restart&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;3 CONCLUSÃO&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
Neste
 ponto temos o servidor Zimbra completamente funcional. No próximo 
tutorial veremos como configurar um backup das contas de e-mail 
utilizando uma ferramenta gratuita.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;REFERÊNCIAS&lt;/b&gt;&lt;/h3&gt;
TUTORIAL, Zimbra 8 no debian 6 squeeze. Disponível em: &amp;lt;http://itnproducoes.blogspot.com.br/2013/04/tutorial-zimbra-8-no-debian-6-squeeze_22.html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/2960998609412658532/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2016/06/tutorial-zimbra-8-no-ubuntu-server-1404_6.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/2960998609412658532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/2960998609412658532'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2016/06/tutorial-zimbra-8-no-ubuntu-server-1404_6.html' title='TUTORIAL - ZIMBRA 8 NO UBUNTU SERVER 14.04'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTdaL-ic2xypMCUhFl5HmTFwTxy-BAHbTIFDoTuLau0U0Ue3-5dkEt9DA27g3l0nUPXHkn9tYT2xid9rkqdT8giYNEUkEXGeGUEj0QAxeMTjuJUkiuc7q-8B0lvJlgVStDH6POO5rfSFI/s72-c/figura1.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-1516523992431636909</id><published>2016-06-06T14:11:00.003-03:00</published><updated>2016-06-06T16:49:41.555-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>TUTORIAL - ZIMBRA 8 NO UBUNTU SERVER 14.04</title><content type='html'>&lt;h3&gt;
&lt;b&gt;PALAVRA DO AUTOR&lt;/b&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;Três anos se passaram desde que escrevi a série de 4 tutoriais explicando na época os detalhes de como instalar o Zimbra em um sistema Debian.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;Devido ao grande sucesso, venho atualizar os tutoriais anteriores, com novas informações, no entanto, agora instalando o Zimbra no Ubuntu 14.04, sistema operacional que possui versão homologada pelo fabricante o qual irá facilitar muito a configuração.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;b&gt;TUTORIAL 1 - PRÉ-REQUISITOS E CONFIGURAÇÃO DO SERVIÇO DE DNS&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Esse é a primeira parte de uma série de quatro tutoriais que possui como
 objetivo demonstrar a instalação do mais recente servidor de e-mail 
Zimbra, a configuração de um backup, e como bônus, a instalação de um 
chat integrado com o serviço de e-mail.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;1 INTRODUÇÃO&lt;/b&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Zimbra Collaboration Server é um servidor de e-mail Opensource, que 
integra diversos recursos como por exemplo: agenda, organizador de 
tarefas e porta arquivos. Através de extensões uma infinidade de outras 
funcionalidades podem ser implantadas. &lt;br /&gt;
Funciona com clientes de e-mails com Thunderbird, Outlook, Evolution, além de possuir um cliente próprio o Zimbra Desktop.&lt;br /&gt;
Possui como concorrentes soluções como o Exchange da Microsoft e o GroupWise da Novel.&amp;nbsp;&lt;/div&gt;
Nesse primeiro tutorial iremos preparar o sistema operacional para receber o Zimbra e
 realizar a configuração do serviço de DNS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;2 REQUISITOS DO SERVIDOR DE E-MAIL&lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;2.1 HARDWARE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Para uma instalação de um servidor de teste é recomendado:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Processador Intel ou AMD, 32 ou 64 bits com clock de 1.5 GHz;&lt;/li&gt;
&lt;li&gt;Memória de 4 GB;&lt;/li&gt;
&lt;li&gt;Espaço livre em disco de 5 GB para instalação e logs;&lt;/li&gt;
&lt;li&gt;Espaço livre em disco para armazenamento das mensagens.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Para uma instalação de um servidor para produção, é recomendado:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Processador mínimo Intel ou AMD com clock 2.0 GHZ e de 64 bits;&lt;/li&gt;
&lt;li&gt;Memória de 8 GB;&lt;/li&gt;
&lt;li&gt;Espaço livre em disco de 10GB para instalação e logs;&lt;/li&gt;
&lt;li&gt;Espaço livre em disco para armazenamento das mensagens.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;2.2 DOMÍNIO E IP&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Um servidor DNS é pré-requisito para a instalação do Zimbra, ele pode 
estar no mesmo servidor ou em servidor(es) separados. Para nosso 
tutorial o servidor que irá hospedar o Zimbra é o mesmo que hospeda o 
servidor de DNS. O servidor de DNS é o responsável por resolver o nome 
do domínio em um ip. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Todo o domínio precisa ser registrado para poder ser acessível via 
internet. No Brasil o responsável pelo registro é o Registro.br. Após o 
registro, é preciso configurar no ambiente do registro.br o endereço do 
servidor DNS que irá responder pelo seu domínio. Para tanto seu servidor
 deve possuir um número de ip válido na internet. Na verdade o 
registro.br exige pelo menos dois servidores DNS que respondam pelo seu 
domínio. Tal procedimento é adotado para garantir a redundância de forma
 que se um servidor ficar indisponível, o secundário pode responder em 
seu lugar. Nem sempre é possível dispor de 2 servidores em um ambiente 
de testes, dessa forma é possível configurar um único servidor DNS para 
trabalhar como primário e secundário ao mesmo tempo. Com tal atitude 
você perde a redundância, mas para um ambiente de teste e estudo é 
perfeitamente válido.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;u&gt;Atualização: &lt;/u&gt;É possível instalar o Zimbra sem configurar um servidor DNS e utilizar o registro.br para adicionar as entradas DNS necessárias. Apesar de funcionar, a configuração das entradas no registro.br são limitadas, e encontraremos problemas ao tentar implementarmos algumas entradas. Uma dificuldade que enfrentei por exemplo, foi não conseguir adicionar uma entrada &lt;b&gt;DKIM &lt;/b&gt;devido ao uso restrito do entre aspas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;u&gt;Observação:&lt;/u&gt; Estarei escrevendo futuramente um tutorial explicando com detalhes do que se trata o DKIM e como utilizá-lo com Zimbra. &lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;2.3 INSTALANDO E CONFIGURANDO O SERVIDOR DNS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para o nosso tutorial o servidor irá responder pelo domínio teste.com.br
 e terá como ip o 192.168.0.1 e o 192.168.0.2. Como você pode observar 
são ips de LAN, que não são válidos para a internet, no entanto,
 para uma configuração real basta alterá-los.&lt;/div&gt;
&lt;br /&gt;
a) Execute a instalação do seguinte pacote:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#apt-get install bind9&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
b) Editar arquivo &lt;i&gt;/etc/hosts&lt;/i&gt; e adicionar as seguintes linhas:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;192.168.0.1 ns1.teste.com.br ns1&lt;br /&gt;192.168.0.2 ns2.teste.com.br ns2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
O ns1 e ns2 são os nomes de nossos dois servidores DNS que pertencem ao domínio teste.com.br&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
c) Mudar o nome da máquina para ns1:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#hostname ns1&lt;br /&gt;#echo ns1 &amp;gt; /etc/hostname&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
d) Editar o arquivo&lt;i&gt; /etc/resolvconf/resolv.conf.d/head&lt;/i&gt; e deixar com a estrutura abaixo:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;domain teste.com.br&lt;br /&gt;search teste.com.br&lt;br /&gt;nameserver 192.168.0.1&lt;br /&gt;nameserver 192.168.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
e) Configurar as interfaces de rede editando o arquivo &lt;i&gt;/etc/network/interfaces&lt;/i&gt; da seguinte forma:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;auto lo eth0 eth0:1&lt;br /&gt;iface lo inet loopback&lt;br /&gt;&lt;br /&gt;iface eth0 inet static&lt;br /&gt;address 192.168.0.1&lt;br /&gt;netmask 255.255.255.0&lt;br /&gt;gateway 192.168.0.254&lt;br /&gt;&lt;br /&gt;iface eth0:1 inet static&lt;br /&gt;address 192.168.0.2&lt;br /&gt;netmask 255.255.255.0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Note que o ip 192.168.0.254 diz respeito ao dispositivo responsável por 
disponibilizar a internet para o servidor. Este dispositivo pode ser um 
modem adsl, por exemplo.&lt;/div&gt;
&lt;br /&gt;
f) Reiniciar a interface de rede.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;# &lt;/i&gt;ifdown eth0 &amp;amp;&amp;amp; ifup eth0 &amp;amp;&amp;amp; ifup eth0:1&lt;br /&gt;
&lt;br /&gt;
2.3.1 Configurar o serviço de DNS&lt;br /&gt;
&lt;br /&gt;
a) Adicionar no arquivo &lt;i&gt;/etc/bind/named.conf.local&lt;/i&gt; as seguintes linhas:&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Dica: 
Procure digitar e não copiar essa configuração, o Bind é sensível a 
formatações inseridas por alguns editores ao copiar e colar.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;zone &quot;teste.com.br&quot;{&lt;br /&gt;type master;&lt;br /&gt;file &quot;/etc/bind/db.teste.com&quot;;&lt;br /&gt;allow-transfer { 192.168.0.2; };&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;b) Criar o arquivo /etc/bind/db.teste.com com o conteúdo abaixo:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$TTL&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; SOA&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br. irineu.teste.com.br. (&lt;br /&gt;201&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;6&lt;/span&gt;0&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;6&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;06&lt;/span&gt;&lt;/span&gt;15&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt; &amp;nbsp;&lt;/span&gt;&amp;nbsp; ; Serial&lt;br /&gt;604800&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ; Refresh&lt;br /&gt;86400&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Retry&lt;br /&gt;2419200&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; ; Expire&lt;br /&gt;604800 )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Negative Cache TTL&lt;br /&gt;&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns2.teste.com.br.&lt;br /&gt;&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; MX&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ns&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;w&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ebmail&amp;nbsp;&amp;nbsp;&amp;nbsp; CNAME&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ns&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;po&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;p &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;C&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;NAME&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ns&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;smtp &amp;nbsp; &amp;nbsp; &amp;nbsp; CNAME&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ns&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;im&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ap &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;CN&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;AME&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ns&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;ns2&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
c) Testes sua configuração do DNS:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#named-checkzone teste.com.br /etc/bind/db.teste.com&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Resultado esperado do comando:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;zone teste.com.br/IN: loaded serial 3734755897&lt;br /&gt;OK&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#/etc/init.d/bind9 restart&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#nslookup ns1&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Resultado esperado do comando:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Server: 192.168.0.1&lt;br /&gt;Address: 192.168.0.1#53&lt;br /&gt;&lt;br /&gt;Name: ns1.teste.com.br&lt;br /&gt;Address: 192.168.0.1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#nslookup ns2&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Server: 192.168.0.1&lt;br /&gt;Address: 192.168.0.1#53&lt;br /&gt;&lt;br /&gt;Name: ns2.teste.com.br&lt;br /&gt;Address: 192.168.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2.3.2 DNS Reverso&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Apenas com a configuração do servidor de DNS que executamos até agora já
 é possível fazer a instalação do Zimbra. No entanto, para uso em 
produção é necessário ainda no mínimo a configuração do DNS Reverso. O DNS Reverso
 é uma das formas que um servidor utiliza para saber se a mensagem 
enviada do endereço de IP de seu servidor de e-mail responde ao domínio 
encontrado no cabeçalho. Vejamos com o exemplo de configuração.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
a) Adicionar no arquivo &lt;i&gt;/etc/bind/named.conf.local&lt;/i&gt; as seguintes linhas:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;zone &quot;0.168.192.in-addr.arpa&quot; {&lt;br /&gt;type master;&lt;br /&gt;file &quot;/etc/bind/db.teste.com-rev&quot;;&lt;br /&gt;}; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
b) Criar o arquivo &lt;i&gt;/etc/bind/db.teste.com-rev&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$TTL&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; SOA&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br. irineu.teste.com.br. (&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;201&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;6&lt;/span&gt;0&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;6&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;06&lt;/span&gt;&lt;/span&gt;15&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Serial&lt;br /&gt;604800&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ; Refresh&lt;br /&gt;86400&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ; Retry&lt;br /&gt;2419200&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ; Expire&lt;br /&gt;604800 )&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Negative Cache TTL&lt;br /&gt;&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns2.teste.com.br.&lt;br /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp; ns2.teste.com.br.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
h) Testes sua configuração do DNS Reverso:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#named-checkzone 0.168.192.in-addr.arpa /etc/bind/db.teste.com-rev &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Resultado esperado:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;zone 0.168.192.in-addr.arpa/IN: loaded serial 2016060615&lt;br /&gt;OK&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#/etc/init.d/bind9 restart&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#dig teste.com.br&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Resultado esperado:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;;; QUESTION SECTION:&lt;br /&gt;;teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;br /&gt;&lt;br /&gt;;; ANSWER SECTION:&lt;br /&gt;teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;&lt;br /&gt;;; AUTHORITY SECTION:&lt;br /&gt;teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns2.teste.com.br.&lt;br /&gt;&lt;br /&gt;;; ADDITIONAL SECTION:&lt;br /&gt;ns1.teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;ns2.teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#dig -x 192.168.0.1&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Resultado esperado:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;;; QUESTION SECTION:&lt;br /&gt;;1.0.168.192.in-addr.arpa.&amp;nbsp;&amp;nbsp; &amp;nbsp;IN&amp;nbsp;&amp;nbsp; &amp;nbsp;PTR&lt;br /&gt;&lt;br /&gt;;; ANSWER SECTION:&lt;br /&gt;1.0.168.192.in-addr.arpa. 604800 IN&amp;nbsp;&amp;nbsp; &amp;nbsp;PTR&amp;nbsp;&amp;nbsp; &amp;nbsp;ns1.teste.com.br.&lt;br /&gt;&lt;br /&gt;;; AUTHORITY SECTION:&lt;br /&gt;0.168.192.in-addr.arpa.&amp;nbsp;&amp;nbsp; &amp;nbsp;604800&amp;nbsp;&amp;nbsp; &amp;nbsp;IN&amp;nbsp;&amp;nbsp; &amp;nbsp;NS&amp;nbsp;&amp;nbsp; &amp;nbsp;ns1.teste.com.br.&lt;br /&gt;&lt;br /&gt;;; ADDITIONAL SECTION:&lt;br /&gt;ns1.teste.com.br.&amp;nbsp;&amp;nbsp; &amp;nbsp;604800&amp;nbsp;&amp;nbsp; &amp;nbsp;IN&amp;nbsp;&amp;nbsp; &amp;nbsp;A&amp;nbsp;&amp;nbsp; &amp;nbsp;192.168.0.1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2.4 DEPÊNDENCIAS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
O zimbra exige a instalação de alguns pacotes que podem ser instalados com o comando abaixo: &lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#apt-get install sysstat sqlite3 libperl5.18 libgmp10 libaio1 pax&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;3 CONCLUSÃO&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
Neste ponto chegamos ao ambiente do sistema operacional pronto para 
receber o serviço de e-mail Zimbra. A instalação e configuração é parte 
do tutorial 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;REFERÊNCIAS&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
TUTORIAL, Zimbra 8 no Debian 6 Squeeze. Disponível em: &amp;lt;http://itnproducoes.blogspot.com.br/2013/04/tutorial-zimbra-8-no-debian-6-squeeze.html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/1516523992431636909/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2016/06/tutorial-zimbra-8-no-ubuntu-server-1404.html#comment-form' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/1516523992431636909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/1516523992431636909'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2016/06/tutorial-zimbra-8-no-ubuntu-server-1404.html' title='TUTORIAL - ZIMBRA 8 NO UBUNTU SERVER 14.04'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-969039936833071394</id><published>2016-03-01T15:59:00.002-03:00</published><updated>2016-06-06T16:08:26.436-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>REFORÇANDO A SEGURANÇA DAS CONEXÕES HTTPS NO APACHE</title><content type='html'>&lt;b&gt;1 - INTRODUÇÃO&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Encontrei diversos tutoriais ensinando como ativar o protocolo https no apache utilizando chaves autoassinadas. No entanto, a maioria deles não leva em consideração os cuidados a serem tomados em relação a segurança.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ativar o protocolo https ajuda, mas não ter o mínimo de atenção com o apache e não utilizar chaves criptograficas realmente seguras, pode causar a falsa sensação de segurança.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;2 - SSL, TLS e RC4&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
SSL - &lt;span class=&quot;ya-q-full-text&quot; id=&quot;yui_3_17_2_3_1456854308741_866&quot; itemprop=&quot;text&quot;&gt;Secure Socket Layer - protocolo de criptografia amplamente utilizado para conexões seguras https. No entanto devido as diversas falhas de segurança encontradas, mesmo nas últimas versões, empresas como Google e Mozilla estão desativando o suporte em seus navegadores ao SSL 2 e 3 em favor do&amp;nbsp; TLS (T&lt;/span&gt;ransport Layer Security).&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Apesar de as novas versões de navegadores desabilitarem o suporte ao SSL, é dever de quem fornece os serviços fazer sua parte no lado do servidor.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
TLS&amp;nbsp; -&amp;nbsp; Transport Layer Security é um protocolo semelhante ao SSL mas está imune as falhas encontradas no SSL.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
RC4&amp;nbsp; - É um dos algoritmos utilizados em sistemas de criptografia como o SSL e o WEP (redes sem fio). Não é considerado um algoritmo seguro.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;3 - CONFIGURAÇÕES A SEREM ALTERADAS/ADICIONADAS NO APACHE.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
O suporte ao SSL e ao RC4 vem ativados por padrão no apache. Desative o suporte ao SSL 2 e SSL 3, e a algoritmos de criptografias ultrapassados acrecentando as linhas abaixo no arquivo de configuração &lt;i&gt;apache.conf &lt;/i&gt;(derivados debian) ou &lt;i&gt;httpd.conf&lt;/i&gt; (derivados RedHat).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SSLProtocol ALL -SSLv2 -SSLv3 #Desativa o suporte ao SSLv2 e SSLv3&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SSLHonorCipherOrder on #&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;pt&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Ao escolher&lt;/span&gt; o tipo de criptografia&lt;span class=&quot;hps&quot;&gt;, normalmente a configuração do cliente é utilizada&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;. &lt;span class=&quot;hps&quot;&gt;Se essa opção está ativa (on)&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;, a configuração do &lt;span class=&quot;hps&quot;&gt;servidor será utilizada.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SSLCipherSuite &quot;EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA EECDH EDH+aRSA !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4&quot;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;4 - SHA-1 e SHA-2&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Os algoritmos de hash SHA são utilizados utilizados por Autoridades Certificadoras para assinar digitalmente os certificados emitidos. O SHA-1 é o mais utilizado, no entanto, diversas pesquisas apontam que ataques bem sucedidos ao SHA-1 tornam-se cada vez mais prováveis a medida que a capacidade de processamento dos computadores aumenta. Sendo assim, pretende-se estinguir-se o uso de certificados gerados em SHA-1 até janeiro de 2017.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para quem utiliza um certificado em seu servidor&amp;nbsp;gerado em SHA-1, terá que necessariamente substituí-lo por um gerado em SHA-2 mesmo que este ainda esteja dentro da validade. O google, por exemplo,&amp;nbsp; anunciou recentemente que pretende adicionar alertas de segurança em seu navegador para sites que utilizem certificados SHA-1 em conexões seguras.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
A família de algoritmos SHA-2&amp;nbsp; inclui seis funções de valores hash que são conhecidos como: SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;5 - GERANDO UM CERTIFICADO AUTO ASSINADO SHA-2&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Você pode gerar seu próprio certificado com SHA-2 auto assinado e adicioná-lo no apache. Gere o certificado com os comandos abaixo:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;#Gera o repositório de chaves&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;openssl genrsa -out server.key 2048&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;i&gt;#Gera o novo certificado autoassinado utilizando o repositório de chaves &lt;/i&gt;&lt;i&gt;(Após o comando entre com as informaçõesde país, estado, cidade, etc). Obs: Diminua o parametro -days para diminuir o tempo de validade do certificado.&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;openssl req -x509 -nodes -days 3650 -new -sha256 -keyout server.key -out certificado.crt&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
#Exibe informações do certificado.&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;openssl x509 -in certificate.crt -text -noout&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/969039936833071394/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2016/03/reforcando-seguranca-das-conexoes-https.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/969039936833071394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/969039936833071394'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2016/03/reforcando-seguranca-das-conexoes-https.html' title='REFORÇANDO A SEGURANÇA DAS CONEXÕES HTTPS NO APACHE'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-1709442870474631684</id><published>2016-02-22T13:04:00.001-03:00</published><updated>2016-06-06T16:08:33.298-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>UPGRADE ZIMBRA 8.0.X (UBUNTU 12.04) PARA ZIMBRA 8.5 + (UBUNTU 14.04)</title><content type='html'>&lt;b&gt;1 INTRODUÇÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Recetemente necessitei fazer o upgrade de um servidor de email que rodava o Ubuntu 12.04 com a versão 8.05 do Zimbra, para o Ubuntu 14.04. Como era minha intenção também atualizar o Zimbra para a última versão (8.5) precisei seguir alguns passos para obter sucesso.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Aviso desde o princípio que essa 
postagem não é um tutorial, mas apenas uma dica de como atualizar o 
Zimbra da versão 8.0.x para o Zimbra 8.5+ atualizando também o sistema 
operacional 12.04. Sendo assim, é necessário ter conhecimento
 de como realizar a instalação do Zimbra.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;2 PASSO 1: ATUALIZAÇÃO NO SERVIDOR UBUNTU 12.04&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Como a intenção é também atualizar o Zimbra, você irá necessitar primeiro atualizá-lo no servidor Ubuntu 12.04. Aconselho antes, que seja executado um backup completo da pasta de instalação do zimbra (com os serviços do zimbra parado), é a sua garantia se algo der errado durante o upgrade.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;3 - PASSO 2: INSTALAR O ZIMBRA 8.5+ NO UBUNTU 14.04&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Tenho como uma boa prática executar antes uma nova instalação do Zimbra no servidor novo, o qual irá receber o zimbra que será transferido do servidor antigo.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Se o serviço DNS a ser utilizado irá ficar no mesmo servidor Zimbra, é importante configurá-lo antes de qualquer procedimento. Esse serviço DNS deve responder as solicitações de todos os domínios configurados no servidor Zimbra que será transferido.&amp;nbsp; Além disso, não se pode esquecer de configurar o próprio servidor para que o mesmo realize as consultas no local, o que pode ser feito editando-se o resolv.conf, apagando seu conteúdo e adicionando a linha &lt;i&gt;nameserver 127.0.0.1&lt;/i&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Após a configuração do DNS, execute a instalaçao do Zimbra 8.5 normalmente no novo servidor. Provavelmente você irá necessitar resolver outros problemas durante a instalação, até que a mesma seja executada sem erros. Um erro comum é a falta de algum pacote, no entanto, a instalação avisa logo no início quais dependências são necessárias e que não foram encontradas para que seja executada a correção.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Com a instalação do Zimbra 8.5 no Ubuntu 14.04 executada com sucesso vamos para o passo 3.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;4 - PASSO 3:&amp;nbsp; EXECUÇÃO DO UPGRADE&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Pare os serviços do zimbra no servidor antigo (Ubuntu 12.04) e também no novo servidor (Ubuntu 14.04).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
No servidor Ubuntu 14.04 apague a pasta de instalação do zimbra e copie a pasta do zimbra do servidor Ubuntu 12.04 para o Ubuntu 14.04. Uma opção é utilizar o rsync ou o sftp. É importante executar a cópia mantendo as permissões do arquivos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Execute a instalação do Zimbra no servidor Ubuntu 14.04 com o comando &lt;i&gt;./install.sh --skip-upgrade-check&lt;/i&gt;. Adicionar &lt;i&gt;--skip-upgrade-check &lt;/i&gt;irá desativar um série de checagens que a instalação executa antes do upgrade. Se for executado apenas o &lt;i&gt;./install.sh&lt;/i&gt; você irá receber o famoso erro de perl, algo como &quot;&lt;i&gt;Perl API version v5.14.0 of Socket does not match v5.18.0 at /usr/share/perl/5.18/XSLoader.pm&lt;/i&gt;&quot;. Uma outra dica é não realizar a checagem de base de dados quando a instalação solicitar.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Após finalizada a instalação, verifique se todos os serviços do zimbra estão em execução e se as respectivas caixas de email possuem o conteúdo do Zimbra do servidor antigo.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/1709442870474631684/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2016/02/upgrade-zimbra-80x-ubuntu-1204-para.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/1709442870474631684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/1709442870474631684'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2016/02/upgrade-zimbra-80x-ubuntu-1204-para.html' title='UPGRADE ZIMBRA 8.0.X (UBUNTU 12.04) PARA ZIMBRA 8.5 + (UBUNTU 14.04)'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-2489001845088492378</id><published>2013-10-21T21:36:00.001-02:00</published><updated>2013-10-21T21:36:19.022-02:00</updated><title type='text'>Unisul TechDay 2013</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
Atenção profissionais de TI, no dia 09
 de Novembro na Universidade do Sul de Santa Catarina - Unisul em 
Tubarão acontece o TechDay 2013.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
O
 evento que possui como objetivo reunir profissionais de TI, além de 
entusiastas, para compartilhar experiências e conhecimentos dos mais 
variados ramos da tecnologia da informação.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Abaixo o roteiro do mini-curso que estarei ministrando:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.idinf.com.br/mini-cursoServidorZimbra.pdf&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Servidor de email corporativo com Zimbra.&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
Maiores informações em:&lt;/div&gt;
&lt;a href=&quot;http://unisultechday.wordpress.com/evento/&quot;&gt;http://unisultechday.wordpress.com/evento/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Abraços!!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/2489001845088492378/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2013/10/unisul-techday-2013.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/2489001845088492378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/2489001845088492378'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2013/10/unisul-techday-2013.html' title='Unisul TechDay 2013'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-6292395840434976297</id><published>2013-09-10T21:01:00.000-03:00</published><updated>2013-09-10T21:01:37.454-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'></title><content type='html'>&lt;span style=&quot;font-size: large;&quot;&gt;TUTORIAL - ZIMBRA 8 NO DEBIAN 6 SQUEEZE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;TUTORIAL 4 - IMPLEMENTANDO UM SERVIÇO DE CHAT INTEGRADO COM O ZIMBRA (ZEXTRAS SUITE)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Esse é a última parte de uma série de quatro tutoriais que possui como objetivo demonstrar a instalação do mais recente servidor de e-mails Zimbra, a configuração de um backup e como bônus a instalação de um chat integrado com o serviço de e-mail. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1 INTRODUÇÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Nesse último tutorial iremos instalar e configurar o ZeXtras Suite, uma extensão para o Zimbra que adiciona diversos recursos ao servidor. Como, por exemplo, backup e sincronia de arquivos para dispositivos móveis. Para a utilização desses é necessário o pagamento de uma licença. A boa notícia é que o recurso de Mensagem Instantânea (Chat) que vamos implementar é gratuito.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2 INSTALAÇÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
2.1 BACKEND&lt;br /&gt;
&lt;br /&gt;
A instalação do ZeXtras Suite é bastante simples. Siga os passos abaixo:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;#cd /root/&lt;br /&gt;&lt;br /&gt;# wget http://www.zextras.com/download/zextras_suite-latest.tgz&lt;br /&gt;&lt;br /&gt;# tar -zxvf zextras_suite-latest.tgz&lt;br /&gt;&lt;br /&gt;# cd zextras_suite-latest&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Obs: O comando abaixo irá parar o servidor Zimbra, dessa forma o procedimento deve ser executado quando o mesmo não estiver em uso.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#./install core&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Responda sim para todas as perguntas &lt;b&gt;[Y]&lt;/b&gt;, e aguarde o final da instalação.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#./install zimlet&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Responda sim para todas as perguntas &lt;b&gt;[Y]&lt;/b&gt;, e aguarde o final da instalação.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.3 FRONTEND&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Com o pacote ZeXtras Suite instalado precisamos agora instalar o cliente do Chat. Essa instalação pode ser feita via interface do console de administração do zimbra.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
a) Obter o &lt;b&gt;zextras_chat_zimlet&lt;/b&gt; que pode ser salvo em qualquer terminal que tenha acesso a interface web de administração do Zimbra. Você pode encontrar o pacote necessário em:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://gallery.zimbra.com/type/zimlet/zxchat-free-instant-messaging-zimbra-8&quot;&gt;http://gallery.zimbra.com/type/zimlet/zxchat-free-instant-messaging-zimbra-8&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
ou baixar diretamente no link abaixo:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://gallery.zimbra.com/download/949/1192&quot;&gt;http://gallery.zimbra.com/download/949/1192&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
b) Descompacte o arquivo tar, para ter acesso ao arquivo &lt;b&gt;com_zextras_chat.zip&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
c) Logar na interface de administração do zimbra e clique em &lt;b&gt;Configurar --&amp;gt; Zimlets.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
d) Na engrenagem no canto superior direito (do lado de Ajuda) clique em &lt;b&gt;Distribuir&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
e) Selecione o arquivo &lt;b&gt;com_zextras_chat.zip&lt;/b&gt;, clique em &lt;b&gt;distribuir&lt;/b&gt; e &lt;b&gt;concluir.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
O Chat já irá aparecer para qualquer usuário que logar no Zimbra. Se o usuário preferir pode desativar o chat em &lt;b&gt;Preferências --&amp;gt; Zimlet&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3 CONCLUSÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Espero que, com essa sequência de tutoriais, o objetivo de desmistificar e mostrar de uma maneira prática e rápida a instalação e configuração de um servidor de e-mail completo com o Zimbra tenha sido atingido. Não deixe de comentar com sugestões, críticas e dúvidas. É a sua participação que motiva o compartilhamento de conhecimento.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;REFERÊNCIAS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ZETRAS SUITE. Disponível em: &amp;lt;http://www.zextras.com/pt/&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/6292395840434976297/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2013/09/tutorial-zimbra-8-no-debian-6-squeeze_10.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/6292395840434976297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/6292395840434976297'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2013/09/tutorial-zimbra-8-no-debian-6-squeeze_10.html' title=''/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-6242629111794544987</id><published>2013-09-10T20:49:00.000-03:00</published><updated>2013-09-10T20:49:45.507-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'></title><content type='html'>&lt;span style=&quot;font-size: large;&quot;&gt;TUTORIAL - ZIMBRA 8 NO DEBIAN 6 SQUEEZE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;TUTORIAL 3 - CONFIGURAÇÃO DO BACKUP DO ZIMBRA (ZMBKPOSE)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Esse é a terceira parte de uma série de quatro tutoriais que possui como objetivo demonstrar a instalação do mais recente servidor de e-mails Zimbra, a configuração de um backup e como bônus a instalação de um chat integrado com o serviço de e-mail. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1 INTRODUÇÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Nesse terceiro tutorial iremos instalar e configurar o Zmbkpose, um script capaz de realizar o backup das contas de e-mails e arquivos dos usuários Zimbra. É importante saber, que o Zmbkpose não é capaz de fazer backup de Agenda, Contatos e Tarefas.&amp;nbsp; Para continuar é necessário que você tenha completado com sucesso o tutorial número dois.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2 INSTALAÇÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
2.1 PRÉ-REQUISITOS&lt;br /&gt;
&lt;br /&gt;
a) Para o funcinamento do Zmbkpose é necessário instalar os pacotes obtidos com o comando abaixo:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#apt-get install ldap-utils curl&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
b) É necessário também criar o diretório de configuração com o comando:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#mkdir /etc/zmbkpose&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2.2 CONFIGURAÇÃO&lt;br /&gt;
&lt;br /&gt;
c) Criar o arquivo &lt;i&gt;/etc/zmbkpose/zmbkpose.conf&lt;/i&gt; com a configuração inicial obtida no site:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.kyapanel.com/wiki/doku.php?id=zimbra:zmbkpose&quot;&gt;http://www.kyapanel.com/wiki/doku.php?id=zimbra:zmbkpose&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
d) Modifique as seguintes linhas do script de acordo com o exemplo abaixo:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;BACKUPUSER=zimbra&lt;br /&gt;WORKDIR=/opt/zimbra/backup&lt;br /&gt;ADMINUSER=admin@teste.com.br&lt;br /&gt;ADMINPASS=(senha definida na instalação para o admin)&lt;br /&gt;LDAPMASTERSERVER=ldap://teste.com.br:389&lt;br /&gt;LDAPZIMBRADN=uid=zimbra,cn=admins,cn=zimbra&lt;br /&gt;LDAPZIMBRAPASS= (obtido com o comando zmlocalconfig -s zimbra_ldap_password com o usuário zimbra).&lt;br /&gt;LOGFILE=/var/log/zimbra_backup.log&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
e)Criar o arquivo /usr/local/bin/zmbkpose com o código do script obtido no site:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.kyapanel.com/wiki/doku.php?id=zimbra:zmbkpose&quot;&gt;http://www.kyapanel.com/wiki/doku.php?id=zimbra:zmbkpose&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
f) Definir o script como executável.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#chmod + /usr/local/bin/zmbkpose&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
g) Execute um backup de todas as contas.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#su - zimbra&lt;br /&gt;#zmbkpose -f&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
h) Você pode restaurar o backup de uma conta com o comando:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#su - zimbra&lt;br /&gt;#cd /opt/zimbra/backup&lt;br /&gt;#zmbkpose -r irineu@teste.com.br full-20130412141920&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
onde&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;full-20130412141920 =&lt;/span&gt; nome do arquivo de backup.&lt;br /&gt;
&lt;br /&gt;
Você encontra a lista de backup no arquivo sessions.txt&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#cat /opt/zimbra/backup/sessions.txt&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.3 COMANDOS BÁSICOS E DICAS&lt;br /&gt;
&lt;br /&gt;
Para conhecer a sintaxe de utilização, digite simplesmente “zmbkpose” logado com o usuário zimbra. Você também pode agendar no crontab o comando de backup para ser executado automaticamente. Também é possível utilizar um backup incremental.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3 CONCLUSÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Até o momento o zmbkpose me parece a melhor solução livre para backup do Zimbra. Existem ferramentas comerciais que oferecem diversos outros recursos. Uma delas faz parte do pacote que instalaremos para disponibilizar um Webchat aos usuários do nosso servidor Zimbra. No próximo tutorial iremos personalizar o Zimbra integrando um recurso de chat.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;REFERÊNCIAS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
BACKUP NO ZIMBRA. Disponível em: &amp;lt;http://www.kyapanel.com/wiki/doku.php?id=zimbra:zmbkpose&amp;gt;&lt;br /&gt;
&lt;br /&gt;
FILHO, Rubens Afonso. Zmbkpose. Disponível em: &amp;lt;http://markintux.net/tag/zmbkpose/&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/6242629111794544987/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2013/09/tutorial-zimbra-8-no-debian-6-squeeze.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/6242629111794544987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/6242629111794544987'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2013/09/tutorial-zimbra-8-no-debian-6-squeeze.html' title=''/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-4174506841036670424</id><published>2013-04-22T18:54:00.000-03:00</published><updated>2013-04-22T18:54:15.405-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>TUTORIAL - ZIMBRA 8 NO DEBIAN 6 SQUEEZE</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8FXZPgSqcy88_CkwEJKcM64n04pSesiNa9dL6PqHJFqnA9ydZMpSu4wFsYTd_zEo9Pw3ZYOJk9eB0d-rPviYoJ3tepvZLIG75TdiAn3R8O2CRRexWhMW81yu2caB8MqTJMwwUS6rhUY/s1600/zimbra1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;TUTORIAL 2 - INSTALAÇÃO E CONFIGURAÇÃO DO SERVIÇO DE E-MAIL ZIMBRA&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Essa é a segunda parte de uma série de quatro tutoriais que possui como objetivo demonstrar a instalação do mais recente servidor de e-mails Zimbra, a configuração de um backup e como bônus a instalação de um chat integrado com o serviço de e-mail. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;1 INTRODUÇÃO&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Nesse segundo tutorial iremos instalar e configurar o Zimbra, o qual no final, estará pronto para ser utilizado. É necessário que você tenha completado com sucesso o primeiro tutorial para continuar.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2 INSTALAÇÃO&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;2.1 OBTENDO O ZIMBRA&lt;br /&gt;&lt;br /&gt;O servidor de e-mail Zimbra é desenvolvido para diversas plataformas Linux, no entanto oficialmente não é homologada para o sistema operacional Debian. Apenas para constar, nunca tive problemas com o Zimbra sendo executado sobre o sistema Debian.&lt;br /&gt;Para nossa instalação utilizaremos o pacote de instalação do Zimbra para o Ubuntu 10.04 LTS, que é o irmão mais próximo homologado pelo empresa que desenvolve o Zimbra.&lt;br /&gt;&lt;br /&gt;Baixe o pacote do link 64bit x86 disponível em:&lt;br /&gt;&lt;a href=&quot;https://www.zimbra.com/downloads/os-downloads.html&quot;&gt;https://www.zimbra.com/downloads/os-downloads.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Você pode baixar também em uma pasta (aconselho baixar na pasta /root) do sistema&amp;nbsp; operacional com o comando:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#cd /root&lt;br /&gt;#wget http://files2.zimbra.com/downloads/8.0.3_GA/zcs-8.0.3_GA_5664.UBUNTU10_64.20130305090205.tgz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Descompactar os arquivos de instalação&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#tar -zxvf zcs-8.0.3_GA_5664.UBUNTU10_64.20130305090205.tgz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2.2 EXECUTANDO A INSTALAÇÃO&lt;br /&gt;&lt;br /&gt;Com todos os requisitos atendidos a instalação do Zimbra é relativamente simples.&lt;br /&gt;&lt;br /&gt;Entre na pasta onde a instalação foi descompactada e execute a instalação:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#cd zcs-8.0.3_GA_5664.UBUNTU10_64.20130305090205&lt;br /&gt;&lt;br /&gt;#./install.sh --platform-override&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A instalação irá realizar algumas perguntas de configuração, basta responder de acordo com a sequência abaixo:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Do you agree with the terms of the software license agreement? Y&lt;br /&gt;Do you agree with the terms of the software license agreement? Y&lt;br /&gt;&lt;br /&gt;Install zimbra-ldap Y&lt;br /&gt;Install zimbra-logger Y&lt;br /&gt;Install zimbra-mta Y&lt;br /&gt;Install zimbra-snmp Y&lt;br /&gt;Install zimbra-store Y&lt;br /&gt;Install zimbra-apache Y&lt;br /&gt;Install zimbra-spell Y&lt;br /&gt;Install zimbra-memcached Y&lt;br /&gt;Install zibra-proxy N&lt;br /&gt;&lt;br /&gt;Install anyway? Y&lt;br /&gt;The system will be modified. Continue? Y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Aguarde ....&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;Change domain name? [Yes]&lt;br /&gt;&lt;br /&gt;Create domain: [ns1.teste.com.br] teste.com.br&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;O Zimbra já esta instalado. A única configuração que faremos pela linha de comando é a mudança da senha do usuário admin. Após a instalação aparecerá o Menu Principal de configuração do zimbra.&lt;br /&gt;&lt;br /&gt;No menu principal &lt;b&gt;tecle 3 [Enter]&lt;/b&gt;, &lt;b&gt;tecle 4 [Enter]&lt;/b&gt; e entre com a senha do usuário &lt;b&gt;admin [ENTER]&lt;/b&gt;. Volte ao menu &lt;b&gt;teclando r [Enter]&lt;/b&gt; e aplique a configuração &lt;b&gt;teclando a [Enter].&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Save configuration data to a file? [Yes]&lt;br /&gt;Save config in file [/opt/zimbra/config.9481]&lt;br /&gt;The system will be modified - continued? [Yes]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Aguarde o final da configuração. O Zimbra já está em funcionamento.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Notify Zimbra of your instalation? [YES] NO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Você pode acessar o console de gerenciamento, com ele que será realizada todas as configurações necessárias para administração do servidor.&lt;br /&gt;&lt;br /&gt;https://192.168.0.1:7071/zimbraAdmin/&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8FXZPgSqcy88_CkwEJKcM64n04pSesiNa9dL6PqHJFqnA9ydZMpSu4wFsYTd_zEo9Pw3ZYOJk9eB0d-rPviYoJ3tepvZLIG75TdiAn3R8O2CRRexWhMW81yu2caB8MqTJMwwUS6rhUY/s1600/zimbra1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8FXZPgSqcy88_CkwEJKcM64n04pSesiNa9dL6PqHJFqnA9ydZMpSu4wFsYTd_zEo9Pw3ZYOJk9eB0d-rPviYoJ3tepvZLIG75TdiAn3R8O2CRRexWhMW81yu2caB8MqTJMwwUS6rhUY/s400/zimbra1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Figura 1 - Imagem do console de administração Zimbra 8.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Também pode ter acesso a interface do usuário.&lt;br /&gt;&lt;br /&gt;https://192.168.0.1/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.2.1 Bug da inicialização automática&lt;br /&gt;&lt;br /&gt;Existe um bug na inicialização do Zimbra durante o boot do sistema. A solução para esse problema é relativamente simples.&lt;br /&gt;&lt;br /&gt;a) Edite o arquivo &lt;i&gt;/etc/init.d/zimbra&lt;/i&gt; e adicione a linha em negrito no entre as duas linhas como abaixo:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# Default-Start:&amp;nbsp; 3 5&lt;br /&gt;# Default-Stop:&amp;nbsp;&amp;nbsp; 0 1 6&lt;br /&gt;# Description:&amp;nbsp;&amp;nbsp;&amp;nbsp; Zimbra mail service&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;b) Adicione o script na inicialização:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#update-rc.d zimbra defaults&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;c) Reinicie o servidor para testar.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.3 COMANDOS BÁSICOS E DICAS&lt;br /&gt;&lt;br /&gt;Alguns comandos que podem ajudar o administrador a resolver pequenos problemas do servidor Zimbra.&lt;br /&gt;&lt;br /&gt;*Para mudar senha do administrador&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#su - zimbra&lt;br /&gt;#zmprov sp &amp;lt;admin email address&amp;gt; &amp;lt;new password&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;*Para parar e iniciar o zimbra:&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#su - zimbra&lt;br /&gt;#zmcontrol stop&lt;br /&gt;#zmcontrol start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;*Para ver o status dos serviços do zimbra:&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#su - zimbra&lt;br /&gt;#zmcontrol status&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Uma dica é o fato de o Zimbra 8 vir configurado para acesso apenas via https. Você pode ativar também o acesso via http.&lt;br /&gt;&lt;br /&gt;Como usuário zimbra:&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#su - zimbra&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ativa suporte ao acesso http e https&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#/opt/zimbra/bin/zmtlsctl mixed&lt;br /&gt;#zmcontrol restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ativa suporte apenas ao https&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#/opt/zimbra/bin/zmtlsctl https&lt;br /&gt;#zmcontrol restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ativa suporte apenas ao http&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#/opt/zimbra/bin/zmtlsctl http&lt;br /&gt;#zmcontrol restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Uma outra dica é ativar o recurso de porta arquivos que vem desativado como padrão.Para ativá-lo logando como administrador no console clique em:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configurar --&amp;gt; Classe de serviço.&lt;br /&gt;&lt;br /&gt;Na página da direita duplo clique em default.&lt;br /&gt;&lt;br /&gt;Recursos --&amp;gt; Ativar a opção Porta-arquivos.&lt;br /&gt;&lt;br /&gt;Clica em salvar no canto superior direito.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3 CONCLUSÃO&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Neste ponto temos o servidor Zimbra completamente funcional. No próximo tutorial veremos como configurar um backup das contas de email utilizando uma ferramenta gratuita.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;REFERÊNCIAS&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ZIMBRA, OpenSource Edition + Bind9 (DNS). Disponível em: &amp;lt;http://ensinalinux.blogspot.com.br/2012/04/zimbra-opensource-edition-bind9-dns.html&amp;gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/4174506841036670424/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2013/04/tutorial-zimbra-8-no-debian-6-squeeze_22.html#comment-form' title='22 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/4174506841036670424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/4174506841036670424'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2013/04/tutorial-zimbra-8-no-debian-6-squeeze_22.html' title='TUTORIAL - ZIMBRA 8 NO DEBIAN 6 SQUEEZE'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8FXZPgSqcy88_CkwEJKcM64n04pSesiNa9dL6PqHJFqnA9ydZMpSu4wFsYTd_zEo9Pw3ZYOJk9eB0d-rPviYoJ3tepvZLIG75TdiAn3R8O2CRRexWhMW81yu2caB8MqTJMwwUS6rhUY/s72-c/zimbra1.png" height="72" width="72"/><thr:total>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-5504673435327990080</id><published>2013-04-17T21:40:00.000-03:00</published><updated>2013-10-17T17:23:14.435-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>TUTORIAL - ZIMBRA 8 NO DEBIAN 6 SQUEEZE</title><content type='html'>&lt;h3&gt;
&lt;/h3&gt;
&lt;h3&gt;
&lt;b&gt;TUTORIAL 1 - PRÉ-REQUISITOS E CONFIGURAÇÃO DO SERVIÇO DE DNS&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
Esse é a primeira parte de uma série de quatro tutoriais que possui como objetivo demonstrar a instalação do mais recente servidor de e-mails Zimbra, a configuração de um backup, e como bônus, a instalação de um chat integrado com o serviço de e-mail. &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;1 INTRODUÇÃO&lt;/b&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Zimbra Collaboration Server é um servidor de e-mail Opensource, que integra diversos recursos como por exemplo: agenda, organizador de tarefas e porta arquivos. Através de extensões uma infinidade de outras funcionalidades podem ser implantadas. &lt;br /&gt;
Funciona com clientes de e-mails com Thunderbird, Outlook, Evolution, além de possuir um cliente próprio o Zimbra Desktop.&lt;br /&gt;
Possui como concorrentes soluções como o Exchange da Microsoft e o GroupWise da Novel.&amp;nbsp;&lt;/div&gt;
Nesse primeiro tutorial iremos prepar o ambiente do sistema operacional e realizar a configuração do serviço de DNS, indispensáveis para a instalação e funcionamento do Zimbra.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;2 REQUISITOS DO SERVIDOR DE E-MAIL&lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;2.1 HARDWARE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Para uma instalação de um servidor de teste é recomendado:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Processador Intel ou AMD, 32 ou 64 bits com clock de 1.5 GHz;&lt;/li&gt;
&lt;li&gt;Memória de 1GB;&lt;/li&gt;
&lt;li&gt;Espaço livre em disco de 5GB para instalação e logs;&lt;/li&gt;
&lt;li&gt;Espaço livre em disco para armazenamento das mensagens.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Para uma instalação de um servidor para produção, o mínimo recomendado é:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Processador mínimo Intel ou AMD com clock 2.0 GHZ de 32 bits (recomendado processador de 64 bits);&lt;/li&gt;
&lt;li&gt;Memória ram de 2GB;&lt;/li&gt;
&lt;li&gt;Espaço livre em disco de 10GB para instalação e logs;&lt;/li&gt;
&lt;li&gt;Espaço livre em disco para armazenamento das mensagens.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;2.2 DOMÍNIO E IP&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Um servidor DNS é pré-requisito para a instalação do Zimbra, ele pode estar no mesmo servidor ou em servidor(es) separados. Para nosso tutorial o servidor que irá hospedar o Zimbra é o mesmo que hospeda o servidor de DNS. O servidor de DNS é o responsável por resolver o nome do domínio em um ip. &lt;br /&gt;
Todo o domínio precisa ser registrado para poder ser acessível via internet. No Brasil o responsável pelo registro é o Registro.br. Após o registro, é preciso configurar no ambiente do registro.br o endereço do servidor DNS que irá responder pelo seu domínio. Para tanto seu servidor deve possuir um número de ip válido na internet. Na verdade o registro.br exige pelo menos dois servidores DNS que respondam pelo seu domínio. Tal procedimento é adotado para garantir a redundância de forma que se um servidor ficar indisponível, o secundário pode responder em seu lugar. Nem sempre é possível dispor de 2 servidores em um ambiente de testes, dessa forma é possível configurar um único servidor DNS para trabalhar como primário e secundário ao mesmo tempo. Com tal atitude você perde a redundância, mas para um ambiente de teste e estudo é perfeitamente válido.&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;2.3 INSTALANDO E CONFIGURANDO O SERVIDOR DNS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Para o nosso tutorial o servidor irá responder pelo dominio teste.com.br e terá como ip o 192.168.0.1 e o 192.168.0.2. Como você pode observar são ips de rede locais, que não são válidos para a internet, no entanto, para uma configuração real basta alterá-los.&lt;br /&gt;
&lt;br /&gt;
a) Execute a instalação do seguinte pacote:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#apt-get install bind9&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
b) Editar arquivo &lt;i&gt;/etc/hosts&lt;/i&gt; e adicionar as seguintes linhas:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;192.168.0.1 teste.com.br ns1&lt;br /&gt;192.168.0.2 teste.com.br ns2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
O ns1 e ns2 são os nomes de nossos dois servidores DNS que pertencem ao domínio teste.com.br&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
c) Mudar o nome da máquina para ns1:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#hostname ns1&lt;br /&gt;#echo ns1 &amp;gt; /etc/hostname&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
d) Editar o arquivo&lt;i&gt; /etc/resolv.conf&lt;/i&gt; e deixar com a estrutura abaixo:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;domain teste.com.br&lt;br /&gt;search teste.com.br&lt;br /&gt;nameserver 192.168.0.1&lt;br /&gt;nameserver 192.168.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
e) Configurar as interfaces de rede editando o arquivo &lt;i&gt;/etc/network/interfaces&lt;/i&gt; da seguinte forma:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;auto lo eth0 eth0:1&lt;br /&gt;iface lo inet loopback&lt;br /&gt;&lt;br /&gt;iface eth0 inet static&lt;br /&gt;address 192.168.0.1&lt;br /&gt;netmask 255.255.255.0&lt;br /&gt;gateway 192.168.0.254&lt;br /&gt;&lt;br /&gt;iface eth0:1 inet static&lt;br /&gt;address 192.168.0.2&lt;br /&gt;netmask 255.255.255.0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note que o ip 192.168.0.254 diz respeito ao dispositivo responsável por disponibilizar a internet para o servidor. Este dispositivo pode ser um modem adsl, por exemplo.&lt;br /&gt;
&lt;br /&gt;
f) Reiniciar a interface de rede.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#/etc/init.d/networking restart&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
2.3.1 Configurar o serviço de DNS&lt;br /&gt;
&lt;br /&gt;
a) Adicionar no arquivo &lt;i&gt;/etc/bind/named.conf.local&lt;/i&gt; as seguintes linhas:&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Dica: Procure digitar e não copiar essa configuração, o Bind é sensível a formatações inseridas por alguns editores ao copiar e colar.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;zone &quot;teste.com.br&quot;{&lt;br /&gt;type master;&lt;br /&gt;file &quot;/etc/bind/db.teste.com&quot;;&lt;br /&gt;allow-transfer { 192.168.0.2; };&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;b) Criar o arquivo /etc/bind/db.teste.com com o conteúdo abaixo:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$TTL&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; SOA&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br. irineu.teste.com.br. (&lt;br /&gt;201303251513&amp;nbsp; ; Serial&lt;br /&gt;604800&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ; Refresh&lt;br /&gt;86400&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Retry&lt;br /&gt;2419200&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; ; Expire&lt;br /&gt;604800 )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Negative Cache TTL&lt;br /&gt;&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns2.teste.com.br.&lt;br /&gt;&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; MX&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;&lt;br /&gt;www&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;webmail&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;mail&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;ns1&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;ns2&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
c) Testes sua configuração do DNS:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#named-checkzone teste.com.br /etc/bind/db.teste.com&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Resultado esperado do comando:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;zone teste.com.br/IN: loaded serial 3734755897&lt;br /&gt;OK&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#/etc/init.d/bind9 restart&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#nslookup ns1&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Resultado esperado do comando:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Server: 192.168.0.1&lt;br /&gt;Address: 192.168.0.1#53&lt;br /&gt;&lt;br /&gt;Name: ns1.teste.com.br&lt;br /&gt;Address: 192.168.0.1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#nslookup ns2&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Server: 192.168.0.1&lt;br /&gt;Address: 192.168.0.1#53&lt;br /&gt;&lt;br /&gt;Name: ns2.teste.com.br&lt;br /&gt;Address: 192.168.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2.3.2 DNS Reverso&lt;br /&gt;
&lt;br /&gt;
Apenas com a configuração do servidor de DNS que executamos até agora já é possível fazer a instalação do Zimbra. No entanto, para uso em produção é necessário ainda a configuração do DNS Reverso. O DNS Reverso é uma das formas que um servidor utiliza para saber se a mensagem enviada do endereço de ip de seu servidor de e-mail responde ao domínio encontrado no cabeçalho. Vejamos com o exemplo de configuração.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
a) Adicionar no arquivo &lt;i&gt;/etc/bind/named.conf.local&lt;/i&gt; as seguintes linhas:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;zone &quot;0.168.192.in-addr.arpa&quot; {&lt;br /&gt;type master;&lt;br /&gt;file &quot;/etc/bind/db.teste.com-rev&quot;;&lt;br /&gt;}; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
b) Criar o arquivo &lt;i&gt;/etc/bind/db.teste.com-rev&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$TTL&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; SOA&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br. irineu.teste.com.br. (&lt;br /&gt;201303261613&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Serial&lt;br /&gt;604800&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ; Refresh&lt;br /&gt;86400&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ; Retry&lt;br /&gt;2419200&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ; Expire&lt;br /&gt;604800 )&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Negative Cache TTL&lt;br /&gt;&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns2.teste.com.br.&lt;br /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp; ns2.teste.com.br.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
h) Testes sua configuração do DNS Reverso:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#named-checkzone 0.168.192.in-addr.arpa /etc/bind/db.teste.com-rev &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Resultado esperado:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;zone 0.168.192.in-addr.arpa/IN: loaded serial 3734765997&lt;br /&gt;OK&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#/etc/init.d/bind9 restart&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#dig teste.com.br&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Resultado esperado:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;;; QUESTION SECTION:&lt;br /&gt;;teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;br /&gt;&lt;br /&gt;;; ANSWER SECTION:&lt;br /&gt;teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;&lt;br /&gt;;; AUTHORITY SECTION:&lt;br /&gt;teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns2.teste.com.br.&lt;br /&gt;&lt;br /&gt;;; ADDITIONAL SECTION:&lt;br /&gt;ns1.teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;ns2.teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#dig -x 192.168.0.1&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Resultado esperado:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; QUESTION SECTION:&lt;br /&gt;;1.0.168.192.in-addr.arpa.&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&lt;br /&gt;&lt;br /&gt;;; ANSWER SECTION:&lt;br /&gt;1.0.168.192.in-addr.arpa. 604800 IN&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;&lt;br /&gt;;; AUTHORITY SECTION:&lt;br /&gt;0.168.192.in-addr.arpa.&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns1.teste.com.br.&lt;br /&gt;0.168.192.in-addr.arpa.&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp; ns2.teste.com.br.&lt;br /&gt;&lt;br /&gt;;; ADDITIONAL SECTION:&lt;br /&gt;ns1.teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.1&lt;br /&gt;ns2.teste.com.br.&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2.4 DEPÊNDENCIAS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
O zimbra exige a instalação de alguns pacotes que podem ser instalados com o comando abaixo: &lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#apt-get install sysstat sqlite3 sudo nscd libperl5.10&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
E necessário também remover o pacote exim4 que é um serviço de e-mail nativo do Debian.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;#apt-get purge exim4-daemon-light exim4 exim4-daemon-heavy&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3 CONCLUSÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Neste ponto chegamos ao ambiente do sistema operacional pronto para receber o serviço de e-mail Zimbra. A instalação e configuração é parte do tutorial 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;REFERÊNCIAS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ZIMBRA, OpenSource Edition + Bind9 (DNS). Disponível em: &amp;lt;http://ensinalinux.blogspot.com.br/2012/04/zimbra-opensource-edition-bind9-dns.html&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/5504673435327990080/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2013/04/tutorial-zimbra-8-no-debian-6-squeeze.html#comment-form' title='6 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/5504673435327990080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/5504673435327990080'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2013/04/tutorial-zimbra-8-no-debian-6-squeeze.html' title='TUTORIAL - ZIMBRA 8 NO DEBIAN 6 SQUEEZE'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-5758586965112613175</id><published>2012-01-22T09:34:00.001-02:00</published><updated>2012-01-22T10:01:45.318-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>CRIANDO TÚNEIS SEGUROS COM O OPEN VPN (Matriz – Filial1 – Filial2)</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;INTRODUÇÃO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Em minhas pesquisas pelas internet encontrei dezenas de artigos abordando a configuração do Open VPN, mais não encontrei nenhum que explicasse de maneira prática o uso em cenários onde se faz necessário a interligação de três ou mais redes distintas de tal forma que se um dos servidores cair às outras redes continue comunicando-se normalmente. Fato o qual me motivou a escrever esse artigo.&lt;br /&gt;&lt;br /&gt;Para melhor entendermos o problema imaginamos a situação da figura que servirá como base desse tutorial:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDMFUhEF_UbHGBt2yOmALeEBGq0xKZZqkTCzX_jOh6AovkL5E2RB19KVa2c_RyPLuIJMZLWBu2XjzLJjjFshBqHKiIK9DLct7PY7Q8vXo1c5TibGE100G_D3pm6YZ1bc_z1-Oxdv4Motw/s1600/Sem+t%25C3%25ADtulo.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 559px; height: 234px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDMFUhEF_UbHGBt2yOmALeEBGq0xKZZqkTCzX_jOh6AovkL5E2RB19KVa2c_RyPLuIJMZLWBu2XjzLJjjFshBqHKiIK9DLct7PY7Q8vXo1c5TibGE100G_D3pm6YZ1bc_z1-Oxdv4Motw/s320/Sem+t%25C3%25ADtulo.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5700419129598265714&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Temos a matriz, filial1 e filial2. Em uma situação em que o servidor da matriz (que está rodando uma instância do Open VPN apenas no modo servidor, servindo os clientes filial1 e filial2) venha a sair do ar, os servidores da filial1 e filial2 precisam continuar se comunicando. O mesmo terá que acontecer se o servidor da filial1 ou filial2 caírem, a comunicação com servidor da matriz permanece para o servidor ainda no ar.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Solução&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1º - Uma solução simples para esse problema foi abordado em outro artigo utilizando o VTUN. Link abaixo:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://itnproducoes.blogspot.com/2011/07/criando-tuneis-com-o-vtun.html&quot;&gt;http://itnproducoes.blogspot.com/2011/07/criando-tuneis-com-o-vtun.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2º - No entanto, particularmente, tenho utilizado na maioria dos casos a solução proposta nesse artigo com o Open VPN, devido a pontos fortes que essa ferramenta oferece. Veja alguns dos principais abaixo:&lt;br /&gt;&lt;br /&gt;* Possui atualizações constantes.&lt;br /&gt;&lt;br /&gt;* Multiplataforma (Roda também em Windows).&lt;br /&gt;&lt;br /&gt;* Segurança aprimorada utilizando certificados x509.&lt;br /&gt;&lt;br /&gt;* Relativamente fácil de conseguir material na internet abordando o uso do Open VPN, além de possuir uma ampla documentação sobre seus recursos com exemplos de configuração. Veja o HOWTO no site do desenvolvedor.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Voltando ao assunto, para esse tutorial a solução proposta consiste em:&lt;br /&gt;&lt;br /&gt;Matriz – Irá rodar uma instância do Open VPN como servidor para Filial1 e Filial2.&lt;br /&gt;&lt;br /&gt;Filial1 – Irá rodar uma instância do Open VPN como cliente da Matriz e uma instância como servidor da Filial2.&lt;br /&gt;&lt;br /&gt;Filial2 – Irá rodar uma instância do Open VPN como cliente da Matriz e uma instância como cliente da Filial1.&lt;br /&gt;&lt;br /&gt;Nesse artigo exemplificarei como configurar a interligação de três redes distintas geograficamente separadas através de um túnel seguro criptografado de 2048 bits e autenticação utilizando certificados x509.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Recursos utilizados para esse tutorial:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;* Três Servidores Linux rodando Debian 6.0.3 (Squeeze).&lt;br /&gt;&lt;br /&gt;* Cada um com duas placas de redes, uma para comunicação com a rede local e outra para internet.&lt;br /&gt;&lt;br /&gt;* Endereços das placas de redes locais:&lt;br /&gt;192.168.2.1/24 --&amp;gt; Matriz&lt;br /&gt;192.168.3.1/24 --&amp;gt; Filial1&lt;br /&gt;192.168.4.1/24 --&amp;gt; Filial2&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Cenário&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Redes separadas geograficamente:&lt;br /&gt;192.168.2.0/24 --&amp;gt; Matriz&lt;br /&gt;192.168.3.0/24 --&amp;gt; Filial1&lt;br /&gt;192.168.4.0/24 --&amp;gt; Filial2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*Obs: É necessário que as redes utilizem configurações de ips distintas, caso o contrário teremos posteriormente conflitos no roteamento e a comunicação não ocorrerá.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CONFIGURAÇÃO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Para instalar o Open VPN nos servidores.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;# apt-get install openvpn&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CONFIGURAÇÃO DA MATRIZ&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Em nosso tutorial a máquina da matriz irá atuar apenas como servidor do Open VPN, dessa forma precisaremos além de da configuração propriamente dita, gerar as chaves de autenticação de seus clientes (Filial1 e Filial2).&lt;br /&gt;&lt;br /&gt;a) Crie o arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/servidor.conf&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mcedit /etc/openvpn/servidor.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Conteúdo do arquivo&lt;span style=&quot;font-style: italic;&quot;&gt; /etc/openvpn/servidor.conf&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;proto udp&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dev tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;server 10.0.0.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#####Rota para os clientes####&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;client-config-dir ccd&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Filial1&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;route 192.168.3.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Filial2&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;route 192.168.4.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##########################################################&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;max-clients 10&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-server&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Compressao de dados&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;comp-lzo&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Tempo de ping 10s tempo de reinicio 120s&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;keepalive 10 120&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Mantem tunel e chaves carregadas em caso de quedas&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Mantem o tunel levantando mesmo em conexoes ip dinamico&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;float&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#########################################&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dh /etc/openvpn/keys/dh2048.pem&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ca /etc/openvpn/keys/ca.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;cert /etc/openvpn/keys/servidor.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;key /etc/openvpn/keys/servidor.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-auth /etc/openvpn/keys/chave.key 0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;br /&gt;b) Crie a pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keys&lt;/span&gt; e &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/ccd&lt;/span&gt;&lt;br /&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mkdir /etc/openvpn/keys&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mkdir /etc/openvpn/ccd&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;c) Crie os arquivos &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/ccd/filial1&lt;/span&gt; e &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/ccd/filial2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mcedit /etc/openvpn/ccd/filial1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Conteúdo arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/ccd/filial1&lt;/span&gt; :&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iroute 192.168.3.0 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mcedit /etc/openvpn/ccd/filial2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Conteúdo arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/ccd/filial2&lt;/span&gt; :&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iroute 192.168.4.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;br /&gt;É importante salientar que a não criação desses dois arquivos é causa comum de erros no roteamento encontrado em diversas configurações, que apesar de possibilitarem a comunicação entre os servidores, não conseguem encaminhar os pacotes corretamente para a interface de rede local em questão.&lt;br /&gt;&lt;br /&gt;Esses dois arquivos são vitais para o funcionamento das rotas criadas pelas linhas&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Filial1&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;route 192.168.3.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Filial2&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;route 192.168.4.0 255.255.255.0&lt;/span&gt;&lt;br /&gt;do arquivo de configuração servidor.conf criado anteriormente. Isso porque as linhas do servidor.conf apenas criam as entradas de roteamento no kernel que serão encaminhadas para a interface tun0 do servidor Open VPN. No momento em que a conexão é estabelecida o servidor Open VPN saberá para qual rede encaminhar o pacote, utilizando justamente os arquivos &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/ccd/filial1&lt;/span&gt; e &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/ccd/filial2&lt;/span&gt; que possuem a rota do cliente recém-conectado.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;d) Criar as chaves de segurança e autenticação:&lt;br /&gt;&lt;br /&gt;* Copiar os scripts de criação das chaves fornecidos pela instalação do Open VPN para o diretório /etc/openvpn:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cp -a  /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;* Configurar o arquivo vars para geração das chaves:&lt;br /&gt;&lt;br /&gt;Edite o arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/easy-rsa/2.0/vars&lt;/span&gt; e modifique as seguintes linhas de acordo com seus dados (KEY_SIZE corresponde ao tamanho da chave 2048 bits):&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mcedit /etc/openvpn/easy-rsa/2.0/vars&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Linhas a serem modificadas:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_SIZE=2048 &lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_COUNTRY= “BR” &lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_PROVINCE = “SC”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_CITY = “Laguna”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_ORG = “ITN Ltda”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_EMAIL= “itnp@msn.com”&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* Preparar ambiente para criação das chaves para o servidor, filial1 e filial2:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cd /etc/openvpn/easy-rsa/2.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# source vars&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# ./clean-all&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#./build-ca&lt;/span&gt;&lt;br /&gt;(Apenas confirme os dados com ENTER nessa etapa).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Entre na pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/easy-rsa/2.0/keys&lt;/span&gt; e confirme a existência dos arquivos &lt;span style=&quot;font-family:courier new;&quot;&gt;ca.crt, ca.key, index.txt &lt;span style=&quot;font-family:arial;&quot;&gt;e&lt;/span&gt; serial&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;* Criar as chaves propriamente ditas:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cd /etc/openvpn/easy-rsa/2.0/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;./build-key-server servidor&lt;/span&gt;&lt;br /&gt;(Mais uma vez confirme com ENTER os dados e responda do Y as duas perguntas finais Sign the certificate? Y  e 1 out of 1 certificate requests certified, commit? Y)&lt;br /&gt;&lt;br /&gt;Resultado esperado:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Write out database with 1 new entries&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Data Base Updated&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;./buid.dh dh2048.pem&lt;/span&gt;&lt;br /&gt;(Esse comando pode demorar alguns segundos).&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# openvpn --genkey --secret chave.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mv chave.key /etc/openvpn/keys&lt;/span&gt;&lt;br /&gt;(Criar essa chave adiciona uma camada extra de segurança a sua VPN recomendado pelo próprio &lt;a href=&quot;http://openvpn.net/index.php/open-source/documentation/howto.html&quot;&gt;HOWTO&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;./build-key filial1&lt;/span&gt;&lt;br /&gt;(Mais uma vez confirme com ENTER os dados e responda do Y as duas perguntas finais &lt;span style=&quot;font-family:courier new;&quot;&gt;Sign the certificate? &lt;/span&gt;Y  e &lt;span style=&quot;font-family:courier new;&quot;&gt;1 out of 1 certificate requests certified, commit? &lt;/span&gt;Y)&lt;br /&gt;&lt;br /&gt;Resultado esperado:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Write out database with 1 new entries&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Data Base Updated&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;./build-key filial2&lt;/span&gt;&lt;br /&gt;(Mais uma vez confirme com ENTER os dados e responda do Y as duas perguntas finais &lt;span style=&quot;font-family:courier new;&quot;&gt;Sign the certificate? Y&lt;/span&gt;  e&lt;span style=&quot;font-family:courier new;&quot;&gt; 1 out of 1 certificate requests certified, commit?&lt;/span&gt; Y)&lt;br /&gt;&lt;br /&gt;Resultado esperado:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Write out database with 1 new entries&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Data Base Updated&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e) Confirmar a criação das chaves, copiar para seus diretórios de destino e iniciar o servidor OpenVPN:&lt;br /&gt;&lt;br /&gt;* Entre na pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/easy-rsa/2.0/keys&lt;/span&gt; e copie os arquivos c&lt;span style=&quot;font-family:courier new;&quot;&gt;a.crt, servidor.crt, servidor.key, dh2048.pem,&lt;/span&gt; para a pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keys&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cd /etc/openvpn/easy-rsa/2.0/keys&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cp –a servidor.key servidor.crt dh2048.pem ca.crt /etc/openvpn/keys&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;* Reinicie o serviço do Open VPN, confirme a criação da interface tun0 e das rotas para as redes da filial1 e filial2:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# /etc/init.d/openvpn restart&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ifconfig tun0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#route | grep tun0&lt;/span&gt;&lt;br /&gt;Resultado esperado desse comando:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;192.168.4.0 10.0.0.2 255.255.255.0 UG 0 0 0 tun0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;192.168.3.0 10.0.0.2 255.255.255.0 UG 0 0 0 tun0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;f) Configurar o firewall para aceitar conexões na porta 1194, adicionando a seguinte linha: (1194 é a porta padrão do servidor Open VPN):&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -A INPUT –p udp --dport 1194 –j ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CONFIGURAÇÃO DA FILIAL1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Com o servidor da matriz já configurado para aceitar conexões dos clientes filial1 e filial2, vamos ao maior desafio de nosso tutorial que é a configuração do servidor da filial1 para funcionar como servidor para filial2 e cliente da matriz ao mesmo tempo.&lt;br /&gt;&lt;br /&gt;1 - Configurar o cliente:&lt;br /&gt;&lt;br /&gt;a) Crie a pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keysCliente&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mkdir /etc/openvpn/keysCliente&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;b) Crie o arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/clienteMatriz.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mcedit /etc/openvpn/clienteMatriz.conf&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;Conteúdo do arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/clienteMatriz.conf&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;remote “IP DA MATRIZ”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;proto udp&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;client &lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;route 192.168.2.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dev tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-client&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##CONFIGURAÇÕES DE OTIMIZACAO##&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Tempo de ping 10s tempo de reinicio 120s&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;keepalive 10 120&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Compressao dos dados&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;comp-lzo&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Mantem tunel e chaves carregadas em quedas&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##########################################&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dh /etc/openvpcn/keysCliente/dh2048.pem&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ca /etc/openvpn/keysCliente/ca.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;cert /etc/openvpn/keysCliente/filial1.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;key /etc/openvpn/keysCliente/filial1.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-auth /etc/openvpn/keysCliente/chave.key 1&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;br /&gt;c) Copiar as chaves necessárias correspondentes a filial1 do servidor da matriz:&lt;br /&gt;&lt;br /&gt;Para esse fim você pode utilizar uma conexão sftp a partir da filial1 ou até mesmo copiar em um pendrive os arquivos &lt;span style=&quot;font-family:courier new;&quot;&gt;dh2048.pem, ca.crt, filial1.crt filial1.key e chave.key&lt;/span&gt; da pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/easy-rsa/2.0/keys&lt;/span&gt; e &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keys&lt;/span&gt; do servidor da matriz para a pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keysCliente&lt;/span&gt; do servidor da filial1.&lt;br /&gt;&lt;br /&gt;Exemplo utilizando sftp:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cd /etc/openvpn/keysCliente&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# sftp root@“IP DA MATRIZ”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# “senha do root da matriz”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/filial1.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/filial1.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/ca.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/dh2048.pem&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/keys/chave.key&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;d) Reinicie o serviço do Open VPN, confirme a criação da interface tun0 e das rotas para a rede da matriz:&lt;br /&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# /etc/init.d/openvpn restart&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ifconfig tun0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#route | grep tun0&lt;/span&gt;&lt;br /&gt;Resultado esperado desse comando:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;192.168.2.0 10.0.0.5 255.255.255.0 UG 0 0 0 tun0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e) Teste a comunicação entre filial1 e Matriz através do envio de Pings:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ping 192.168.2.1&lt;/span&gt;&lt;br /&gt;(Enviado do servidor da filial1)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ping 192.168.3.1&lt;/span&gt;&lt;br /&gt;(Enviado do servidor da matriz)&lt;br /&gt;&lt;br /&gt;Obs: Até o momento apesar de matriz e filial1 conseguirem resposta do echo da interface destinada à rede local (192.168.2.1 e 192.168.3.1) não será possível o ping para terminais da rede interna precisando ainda a configuração final no firewall que faremos na parte final do tutorial quando matriz, filial1 e filial2 estiverem se comunicando mutuamente.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2 - Configurar o servidor:&lt;br /&gt;&lt;br /&gt;Para configurar o Open VPN como servidor do cliente da filial2 realizaremos praticamente os mesmos passos da configuração do servidor Open VPN da matriz com pequenas mudanças.&lt;br /&gt;&lt;br /&gt;a) Crie o arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/servidorFilial1.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mcedit /etc/openvpn/servidorFilial1.conf &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Conteúdo do arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/servidorFilial1.conf&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;proto udp&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dev tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;port 1195&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;server 10.10.10.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#####Rota para os clientes####&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;client-config-dir ccd&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Filial2&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;route 192.168.4.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##########################################################&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;max-clients 10&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-server&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Compressao de dados&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;comp-lzo&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Tempo de ping 10s tempo de reinicio 120s&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;keepalive 10 120&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Mantem tunel e chaves carregadas em caso de quedas&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Mantem o tunel levantando mesmo em conexoes ip dinamico&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;float&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#########################################&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dh /etc/openvpn/keysServidor/dh2048.pem&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ca /etc/openvpn/keysServidor/ca.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;cert /etc/openvpn/keysServidor/servidorFilial1.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;key /etc/openvpn/keysServidor/servidorFilial1.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-auth /etc/openvpn/keysServidor/chave.key 0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;br /&gt;b) Crie as pastas &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keysServidor &lt;/span&gt;e&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/ccd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mkdir /etc/openvpn/keysServidor&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mkdir /etc/openvpn/ccd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c) Crie o arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/ccd/filial2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Conteúdo arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/ccd/filial2&lt;/span&gt; :&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iroute 192.168.4.0 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;d) Criar as chaves de segurança e autenticação:&lt;br /&gt;&lt;br /&gt;* Copiar os scripts de criação das chaves fornecidos pela instalação do Open VPN para o diretório /etc/openvpn:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cp -a  /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;* Configurar o arquivo vars para geração das chaves:&lt;br /&gt;&lt;br /&gt;Edite o arquivo /etc/openvpn/easy-rsa/2.0/vars e modifique as seguintes linhas de acordo com seus dados (KEY_SIZE corresponde ao tamanho da chave 2048 bits):&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mcedit /etc/openvpn/easy-rsa/2.0/vars&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Linhas a serem modificadas:&lt;br /&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_SIZE=2048 &lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_COUNTRY= “BR” &lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_PROVINCE = “SC”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_CITY = “Laguna”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_ORG = “ITN Ltda”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;export KEY_EMAIL= “itnp@msn.com”&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* Preparar ambiente para criação das chaves para o servidorFilial1 e filial2:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cd /etc/openvpn/easy-rsa/2.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# source vars&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# ./clean-all&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#./build-ca&lt;/span&gt;&lt;br /&gt;(Apenas confirme os dados com ENTER nessa etapa).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Entre na pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/easy-rsa/2.0/keys &lt;/span&gt;e confirme a existência dos arquivos&lt;span style=&quot;font-family:courier new;&quot;&gt; ca.crt, ca.key, index.txt e serial.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;* Criar as chaves propriamente ditas:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cd /etc/openvpn/easy-rsa/2.0/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;./build-key-server servidorFilial1&lt;/span&gt;&lt;br /&gt;(Mais uma vez confirme com ENTER os dados e responda do Y as duas perguntas finais &lt;span style=&quot;font-family:courier new;&quot;&gt;Sign the certificate?&lt;/span&gt; Y  e &lt;span style=&quot;font-family:courier new;&quot;&gt;1 out of 1 certificate requests certified, commit?&lt;/span&gt; Y)&lt;br /&gt;&lt;br /&gt;Resultado esperado:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Write out database with 1 new entries&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Data Base Updated&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;./buid.dh dh2048.pem&lt;/span&gt;&lt;br /&gt;(Esse comando pode demorar alguns segundos).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# openvpn --genkey --secret chave.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mv chave.key /etc/openvpn/keysServidor&lt;/span&gt;&lt;br /&gt;(Criar essa chave adiciona uma camada extra de segurança a sua VPN recomendado pelo próprio &lt;a href=&quot;http://openvpn.net/index.php/open-source/documentation/howto.html&quot;&gt;HOWTO&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;./build-key filial2&lt;/span&gt;&lt;br /&gt;(Mais uma vez confirme com ENTER os dados e responda do Y as duas perguntas finais &lt;span style=&quot;font-family:courier new;&quot;&gt;Sign the certificate?&lt;/span&gt; Y  e &lt;span style=&quot;font-family:courier new;&quot;&gt;1 out of 1 certificate requests certified, commit? &lt;/span&gt;Y)&lt;br /&gt;&lt;br /&gt;Resultado esperado:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Write out database with 1 new entries&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Data Base Updated&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e) Confirmar a criação das chaves, copiar para seus diretórios de destino e iniciar o servidor OpenVPN:&lt;br /&gt;&lt;br /&gt;* Entre na pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/easy-rsa/2.0/keys&lt;/span&gt; e copie os arquivos c&lt;span style=&quot;font-family:courier new;&quot;&gt;a.crt, servidorFilial1.crt, servidorFilial1.key e dh2048.pem&lt;/span&gt;, para a pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keys&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cd /etc/openvpn/easy-rsa/2.0/keys&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cp –a servidor.key servidor.crt dh2048.pem ca.crt /etc/openvpn/keysServidor&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;f) Reinicie o serviço do Open VPN, confirme a criação da interface tun1 e das rotas para a rede da filial2:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# /etc/init.d/openvpn restart&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# ifconfig tun0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#route | grep tun0&lt;/span&gt;&lt;br /&gt;Resultado esperado desse comando:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;192.168.4.0 10.10.10.2 255.255.255.0 UG 0 0 0 tun0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;br /&gt;3 - Configurar o firewall para aceitar conexões na porta 1195, adicionando a seguinte linha:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -A INPUT –p udp --dport 1195 –j ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Observações importantes:&lt;br /&gt;&lt;br /&gt;1º Antes da criação da configuração para o servidor do Open VPN na filial1, a interface tun0 era a do cliente da matriz.&lt;br /&gt;&lt;br /&gt;2º Note que agora possuímos duas interfaces tun0 e tun1 no servidor da filial1, uma utilizada para o cliente da matriz (tun1) e outra para o servidor da filial2 (tun0).&lt;br /&gt;&lt;br /&gt;3º Precisamos alterar a porta de escuta do servidor do Open VPN da filial1 para 1195, isso porque a porta padrão 1194 já estava sendo utilizada pelo cliente que se conecta na matriz.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CONFIGURAÇÃO DA FILIAL2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Continuando nosso tutorial, temos ainda a configuração do filial2 que atuará apenas como cliente tanto da matriz como da filial1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1 – Configurar o cliente da Matriz:&lt;br /&gt;&lt;br /&gt;a) Crie as pastas /etc/openvpn/keysMatriz&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mkdir /etc/openvpn/keysMatriz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;b) Crie o arquivo /etc/openvpn/clienteMatriz.conf:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mcedit /etc/openvpn/clienteMatriz.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Conteúdo do arquivo /etc/openvpn/clienteMatriz.conf:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;remote “IP DA MATRIZ”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;proto udp&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;client &lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;route 192.168.2.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dev tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-client&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##CONFIGURAÇÕES DE OTIMIZACAO##&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Tempo de ping 10s tempo de reinicio 120s&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;keepalive 10 120&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Compressao dos dados&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;comp-lzo&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Mantem tunel e chaves carregadas em quedas&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##########################################&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dh /etc/openvpcn/keysMatriz/dh2048.pem&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ca /etc/openvpn/keysMatriz/ca.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;cert /etc/openvpn/keysMatriz/filial2.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;key /etc/openvpn/keysMatriz/filial2.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-auth /etc/openvpn/keysMatriz/chave.key 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c) Copiar as chaves necessárias correspondentes a filial2 do servidor da matriz: &lt;span style=&quot;font-family:courier new;&quot;&gt;dh2048.pem, ca.crt, filial2.crt , filial2.key e chave.key&lt;/span&gt; da pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/easy-rsa/2.0/keys&lt;/span&gt; e &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keys&lt;/span&gt; para a pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keysMatriz&lt;/span&gt; do servidor da filial2.&lt;br /&gt;&lt;br /&gt;Exemplo utilizando sftp:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cd /etc/openvpn/keysMatriz&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# sftp root@“IP DA MATRIZ”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# “senha do root da matriz”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/filial2.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/filial2.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/ca.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/dh2048.pem&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/keys/chave.key&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;d) Reinicie o serviço do Open VPN, confirme a criação da interface tun0 e das rotas para a rede da matriz:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# /etc/init.d/openvpn restart&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ifconfig tun0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#route | grep tun0&lt;/span&gt;&lt;br /&gt;Resultado esperado desse comando:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;192.168.2.0 10.0.0.9 255.255.255.0 UG 0 0 0 tun0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e) Teste a comunicação entre filial2 e Matriz através do envio de Pings:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ping 192.168.2.1&lt;/span&gt;&lt;br /&gt;(Enviado do servidor da filial2)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ping 192.168.4.1&lt;/span&gt;&lt;br /&gt;(Enviado do servidor da matriz)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2 – Configurar o cliente da Filial1:&lt;br /&gt;&lt;br /&gt;a) Crie as pastas &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keysFilial1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mkdir /etc/openvpn/keysFilial1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;b) Crie o arquivo &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/openvpn/clienteFilial1.conf&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# mcedit /etc/openvpn/clienteFilial1.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Conteúdo do arquivo&lt;span style=&quot;font-style: italic;&quot;&gt; /etc/openvpn/clienteFilial1.conf&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;remote “IP DA FILIAL1”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;proto udp&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;port 1195&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;client &lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;route 192.168.3.0 255.255.255.0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dev tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-client&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##CONFIGURAÇÕES DE OTIMIZACAO##&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Tempo de ping 10s tempo de reinicio 120s&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;keepalive 10 120&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Compressao dos dados&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;comp-lzo&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Mantem tunel e chaves carregadas em quedas&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;persist-tun&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##########################################&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;dh /etc/openvpcn/keysFilial1/dh2048.pem&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ca /etc/openvpn/keysFilial1/ca.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;cert /etc/openvpn/keysFilial1/filial2.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;key /etc/openvpn/keysFilial1/filial2.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;tls-auth /etc/openvpn/keysFilial2/chave.key 1&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;br /&gt;c) Copiar as chaves necessárias correspondentes a filial2 do servidor da filial1:&lt;span style=&quot;font-family:courier new;&quot;&gt; dh2048.pem, ca.crt, filial2.crt , filial2.key e chave.key&lt;/span&gt; da pasta&lt;span style=&quot;font-weight: bold;&quot;&gt; /etc/openvpn/easy-rsa/2.0/keys&lt;/span&gt; e &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keys&lt;/span&gt; para a pasta &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/openvpn/keysMatriz&lt;/span&gt; do servidor da filial2.&lt;br /&gt;&lt;br /&gt;Exemplo utilizando sftp:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# cd /etc/openvpn/keysFilial1&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# sftp root@“IP DA FILIAL1”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# “senha do root da filial1”&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/filial2.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/filial2.key&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/ca.crt&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/easy-rsa/2.0/keys/dh2048.pem&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# get /etc/openvpn/keysServidor/chave.key&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;d) Reinicie o serviço do Open VPN, confirme a criação de mais uma interface tun1 e das rotas para a rede da filial1:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# /etc/init.d/openvpn restart&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ifconfig tun0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ifconfig tun1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#route | grep tun&lt;/span&gt;&lt;br /&gt;Resultado esperado desse comando:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;192.168.3.0 10.10.10.5 255.255.255.0 UG 0 0 0 tun0&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;192.168.2.0 10.0.0.9   255.255.255.0 UG 0 0 0 tun1&lt;/span&gt;&lt;br  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;…&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;e) Teste a comunicação entre filial2 e Matriz através do envio de Pings:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ping 192.168.2.1&lt;/span&gt;&lt;br /&gt;(Enviado do servidor da filial2)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ping 192.168.4.1&lt;/span&gt;&lt;br /&gt;(Enviado do servidor da matriz)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;f) Teste a comunicação entre filial2 e Filial1 através do envio de Pings:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ping 192.168.3.1&lt;/span&gt;&lt;br /&gt;(Enviado do servidor da filial2)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ping 192.168.4.1&lt;/span&gt;&lt;br /&gt;(Enviado do servidor da filial1)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;ROTEAMENTO PARA REDE LOCAL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Apesar de todos os três servidores estarem comunicando-se através da VPN, se o objetivo é expandir o encaminhamento de pacotes para os terminais ligados nas redes e permitir a comunicação entre eles, como comentando anteriormente, é necessário à configuração dos servidores para permitir o repasse de pacotes das interfaces dos túneis a interface de rede local. Para tanto ativamos o repasse com o seguinte comando:&lt;br /&gt;&lt;br /&gt;Na matriz:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Na Filial1:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Na Filial2:&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Após completar esse passo as redes estarão se comunicando sem problemas, sendo que tarefas como compartilhamento de impressoras e arquivos já podem ser realizadas entre os micros das redes geograficamente separadas tranquilamente.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CONCLUSÃO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Utilizando a configuração desse tutorial a VPN estará roteando o tráfego. Isso elimina a transmissão de broadcast e protocolos da camada 2. A desvantagem é que como as redes estão em endereçamentos diferentes, alguns recursos da rede como instalação automática de impressoras do Cups ou de um servidor DHCP unificado para três redes não irão funcionar. Para esses casos podemos utilizar o pacote bridge-utils, e criar uma configuração tal em que todas as três redes estejam conectadas como se estivessem em uma mesma rede local. No entanto, isso irá aumentar drasticamente o tráfego tornando-se muitas vezes inviável. Na grande maioria dos casos a solução proposta nesse aqui é mais que suficiente, sendo que podemos limitar ainda mais o uso do túnel bloqueando tudo e liberando apenas as portas e protocolos necessários aos serviços que irão utilizar de fato a VPN.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;REFERÊNCIAS&lt;/span&gt;&lt;br style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;Morimoto, Carlos Eduardo. Servidores Linux – guia prático. Porto Alegre: Sul Editores,2009.&lt;br /&gt;&lt;br /&gt;HOWTO Open VPN. Disponível em: &lt;http: net=&quot;&quot; php=&quot;&quot; source=&quot;&quot; documentation=&quot;&quot; html=&quot;&quot;&gt; Acesso em: 21 jan. 2012.&lt;br /&gt;&lt;/http:&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/5758586965112613175/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2012/01/criando-tuneis-seguros-com-o-openvpn.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/5758586965112613175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/5758586965112613175'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2012/01/criando-tuneis-seguros-com-o-openvpn.html' title='CRIANDO TÚNEIS SEGUROS COM O OPEN VPN (Matriz – Filial1 – Filial2)'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDMFUhEF_UbHGBt2yOmALeEBGq0xKZZqkTCzX_jOh6AovkL5E2RB19KVa2c_RyPLuIJMZLWBu2XjzLJjjFshBqHKiIK9DLct7PY7Q8vXo1c5TibGE100G_D3pm6YZ1bc_z1-Oxdv4Motw/s72-c/Sem+t%25C3%25ADtulo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-6646470965122509222</id><published>2011-11-11T13:08:00.000-02:00</published><updated>2011-11-24T21:26:39.317-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eventos"/><title type='text'>Unisul TechDay 2011</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Finalmente um evento sem igual em nossa região onde tem como objetivo reunir profissionais dos mais diferentes ramos da área de tecnologia da informação.&lt;br /&gt;Com muito orgulho estarei participando dessa iniciativa protagonizada pelo especialista Rafael Meyer e por toda a equipe de tecnologia da Unisul de Tubarão.&lt;br /&gt;O evento acontecerá durante o dia 26 de novembro (sábado).&lt;br /&gt;Entre as diversas palestras, mini-palestras e mini-cursos do evento estarei ministrando a palestra de &lt;span style=&quot;font-weight: bold;&quot;&gt;Técnicas de recuperação de arquivos&lt;/span&gt; e o mini-curso de &lt;span style=&quot;font-weight: bold;&quot;&gt;Introdução ao Firewall em Linux (Iptables)&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Abaixo os links para os arquivos da palestra e mini-curso:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;a href=&quot;http://www.4shared.com/document/v-iYBZxO/apresentacao.html&quot;&gt;Técnicas de recuperação de arquivos&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.4shared.com/document/6nvSFwwz/Iptables.html&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;a href=&quot;http://www.4shared.com/document/6nvSFwwz/Iptables.html&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Introdução ao Firewall em Linux (Iptables)&lt;/span&gt;.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Maiores informações no site:&lt;br /&gt;&lt;a href=&quot;http://unisultechday.wordpress.com/organizacao/&quot;&gt;http://unisultechday.wordpress.com/organizacao/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Abraços!!&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/6646470965122509222/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/11/unisul-techday-2011.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/6646470965122509222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/6646470965122509222'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/11/unisul-techday-2011.html' title='Unisul TechDay 2011'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-3434579835452244423</id><published>2011-08-13T16:18:00.001-03:00</published><updated>2012-07-20T12:58:19.183-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>FTP Seguro com Proftpd + SSL tutorial rápido e prático (Parte2)</title><content type='html'>&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;INTRODUÇÃO&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/b&gt;  &lt;br /&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
Na parte 1 desse tutorial realizamos a configuração básica do proftpd e nos familiarizamos com alguns conceitos que nos fez entender melhor o seu funcionamento.
&lt;br /&gt;
Nessa parte do tutorial iremos implementar o FTPs, ou seja a transferência segura dos arquivos via FTP utilizando certificados.
&lt;br /&gt;
Esse tutorial é uma continuação dessa forma é necessário termos finalizado com êxito a parte anterior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://itnproducoes.blogspot.com/2011/08/ftp-seguro-com-proftpd-ssl-tutorial.html&quot;&gt;Link da parte 1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;Textbody&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;O QUE FOI UTILIZADO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
Além do que foi utilizado na parte 1 desse tutorial aqui iremos precisar do pacote &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Openssl &lt;/b&gt;que será utilizado para gerar os certificados&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;INSTALAÇÃO E CONFIGURAÇÃO&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Instale o pacote openssl:&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;font-family: courier new; text-align: justify;&quot;&gt;
#apt-get install openssl&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Crie uma pasta em &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;/etc/proftpd/certs &lt;/b&gt;e navegue até ela:&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;font-family: courier new; text-align: justify;&quot;&gt;
#mkdir /etc/proftpd/certs
&lt;br /&gt;
#cd /etc/proftpd/certs&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Utilize os comandos abaixo para gerar a chave primária, o pedido de assinatura, e o certificado:&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Obs: Esse comando irá pedir uma senha que deverá ser digitada para possibilitar a geração da chave privada.&lt;/i&gt;
&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;;&quot;&gt;#openssl genrsa -des3 -out server.key 1024&lt;/span&gt;
&lt;br /&gt;
&lt;i&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Obs: Esse comando irá pedir a mesma senha digitada na geração da chave privada.&lt;/i&gt;
&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;;&quot;&gt;#openssl rsa -in server.key -out server.key.insecure&lt;/span&gt;
&lt;br /&gt;
&lt;i&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Obs: Esse comando irá pedir uma série de informações que podem ser preenchidas ou simplesmente aceitarmos as opções default utilizando enter.&lt;/i&gt;&lt;span lang=&quot;EN-US&quot;&gt;
&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;#openssl req -new -key server.key.insecure -outform PEM -out server.csr&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Obs: Esse comando irá pedir a mesma senha digitada na geração da chave privada.&lt;/i&gt;
&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;;&quot;&gt;#openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Explicando:&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: courier new;&quot;&gt;server.key&lt;/span&gt; 1024 É a chave privada com criptografia de 1024 bits.&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;;&quot;&gt;server.key.insecure&lt;/span&gt;  É a mesma chave privada sem password, isso se faz necessário pelo simples fato de que se utilizarmos uma chave com password será necessário digitar a senha cada vez que o proftpd for inicializado.&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: courier new;&quot;&gt;server.csr&lt;/span&gt; É pedido de assinatura da certificação&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;;&quot;&gt;server.crt&lt;/span&gt; É o certificado auto-assinado.&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: courier new;&quot;&gt;-days 365&lt;/span&gt; É o tempo o qual o certificado será válido (365 dias = 1 ano), aumente se necessário.&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Com os certificados gerados localize as linhas abaixo em nosso arquivo de configuração do &lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;/etc/proftpd/proftpd.conf&lt;/i&gt; e retire os comentários para ativarmos o suporte ao FTPs:&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Textbody&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;LoadModule mod_sftp_pam.c
&lt;br /&gt;LoadModule mod_sftp.c&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Textbody&quot; style=&quot;font-family: arial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 100%;&quot;&gt;&amp;lt; IfModule mod_tls.c &amp;gt;
&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: courier new;&quot;&gt;&lt;ifmodule c=&quot;&quot;&gt;TLSEngine on
&lt;br /&gt;TLSRequired on
&lt;br /&gt;TLSVerifyClient off
&lt;br /&gt;TLSProtocol SSLv23
&lt;br /&gt;TLSLog /var/log/proftpd_tls.log
&lt;br /&gt;TLSRSACertificateFile /etc/proftpd/certs/server.crt
&lt;br /&gt;TLSRSACertificateKeyfile /etc/proftpd/certs/server.key.insecure
&lt;br /&gt;TLSRenegotiate required off
&lt;/ifmodule&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: courier new;&quot;&gt;&amp;lt; /IfModule &amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;font-family: courier new; text-align: justify;&quot;&gt;
Reinicie o servidor profptd:
&lt;br /&gt;
#/etc/init.d/proftpd restart&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;CONFIGURAÇÃO DOS CLIENTES.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
A transferência segura já está ativa, sendo assim você só conseguirá acessar o FTP com um cliente compatível e configurados corretamente.&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Para clientes Linux via linha de comando você pode utilizar o ftp-ssl:&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;font-family: courier new; text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;#apt-get install ftp-ssl
&lt;br /&gt;$ftp-ssl &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
E para linux e Windows graficamente o Filezilla que possui cliente para diversas plataformas, downloads no link abaixo:&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://filezilla-project.org/download.php?type=client&quot;&gt;http://filezilla-project.org/download.php?type=client&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Para o filezilla:&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
-Abra o gerenciador de sites;
&lt;br /&gt;
- Clique em novo site;
&lt;br /&gt;
- Host “ip do servidor”;
&lt;br /&gt;
- Protocolo escolha “FTP protocolo de transferência de arquivos”;
&lt;br /&gt;
- Encriptação “Requer FTP sobre TLS Explícito”;
&lt;br /&gt;
- Tipo de logon “normal”;
&lt;br /&gt;
- Usuário “suporte, itn2”;
&lt;br /&gt;
- Senha “correspondente ao usuário”;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
Veja a imagem abaixo:&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUSMAHGCxEOaknH42T8ngcZd5zjWroeXFZ5mP8nQE0i0BdVlyKU7QARvgt2MtyNns7XRp7ZQtYiulYltfKYiWeQDQ6y638xlfPnaNeTkqVt7ZMdqb4D3PBT1GGRYDtRYEdeevhB5cRJvg/s1600/proftpd.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5640433450710946850&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUSMAHGCxEOaknH42T8ngcZd5zjWroeXFZ5mP8nQE0i0BdVlyKU7QARvgt2MtyNns7XRp7ZQtYiulYltfKYiWeQDQ6y638xlfPnaNeTkqVt7ZMdqb4D3PBT1GGRYDtRYEdeevhB5cRJvg/s320/proftpd.jpg&quot; style=&quot;cursor: pointer; display: block; height: 318px; margin: 0px auto 10px; text-align: center; width: 443px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Obs: O login anônimo com ssl ativo não irá funcionar.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;CONCLUSÃO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
A implementação de FTP com transferência aqui mostrada foi bastante simples mas ao mesmo tempo oferece uma segurança considerável levando em consideração que estamos utilizando chaves criptografadas em 1024 bits.
&lt;br /&gt;
Espero que para aqueles que não possuíam familiaridade com ftps sobre a plataforma Linux consigam com esse tutorial utilizar o proftpd sem maiores problemas.&lt;br /&gt;
&lt;br /&gt;
Abraço a todos.&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;font-style: italic; text-align: justify;&quot;&gt;
Irineu Teza Nunes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;REFERÊNCIAS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: left;&quot;&gt;
MORIMOTO, Carlos. Instalando um servidor ftp. Disponível em: &amp;lt; http://www.hardware.co m.br/livros/servidores-linux/instalando-servidor-ftp.html &amp;gt; Acesso em: 08 de ago. 2011.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: left;&quot;&gt;
RIBEIRO, Pinguim. Proftpd + tls/ssl. Disponível em:&lt;http: com=&quot;&quot; ssl=&quot;&quot;&gt; Acesso em: 07 ago. 2011.&lt;/http:&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: left;&quot;&gt;
RIBEIRO, Pinguim. Certificados ssl auto-assinados. Disponível em: &amp;lt; http://pinguimribeiro.wikidot.com/ssl-cert-self &amp;gt; Acesso em: 07 ago. 2011.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: left;&quot;&gt;
LIST, of raw command. Disponível em: &amp;lt; http://www.nsftools.com/tips/RawFTP.htm &amp;gt;  Acesso em 08 ago. 2011.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot; style=&quot;text-align: left;&quot;&gt;
FILE, transference protocol. Disponível em: &amp;lt; http://en.wikipedia.org/wiki/File_Transfer_Protocol &amp;gt; Acesso em: 08 ago. 2011.
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/3434579835452244423/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/08/ftp-seguro-com-proftpd-ssl-tutorial_13.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/3434579835452244423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/3434579835452244423'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/08/ftp-seguro-com-proftpd-ssl-tutorial_13.html' title='FTP Seguro com Proftpd + SSL tutorial rápido e prático (Parte2)'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUSMAHGCxEOaknH42T8ngcZd5zjWroeXFZ5mP8nQE0i0BdVlyKU7QARvgt2MtyNns7XRp7ZQtYiulYltfKYiWeQDQ6y638xlfPnaNeTkqVt7ZMdqb4D3PBT1GGRYDtRYEdeevhB5cRJvg/s72-c/proftpd.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-5462705111523872229</id><published>2011-08-12T16:27:00.000-03:00</published><updated>2011-08-13T17:14:33.145-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>FTP Seguro com Proftpd + SSL tutorial rápido e prático (Parte1)</title><content type='html'>&lt;b&gt;INTRODUÇÃO&lt;/b&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;   O ftp é um dos serviços mais antigos e utilizados na internet para troca de arquivos entre servidores e clientes. Devido ao fato de ter sido projetado inicialmente apenas como uma maneira fácil de disponibilizar os arquivos online, não utilizava a transferência segura criada mais tarde com o nome de FTPS (não confundir com SFTP que utiliza o protocolo ssh). O FTPS nada mais é que um FTP que utiliza a transferência de arquivos entre o cliente e servidor de forma criptografada dificultando e impedindo a coleta de dados como senha e nome de usuários com programas &lt;i&gt;sniffers&lt;/i&gt;. Apesar de o FTP sem transferência segura ser muito utilizado, as vezes torna-se necessário a implantação do FTPs em empresas que precisam de sigilos entre as informações e dados trocados via ftp.  &lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;   Neste tutorial estaremos abordando uma forma simples de utilizar o servidor Proftpd tanto como um ftp normal ou implementando a transferência segura através de chaves SSL.&lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;b&gt;O QUE FOI UTILIZADO&lt;/b&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;   Para esse tutorial foram utilizados o &lt;b&gt;Ubuntu Server 11.04&lt;/b&gt; rodando o servidor &lt;b&gt;Proftpd&lt;/b&gt; e para os clientes o &lt;b&gt;Filezilla&lt;/b&gt; e o &lt;b&gt;Ftp-ssh&lt;/b&gt; (este ultimo é um cliente ftp seguro por linha de comando para Linux). Apesar de ter sido utilizado o Ubuntu Server nesse tutorial, o servidor Proftpd pode ser utilizado praticamente em qualquer distribuição Linux, sendo que na maioria das vezes ele já vem pré instalado na distribuição.&lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;b&gt;INSTALANDO E CONFIGURANDO O SERVIDOR PROFTPD&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;Para instalar o &lt;b&gt;Proftpd&lt;/b&gt; como root execute o comando:&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;#apt-get install proftpd&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;Nas perguntas feitas pelo configurador mantenha as respostas padrões.&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;Renomei o arquivo &lt;i&gt;/etc/proftpd/proftpd.conf&lt;/i&gt; para &lt;i&gt;/etc/proftpd/proftpd.conf.backup&lt;/i&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span style=&quot;font-size: 11pt;font-size:85%;&quot; &gt;#mv /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf.backup&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;Cria um novo arquivo &lt;i&gt;proftpd.conf&lt;/i&gt;:  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;#mcedit /etc/proftpd/proftpd.conf&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;Digite o seguinte conteúdo no arquivo criado:&lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;/span&gt;&lt;/p&gt;    	 	 	 	&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:hyphenationzone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;PT-BR&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:donotoptimizeforbrowser/&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Tabela normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:none; 	mso-hyphenate:none; 	text-autospace:ideograph-other; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class=&quot;Textbody&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-bidi-Lohit Hindi&amp;quot;; mso-ansi-language:EN-USfont-family:&amp;quot;;&quot;  lang=&quot;EN-US&quot;&gt;#Carrega módulos adicionais do proftpd&lt;br /&gt;LoadModule mod_ctrls_admin.c&lt;br /&gt;LoadModule mod_tls.c&lt;br /&gt;LoadModule mod_radius.c&lt;br /&gt;LoadModule mod_quotatab.c&lt;br /&gt;LoadModule mod_quotatab_file.c&lt;br /&gt;LoadModule mod_quotatab_radius.c&lt;br /&gt;LoadModule mod_wrap.c&lt;br /&gt;LoadModule mod_rewrite.c&lt;br /&gt;LoadModule mod_load.c&lt;br /&gt;LoadModule mod_ban.c&lt;br /&gt;LoadModule mod_wrap2.c&lt;br /&gt;LoadModule mod_wrap2_file.c&lt;br /&gt;LoadModule mod_dynmasq.c&lt;br /&gt;LoadModule mod_vroot.c&lt;br /&gt;LoadModule mod_exec.c&lt;br /&gt;LoadModule mod_shaper.c&lt;br /&gt;LoadModule mod_ratio.c&lt;br /&gt;LoadModule mod_site_misc.c&lt;br /&gt;#LoadModule mod_sftp.c&lt;br /&gt;#LoadModule mod_sftp_pam.c&lt;br /&gt;LoadModule mod_facl.c&lt;br /&gt;LoadModule mod_unique_id.c&lt;br /&gt;LoadModule mod_ifsession.c&lt;/span&gt;&lt;/p&gt;    &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;#Configuracao principal do servidor&lt;br /&gt;ServerType standalone&lt;br /&gt;DefaultServer on&lt;br /&gt;Umask 022&lt;br /&gt;&lt;span lang=&quot;en-US&quot;&gt;ServerName &quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;ITN SERVER FTP&quot;&lt;/span&gt;&lt;br /&gt;ServerIdent on &quot;Bem vindo ao ITN Server FTP&quot;&lt;br /&gt;ServerAdmin itn@localhost&lt;br /&gt;IdentLookups off&lt;br /&gt;UseReverseDNS off&lt;br /&gt;Port 21&lt;br /&gt;PassivePorts 60000 62000&lt;br /&gt;DefaultRoot ~&lt;br /&gt;TimesGMT off&lt;br /&gt;MaxInstances 30&lt;br /&gt;MaxLoginAttempts 3&lt;br /&gt;TimeoutLogin 300&lt;br /&gt;TimeoutNoTransfer 120&lt;br /&gt;TimeoutIdle 120&lt;br /&gt;DisplayLogin welcome.msg&lt;br /&gt;DisplayChdir .message&lt;br /&gt;User nobody&lt;br /&gt;Group nobody&lt;br /&gt;DirFakeUser off nobody&lt;br /&gt;DirFakeGroup off nobody&lt;br /&gt;DefaultTransferMode binary&lt;br /&gt;AllowForeignAddress off&lt;br /&gt;AllowRetrieveRestart on&lt;br /&gt;AllowStoreRestart on&lt;br /&gt;DeleteAbortedStores off&lt;br /&gt;TransferRate RETR 220&lt;br /&gt;TransferRate STOR 250&lt;br /&gt;TransferRate STOU 250&lt;br /&gt;TransferRate APPE 250&lt;br /&gt;SystemLog /var/log/secure&lt;br /&gt;RequireValidShell off&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;#Para utilizacao de certificados SSL/TLS&lt;br /&gt;#&amp;lt;IfModule mod_tls.c&amp;gt;&lt;br /&gt;#TLSEngine on&lt;br /&gt;#TLSRequired on&lt;br /&gt;#TLSVerifyClient off&lt;br /&gt;#TLSProtocol SSLv23&lt;br /&gt;#TLSLog /var/log/proftpd_tls.log&lt;br /&gt;#TLSRSACertificateFile /etc/proftpd/certs/server.crt&lt;br /&gt;#TLSRSACertificateKeyfile /etc/proftpd/certs/server.key.insecure&lt;br /&gt;#TLSRenegotiate required off&lt;br /&gt;#&amp;lt;/IfModule&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;IfModule mod_ratio.c&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;Ratios off&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;SaveRatios off&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;RatioFile &quot;/restricted/proftpd_ratios&quot;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;RatioTempFile &quot;/restricted/proftpd_ratios_temp&quot;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;CwdRatioMsg &quot;Please upload first!&quot;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;FileRatioErrMsg &quot;FileRatio limit exceeded, upload something first...&quot;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;ByteRatioErrMsg &quot;ByteRatio limit exceeded, upload something first...&quot;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;LeechRatioMsg &quot;Your ratio is unlimited.&quot;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;/IfModule&amp;gt;&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;#Apenas se o usuario for acessar seu home via ftp&lt;br /&gt;&amp;lt;Limit LOGIN&amp;gt;&lt;br /&gt;&lt;span lang=&quot;en-US&quot;&gt;#AllowUser usuarioComHome1&lt;br /&gt;#AllowUser usuarioComHome2&lt;br /&gt;#AllowUser usuarioComHome3&lt;br /&gt;DenyALL &lt;/span&gt;&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&amp;lt;Anonymous /ftp/anonimo&amp;gt;&lt;br /&gt;User anonymous&lt;br /&gt;Group ftp&lt;br /&gt;AnonRequirePassword off&lt;br /&gt;MaxClients 10 &quot;The server is full, hosting %m users&quot;&lt;br /&gt;DisplayLogin welcome.msg&lt;br /&gt;DisplayChdir .msg&lt;br /&gt;UserRatio anonymous 0 0 0 0&lt;br /&gt;&amp;lt;Limit LOGIN&amp;gt;&lt;br /&gt;Allow from All&lt;br /&gt;Deny from all&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;AllowOverwrite off&lt;br /&gt;&lt;span lang=&quot;en-US&quot;&gt;&amp;lt;Limit LIST NLST &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;RETR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP&amp;gt;&lt;/span&gt;&lt;br /&gt;AllowAll&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;&amp;lt;Limit STOR STOU  APPE  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM&amp;gt;&lt;br /&gt;&lt;span lang=&quot;en-US&quot;&gt;DenyAll&lt;/span&gt;&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;&amp;lt;/Anonymous&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&amp;lt;Anonymous /ftp/suporte&amp;gt;&lt;br /&gt;User suporte&lt;br /&gt;Group ftp&lt;br /&gt;AnonRequirePassword on&lt;br /&gt;MaxClients 10 &quot;The server is full, hosting %m users&quot;&lt;br /&gt;DisplayLogin welcome.msg&lt;br /&gt;DisplayChdir .msg&lt;br /&gt;UserRatio suporte 0 0 0 0&lt;br /&gt;&amp;lt;Limit LOGIN&amp;gt;&lt;br /&gt;Allow from All&lt;br /&gt;Deny from all&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;AllowOverwrite off&lt;br /&gt;&amp;lt;Limit LIST NLST  RETR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP&amp;gt;&lt;br /&gt;AllowAll&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;&amp;lt;Limit STOR STOU  APPE  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM&amp;gt;&lt;br /&gt;&lt;span lang=&quot;en-US&quot;&gt;DenyAll&lt;/span&gt;&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;&amp;lt;/Anonymous&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;Anonymous /ftp&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;User itn2&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;br /&gt;Group &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;ftp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;AnonRequirePassword on&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;MaxClients 10 &quot;The server is full, hosting %m users&quot;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;DisplayLogin welcome.msg&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;DisplayChdir .msg&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;UserRatio itn 0 0 0 0&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;Limit LOGIN&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;Allow from All&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;Deny from all&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;AllowOverwrite on&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;Limit LIST NLST  STOR STOU  APPE  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;br /&gt;AllowAll&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;Limit NOTHING&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;br /&gt;DenyAll&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt;/Anonymous&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Calma a configuração não é tão complicada quanto possa parecer de início :D.&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;Vejamos as linhas principais:&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;ServerType standalone&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Modo como o servidor irá se comportar (standalone ou inetd). Segundo Morimoto (2010) O &lt;b&gt;standalone&lt;/b&gt; é mais seguro e mais rápido, enquanto &lt;b&gt;o inetd&lt;/b&gt; faz com que ele fique ativo apenas quando acessado, economizando cerca de 400 KB de memória RAM (que fazem pouca diferença hoje em dia).&lt;/div&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;MaxInstances 30&lt;/span&gt;&lt;br /&gt;Diz respeito ao número de conexões simultâneas que serão aceitas pelo servidor.&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;ServerName &quot;ITN SERVER FTP&quot; &lt;/span&gt;&lt;br /&gt;Nome do servidor FTP que será apresentado aos clientes ao se conectarem.&lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;ServerAdmin itn@localhost &lt;/span&gt;&lt;br /&gt;Email do administrador do sistema.&lt;/p&gt;   &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;Port 21 &lt;/span&gt;&lt;br /&gt;Porta que será utilizada para escuta das conexões (padrão do FTP é 21).&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;PassivePorts 60000 62000 &lt;/span&gt;&lt;br /&gt;Configuração das portas utilizadas pelo ftp passivo (devem estar abertas no firewall).&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;DefaultRoot ~  &lt;/span&gt;&lt;br /&gt;Opção importante de segurança que restringe os usuários ao acesso ao seu próprio home.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;ServerIdent on &quot;Bem vindo ao ITN Server FTP&quot; &lt;/span&gt;&lt;br /&gt;Configuração da mensagem que será mostrada aos clientes ao se conectarem.&lt;/p&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;User nobody&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;Group nobody&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Com essas duas linhas definimos que as instâncias do servidor Proftpd serão executar com privilégios restritos impedindo um comprometimento do sistema caso seja detectada uma falha grave. &lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;#LoadModule mod_sftp_pam.c&lt;br /&gt;#LoadModule mod_sftp.c&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Carrega módulos necessários para ativar o SFTP.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;	 	 	 	&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;#Para utilizacao de certificados SSL/TLS&lt;br /&gt;#&amp;lt; IfModule mod_tls.c &amp;gt;&lt;br /&gt;#TLSEngine on&lt;br /&gt;#TLSRequired on&lt;br /&gt;#TLSVerifyClient off&lt;br /&gt;#TLSProtocol SSLv23&lt;br /&gt;#TLSLog /var/log/proftpd_tls.log&lt;br /&gt;#TLSRSACertificateFile /etc/proftpd/certs/server.crt&lt;br /&gt;#TLSRSACertificateKeyfile /etc/proftpd/certs/server.key.insecure&lt;br /&gt;#TLSRenegotiate required off&lt;br /&gt;#&amp;lt; /IfModule &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Essas linhas serão utilizadas quando configuramos o FTP para transferência segura. Para um FTP normal mantenha essas linhas comentadas.  &lt;/div&gt;   	 	 	 	&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;#Apenas se o usuario for acessar seu home via ftp&lt;br /&gt;&amp;lt; Limit LOGIN &amp;gt;&lt;br /&gt;&lt;span lang=&quot;en-US&quot;&gt;#AllowUser usuarioComHome1&lt;br /&gt;#AllowUser usuarioComHome2&lt;br /&gt;#AllowUser usuarioComHome3&lt;br /&gt;DenyALL&lt;/span&gt;&lt;br /&gt;&amp;lt; /Limit &amp;gt; &lt;/span&gt;&lt;br /&gt;Caso você queira que um usuário possa acessar sua pasta home via FTP inclua aqui &lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;AllowUser “nomeDoUsuario”&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt; nesta tag.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;Na tag:&lt;/p&gt;   	 	 	 	&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&amp;lt; Anonymous /ftp/anonimo &amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Definimos as pastas efetivamente compartilhadas pelo ftp e dentro delas quem tem permissão de acessar ou não as pastas bem como o que pode ser feito ou não dentro da pasta. No exemplo de configuração a pasta &lt;b&gt;/ftp/anonimo &lt;/b&gt;pode ser acessado por login anônimos (mas apenas para downloads). Isso é definido pelas linhas:&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;User anonymous&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;Group ftp&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;AnonRequirePassword off&lt;/span&gt;&lt;/div&gt;   	 	 	 	&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;A principal diferença da tag:&lt;br /&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&amp;lt; Anonymous /ftp/anonimo &amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;Para as tags:&lt;br /&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&amp;lt; Anonymous /ftp/suporte &amp;gt;&lt;br /&gt;&amp;lt; Anonymous /ftp &amp;gt;&lt;/span&gt;&lt;br /&gt;é que nessas duas últimas é necessário que o usuário entre com a senha para autenticação no servidor. Isso é definido pela opção:&lt;br /&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;AnonRequirePassword on&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;Com a linha abaixo definimos os comandos que o usuário anônimo pode executar. Entre eles o download de arquivos:&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt; Limit LIST NLST RETR PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP &amp;gt;&lt;br /&gt;&lt;span lang=&quot;en-US&quot;&gt;AllowAll&lt;/span&gt;&lt;br /&gt;&amp;lt; /Limit &amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;br /&gt;Já com a linha abaixo definimos os comandos que o usuário anônimo pode não pode executar. Entre apagar arquivos, criar pastas, e executar uploads:&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;&amp;lt; Limit STOR STOU  APPE  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM &amp;gt;&lt;br /&gt;DenyAll&lt;br /&gt;&amp;lt; /Limit &amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt; &lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-weight: bold;font-size:100%;color:#ff0000;&quot;  &gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;i&gt;Veja ao final desse artigo uma lista de alguns dos comandos FTP utilizados nesse artigo.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;De maneira resumida com esse exemplo de arquivo de configuração, o usuário &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;b&gt;anonymous&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt; pode apenas executar download da pasta &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;b&gt;/ftp/anonimo&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;. O&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt; usuário &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;b&gt;suporte &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt; pode executar&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;b&gt; download &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;da pasta&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;b&gt; /ftp/suporte&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;. Já&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt; o usuário &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;b&gt;itn2&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt; tem permissão completa (upload, downloads, renomear ou remover arquivos, etc), seria como um administrador do ftp, que pode acessar a raiz &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;b&gt;/ftp &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;e fazer as modificações necessárias&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-style: normal&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;b&gt;CRIANDO AS PASTAS, GRUPO E USUÁRIOS PARA O USO DO FTP.&lt;/b&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;Precisamos criar o &lt;i&gt;grupo ftp&lt;/i&gt; e &lt;i&gt;os usuários&lt;/i&gt; que fazem parte desse grupo para que acessem o FTP. No entanto esses usuários não devem ter permissão para logarem no servidor como usuários comuns.  Para tanto execute seguintes comandos:&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;Cria o grupo ftp&lt;br /&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;# addgroup ftp&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;Cria os usuários sem pasta home e com shell desativado:&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;adduser itn2 --shell /bin/false --no-create-home&lt;br /&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;adduser suporte --shell /bin/false --no-create-home&lt;br /&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;adduser anonymous --shell /bin/false –no-create-home&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;Adiciona os usuário ao grupo ftp&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot; lang=&quot;en-US&quot;&gt; &lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;# adduser itn2 ftp&lt;br /&gt;# adduser suporte ftp&lt;br /&gt;# adduser anonymous ftp&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;Agora vamos criar as pastas raiz do ftp, do usuário anonymous e do suporte definidos nas tags correspondentes no arquivo de configuração:&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;# mkdir /ftp&lt;br /&gt;# mkdir /ftp/anonimo&lt;br /&gt;# mkdir /ftp/suporte&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Vamos ajustar a permissão das pastas:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Define o grupo ftp como dono do diretório &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;b&gt;/ftp&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt; e todos seus subdiretórios (opção -R)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;# chown -R ftp.ftp /ftp&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Define permissão total para o grupo ftp do diretório &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;b&gt;/ftp&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt; e todos seus subdiretórios (opção -R)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;# chmod 575 -R /ftp&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;Basta agora liberamos as portas &lt;b&gt;21&lt;/b&gt; bem como as portas &lt;b&gt;60000 ao 62000&lt;/b&gt; no firewall. Se você utiliza o Iptables adicione as seguintes linhas no seu script:&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;iptables –A INPUT –p tcp --dport 21 –j ACCEPT&lt;br /&gt;iptables –A INPUT –p tcp --dport 60000:62000 –j ACCEPT&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;span lang=&quot;en-US&quot;&gt;Reinicie o servidor proftpd&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;br /&gt;#/etc/init.d/proftpd restart&lt;/span&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Caso você receba um erro &lt;span style=&quot;font-weight: bold;&quot;&gt;de grupo nobody não encontrado&lt;/span&gt;, ao iniciar o servidor proftpd crie o  grupo nobody com o comando abaixo e torne a reiniciar o proftpd:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# addgroup nobody&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;#/etc/init.d/proftpd restart&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; lang=&quot;en-US&quot;&gt;&lt;b&gt;COMANDOS FTP PADRONIZADOS&lt;/b&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;Os comandos abaixo dizem respeito a comandos FTP padronizados pela RFC 959, os quais irão aparecer nas tags &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;&lt;limit&gt;&lt;/limit&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt; do nosso arquivo de configuração. Você pode achar estanho a ausência na lista de comandos como &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;b&gt;get&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt; por exemplo, isso irá acontecer porque o get é considerado um comando de usuário utilizado pelas aplicações ftp que indicam a requisição do download de um arquivo do servidor, no entanto o comando get é representado dentro da padronização pelo &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;b&gt;retr&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Vejamos abaixo alguns comandos que podem ser adicionados nas tags &lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;&lt;limit&gt;&lt;/limit&gt;&lt;/span&gt; afim de permitir ou negar que determinado usuário execute determinada ação:&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;list&lt;/span&gt; Permite que o usuário liste os arquivos dos diretórios.&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;nlst &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Lista o nome dos diretórios.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;retr &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Executa o download de um arquivo.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;pwd &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Mostra o diretório atual.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;size &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Permite o retorno do tamanho de um arquivo em decimal.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;stat &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Retorna informações sobre o servidor.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;cwd &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Permite definir o diretório inicial no ato da conexão.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;cdup &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Marca o diretório acessado como diretório raiz para os demais.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;stor, stou&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt; Permitem iniciar o upload de arquivos.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;appe&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;  Utilizado para acrescentar informações ao final de um arquivo.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;rnfr, rnto &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;Utilizados para renomear  arquivos.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;dele&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt; Utilizado para exclusão de arquivos.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Courier New, monospace;&quot;&gt;mkd&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt; Utilizado para criar diretórios.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;JUSTIFY&quot;&gt;&lt;b&gt;CONCLUSÃO&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;Com a parte 1 desse tutorial nosso servidor FTP já está no ar e pronto para ser utilizado, podendo ser acessado normalmente por qualquer cliente FTP (mesmo que não possua suporte a conexão segura SSL como o &lt;b&gt;Firezilla&lt;/b&gt; ou o &lt;b&gt;Ftp-ssl&lt;/b&gt;, isto porque iremos implementar a transferência segura SSL na parte 2.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;Não percam a continuação…&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;a href=&quot;http://itnproducoes.blogspot.com/2011/08/ftp-seguro-com-proftpd-ssl-tutorial_13.html&quot;&gt;Link Parte 2&lt;/a&gt;&lt;br /&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;b&gt;REFERÊNCIAS&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: left;&quot;&gt;FILE, transference protocol. Disponível em: &amp;lt; http://en.wikipedia.org/wiki/File_Transfer_Protocol &amp;gt; Acesso em: 08 ago. 2011.&lt;/p&gt;   	 	 	 	&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt;&lt;/style&gt;   	 	 	 	&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: left;&quot;&gt;MORIMOTO, Carlos. Instalando um servidor ftp. Disponível em: &amp;lt; http://www.hardware.co m.br/livros/servidores-linux/instalando-servidor-ftp.html &amp;gt; Acesso em: 08 de ago. 2011.&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot;&gt;RIBEIRO, Pinguim. Proftpd + tls/ssl. Disponível em:&amp;lt; http://pinguimribeiro.wikidot.com/proftpd-tls-ssl &amp;gt; Acesso em: 07 ago. 2011.&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; font-weight: normal&quot; align=&quot;LEFT&quot;&gt; RIBEIRO, Pinguim. Certificados ssl auto-assinados. Disponível em: &amp;lt; http://pinguimribeiro.wikidot.com/ssl-cert-self &amp;gt; Acesso em: 07 ago. 2011.&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm&quot; align=&quot;LEFT&quot;&gt;LIST, of raw command. Disponível em: &amp;lt; http://www.nsftools.com/tips/RawFTP.htm &amp;gt;  Acesso em 08 ago. 2011.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/5462705111523872229/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/08/ftp-seguro-com-proftpd-ssl-tutorial.html#comment-form' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/5462705111523872229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/5462705111523872229'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/08/ftp-seguro-com-proftpd-ssl-tutorial.html' title='FTP Seguro com Proftpd + SSL tutorial rápido e prático (Parte1)'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-4519692662799873870</id><published>2011-07-30T11:02:00.000-03:00</published><updated>2011-07-30T11:12:53.184-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>Port knocking + Iptables fechando portas abertas a internet</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:hyphenationzone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;PT-BR&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Tabela normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:&quot;Times New Roman&quot;;  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Introdução.&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p style=&quot;text-align: justify;&quot; class=&quot;MsoNormal&quot;&gt;Você já se preocupou com a quantidade de portas abertas no firewall da sua empresa, a porta 22 precisa para o acesso SSH, a 3389 para o terminal Server, a 5900 para o VNC?&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Claro que a gente não se preocupa isso é bobagem, afinal nós profissionais de TI sempre temos pouca coisa para fazer e estamos constantemente trocando senhas de todos os serviços, atualizando o sistema, monitorando logs, e usamos tunelamento*. Além disso, não usamos portas padrões para o ssh, ele está rodando na porta “60500” e nenhum Hacker* irá descobrir isso :D. Bom brincadeiras a parte afinal em qualquer chat de Stripts* a palavra&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;nmap* rola solta.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Sabemos no entanto que é praticamente impossível não possuir nenhuma porta aberta para o uso externo. Afinal temos servidores pop (porta 110), smtp (porta 25), e o próprio servidor web (porta 80) que devem estar “bem abertas” para o acesso. No entanto podemos minimizar o problema abrindo outras portas apenas quando realmente for necessário.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;A idéia de um Port knocking é exatamente essa. As portas de serviços como o do Ssh ficam fechadas para acesso externo até segunda ordem a não ser que você solicite a abertura.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 2cm; line-height: 18.15pt; text-align: justify;&quot;&gt;&lt;i&gt;*Tunelamento resumidamente seria a conexão entre duas máquinas utilizando-se de uma porta qualquer onde podem trafegar informações de qualquer serviço mesmo que utilizem outra porta. Um bom exemplo de protocolo que suporta tunelamento é o Security Shell (ssh).&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 2cm; line-height: 18.15pt; text-align: justify;&quot;&gt;&lt;i&gt;*Hacker diz respeito ao usuário que estuda um sistema ou hardware de computador, procurar entender seu mecanismo e como ele funciona a fim de aperfeiçoá-lo. Ao contrário do que divulga a mídia onde o Hacker é o usuário que invade sistemas e os danifica, ela está se referindo na verdade ao Cracker. Um Hacker pode invadi um sistema a fim de apontar falhas a serem corrigidas no entanto jamais causará prejuízos ou roubo de informações sigilosas. &lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 2cm; line-height: 18.15pt; text-align: justify;&quot;&gt;&lt;i&gt;*Scripts antigamente denominado de Lamer é o usuário que apesar de não compreender exatamente como um sistema ou mecanismo funciona utiliza-se de ferramentas criadas por outros. Esses causam prejuízos, danificam sistemas com o único intuito de ganhar fama ou dinheiro.&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 2cm; line-height: 18.15pt; text-align: justify;&quot;&gt;&lt;i&gt;*Nmap software utilizado para escaneamento de redes a procura de informações diversas de um host.&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 2cm; line-height: 18.15pt; text-align: justify;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:hyphenationzone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;PT-BR&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Tabela normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:&quot;Times New Roman&quot;;  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Knockd&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;O knockd é um servidor port knoking que utiliza a lógica de combinações de portas, ou seja, caso uma tentativa de conexão externa respeite uma lógica de portas previamente definidas, a porta realmente requerida será aberta. &lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Um serviço &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;knockd&lt;/b&gt; fica ativo em seu servidor monitorando todas as tentativas de conexões externas, caso a ordem das tentativas de conexões em portas distintas respeitem a ordem definida no seu arquivo de configuração uma regra é ativada e adicionada ao firewall.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Imaginamos que precisamos acesso a porta 3389, tentaremos inicialmente a conexão no servidor pelas portas 5000, 6000 e 7000 respectivamente (também fechadas), o serviço &lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;knockd&lt;/b&gt; estará monitorando essa tentativa e disparando a regra correspondente liberando acesso a porta 3389 no firewall.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Da mesma forma que a porta é aberta após finalizarmos a conexão uma outra regra é definida para fechar a porta.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt; &lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;O que foi utilizado&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Para esse tutorial foram utilizados os sistemas &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Ubuntu server 11.04&lt;/b&gt; configurado como firewall&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;que possui duas placas de redes uma para acesso da internet e outro para a rede local, uma máquina cliente da rede local com &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Windows 2008 R2, ip 192.168.1.18, &lt;/b&gt;rodando o Terminal Server na porta&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt; 3389&lt;/b&gt; (“Windows com W viu :)”) e uma maquina externa a rede &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Windows Seven&lt;/b&gt; que irá acessar o TS da internet.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Nosso objetivo será manter a porta 3389 fechada para acesso externo no firewall e abri-la &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;apenas&lt;/b&gt; (não para toda a internet) ao cliente externo que entrou com a seqüência de portas definidas no arquivo de configuração do knocking.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt; &lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Instalação e configuração do servidor&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Para instalar o knockd como root digite:&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;#apt-get install knockd&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Edite o arquivo de configuração:&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;# mcedit /etc/knockd.conf&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;Apague o conteúdo padrão do arquivo e preencha com o seguinte conteúdo:&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;#--INICIO--#&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;[options]&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;UseSyslog&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;[OPENTS2003]&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;sequence = 7000,8000,9000&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;seq_timeout = 5&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;command = /sbin/iptables -t nat -A PREROUTING -p tcp -i eth0&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;--dport 3389 -j DNAT -s %IP% --to 192.168.1.18&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;tcpflags = syn&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;[CLOSETS2003]&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;sequence = 9000,8000,7000&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;seq_timeout = 5&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;command = sbin/iptables -t nat -D PREROUTING -p tcp -i eth0 --dport 3389 -j DNAT -s %IP% --to 192.168.1.18&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;tcpflags&lt;span style=&quot;mso-spacerun:yes&quot;&gt;    &lt;/span&gt;= syn&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;#--FIM--#&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;As linhas mais importantes desse arquivo são:&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;sequence = 7000,8000,9000&lt;/span&gt;&lt;br /&gt;é onde definimos a seqüência de portas tcp que devem respeitada para a adição da regra da linha &lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;command = /sbin/iptables -t nat -A PREROUTING -p tcp -i eth0&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;--dport 3389 -j DNAT -s %IP% --to 192.168.1.18 &lt;/span&gt;&lt;/i&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;no firewall.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;sequence = 9000,8000,7000&lt;/span&gt; é onde definimos a seqüência de portas tcp que devem respeitada para a remoção da regra da linha &lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;command = /sbin/iptables -t nat -D PREROUTING -p tcp -i eth0&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;--dport 3389 -j DNAT -s %IP% --to 192.168.1.18 &lt;/span&gt;&lt;/i&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;do firewall.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;&quot; lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;/span&gt;Execute o knockd com o seguinte comando:&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;knockd –i eth0 –d –c /etc/knockd.conf&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;Obs: Neste tutorial considere &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;eth0&lt;/b&gt; a placa do firewall ligada à internet.&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Dicas:&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;*Você pode adicionar no final do arquivo &lt;/span&gt;&lt;/i&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;/etc/rc.local&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;mso-bidi-font-style: normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; o comando&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-style: italic;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;knockd –i eth0 –d –c /etc/knockd.conf &lt;/span&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;afim de o serviço do knocking iniciar junto com o servidor.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;*Podem ser adicionadas novas regras OPEN e CLOSE no arquivo de configuração do knocking.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Configuração o cliente knockd no Windows&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Com o servidor em pleno funcionamento vamos baixar o cliente knockd para Windows e criar um pequeno script para executá-lo e disparar a solicitação de abertura da porta 3389 ao servidor além de abrir o cliente do Terminal Server para acesso.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Baixe o cliente knock para Windows no link abaixo:&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;a href=&quot;http://www.zeroflux.org/proj/knock/files/knock-win32.zip&quot;&gt;http://www.zeroflux.org/proj/knock/files/knock-win32.zip&lt;/a&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Cria uma pasta no c:\ com o nome de &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;knockcli&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Descompacte o arquivo baixado, entre na pasta Release e copie o executável &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;knock.exe&lt;/b&gt; para a pasta &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;c:\knockcli&lt;/i&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Abra o bloco de notas e digite o seguinte conteúdo:&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;c:&lt;br /&gt;cd\&lt;br /&gt;cd knockcli&lt;br /&gt;knock “ipdoservidor” 7000:tcp 8000:tcp 9000:tcp&lt;br /&gt;cls&lt;br /&gt;echo &quot;Mantenha essa janela aberta&quot;&lt;br /&gt;%windir%\system32\mstsc.exe&lt;br /&gt;knock “ipdoservidor” 9000:tcp 8000:tcp 7000:tcp&lt;/span&gt; &lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Salve com o arquivo com o nome de &lt;b style=&quot;&quot;&gt;iniciaTS.cmd&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;mso-bidi-font-size: 11.0pt&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Configuração o cliente knockd em uma máquina Linux (Ubuntu).&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Para instalar cliente do knockd no Linux o comando é o mesmo do servidor, como root:&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;#apt-get install knockd&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Podemos agora criar um pequeno script que irá executar o cliente knocking, abrir o cliente TS (Rdesktop) e ao término da sessão do TS fechar a porta novamente.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Em um terminal crie o arquivo exemplo.sh no diretório de sua preferência (não precisa ser como root):&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;$ mcedit /home/itn/exemplo.sh&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Adicione o seguinte conteúdo ao arquivo:&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;#!/bin/bash&lt;br /&gt;knock “ipdoservidor” 7000:tcp 8000:tcp 9000:tcp&lt;br /&gt;rdesktop “ipdoservidor”&lt;br /&gt;knock “ipdoservidor” 9000:tcp 8000:tcp 7000:tcp&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;As linhas&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;knock “ipdoservidor” 7000:tcp 8000:tcp 9000:tcp &lt;/span&gt;&lt;/i&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;é a seqüência de solicitação de conexão de&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;portas definidas no servidor para abrir a porta 3389.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt; &lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;knock “ipdoservidor” 9000:tcp 8000:tcp 7000:tcp &lt;/span&gt;&lt;/i&gt;&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;é a seqüência de solicitação de conexão de&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;portas definidas no servidor para fechamento da porta 3389.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;&lt;/span&gt;Marque o arquivo como executável:&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;$ chmod +x /home/itn/exemplo.sh&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;; mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;Execute o arquivo (clicando sobre ou via terminal).&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;$ /home/itn/exemplo.sh&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Conclusão&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;Esse tutorial foi uma pequena demonstração do uso prático de um Port knocking, sendo que o limite para o seu uso é a imaginação. &lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;Concluímos também que com esse pequeno guia podemos dormir mais tranqüilos sabendo que a “temida” porta 3389 está fechada dando um pouco mais de dor de cabeça ao Scripts, Hacker ou curiosos de plantão .&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Referências&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;KNOCKD, a port-knocking server. &lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;Disponível em: &lt;http: org=&quot;&quot; projects=&quot;&quot; knock=&quot;&quot;&gt; Acesso em: 29 jul. 2011.&lt;/http:&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/4519692662799873870/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/port-knocking-iptables-fechando-portas.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/4519692662799873870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/4519692662799873870'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/port-knocking-iptables-fechando-portas.html' title='Port knocking + Iptables fechando portas abertas a internet'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-894363293385184982</id><published>2011-07-29T12:57:00.000-03:00</published><updated>2011-07-29T13:28:15.736-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>Cfengine tutorial prático de instalação cliente – servidor.</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:relyonvml/&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:hyphenationzone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;PT-BR&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Tabela normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:&quot;Times New Roman&quot;;  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Introdução&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt; Cfengine é um software utilizado para automatizar tarefas como instalação de programas e configurações de serviços em máquinas clientes de forma centralizada e controlada agilizando e otimizando o trabalho do profissional de TI. &lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;O objetivo deste tutorial é demonstrar de maneira prática a instalação e configuração básica de um servidor Cfengine e de seus clientes, utilizando comunicação segura através de chaves criptografadas.&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Para esse tutorial foi utilizado como servidor o Ubuntu server 11.04 e como cliente o Ubuntu desktop 10.10, no entanto o Cfengine pode ser configurado em diversos sistemas operacionais até mesmo no Windows (para utilizá-lo no Windows será preciso a instalação prévia do Cygwin).&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:relyonvml/&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:hyphenationzone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;PT-BR&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Tabela normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:&quot;Times New Roman&quot;;  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Principais componentes do Cfengine:&lt;/b&gt;&lt;/p&gt;&lt;div&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;Cabe aqui uma pequena definição dos componentes principais do Cfengine:&lt;/p&gt;&lt;div&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;cf-promises – É um verificador e compilador para os arquivos de promises. É usado principalmente para checar as configurações desses arquivos.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;cf-agent - Verifica as mudanças no diretório de atualizações do servidor a faz a sincronia no cliente.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:relyonvml/&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:hyphenationzone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;PT-BR&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Tabela normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:&quot;Times New Roman&quot;;  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: HFBRSL10;mso-bidi-font-family:HFBRSL10&quot;&gt;cf-serverd – &lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;É o componente responsável por receber as requisições dos clientes e executar as políticas de um cliente. Segundo CFENGINE não é possível o envio operações de (push).&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:relyonvml/&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:hyphenationzone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;PT-BR&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Tabela normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:&quot;Times New Roman&quot;;  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: HFBRSL10;mso-bidi-font-family:HFBRSL10&quot;&gt;cf-execd – &lt;/span&gt;&lt;span style=&quot;&quot;&gt;É o agendador de tarefas do Cfengine. Ele também coleta e executa saídas do cf-agent. Além de &lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;poder ser configurado para enviar emails ao administrador se necessário.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;&quot;&gt;cf-runagent - É um programa auxiliar pode se comunicar com o cf-serverd e solicitar que ele execute o cf-agent.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span id=&quot;result_box&quot; class=&quot;&quot; lang=&quot;pt&quot;&gt;&lt;span title=&quot;Clique para mostrar traduções alternativas&quot; class=&quot;hps atn&quot;&gt;&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;Clique para mostrar traduções alternativas&quot;&gt;&lt;/span&gt;&lt;span title=&quot;Clique para mostrar traduções alternativas&quot; class=&quot;hps atn&quot;&gt;cf-report&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;Clique para mostrar traduções alternativas&quot;&gt; - G&lt;/span&gt;&lt;span title=&quot;Clique para mostrar traduções alternativas&quot; class=&quot;hps&quot;&gt;era&lt;/span&gt; &lt;span title=&quot;Clique para mostrar traduções alternativas&quot; class=&quot;hps&quot;&gt; relatórios&lt;/span&gt; &lt;span title=&quot;Clique para mostrar traduções alternativas&quot; class=&quot;hps&quot;&gt;em uma variedade de&lt;/span&gt; &lt;span title=&quot;Clique para mostrar traduções alternativas&quot; class=&quot;hps&quot;&gt;formatos para&lt;/span&gt; &lt;span title=&quot;Clique para mostrar traduções alternativas&quot; class=&quot;hps&quot;&gt;exportação ou&lt;/span&gt;&lt;br /&gt;&lt;span title=&quot;Clique para mostrar traduções alternativas&quot; class=&quot;hps&quot;&gt;integração com outros sistemas&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;Clique para mostrar traduções alternativas&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span id=&quot;result_box&quot; class=&quot;&quot; lang=&quot;pt&quot;&gt;&lt;span class=&quot;&quot; title=&quot;Clique para mostrar traduções alternativas&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:relyonvml/&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:hyphenationzone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;PT-BR&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Tabela normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:&quot;Times New Roman&quot;;  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;Instalação e configuração no servidor&lt;/b&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt; &lt;/b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;Como administrador execute o comando:&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;#apt-get install cfengine3&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;Crie na raiz uma pasta com o nome de &lt;i style=&quot;mso-bidi-font-style: normal&quot;&gt;cfengine&lt;/i&gt; e dentro desta uma pasta &lt;i style=&quot;mso-bidi-font-style: normal&quot;&gt;inputs&lt;/i&gt;.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;# mkdir /cfengine&lt;br /&gt;# mkdir /cfengine/inputs&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt; &lt;/b&gt;&lt;br /&gt; &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;Para configuração do servidor precisaremos criar quatro arquivos.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;Arquivo 1: Dentro da pasta /cfengine crie o arquivo &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;cf-serverd.cf&lt;/i&gt; com o seguinte conteúdo:&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:relyonvml/&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:hyphenationzone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;PT-BR&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Tabela normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:&quot;Times New Roman&quot;;  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;#--Inicio--#&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;body server control {&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;trustkeysfrom =&amp;gt; { &quot;192.168.1.18&quot;, &quot;192.168.1.17&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;allowconnects =&amp;gt; { &quot;192.168.1.18&quot;, &quot;192.168.1.17&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;maxconnections =&amp;gt; &quot;10&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;logallconnections =&amp;gt; &quot;true&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;bundle server access_rules {&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;access: &quot;/cfengine/&quot;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;admit =&amp;gt; { &quot;192\.168\..*&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;#--Fim--#&lt;/span&gt;&lt;span style=&quot;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;As&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;linhas&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;trustkeysfrom =&amp;gt; { &quot;192.168.1.18&quot;, &quot;192.168.1.17&quot; };&lt;br /&gt;allowconnects =&amp;gt; { &quot;192.168.1.18&quot;, &quot;192.168.1.17&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;é o lugar onde serão adicionados os ips das máquinas clientes &lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;que irão ter acesso ao servidor.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;As linhas&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;access:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&quot;/cfengine/&quot;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;admit =&amp;gt; { &quot;192\.168\..*&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;/span&gt;representam a pasta que os clientes terão acesso ao servidor, e a faixa de ips dos clientes com acesso autorizado.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;Arquivo 2: &lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;Dentro da pasta /cfengine crie o arquivo &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;update.cf&lt;/i&gt; com o seguinte conteúdo:&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;#--Inicio--#&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;body copy_from remote(server, path) {&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;servers =&amp;gt; { &quot;${server}&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;encrypt =&amp;gt; &quot;true&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;trustkey =&amp;gt; &quot;true&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;source =&amp;gt; &quot;${path}&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;compare =&amp;gt; &quot;digest&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;preserve =&amp;gt; &quot;true&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;verify =&amp;gt; &quot;true&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;purge =&amp;gt; &quot;true&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;}&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;body depth_search recurse {&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;depth =&amp;gt; &quot;inf&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;}&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;bundle agent update {&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;vars:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;any::&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&quot;cfserverd&quot; string =&amp;gt;&quot;192.168.1.1&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&quot;policyfiles&quot; string =&amp;gt;&quot;/cfengine&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&quot;server_inputs&quot; string =&amp;gt;&quot;${policyfiles}/inputs&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&quot;client_inputs&quot; string =&amp;gt;&quot;${sys.workdir}/inputs&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;files:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;any::&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&quot;${client_inputs}&quot;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;copy_from =&amp;gt; remote(&quot;${cfserverd}&quot;,&quot;${server_inputs}&quot;),&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;depth_search =&amp;gt; recurse;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;#--Fim--#&lt;/span&gt;&lt;/p&gt; &lt;br /&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;Na linha&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt; &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;&quot;cfserverd&quot; string =&amp;gt;&quot;192.168.1.1&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;é onde adicionamos o ip do servidor.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;br /&gt;Na linha&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;&quot;policyfiles&quot; string =&amp;gt;&quot;/cfengine&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt; &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;Adicionamos a política de acesso a pasta &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;cfengine&lt;/i&gt; (a mesma definida nas linhas &lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;access:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;&lt;/span&gt;&quot;/cfengine/&quot; &lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;do arquivo cf-serverd.cf&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;br /&gt;Arquivo 3:&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;Dentro da pasta /cfengine crie o arquivo &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;promises.cf&lt;/i&gt; com o seguinte conteúdo:&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt; &lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;#--Inicio--#&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;body common control {&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;bundlesequence =&amp;gt; {&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&quot;update&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;inputs =&amp;gt; { &quot;update.cf&quot;,&quot;cf-serverd.cf&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;}&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;bundle agent hello {&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;commands:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;any::&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&quot;/bin/date&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;reports:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;linux::&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&quot;Ola Mundo.&quot;;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;#--Fim--#&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt; &lt;/span&gt;&lt;br /&gt; Arquivo 4:&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;Dentro da pasta /cfengine crie o arquivo &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;failsafe.cf&lt;/i&gt; com o seguinte conteúdo: &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt; &lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;#--Inicio--#&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;body common control{&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;bundlesequence =&amp;gt; { &quot;update&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;inputs =&amp;gt; { &quot;update.cf&quot; };&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;#--Fim--#&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify; line-height: normal; font-style: italic;&quot;&gt;Obs: Quando utilizarmos posteriormente o &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;cf-agent&lt;/b&gt; ele sempre irá ler o arquivo promises.cf durante sua execução. Sendo assim todos os comandos a serem executados devem estar neste arquivo ou referenciado nele. Sendo assim o arquivo failsafe.cf não é realmente obrigatório, mas no entanto caso exista algum problema no arquivo promises.cf o &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;cf-agent&lt;/b&gt; irá ler o arquivo failsafe.cf, que por sua vez chama o arquivo update.cf e busca atualizações ou correções no servidor.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;Com os quatro arquivo prontos precisamos copiá-los para a pasta /etc/cfengine3 e move-los para /cfengine/inputs:&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;# cp promises.cf failsafe.cf update.cf cf-serverd.cf /etc/cfengine3&lt;br /&gt;# mv promises.cf failsafe.cf update.cf cf-serverd.cf inputs&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-size:11.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; color:#333333&quot;&gt;Agora geramos as chaves no servidor:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-size:11.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; color:#333333&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;color:#333333&quot;&gt;#cf-key&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;Afim de o servidor ler as configurações execute o comando:&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;#cf-serverd --verbose --no-fork&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Quando a mensagem:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;No new promises found&lt;br /&gt;Waiting at incoming select...&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;&quot;&gt;finalize o processo CTRL+C.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Agora com o servidor configurado ele já pode ser iniciado:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;#cf-serverd&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Obs: A porta default do Cfengine é a &lt;span style=&quot;font-weight: bold;&quot;&gt;5308&lt;/span&gt; sendo necessário ela estar liberada no servidor afim de permitir as conexões dos clientes.&lt;/span&gt;&lt;/p&gt;    &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Configuração do cliente:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; Para configurar os clientes iniciamos com a instalação do pacote:&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;# apt-get install cfengine3&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; Geramos as chaves com o comando:&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;# cf-key&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; Precisamos agora copiar manualmente os arquivos &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;failsafe.cf&lt;/i&gt; e &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;update.cf&lt;/i&gt; criados anteriormente no servidor para a pasta &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;/etc/cfengine3&lt;/b&gt; do cliente.&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; Como root entre na pasta &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;/etc/cfengine3&lt;/b&gt; e execute o comando abaixo:&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;# cd /etc/cfengine3&lt;br /&gt;#cf-agent –K --verbose –bootstrap&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Se tudo estiver certo na pasta &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;/var/lib/cfengine3/ppkeys&lt;/b&gt; do cliente irá aparacer a chave &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;root-192.168.1.1.pub&lt;/i&gt; e no servidor &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;root-192.168.1.18.pub&lt;/i&gt; (ou root-“ip que você configurou para o cliente”.pub).&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Execute agora o comando:&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;# cf-agent &lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Com esse comando os arquivos da pasta &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;/var/lib/cfengine3/inputs&lt;/b&gt; do cliente serão sempre sincronizados com conteúdo da pasta &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;/cfengine/inputs&lt;/b&gt; no servidor.&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Configurando cliente para atualizar automaticamente.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Claro que na prática o &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;cf-agent&lt;/b&gt; não é executado manualmente no cliente afim de executarmos sincronização com o servidor, para isso utilizamos um outro componente do Cfengine o &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;cf-execd&lt;/b&gt; que irá ficar ativo no cliente e de tempos em tempos executando o cf-agent a procura de atualizações.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; font-style: italic; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Obs: Muitos utilizam para esse fim o próprio cron, no entanto não é recomendável uma vez que o cf-execd trás diversos recursos incorporados como o criação de logs para cada execução, além disso o cf-execd foi criado exclusivamente para tarefa de agendamento do Cfengine.&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Crie o arquivo &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;cf-execd.cf&lt;/i&gt; na pasta &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;/etc/cfengine3&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 6.0pt;font-family:FantabularMVB-Regular;mso-bidi-font-family:FantabularMVB-Regular&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;#--Inicio--#&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;body executor control {&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;splaytime =&amp;gt; &quot;1&quot;;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;mailto =&amp;gt; &quot;root@192.168.1.1&quot;;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;smtpserver =&amp;gt; &quot;192.168.1.1&quot;;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;mailmaxlines =&amp;gt; &quot;1000&quot;;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;schedule =&amp;gt; { &quot;Min00_05&quot;, &quot;Min30_35&quot; };&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;executorfacility =&amp;gt; &quot;LOG_DAEMON&quot;;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;bundle agent executor {&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;processes:&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;any::&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&quot;cf-execd&quot;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;restart_class =&amp;gt; &quot;start_cfexecd&quot;;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;commands:&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;start_cfexecd::&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language:EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&quot;/usr/local/sbin/cf-execd&quot;;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-ansi-language: EN-US&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;&quot;&gt;#--Fim--#&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Execute o comando:&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;&quot;&gt;# cf-execd&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Como teste final você pode criar algum arquivo no diretório &lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;/cfengine/inputs&lt;/b&gt; no servidor, aguardar o tempo programado no arquivo &lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;cf-execd.cf &lt;/i&gt;para atualização&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;e verificar se o diretório &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;/var/lib/cfengine3/inputs&lt;/b&gt; do cliente foi sincronizado.&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Conclusão&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;Devido à falta de material em português que mostrassem de maneira prática e direta a configuração do Cfengine resolvi escrever esse tutorial. O objetivo não era ensinar a utilização prática, mas como configurar a comunicação entre o servidor e os clientes.&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;Agora com o servidor e os clientes comunicando-se, será preciso estudar sínteses de comandos e criação de configurações para o arquivo “&lt;i style=&quot;mso-bidi-font-style:normal&quot;&gt;promises.cf&lt;/i&gt;” afim de realmente automatizar as tarefas poder aplicar o Cfegine de maneira produtiva.&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;Referências&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin&quot;&gt;CFENGINE. Disponível em: &amp;lt;&lt;span style=&quot;color:#1A1A1A;mso-bidi-font-style:italic&quot;&gt;http:// www. cfengine. org&amp;gt; Acesso em: 28 jul. 2011.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(26, 26, 26);&quot; lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family:Calibri; mso-bidi-theme-font:minor-latin;color:#1A1A1A;mso-ansi-language:EN-US; mso-bidi-font-style:italic&quot; lang=&quot;EN-US&quot;&gt;CFENGINE 3, concept guide. Mark Burges.&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;    &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;span id=&quot;result_box&quot; class=&quot;&quot; lang=&quot;pt&quot;&gt;&lt;span class=&quot;&quot; title=&quot;Clique para mostrar traduções alternativas&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;span id=&quot;result_box&quot; class=&quot;&quot; lang=&quot;pt&quot;&gt;&lt;span class=&quot;&quot; title=&quot;Clique para mostrar traduções alternativas&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal; text-align: justify;&quot;&gt;&lt;span id=&quot;result_box&quot; class=&quot;&quot; lang=&quot;pt&quot;&gt;&lt;span class=&quot;&quot; title=&quot;Clique para mostrar traduções alternativas&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;text-align: justify;line-height:normal&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/894363293385184982/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/cfengine-tutorial-pratico-de-instalacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/894363293385184982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/894363293385184982'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/cfengine-tutorial-pratico-de-instalacao.html' title='Cfengine tutorial prático de instalação cliente – servidor.'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-4511608589522899366</id><published>2011-07-26T00:06:00.000-03:00</published><updated>2011-07-26T09:56:27.257-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>Criando túneis com o VTUN</title><content type='html'>&lt;div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;strong&gt;Introdução&lt;/strong&gt;&lt;/div&gt;&lt;strong&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/strong&gt;&lt;div align=&quot;justify&quot;&gt;      Nesse tutorial estarei abordando de forma prática a interligação de três redes distintas com utilizando o VTUN.&lt;br /&gt;&lt;br /&gt;Cenário:&lt;br /&gt;Redes separadas geograficamente:&lt;br /&gt;192.168.1.0/24&lt;br /&gt;192.168.2.0/24&lt;br /&gt;192.168.4.0/24&lt;br /&gt;&lt;br /&gt;*Obs: É necessário que as redes utilizem configurações de ips distintas, caso o contrário teremos posteriormente conflitos no roteamento e a comunicação não acontecerá.&lt;br /&gt;&lt;br /&gt;Para esse tutorial:&lt;br /&gt;     Foram utilizados três servidores rodando uma versão do Ubuntu Server 11.04, com duas placas de redes uma para rede local e outra para a internet. No entanto esse tutorial pode ser adaptado para qualquer versão de Debian ou derivados.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Explicando:&lt;/strong&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;           O desenho abaixo representa uma topologia de VPN em estrela, dessa forma se qualquer um dos servidores ficarem fora do ar por algum motivo os outros continuará comunicando-se entre si normalmente.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;img style=&quot;margin: 0px auto 10px; width: 518px; height: 207px; text-align: center; display: block; cursor: pointer;&quot; id=&quot;BLOGGER_PHOTO_ID_5633498989845292834&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO33u1ytmAjZkUPUGd4QAOMjPpgNrSfg390cbGqdokWAMw1RItbumWdXPY6fgBfJqolpWbfdR-BMovgBzZNziJGYfOfX56b4aIUbUm9K_yUzBtZn3UHHWkhD8HpFs_ePq-HqMTC-xj2ZM/s320/Sem+t%25C3%25ADtulo.jpg&quot; border=&quot;0&quot; /&gt;&lt;p align=&quot;justify&quot;&gt;&lt;br /&gt;Rede Matriz -&amp;gt; 192.168.1.0/24&lt;br /&gt;Rede Filial1 -&amp;gt; 192.168.4.0/24&lt;br /&gt;Rede Filial2 -&amp;gt; 192.168.2.0/24&lt;br /&gt;&lt;br /&gt;Túnel 1 -&amp;gt; Liga a Matriz a Filial 1 (10.0.0.1 &amp;lt;&amp;gt;10.0.0.3)&lt;br /&gt;Túnel 2 -&amp;gt; Liga a Filial 1 a Filial 2 (10.0.0.4 &amp;lt;&amp;gt;10.0.0.5)&lt;br /&gt;Túnel 3 -&amp;gt; Liga a Filial 2 a Matriz (10.0.0.6 &amp;lt;&amp;gt; 10.0.0.2)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configuração&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;Para instalar o vtun&lt;br /&gt;&lt;br /&gt;&lt;em&gt;# apt-get install vtun&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;             Teremos três arquivos de configuração distintos. A Matriz apenas irá rodar o vtun em modo servidor, ou seja irá aceitar as conexões da Filial1 e Filial2.&lt;br /&gt;&lt;br /&gt;Vejamos o arquivo de configuração da Matriz:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;#Configuracao Matriz&lt;br /&gt;&lt;br /&gt;#Configuracao Matriz (10.0.0.1 / 10.0.0.2)&lt;br /&gt;&lt;br /&gt;default {&lt;br /&gt;type tun;&lt;br /&gt;proto tcp;&lt;br /&gt;compress lzo:9;&lt;br /&gt;keepalive yes;&lt;br /&gt;encrypt yes;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#Tunel entre Filial1 e Matriz (10.0.0.3 &amp;lt;---&amp;gt;10.0.0.1)&lt;br /&gt;Filial1Matriz {&lt;br /&gt;passwd tux;&lt;br /&gt;&lt;br /&gt;up{&lt;br /&gt;ifconfig &quot;%% 10.0.0.1 pointopoint 10.0.0.3&quot;;&lt;br /&gt;route &quot;add -net 192.168.4.0/24 gw 10.0.0.3&quot;;&lt;br /&gt;};&lt;br /&gt;down{&lt;br /&gt;ifconfig &quot;%% down&quot;;&lt;br /&gt;route &quot;del -net 192.168.4.0/24 gw 10.0.0.3&quot;;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#Tunel entre Filial2 e Matriz (10.0.0.6 &amp;lt;---&amp;gt;10.0.0.2)&lt;br /&gt;Filial2Matriz {&lt;br /&gt;passwd tux;&lt;br /&gt;&lt;br /&gt;up{&lt;br /&gt;ifconfig &quot;%% 10.0.0.2 pointopoint 10.0.0.6&quot;;&lt;br /&gt;route &quot;add -net 192.168.2.0/24 gw 10.0.0.6&quot;;&lt;br /&gt;};&lt;br /&gt;down{&lt;br /&gt;ifconfig &quot;%% down&quot;;&lt;br /&gt;route &quot;del -net 192.168.2.0/24 gw 10.0.0.6&quot;;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;       Nesse arquivo você pode ver a configuração do servidor que irá esperar por duas conexões da Filial1 e da Filial2.&lt;br /&gt;&lt;br /&gt;    As Linhas &lt;em&gt;passwd tux; &lt;/em&gt;podem e devem ser alteradas utilizando-se senhas diferentes entre os túneis do servidor com a Filial1 e Filial2.&lt;br /&gt;&lt;br /&gt;As linhas &lt;em&gt;route &quot;del -net 192.168.4.0/24 gw 10.0.0.3&quot;;&lt;/em&gt; para a Filial1 e &lt;em&gt;route &quot;add -net 192.168.2.0/24 gw 10.0.0.6&quot;;&lt;/em&gt; para a Filial2  devem ser alteradas de acordo com a configuração de ip da sua rede.&lt;br /&gt;&lt;br /&gt;Com o arquivo pronto você irá precisar executar apenas mais dois passos, liberar a porta 5000 utilizada como padrão (essa porta pode ser alterada) pelo vtun no firewall e executar o servidor vtun propriamente dito.&lt;br /&gt;&lt;br /&gt;Exemplo:&lt;br /&gt;&lt;em&gt;# iptables –I INPUT –p tcp --dport 5000 –j ACCEPT&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;ou ainda:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;# iptables –I INPUT –p tcp –s IPDAFILIAL1  --dport 5000 –j ACCEPT&lt;br /&gt;# iptables –I INPUT –p tcp –s IPDAFILIAL2  --dport 5000 –j ACCEPT&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Nesse caso apenas se o ips da internet da FILIAL1 e FILIAL2 forem fixos, isso trará mais segurança uma vez que você está liberando conexões na porta 5000 apenas para os ips da Filial1 e Filial2 impedindo tentativas de conexões oriundas de outros locais.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Para executar o servidor vtun:&lt;br /&gt;&lt;em&gt;# vtund -s&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Vejamos o arquivo de configuração da Filial1:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;###Configuracao cliente de 2 servidores#######&lt;br /&gt;&lt;br /&gt;#Cliente para Matriz (10.0.0.3 &amp;lt;--&amp;gt;10.0.0.1)&lt;br /&gt;Filial1Matriz{&lt;br /&gt;passwd tux;&lt;br /&gt;compress lzo:9;&lt;br /&gt;keepalive yes;&lt;br /&gt;encrypt yes;&lt;br /&gt;&lt;br /&gt;up{&lt;br /&gt;ifconfig &quot;%% 10.0.0.3 pointopoint 10.0.0.1&quot;;&lt;br /&gt;route &quot;add -net 192.168.1.0/24 gw 10.0.0.1&quot;;&lt;br /&gt;};&lt;br /&gt;down{&lt;br /&gt;ifconfig &quot;%% down&quot;;&lt;br /&gt;route &quot;del -net 192.168.1.0/24 gw 10.0.0.1&quot;;&lt;br /&gt;};&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#Cliente para Filial2 (10.0.0.4 &amp;lt;--&amp;gt;10.0.0.5)&lt;br /&gt;Filial1Filial2 {&lt;br /&gt;passwd tux;&lt;br /&gt;compress lzo:9;&lt;br /&gt;keepalive yes;&lt;br /&gt;encrypt yes;&lt;br /&gt;&lt;br /&gt;up{&lt;br /&gt;ifconfig &quot;%% 10.0.0.4 pointopoint 10.0.0.5&quot;;&lt;br /&gt;route &quot;add -net 192.168.2.0/24 gw 10.0.0.5&quot;;&lt;br /&gt;};&lt;br /&gt;down{&lt;br /&gt;ifconfig &quot;%% down&quot;;&lt;br /&gt;route &quot;del -net 192.168.2.0/24 gw 10.0.0.5&quot;;&lt;br /&gt;};&lt;br /&gt;}&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Caso você tenha alterado a linha passwd tux; referente à Filial1 no arquivo da Matriz, ela deve ser alterada aqui também.&lt;br /&gt;&lt;br /&gt;Para iniciar o cliente da Matriz com a Filial1 execute:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;# vtund Filial1Matriz “IPDAMATRIZ”&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Obs: Respeite maiúsculas e minúsculas aqui caso o contrário o vtun irá retornar um erro.&lt;br /&gt;&lt;br /&gt;Como já temos a Matriz e a Filial1 em funcionamento podemos testar esse túnel:&lt;br /&gt;&lt;br /&gt;Testes a partir da Matriz:&lt;br /&gt;&lt;em&gt;ping 10.0.0.2&lt;br /&gt;ping (para qualquer outro ip de alguma máquina interna a rede da Filial1)&lt;br /&gt;route (que deve retornar entre as linhas e colunas):&lt;br /&gt;Destino   Roteador iface&lt;br /&gt;192.168.4.0   10.0.0.3 tun0&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Testes a partir da Filial1:&lt;br /&gt;&lt;em&gt;ping 10.0.0.1&lt;br /&gt;ping (para qualquer ip de alguma máquina interna a rede da Matriz)&lt;br /&gt;route (que deve retornar entre as linhas e colunas):&lt;br /&gt;Destino   Roteador iface&lt;br /&gt;192.168.4.0   10.0.0.1 tun0&lt;br /&gt;   &lt;/em&gt;&lt;br /&gt;Para finalizarmos precisamos fechar o círculo fazendo a ligação da Filial2 com a Matriz e Filial1.&lt;br /&gt;&lt;br /&gt;Vejamos o arquivo de Configuração da Filial2:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;###Configuracao de um Servidor e cliente ao mesmo tempo####&lt;br /&gt;&lt;br /&gt;#Configuracao Filial2 (10.0.0.5)&lt;br /&gt;&lt;br /&gt;default {&lt;br /&gt;type tun;&lt;br /&gt;proto tcp;&lt;br /&gt;compress lzo:9;&lt;br /&gt;keepalive yes;&lt;br /&gt;encrypt yes;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#Tunel entre Filial1 e Filial2 (10.0.0.4 &amp;lt;----&amp;gt; 10.0.0.5)&lt;br /&gt;Filial1Filial2 {&lt;br /&gt;passwd tux;&lt;br /&gt;up{&lt;br /&gt;ifconfig &quot;%% 10.0.0.5 pointopoint 10.0.0.4&quot;;&lt;br /&gt;route &quot;add -net 192.168.4.0/24 gw 10.0.0.4&quot;;&lt;br /&gt;};&lt;br /&gt;down{&lt;br /&gt;ifconfig &quot;%% down&quot;;&lt;br /&gt;route &quot;del -net 192.168.4.0/24 gw 10.0.0.4&quot;;&lt;br /&gt;};&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;###Configuracao Cliente da Filial2######&lt;br /&gt;&lt;br /&gt;#Tunel entre Matriz e Filial2 (10.0.0.2 &amp;lt;-----&amp;gt; 10.0.0.6)&lt;br /&gt;&lt;br /&gt;Filial2Matriz {&lt;br /&gt;passwd tux;&lt;br /&gt;&lt;br /&gt;up{&lt;br /&gt;ifconfig &quot;%% 10.0.0.6 pointopoint 10.0.0.2&quot;;&lt;br /&gt;route &quot;add -net 192.168.1.0/24 gw 10.0.0.2&quot;;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;down{&lt;br /&gt;ifconfig &quot;%% down&quot;;&lt;br /&gt;route &quot;del -net 192.168.1.0/24 gw 10.0.0.2&quot;;&lt;br /&gt;};&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Se você analisar esse arquivo ele é uma mixagem do arquivo da Matriz com o arquivo da Filial1 o que irá mudar é apenas que ao executarmos o VTUN termos uma instância para o servidor que irá ficar aguardando a conexão da Filial1 e do cliente para a conexão com a Matriz.&lt;br /&gt;&lt;br /&gt;Com o arquivo pronto assim como a matriz você irá precisar liberar a porta 5000 para o VTUN no firewall.&lt;br /&gt;&lt;br /&gt;Exemplo:&lt;br /&gt;&lt;em&gt;# iptables –I INPUT –p tcp --dport 5000 –j ACCEPT&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;ou ainda:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;# iptables –I INPUT –p tcp –s IPDAMATRIZ  --dport 5000 –j ACCEPT&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Para finalizarmos executamos o na Filial2 os comandos:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;# vtund –s&lt;br /&gt;# vtund Filial2Matriz “IPDAMATRIZ”&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;E ainda para fecharmos a comunicação da Filial1 com a Filial2 executamos na Filial1:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;# vtund Filial1Filial2 “IPDAFILIAL2”&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Testes que podem ser executados:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Testes a partir da Matriz:&lt;br /&gt;&lt;em&gt;ping 10.0.0.2&lt;br /&gt;ping 10.0.0.6&lt;br /&gt;ping (para qualquer outro ip de alguma máquina interna a rede da Filial1)&lt;br /&gt;ping (para qualquer outro ip de alguma máquina interna a rede da Filial2)&lt;br /&gt;route (que deve retornar entre as linhas e colunas):&lt;br /&gt;Destino   Roteador iface&lt;br /&gt;192.168.4.0   10.0.0.3 tun0&lt;br /&gt;192.168.2.0  10.0.0.6 tun1&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Testes a partir da Filial1:&lt;br /&gt;&lt;em&gt;ping 10.0.0.1&lt;br /&gt;ping 10.0.0.5&lt;br /&gt;ping (para qualquer ip de alguma máquina interna a rede da Matriz)&lt;br /&gt;ping (para qualquer ip de alguma máquina interna a rede da Filial2)&lt;br /&gt;route (que deve retornar entre as linhas e colunas):&lt;br /&gt;Destino   Roteador iface&lt;br /&gt;192.168.1.0   10.0.0.1 tun0&lt;br /&gt;192.168.2.0  10.0.0.5 tun1&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Testes a partir da Filial2:&lt;br /&gt;&lt;em&gt;ping 10.0.0.2&lt;br /&gt;ping 10.0.0.4&lt;br /&gt;ping (para qualquer ip de alguma máquina interna a rede da Matriz)&lt;br /&gt;ping (para qualquer ip de alguma máquina interna a rede da Filial2)&lt;br /&gt;route (que deve retornar entre as linhas e colunas):&lt;br /&gt;Destino   Roteador iface&lt;br /&gt;192.168.1.0  10.0.0.2 tun0&lt;br /&gt;192.168.4.0   10.0.0.4 tun1&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;Conclusão&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Esse artigo foi um apanhado de conhecimentos colhidos na internet. Devido a diversas informações desencontradas e incompletas sobre o VTUN resolvi escrever e contribuir com a comunidade.&lt;br /&gt;Alguns podem dizer que já existem soluções mais modernas no mercado para criação de túneis como o OpenVPN, no entanto o VTUN ainda é bastante usado, sendo que conhecimento nunca é demais.&lt;br /&gt;Espero que tenham gostado.&lt;br /&gt;Estou aberto a críticas e sugestões.&lt;br /&gt;Abraços.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;REFERÊNCIAS:&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;VIRTUAL tunnel. Disponível em: &lt;http: html=&quot;&quot; net=&quot;&quot;&gt; Acesso em: 25 jul. 2011.&lt;br /&gt;&lt;br /&gt;COMO, configurar um túnel com Vtun. Disponível em: &lt;http: artigo=&quot;&quot; vtun=&quot;&quot; br=&quot;&quot;&gt; Acesso em: 26 jul. 2011.&lt;br /&gt;&lt;/http:&gt;&lt;/http:&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/4511608589522899366/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/criando-tuneis-com-o-vtun.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/4511608589522899366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/4511608589522899366'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/criando-tuneis-com-o-vtun.html' title='Criando túneis com o VTUN'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO33u1ytmAjZkUPUGd4QAOMjPpgNrSfg390cbGqdokWAMw1RItbumWdXPY6fgBfJqolpWbfdR-BMovgBzZNziJGYfOfX56b4aIUbUm9K_yUzBtZn3UHHWkhD8HpFs_ePq-HqMTC-xj2ZM/s72-c/Sem+t%25C3%25ADtulo.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-4206669843983082541</id><published>2011-07-07T18:32:00.000-03:00</published><updated>2011-07-07T19:16:09.824-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>Firewall rápido para o Ubuntu Desktop</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Introdução&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                Sabemos que o Ubuntu por padrão não vem com um firewall ativado. Segundo Morimoto (2009), esse fato se deve a política da própria Canonical em afirmar que a configuração padrão dos serviços no Ubuntu são suficientemente seguras não necessitando de um firewall ativo. No entanto como escrito &quot;serviços padrões&quot;, nada impede que o usuário instale novos softwares como servidores ssh ou vnc, sem ao mesmo saber ao certo o que está fazendo, abrindo &quot;portões&quot; no sistema. Sendo assim como o ditado que diz que o &quot;seguro morreu de velho&quot; não custa nada criarmos um pequeno script de firewall carregado durante a inicialização do sistema adicionando uma camada extra de segurança.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Começando do começo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Abra um terminal e cria um arquivo com o nome de &lt;span style=&quot;font-style: italic;&quot;&gt;firewall&lt;/span&gt; em &lt;span style=&quot;font-style: italic;&quot;&gt;/etc/init.d&lt;/span&gt;, seguindo os comandos abaixo:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;sudo gedit /etc/init.d/firewall&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Copie e cole o seguinte conteúdo ao arquivo:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# Script modificado por Irineu T. Nunes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;firewall_start(){&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# Abre para a interface de loopback.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -A INPUT -i lo -j ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##################################################&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#PROTECOES&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##################################################&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# Ignora pings&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo &quot;1&quot; &amp;gt; /proc/sys/net/ipv4/icmp_echo_ignore_all&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# Protecao contra IP spoofing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo 1 &amp;gt; /proc/sys/net/ipv4/conf/default/rp_filter&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# Protege contra synflood&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo &quot;1&quot; &amp;gt; /proc/sys/net/ipv4/tcp_syncookies&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# Protecao contra ICMP Broadcasting&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo &quot;1&quot; &amp;gt; /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# Protecao contra ICMP Timestamp&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -I INPUT -p icmp --icmp-type timestamp-request -j DROP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# Bloqueia traceroute&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -A INPUT -p udp --dport 33435:33525 -j DROP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;# Protecoes diversas contra portscanners, ping of death, ataques DoS, etc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -A INPUT -m state --state INVALID -j DROP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#####################################################&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##########################&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Coracao do firewall&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;##########################&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Bloqueia qualquer regra que nao tenha sido liberada acima.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -A INPUT -p tcp --syn -j DROP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -A INPUT -p udp --dport 1:32000 -j DROP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#Bloqueia protocolo ipv6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#TCP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ip6tables -A INPUT -p tcp --syn -j DROP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ip6tables -A OUTPUT -p tcp --syn -j DROP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#UDP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ip6tables -A INPUT -p udp --dport 1:32000 -j DROP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ip6tables -A OUTPUT -p udp --dport 1:32000 -j DROP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#ICMPv6&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ip6tables -A INPUT -p icmp -j DROP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ip6tables -A OUTPUT -p icmp -j DROP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;###########################################################&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo &quot;O Firewall esta sendo carregado...&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;sleep 1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo &quot;Firewall Carregado&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;sleep 1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;firewall_stop(){&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -F&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -t nat -F&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -X&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -P INPUT   ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -P FORWARD ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -P OUTPUT  ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo 0 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo 0 &amp;gt; /proc/sys/net/ipv4/icmp_echo_ignore_all&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;case &quot;$1&quot; in&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt; &quot;start&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;firewall_start&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        ;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt; &quot;stop&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        firewall_stop&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo &quot;O ITN-firewall esta sendo desativado&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;sleep 2&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo &quot;ok.&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        ;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;  &quot;restart&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo &quot;O ITN-firewall esta sendo reiniciado&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;sleep 1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;echo &quot;ok.&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        firewall_stop; firewall_start&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        ;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;      *)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        iptables -L -n&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;esac&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;               Em resumo esse arquivo bloqueia todas as conexões entrantes (permitindo apenas conexões originadas pela própria máquina), adiciona algumas proteções básicas contra escaneamentos e bloqueia completamente o protocolo IPv6 (Apesar de na maioria dos casos o protocolo IPv6 ainda não ser utilizado, ele já esta ativo por padrão em diversas distribuições e equipamentos de redes, muitas vezes a preocupação limita-se em bloquear o protocolo IPv4 &lt;/span&gt;esquecendo-se completamente da existência do IPv6).&lt;br /&gt;&lt;br /&gt;                Na linha &lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -A INPUT -p udp --dport 1:32000 -j DROP &lt;/span&gt;foram bloqueadas todas as conexões de entrada das portas 1 a 32000 do protocolo UDP. No entanto essa é uma medida bastante extrema. Caso você comece a notar problemas de conexões em softwares que utilizam o protocolo UDP (Torrents, por exemplo), ou mesmo situações de erros de navegação em sites, uma medida seria um bloqueio mais cauteloso das portas conhecidas:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;iptables -A INPUT -p udp --dport 1:1023 -j DROP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Finalizando&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Salve o arquivo e execute os seguintes comando no terminal:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;chmod +x /etc/init.d/firewall&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;update-rc.d firewall defaults&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;/etc/init.d/firewall start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;O primeiro comando da as permissões de execução para seu script firewall.&lt;br /&gt;O segundo adiociona seu script a inicialização do sistema.&lt;br /&gt;O terceiro inicia seu firewall para já ficar ativo :D.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Conclusão&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;          Agora você pode dormir mais tranquilo, seu sistema já está com o firewall ativo em em plena atividade, podendo ainda ser implementadas novas regras como a liberação de algumas portas para acesso externo se autorizado por você, mas isso já é outra história. :D&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Referências&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;MORIMOTO, Carlos Eduardo. &lt;span style=&quot;font-weight: bold;&quot;&gt;Linux guia prático&lt;/span&gt;. Porto Alegre: Sul Editores, 2009.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/4206669843983082541/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/firewall-rapido-para-o-ubuntu-desktop.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/4206669843983082541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/4206669843983082541'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/firewall-rapido-para-o-ubuntu-desktop.html' title='Firewall rápido para o Ubuntu Desktop'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-3767017560376610731</id><published>2011-07-07T11:31:00.000-03:00</published><updated>2011-09-01T22:07:04.514-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>Port Scan Attack Detector (Psad) com Iptables.</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;Introdução&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;O administrador de redes dentro de uma empresa vem tornando-se cada vez mais importante e exigido quando falamos no quesito segurança.  A necessidade que as empresas possuem de terem acesso as seus dados a qualquer hora e lugar onde o meio geralmente utilizado é a internet é que tornam a questão ainda mais importante e que faz com que os profissionais em redes percam noites sem dormir.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt;  &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;A internet é um meio público onde as informações trafegam livremente e que podem ser interceptadas por qualquer usuário mal intencionado utilizando-se das ferramentas certas.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Notícias sobre invasões de empresas que tiveram seus dados expostos e informações sigilosas roubadas são a cada dia mais frequentes. Diferente de algum tempo atrás onde um usuário (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;i&gt;Cracker&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;*) disposto a invadir um sistema necessitava de algumas horas e adquirir um conhecimento sólido de camadas de redes, protocolos e configurações para chegar à porta de um sistema e comprometê-lo, atualmente a facilidade da internet em se obter informações, ferramentas e explicações detalhadas sobre qualquer forma de invasão de um sistema fazem com que usuários (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;i&gt;Script&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; *) de fim de semana sem muito esforço consigam descobrir técnicas para varrer sua rede, detectar vulnerabilidades e utilizar o tutorial do “blog do fulano” para comprometer seu sistema causando transtornos e prejuízos inestimáveis.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Com o intuito de prevenir seu sistema de varreduras de usuários mal intencionados a procura vulnerabilidades surgiu entre outras a ferramenta OpenSource PSAD, que estarei abordando aqui a qual pode detectar, alertar e ainda bloquear tentativas de escaneamentos externos a sua rede.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;i&gt;*Hacker diz respeito ao usuário que estuda um sistema ou hardware de computador, procurar entender seu mecanismo e como ele funciona a fim de aperfeiçoa-lo. Ao contrário do que divulga a mídia onde o Hacker é o usuário que invade sistemas e os danifica, ela está se referindo na verdade ao Cracker.  Um  Hacker pode invadi um sistema a fim de apontar falhas a serem corrigidas no entanto jamais causará prejuízos ou roubo de informações sigilosas. &lt;/i&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;i&gt;*Script antigamente denominado de Lamer é o usuário que apesar de não compreender exatamente como um sistema ou mecanismo funciona utiliza-se de ferramentas criadas por outros. Esses causam prejuízos, danificam sistemas com o único intuito de ganhar fama ou dinheiro.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;Entendendo o funcionamento&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt;       &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;O software Psad trabalha analisando os logs do Iptables em busca de tentativas de varreduras ao seu ip gerando alertas e bloqueando-as.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Abaixo temos uma figura que representa o funcionamento do PSAD:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn9su2_yapa0tkUarXeSvy-kQOr7wzTQsqxsZxM5LSfm97amA8Sc-wKd4ACxuShDxlxt5ck39qamgjg5-CzheSpiW29D4QLZnfZiiWiOhjwavA6yBdpVzFobrn_5BIVA9kgTMMo_wv5AM/s1600/fi.jpeg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 321px; height: 160px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn9su2_yapa0tkUarXeSvy-kQOr7wzTQsqxsZxM5LSfm97amA8Sc-wKd4ACxuShDxlxt5ck39qamgjg5-CzheSpiW29D4QLZnfZiiWiOhjwavA6yBdpVzFobrn_5BIVA9kgTMMo_wv5AM/s320/fi.jpeg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5626613108887895714&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;                                                                                                                                                                                                                                                                         Adaptado de Cipherdyne 2011.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;     &lt;style type=&quot;text/css&quot;&gt;  &lt;!--   @page { margin: 2cm }   P { margin-bottom: 0.21cm }  --&gt;&lt;/style&gt;          &lt;style type=&quot;text/css&quot;&gt;  &lt;!--   @page { margin: 2cm }   P { margin-bottom: 0.21cm }  --&gt;  &lt;/style&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;Instalação e configuração:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Estaremos utilizando para configuração do Psad o sistema Ubuntu 10.10, no entanto ele pode ser instalado em qualquer distribuição bastando para isto executar pequenas alterações. &lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Para instalar&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;i&gt;#apt-get install psad&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;O arquivo de configuração do Psad fica por padrão em &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;i&gt;/etc/psad/psad.conf&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;  possui muitas opções que podem ser testadas e adequadas as suas necessidades. Abaixo temos algumas que considerei mais importantes:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;EMAIL_ADDRESSES             itn@localhost;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;EMAIL_ADDRESSES: configure aqui o endereço de e-mail para qual irá o aviso de detecção de varreduras. Nesse exemplo os avisos irão para o usuário “itn” da própria máquina local. Caso você possua um servidor de e-mails instalado basta modificar &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;itn@localhost &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;pelo seu e-mail e alterar a opção &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;HOME_NET NOT_USED&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; que evita que você continue a receber e-mails na caixa de entrada do seu usuário “itn”.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; text-align: justify;&quot;&gt;          &lt;style type=&quot;text/css&quot;&gt;  &lt;!--   @page { margin: 2cm }   P { margin-bottom: 0.21cm }   H2 { margin-bottom: 0.21cm }   H2.western { font-family: &quot;Liberation Serif&quot;, sans-serif; font-style: italic }   H2.cjk { font-family: &quot;WenQuanYi Micro Hei&quot;; font-style: italic }   H2.ctl { font-family: &quot;Lohit Hindi&quot;; font-style: italic }   H3 { margin-bottom: 0.21cm }   H3.western { font-family: &quot;Liberation Serif&quot;, sans-serif }   H3.cjk { font-family: &quot;WenQuanYi Micro Hei&quot; }   H3.ctl { font-family: &quot;Lohit Hindi&quot; }  --&gt;  &lt;/style&gt;  &lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; text-align: justify;&quot; times=&quot;&quot; new=&quot;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;i&gt;Dica: Se você estiver utilizando um servidor Linux, por exemplo, sem o X instalado você pode instalar o cliente de e-mails para o terminal mutt (#apt-get install mutt) e utilizar o comando mutt –z para ler os e-mails recebidos do Psad.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;DANGER_LEVEL1               5;    ### Number of packets.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;DANGER_LEVEL2               15;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;DANGER_LEVEL3               150;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;DANGER_LEVEL4               1500;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;DANGER_LEVEL5               10000;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;DANGER LEVEL: É dividido em 5 níveis que representam a quantidade de pacotes enviado de terminado Ip dentro de um período de tempo. Por exemplo o valor 150 do nível 3 diz para o Psad que quando a quantidade de pacotes atingirem esse limite ele deve considerar como uma tentativa de varredura externa.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;CHECK_INTERVAL              5;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;CHEK_INTERVAL: representa o tempo em segundos em que os logs do iptables serão verificados em busca de varreduras.  &lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; text-align: justify;&quot; times=&quot;&quot; new=&quot;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;i&gt;Dica: Tenha bastante cuidado em configurar o DANGER_LEVEL uma vez que configurar para o Psad bloquear ou reportar tentativas de varreduras em LEVEL baixos como 1 e 2 podem causar problemas de conexões dos clientes reais uma vez que pacotes de dados são trocados constantemente entre clientes e servidores. Aconselho&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;IGNORE_PORTS        tcp/3389, udp/53, tcp/22;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;#IGNORE_PORTS                NONE;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;IGNORE_PORTS: uma das opções chaves para um bom funcionamento do Psad uma vez que você pode configura-lo para ignorar o tráfego de pacotes em determinadas portas. Imaginamos que você possui um servidor onde a porta 3389 possui um tráfego de pacotes relativamente alto. Esse simples fato poderia vir a causar falsos positivos ao Psad que poderia entender essa troca de pacotes intensa como uma tentativa de varredura ou invasão a sua rede. No entanto se você não precisa disponibilizar nenhuma porta aberta para acesso externo você pode utilizar tranquilamente a opção: &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;IGNORE_PORTS NONE;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;i&gt;Você pode estar se perguntando. É para liberar as principais portas que utilizo do monitoramento do Psad, então qual o objetivo de utiliza-lo para monitorar minha rede? Resposta: As varreduras a redes são realizadas com software que enviam uma quantidade enorme de pacotes em diversas portas e em um curto espaço de tempo. Então o fato de você liberar algumas portas do monitoramento do Psad não irá impedi-lo de executar seu serviço, além de lhe dar uma proteção adicional contra falsos positivos.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;IGNORE_INTERFACES           eth1;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;IGNORE_INTERFACES: opção bastante interessante para quem utiliza uma máquina que possui mais de uma interface de rede onde apenas delas está diretamente ligada a internet. Assim você pode configurar de quais placas os Psad irá monitorar o tráfego.&lt;/span&gt;&lt;/span&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;MIN_DANGER_LEVEL            4;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;EMAIL_ALERT_DANGER_LEVEL    5;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;MIN_DANGER_LEVEL, EMAIL_ALERT_DANGER_LEVEL: essas duas opções estão diretamente ligadas à opção DANGER LEVEL, a opção MIN_DANGER_LEVEL representa o nível mínimo que deve ser atingido para um arquivo de e-mail ser gerado e EMAIL_ALERT_DANGER_LEVEL é quando esse arquivo será efetivamente enviado.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;ENABLE_AUTO_IDS             Y;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;AUTO_IDS_DANGER_LEVEL       4;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;IPTABLES_BLOCK_METHOD       Y;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;AUTO_BLOCK_TIMEOUT          3600;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;   &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;ENABLE_AUTO_IDS, AUTO_IDS_DANGER_LEVEL, IPTABLES_B LOCK_METHOD: opções chaves do Psad e que são um dos principais objetivos desse artigo. Com essas opções definidas como Y (ativadas), o nível determinado (4 no exemplo) o Psad irá bloquear todo o acesso do Ip que está executando a varredura em sua rede pelo tempo determinado em segundos (3600 segundos no exemplo.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;Configurando o log do Iptables.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Precisamos configurar o Iptables para escrever em um log o movimento dos pacotes que estão passando pelo firewall. Para isso adicionamos os seguintes comandos no script do firewall:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier new, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;iptables -A INPUT -j LOG&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier new, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;iptables -A FORWARD -j LOG&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Edite o arquivo /etc/rsyslog.conf e adicione a seguinte linha ao final:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier new, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;kern.info | /var/lib/psad/psadfifo&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.18cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;Liberando Ips do monitoramento do Psad.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Um outro arquivo de configuração interessante do Psad é o &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;/etc/psad/auto_dl&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; nele você pode definir quais Ips estão liberados do monitoramento do Psad bem como níveis para diferentes para ips específicos. Essa opção se torna muito útil no caso de você querer evitar bloqueios errôneos de Ips que fazem parte de um grupo confiável que acessa seu servidor.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Exemplo:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;200.139.34.1&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;    5;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;200.139.34.2&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;    3 tcp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;200.139.34.3&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;    3 tcp/1-1024;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;200.193.34.4 0;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt;         &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;No primeiro exemplo dizemos que o ip &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;200.139.34.1&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; deve ser tratado com o nível máximo (5) de atenção. No segundo exemplo o ip &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;200.193.34.2&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; é tratado com o nível 3 no entanto apenas para tráfego utilizando o protocolo &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;tcp. &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Já o ip&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt; 200.193.34.3 &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;apenas para o tráfego&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt; tcp &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;entre as&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt; portas 1 e 1024.&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; No último exemplo o ip &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, serif;&quot;&gt;200.193.34.4 &lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;será excluído do monitoramento do Psad sendo isso representado pelo nível 0.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;Conclusões&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;O Psad é um ferramenta de muito poderosa que pode evitar grandes dores de cabeça inibindo ataque diversos a sua rede e evitando que seu sistema seja comprometido. No entanto o Psad não elimina de maneira alguma a necessidade de um boa configuração de firewall, ele apenas adiciona mais uma camada de proteção e monitoramento ao sistema. Monitore continuamente as mensagens do Psad e implemente sempre atualizações e novas proteções ao seu firewall.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 2cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;Espero que aproveitem o artigo. Sugestões pelo e-mail itnp@msn.com.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt; &lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; line-height: 0.64cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;REFERÊNCIAS:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;  &lt;/div&gt;&lt;h3 class=&quot;western&quot; style=&quot;margin-top: 0cm; margin-bottom: 0cm; line-height: 0.64cm; text-align: justify; font-family: courier new;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: arial;font-size:100%;&quot; &gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 class=&quot;western&quot; style=&quot;margin-top: 0cm; margin-bottom: 0cm; line-height: 0.64cm; font-family: courier new; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: arial;font-size:100%;&quot; &gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;PSAD (Linux) detectar e bloquear ataques port scan em tempo real. Disponível em: &amp;lt; http://segurancalinux.com/artigo/PSAD-%28Linux%29-detectar-e-bloquear-ataques-port-scan-em-tempo-real &amp;gt; &lt;/span&gt;&lt;http: style=&quot;font-family: arial;&quot; com=&quot;&quot; artigo=&quot;&quot; real=&quot;&quot;&gt; Acesso em: 05 jun. 2011.&lt;/http:&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;font-family: arial; text-align: left;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;PSAD: Intrusion Detection and Log Analysis with iptables. Disponivel em: &amp;lt; http://cipherdyne.org/psad/ &amp;gt; &lt;http: org=&quot;&quot; psad=&quot;&quot;&gt; Acesso em: 05 jun. 2011.&lt;/http:&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family:Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/3767017560376610731/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/port-scan-attack-detector-psad-com.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/3767017560376610731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/3767017560376610731'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/07/port-scan-attack-detector-psad-com.html' title='Port Scan Attack Detector (Psad) com Iptables.'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn9su2_yapa0tkUarXeSvy-kQOr7wzTQsqxsZxM5LSfm97amA8Sc-wKd4ACxuShDxlxt5ck39qamgjg5-CzheSpiW29D4QLZnfZiiWiOhjwavA6yBdpVzFobrn_5BIVA9kgTMMo_wv5AM/s72-c/fi.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-3899293410706666957</id><published>2011-03-30T21:37:00.000-03:00</published><updated>2011-03-31T23:23:45.422-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'></title><content type='html'>&lt;span style=&quot;font-size:130%;&quot;&gt;MONITORANDO O TRÁFEGO DO MSN NA REDE COM MSN-PROXY&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify; font-family: verdana;&quot;&gt;Apresento aqui a instalação e configuração do msn-proxy um software desenvolvido por uma equipe brasileira que possibilita o controle de todo o tráfego do MSN em uma rede. Possui opções como bloqueio por contato, monitoramento de mensagens, bloqueio de usuários entre outras funcionalidades.  &lt;/div&gt;&lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; font-family: verdana;&quot; align=&quot;JUSTIFY&quot;&gt;           &lt;style type=&quot;text/css&quot;&gt;p { margin-bottom: 0.21cm; }&lt;/style&gt;  &lt;/p&gt;&lt;p style=&quot;text-indent: 1.25cm; margin-bottom: 0cm; font-family: verdana;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span&gt;Para esse tutorial foi utilizado o Ubuntu 10.10 e o Msn-proxy 0.7, no entanto com algumas pequenas modificações ele pode ser aplicado em qualquer distribuição derivada do Debian. Uma observação a fazer é que nos testes é que com o Mns-proxy 0.7 (ultima versão até a data desse tutorial) o &lt;/span&gt;&lt;span&gt;&lt;i&gt;Windows Live Messenger 2011&lt;/i&gt;&lt;/span&gt;&lt;span&gt; não conseguiu conectar-se na rede. No entanto funcionou perfeitamente com os clientes &lt;/span&gt;&lt;span&gt;&lt;i&gt;Windows Live Messenger 2009, Emesene e Amsn 0.98&lt;/i&gt;&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;Preparando o ambiente&lt;/b&gt;&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;text-indent: 1.25cm; margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Alguns servidores e bibliotecas são pré requisitos para a configuração do &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;msn-proxy&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;. Partindo da idéia que servidores como o &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;Apache&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt; e o &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;Mysql&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt; ainda não estão instalados, precisaremos fazer a instalação dos pacotes necessários executando os comandos abaixo:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;$ sudo su&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# apt-get install php5 libapache2-mod-php5 php5-gd php5-imagick php5-mysql&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# apt-get install apache2&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# apt-get install mysql-server phpmyadmin&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; font-weight: normal; color: rgb(51, 51, 255);&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Obs: Nesse tutorial utilizaremos a senha do servidor Mysql como sendo “root”, mas nada impede que você utilize uma outra senha.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Dica:  Quando questionado sobre qual servidor Web u&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;tilizar para o Phpmyadmin selecione o &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;apache2&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Quando questionado sobre a criação da base da dados para o phpmyadmin responda “&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Sim” e na caixa de configuração do phpmyadmin  insira a mesma senha configurada no mysql (que em nosso exemplo é “root”), utilizar a mesma senha ajudar a evitar esquecimentos posteriores.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;b&gt;# apt&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;b&gt;-get install make gcc g++ libevent-dev&lt;br /&gt;# apt&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;b&gt;-get install -f libmysqlclient15-dev &lt;/b&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Edite o arquivo &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;/etc/php5/apache2/php.ini&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt; e altere seu conteúdo para:&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;safe_mode = On&lt;br /&gt;safe_mode_gid = On&lt;br /&gt;register_globals = On&lt;br /&gt;display_errors = On &lt;/i&gt;&lt;/span&gt; &lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;Baixando e instalando o msn-proxy:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Faça o download do &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;msn-proxy&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt; em:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;http://sourceforge.net/projects/msn-proxy/&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Descompacte o arquivo baixado:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;$ tar zxvf msn-proxy-0.7&lt;br /&gt;$ cd msn-proxy&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Comente as linhas do FreeBSD e altere as do Linux no arquivo Makefile do msn-proxy para:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;MYSQLINC=/usr/lib/mysql&lt;br /&gt;MYSQLLIB=/var/lib/mysql/mysql &lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Execute a instalação:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;$ make&lt;br /&gt;$ sudo su&lt;br /&gt;# make install&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;Configurando o ambiente do mysql para o msn-proxy:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;br /&gt;Com o msn-proxy já instalado algumas alterações de arquivos, assim como a criação da base do msn-proxy no mysql será necessária.&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Prepare a acesso ao msn-proxy:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# mkdir /var/www/msn-proxy&lt;br /&gt;# cp -R php /var/www/msn-proxy/&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;br /&gt;Altere as linhas do arquivo &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;/var/www/msn-proxy/php/mysql.inc.php&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt; para:&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;$host = &quot;localhost&quot;;&lt;br /&gt;$user = &quot;root&quot;;&lt;br /&gt;$pass = &quot;root&quot;;&lt;br /&gt;$db = &quot;msn-proxy&quot;;&lt;br /&gt;$port = 3306; &lt;/i&gt;&lt;/span&gt; &lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Altere o arquivo &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;/usr/local/etc/msn-proxy/mysql/conf&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt; para:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;# &quot;host or socket|port (zero for socket)|user|pass|database name&quot;&lt;br /&gt;#/tmp/mysql.sock|0|msn-proxy|secret|msn-proxy&lt;br /&gt;localhost|3306|root|root|msn-proxy &lt;/i&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Crie um banco com o nome de &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;msn-proxy&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt; no mysql:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# mysql -p&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;(e digite a senha do administrador do banco de dados: &quot;root&quot;);&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;mysql&amp;gt; CREATE DATABASE `msn-proxy`;&lt;br /&gt;mysql&amp;gt; quit &lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;br /&gt;Execute o seguinte comando afim de fazer um pequeno teste:&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;/usr/local/bin/msn-proxy &lt;/i&gt;&lt;/span&gt; &lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Se tudo estiver certo o comando anterior irá reportar a seguinte mensagem:&lt;br /&gt;&lt;i&gt;fail to read mysql config (check defaults table)&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;br /&gt;Mude as permissões do arquivo /usr/local/etc/msn-proxy/mysql/conf&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# chmod 600 /usr/local/etc/msn-proxy/mysql/conf&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Dica: Você pode editar o arquivo &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;/usr/local/etc/msn-proxy/msn-proxy.conf&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt; que além de outras opções permite especificar o máximo de usuários que serão controlados na rede:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;-&amp;gt; max_clients=10 #Essa linha indica a quantidade de usuários monitorados.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Precisamos agora cadastrar no banco o ip da placa que está distribuindo a internet com para rede local. Considerando que no exemplo esse ip seja 192.168.1.1, executamos seguintes comandos:&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# mysql -p&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;(e digite a senha do administrador do banco de dados: &quot;root&quot;);&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;mysql&amp;gt; use msn-proxy;&lt;br /&gt;mysql&amp;gt; INSERT INTO `defaults` ( `internal_host` , `connect` , `save_msg` , `save_contacts` , `commands` , `warnemail` , `warndn` , `warnmsg` , `msgfont` , `msgcolor` ) VALUES (&#39;192.168.0.1&#39;, &#39;YES&#39;, &#39;YES&#39;, &#39;YES&#39;, &#39;0&#39;, &#39;itnp@msn.com&#39;, &#39;Irineu Teza Nunes&#39;, &#39;Para sua segurança esta mensagem esta sendo monitorada.&#39;, &#39;Arial&#39;, &#39;black&#39;); &lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Você pode verificar se os dados foram gravados com o seguinte comando:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;mysql&amp;gt; SELECT * FROM `defaults`;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;br /&gt;Se a resposta do comando for como está (tudo ok):&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;+---------------+---------+----------+---------------+----------+--------------+--------------------------+----------------------------------------------------------+---------+----------+&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;| internal_host | connect | save_msg | save_contacts | commands | warnemail    | warndn                   | warnmsg                                                  | msgfont | msgcolor |&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;+---------------+---------+----------+---------------+----------+--------------+--------------------------+----------------------------------------------------------+---------+----------+&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;| 192.168.1.1   | YES     | YES      | YES           |        0 | itnp@msn.com | Irineu Teza Nunes | Para sua segurança esta mensagem esta sendo monitorada. | Arial   | black    |&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;+---------------+---------+----------+---------------+----------+--------------+--------------------------+----------------------------------------------------------+---------+----------+&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;1 row in set (0.00 sec)&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;br /&gt;Saia do banco de dados:&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;mysql&amp;gt; quit &lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;Direcionando tráfeco do msn&lt;/b&gt;&lt;/span&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Utilizando o iptables direcione todo o tráfico da porta 1863 para o proxy-msn inserido a seguinte linha em seu firewall:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1863 -j REDIRECT --to-port 1863 #Onde eth0 é sua interface de rede local.&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Para iniciar o proxy execute o seguinte comando:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt; &lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# /usr/local/bin/msn-proxy &amp;amp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Ou:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# /usr/local/bin/msn-proxy -d &amp;amp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm; color: rgb(255, 0, 0);&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Dica: Com a opção -d irá ser possível visualizar os logs de saída.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Você também pode criar um pequeno script e configurá-lo para iniciar automaticamente o MSN-proxy criando o seguinte arquivo &lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;/etc/init.d/msn-proxy.sh&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt; e adicionando o seguinte conteúdo:&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;#!/bin/bash&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;/usr/local/bin/msn-proxy &amp;amp;&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;echo &quot;MSN-Proxy Inicializado&quot;&lt;/i&gt;&lt;/span&gt; &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;De as permissões e configure-o para iniciar automaticamente:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; lang=&quot;en-US&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;b&gt;# cd /etc/init.d/&lt;br /&gt;# chmod 755 msn-proxy.sh&lt;br /&gt;# update-rc.d msn-proxy.sh defaults&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;br /&gt;Após iniciar o msn-proxy caso você pode acessar sua interface digitando o seguinte endereço em seu navegador:&lt;/span&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;&lt;i&gt;http://localhost/msn-proxy/php/index.php&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;A interface é bastante intuitiva e organizada, apresentando diversas opções e todas as configurações necessárias para o monitoramento. &lt;/span&gt; &lt;/p&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;Finalizando esse tutorial deixo aqui meus parabéns a todos os desenvolvedores do MSN-proxy. Realmente foi feito um trabalho primoroso e bem executado. Além disso o desenvolvimento continua, onde novos recursos são adicionados e outros melhorados.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Irineu Teza Nunes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot; align=&quot;JUSTIFY&quot;&gt;&lt;span style=&quot;font-family:Verdana,sans-serif;&quot;&gt;REFERÊNCIA:&lt;/span&gt;&lt;/p&gt;          &lt;style type=&quot;text/css&quot;&gt;p { margin-bottom: 0.21cm; }&lt;/style&gt;  &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;          &lt;style type=&quot;text/css&quot;&gt;p { margin-bottom: 0.21cm; }a.western:link {  }a.ctl:link {  }&lt;/style&gt;  &lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span&gt;Rudimar. &lt;/span&gt;&lt;span&gt;&lt;b&gt;MSN-Proxy no Debian Etch&lt;/b&gt;&lt;/span&gt;&lt;span&gt;. E-mail: &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 128);&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;u&gt;&lt;a class=&quot;western&quot; href=&quot;mailto:rudimar@remontti.com.br&quot;&gt;&lt;span&gt;rudimar@remontti.com.br&lt;/span&gt;&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;. Disponível em: &lt;a href=&quot;http://www.vivaolinux.com.br/artigo/MSNProxy-no-Debian-Etch-1&quot;&gt;http://www.vivaolinux.com.br/artigo/MSNProxy-no-Debian-Etch-1&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/3899293410706666957/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/03/p-margin-bottom-0.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/3899293410706666957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/3899293410706666957'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/03/p-margin-bottom-0.html' title=''/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-165641525873141740</id><published>2011-03-28T11:28:00.000-03:00</published><updated>2011-08-15T17:05:37.037-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UBUNTU"/><title type='text'></title><content type='html'>&lt;span style=&quot;font-size:130%;&quot;&gt;COMPARTILHANDO SCANNERS NO UBUNTU 10.10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Da mesma forma que conseguimos compartilhar uma impressora na rede, com o linux abre-se ainda mais as possibilidades e é possível também o compartilhamento de scanners com alguns passos simples.Aqui estarei descrevendo como compartilhar uma impressora em um servidor linux e acessar via clientes Windows. Foi utilizando em neste exemplo o Ubuntu 10.10 Server, no entanto esse tutorial deve funcionar sem problemas em qualquer distribuição debian.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Configura&lt;/b&gt;&lt;b&gt;ndo&lt;/b&gt;&lt;b&gt; o Servidor&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;No caso do Ubuntu é necessário que os pacotes &lt;b&gt;xinetd&lt;/b&gt; e &lt;b&gt;sane-utils&lt;/b&gt; estejam instalados. Podemos fazer isto executando o &lt;b&gt;apt-get&lt;/b&gt;&lt;span style=&quot;FONT-WEIGHT: normal&quot;&gt; como root.&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;b&gt;# apt&lt;/b&gt;&lt;b&gt;-get &lt;/b&gt;&lt;b&gt;install xinetd sane-utils&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;Após a instalação dos pacotes execute o comando:&lt;br /&gt;&lt;p&gt;&lt;b&gt;scanimage -L&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;FONT-WEIGHT: normal&quot;&gt;Esse comando irá listar todos os scanner instalados no sistema.&lt;/p&gt;&lt;br /&gt;Para ativar o compartilhamento é efetuado a configuração de alguns arquivos.&lt;br /&gt;&lt;p&gt;Edite o arquivo /&lt;i&gt;etc/services&lt;/i&gt; e adicione a seguinte linha:&lt;/p&gt;&lt;b&gt;&lt;br /&gt;sane-port 6566/tcp&lt;/b&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=&quot;FONT-WEIGHT: normal&quot;&gt;Edite o &lt;/span&gt;&lt;span style=&quot;FONT-WEIGHT: normal&quot;&gt;arquivo &lt;/span&gt;&lt;i&gt;&lt;span style=&quot;FONT-WEIGHT: normal&quot;&gt;/etc/xinetd.conf&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;FONT-WEIGHT: normal&quot;&gt; coloque a seguinte linha:&lt;/span&gt;&lt;/p&gt;&lt;b&gt;&lt;br /&gt;sane-port stream tcp nowait saned.saned /usr/sbin/saned saned &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot; align=&quot;justify&quot;&gt;Em seguida, precisamos configurar o &lt;b&gt;xinetd&lt;/b&gt; para usar o &lt;b&gt;saned&lt;/b&gt;. Isto é feito criando o arquivo &lt;b&gt;/etc/xinetd.d/sane-port&lt;/b&gt; com o seguinte conteúdo:&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;service sane-port {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;socket_type = stream&lt;/b&gt;&lt;br /&gt;&lt;b&gt;server = /usr/sbin/saned&lt;/b&gt;&lt;br /&gt;&lt;b&gt;protocol = tcp&lt;/b&gt;&lt;br /&gt;&lt;b&gt;user = saned&lt;/b&gt;&lt;br /&gt;&lt;b&gt;group = saned&lt;/b&gt;&lt;br /&gt;&lt;b&gt;wait = no&lt;/b&gt;&lt;br /&gt;&lt;b&gt;disable = no&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;Com o compartilhamento já configurado precisamos definir quem tem a permissão de acessar o scanner na rede. Precisamos para isso descomentar uma das linhas do arquivo /etc/sane.d/saned.conf e adicionarmos duas novas linhas:&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Descomente essa linha:&lt;b&gt;&lt;br /&gt;scan-client.somedomain.firm&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;Adicione duas novas linhas:&lt;b&gt;&lt;br /&gt;192.168.0.0/24&lt;/b&gt;&lt;b&gt;&lt;br /&gt;127.0.0.0/8&lt;/b&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot; align=&quot;justify&quot;&gt;O endereço de rede &lt;b&gt;192.168.0.0/24&lt;/b&gt; permite que todos os computadores com IP entre &lt;b&gt;192.168.0.1&lt;/b&gt; a &lt;b&gt;192.168.0.254&lt;/b&gt; acessem o scanner. E o 127.0.0.0/8 representa o endereço loopback (endereço para acesso local do scanner). Claro que se sua rede estiver configurada com um endereço diferente o primeira linha deve ser alterada (ex 192.168.1.0/24).&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Agora precisamos apenas adicionar o “usuário saned” ao grupo root e lp para tanto altere as linhas do arquivo &lt;i&gt;/etc/group &lt;/i&gt;&lt;span style=&quot;FONT-STYLE: normal&quot;&gt;para:&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;root:x:0:saned&lt;br /&gt;lp:x:7:saned&lt;br /&gt;saned:x:16:root&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;/p&gt;&lt;span style=&quot;FONT-WEIGHT: normal&quot;&gt;&lt;br /&gt;Obs.: Tenha bastante cuidado em alterar esse arquivo pois ele é vital para o funcionamento do sistema.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Agora basta reiniciar o &lt;b&gt;xinetd&lt;/b&gt; e o scanner estará compartilhado:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;/etc/init.d/xinetd restart&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Agora vamos mostrar como configurar os clientes Linux e Windows&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configura&lt;/b&gt;&lt;b&gt;ndo&lt;/b&gt;&lt;b&gt; o&lt;/b&gt;&lt;b&gt;s Clientes&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;Aqui é a parte mais fácil do serviço. Baixe o link abaixo o software &lt;i&gt;SanetTwain&lt;/i&gt;&lt;span style=&quot;FONT-STYLE: normal&quot;&gt;:&lt;/span&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot; align=&quot;justify&quot;&gt;&lt;a href=&quot;http://sanetwain.ozuzo.net/downloads/sanetwain130.zip&quot;&gt;http://sanetwain.ozuzo.net/downloads/sanetwain130.zip&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;Descompacte o arquivos em um diretório qualquer e execute o arquivo &lt;i&gt;Scanimage.exe&lt;/i&gt;&lt;span style=&quot;FONT-STYLE: normal&quot;&gt;.&lt;/span&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot; align=&quot;justify&quot;&gt;&lt;span style=&quot;FONT-STYLE: normal&quot;&gt;Inicialmente teremos a seguinte tela de configuração:&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot; align=&quot;justify&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs59MPsHjSyMxOpLb20RJXX8UL-Q86MYBQVhURZU5me9zFzp7ty5F8f1u0WSzvw5TkCucTmNStFJFnghdXYNvbaZS77CAEksy7MQ1d3qRwediajF6nITnpsKIbyvakPWImWjcf8AbpvAo/s1600/Captura_de_tela-1.png&quot;&gt;&lt;img style=&quot;TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 252px; DISPLAY: block; HEIGHT: 320px; CURSOR: pointer&quot; id=&quot;BLOGGER_PHOTO_ID_5589138195352525858&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs59MPsHjSyMxOpLb20RJXX8UL-Q86MYBQVhURZU5me9zFzp7ty5F8f1u0WSzvw5TkCucTmNStFJFnghdXYNvbaZS77CAEksy7MQ1d3qRwediajF6nITnpsKIbyvakPWImWjcf8AbpvAo/s320/Captura_de_tela-1.png&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;style type=&quot;text/css&quot;&gt;p { margin-bottom: 0.21cm; }&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm; FONT-WEIGHT: normal&quot;&gt;&lt;b&gt;Nome do servidor: &lt;/b&gt;O ip do servidor onde o scanner foi compartilhado. No meu exemplo &lt;i&gt;192.168.0.1&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm; FONT-WEIGHT: normal&quot;&gt;&lt;b&gt;Porta: &lt;/b&gt;A porta onde o servidor saned foi compartilhado o padrão é &lt;i&gt;6566&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm; FONT-WEIGHT: normal&quot;&gt;&lt;b&gt;Nome do usuário:&lt;/b&gt; O nome do usuário que tem permissões de scannear via rede. No exemplo &lt;i&gt;saned.&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm; FONT-WEIGHT: normal&quot;&gt;Está pronto. Basta executar um scanner para fins de teste.&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm; FONT-WEIGHT: normal&quot;&gt;Espero que tenham gostado.&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm; FONT-WEIGHT: normal&quot;&gt;&lt;i&gt;Irineu Teza Nunes.&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot;&gt;&lt;b&gt;REFERÊNCIA:&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot;&gt;RIBEIRO, Marcos Roberto. &lt;b&gt;Compartilhamento de scanner no linux.&lt;/b&gt;&lt;span style=&quot;FONT-WEIGHT: normal&quot;&gt; Disponível em: &lt;a href=&quot;http://ultramarcosribeiro.blogspot.com/2008/10/compartilhamento-de-scanner-no-linux.html&quot;&gt;h&lt;h&gt;&lt;/h&gt;&lt;/a&gt;&lt;/span&gt;&lt;a href=&quot;http://ultramarcosribeiro.blogspot.com/2008/10/compartilhamento-de-scanner-no-linux.html&quot;&gt;ttp://ultramarcosribeiro.blogspot.com/2008/10/compartilhamento-de-scanner-no-linux.html &lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;MARGIN-BOTTOM: 0cm&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/165641525873141740/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2011/03/compartilhando-scanners-no-ubuntu-10.html#comment-form' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/165641525873141740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/165641525873141740'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2011/03/compartilhando-scanners-no-ubuntu-10.html' title=''/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs59MPsHjSyMxOpLb20RJXX8UL-Q86MYBQVhURZU5me9zFzp7ty5F8f1u0WSzvw5TkCucTmNStFJFnghdXYNvbaZS77CAEksy7MQ1d3qRwediajF6nITnpsKIbyvakPWImWjcf8AbpvAo/s72-c/Captura_de_tela-1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-424370296164223784</id><published>2010-10-20T15:03:00.000-02:00</published><updated>2011-03-31T09:10:20.033-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><title type='text'>Chat em Java Eeboo</title><content type='html'>&lt;div align=&quot;justify&quot;&gt;&lt;strong&gt;Chat em Java Eeboo&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Projeto de final de semestre executado em parceria dos colegas Henrique Martins, André Cândido e Valdenir , desenvolvimento de um chat utilizando apenas a linguagem Java. Na versão atual já é possível a criação de chats privados e envio de textos coloridos.&lt;br /&gt;&lt;br /&gt;O código tem muito a ser aperfeiçoado afinal era apenas para ser um trabalho para mostrar a utilização de sockets em Java. Projeto iniciado por um grupo de alunos do 4º semestre de Sistemas de Informação sem qualquer experiência em programação. No entanto novas idéias surgiram e gostaríamos de convidar a todos que tenham interesse em criar novos recursos, contribuir com idéias, alteração, aperfeiçoamento do código, ou simplesmente testar, a participarem.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Pontos fracos do chat:&lt;br /&gt;&lt;br /&gt;* A comunicação é baseada toda em String, é preciso adaptá-lo para utilizar pedidos e respostas em bytes, além de criptografia de dados. &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;* Lentidão de respostas, devido à forma como são enviadas as mensagens. As mensagens são enviadas em filas um usuário por vez, e não é enviada ao outro usuário enquanto o anterior não receber.&lt;br /&gt;&lt;br /&gt;Algumas idéias de recursos a serem adicionados:&lt;br /&gt;&lt;br /&gt;* Envio de arquivo.&lt;br /&gt;* DCC Chat (Chat privado direto entre usuários).&lt;br /&gt;* Envio de emotions.&lt;br /&gt;* Conversa com áudio e webcams.&lt;br /&gt;* Adição de imagens personalizadas dos usuários conectados.&lt;br /&gt;&lt;br /&gt;Você pode baixar o cliente e o servidor compilado em: &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt; &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;Cliente&lt;br /&gt;&lt;span style=&quot;color:#33ffff;&quot;&gt;&lt;a href=&quot;http://www.4shared.com/file/LcFY2UgN/Chat_22-10.html&quot;&gt;http://www.4shared.com/file/LcFY2UgN/Chat_22-10.html&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;Obs: Salve o audio1.mp3 no c:\ (para sistemas Windows) da sua máquina.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Servidor&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.4shared.com/file/eRXfmNRS/Servidor_22-10.html&quot;&gt;http://www.4shared.com/file/eRXfmNRS/Servidor_22-10.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Você pode baixar o código fonte pronto para ser alterado pelo Eclipse em: &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;a href=&quot;http://www.4shared.com/file/P1kSFjvr/Codigo_Eclipse.html&quot;&gt;http://www.4shared.com/file/P1kSFjvr/Codigo_Eclipse.html&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Observações: &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;*Você irá precisar ter o Visual Editor configurado dentro do Eclipse;&lt;br /&gt;*Descompacte os arquivos e direcione o Eclipse para pasta onde os arquivos foram descompactados.&lt;br /&gt;&lt;br /&gt;Postem aqui links com novas versões, códigos, idéias, detecção de bugs, etc.&lt;br /&gt;&lt;br /&gt;Abraços!&lt;br /&gt;&lt;br /&gt;Irineu Teza Nunes. &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/424370296164223784/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2010/10/chat-em-java-eeboo.html#comment-form' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/424370296164223784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/424370296164223784'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2010/10/chat-em-java-eeboo.html' title='Chat em Java Eeboo'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2916542564645798250.post-8155089101210403930</id><published>2010-09-12T10:42:00.000-03:00</published><updated>2011-09-11T21:34:44.292-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REDE E MONITORAMENTO"/><title type='text'>BLOQUEANDO O ULTRASURF E O WEBMESSENGER DO HOTMAIL COM PROXY TRANSPARENTE (ATUALIZADO PARA O ULTRA SURF 10.05)</title><content type='html'>&lt;div align=&quot;justify&quot;&gt;O UltraSurf é um pequeno utilitário capaz de burlar um proxy e permitir acesso a sites bloqueados, e que tem sido cada vez mais utilizado em bibliotecas, faculdades e escolas.&lt;br /&gt;O UltraSurf utiliza-se de diversos servidores para conexão feitas pela porta SSL 443. Como é de se supor bastaria bloquear a porta 443 que o UltraSurf não mais se conectaria. Ai é que está o problema e a grande façanha do UltraSurf, essa porta 443 é utilizada para as conexões seguras como a de bancos, do Messenger e do próprio Orkut. Bloqueando essa porta você irá bloquear todo o acesso a esses sites.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PARA INICIO:&lt;/strong&gt; &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;O tutorial abaixo foi aplicado a seguinte situação: &lt;/div&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;em&gt;*Usuários podem ter acesso ao Messenger e sites de bancos e seguradoras todo o resto do tráfico pela porta 443 deve ser bloqueada incluindo nessa situação o UltraSurf. Alguns usuários tem acesso sem restrições a tudo.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;A forma mais eficiente para bloquear o UltraSurf é o bloqueio de todo tráfico da porta 443 e liberação dessa porta apenas para URLs pré-determinadas. Isto porque o UltraSurf está constantemente atualizando sua lista de Ips para conexão e bloquear todos eles torna-se mais dispendioso do que bloquear tudo e liberar apenas o necessário.&lt;br /&gt;&lt;br /&gt;Passo 1: &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;Adicione a seguinte regra ao seu firewall (&lt;em&gt;Obs: Adicione essa regra antes de qualquer outra&lt;/em&gt;).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;##############################&lt;br /&gt;# BLOQUEIO DE PORTAS SSL 443&lt;br /&gt;##############################&lt;br /&gt;&lt;br /&gt;#Libera acesso aos bloqueados a urls especificas&lt;br /&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;#Bloqueia toda a requisição a porta 443&lt;/span&gt;&lt;br /&gt;iptables -I FORWARD -p tcp --dport 443 -j DROP &lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;/span&gt;&lt;/em&gt; &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size:85%;color:#3366ff;&quot;&gt;#Bloqueia a nova porta utilizada pelo UltraSurf 10.05&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;iptables -I FORWARD -p tcp --dport 25101 -j DROP&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;#Define o local onde está o arquivo com a lista de URLs liberados para a porta 443&lt;br /&gt;&lt;/span&gt;for URL in `grep -v &quot;^#&quot; /etc/squid/liberados_443`; do&lt;br /&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;#Libera o acesso a toda a rede para a lista de URLs definidas&lt;/span&gt;&lt;br /&gt;iptables -I FORWARD -p tcp --dport 443 -d $URL -j ACCEPT&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;#Libera acesso total ao ssl 443&lt;br /&gt;#PC-01&lt;br /&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;#Permite o acesso a porta 443 pelo ip em questão sem qualquer restrição&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;#adicione os endereços ips que você não pretende restringir o acesso ao UltraSurf.&lt;/span&gt;&lt;br /&gt;iptables -I FORWARD -s 192.168.0.2 -p tcp --dport 443 -j ACCEPT&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;em&gt;Obs: Regra adaptada do post de Jorge Informática disponível em:&lt;br /&gt;&lt;a href=&quot;http://www.brazilfw.com.br/forum/viewtopic.php?f=2&amp;amp;t=68610&amp;amp;start=0&quot;&gt;http://www.brazilfw.com.br/forum/viewtopic.php?f=2&amp;amp;t=68610&amp;amp;start=0&lt;/a&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Passo 2: &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;Crie um arquivo &lt;em&gt;liberados_443&lt;/em&gt; e adicione todos os ips das URLs em que o acesso à porta 443 será permitido. No meu caso o arquivo encontra-se dentro de &lt;em&gt;“/etc/squid”,&lt;/em&gt; no entanto ele pode ser colocado em qualquer lugar para isso basta modificar a linha: &lt;/div&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;em&gt;for URL in `grep -v &quot;^#&quot; /etc/squid/liberados_443`; do&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;com a nova localização do arquivo. &lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Exemplo abaixo de um arquivo liberados_443 &lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;#################################################&lt;br /&gt;#ORKUT&lt;br /&gt;64.233.160.0/19&lt;br /&gt;64.233.163.0/24&lt;br /&gt;209.85.128.0/17&lt;br /&gt;74.125.0.0/16&lt;br /&gt;72.14.192.0/18&lt;br /&gt;&lt;br /&gt;#MSN&lt;br /&gt;69.192.24.0/24&lt;br /&gt;&lt;br /&gt;#Novo Hotmail 11-09-2011&lt;br /&gt;65.54.186.0/24&lt;br /&gt;65.54.204.0/24&lt;br /&gt;65.54.165.0/24&lt;br /&gt;216.246.75.0/24&lt;br /&gt;&lt;br /&gt;#MSN Embutido no Hotmail 11-09-2011&lt;br /&gt;173.222.141.0/24&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#CENTRAL DE UPDATE WINDOWS&lt;br /&gt;65.55.13.0/24&lt;br /&gt;&lt;br /&gt;#########BANCOS################&lt;br /&gt;#BANCO DO BRASIL&lt;br /&gt;170.66.2.0/24&lt;br /&gt;170.66.1.0/24&lt;br /&gt;&lt;br /&gt;#CAIXA ECONOMICA&lt;br /&gt;200.201.169.0/24&lt;br /&gt;200.201.173.0/24&lt;br /&gt;&lt;br /&gt;#ITAU&lt;br /&gt;200.196.152.0/24&lt;br /&gt;&lt;br /&gt;#BRADESCO&lt;br /&gt;200.155.86.0/24&lt;br /&gt;&lt;br /&gt;#BRADESCO FINANCIAMENTOS&lt;br /&gt;200.155.80.0/24&lt;br /&gt;####################################################&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;Como descobrir o ip a ser liberado para adicionar a lista?&lt;/span&gt;&lt;/strong&gt; &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;Baixe um programa monitor de rede, no exemplo utilizei o &lt;strong&gt;networx&lt;/strong&gt;. &lt;/div&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;em&gt;Link do networx:&lt;br /&gt;&lt;/em&gt;&lt;a href=&quot;http://www.softperfect.com/download/&quot;&gt;&lt;em&gt;http://www.softperfect.com/download/&lt;/em&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Utilize o recurso &lt;strong&gt;Netstat&lt;/strong&gt; para monitorar o tráfico:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggYYS7ugrsVYXy5c0qkG4HogU9X9xz1Yaey6uUwWtEmYwL8hLTsXWJ_CPvS3JXEA8aVigciMXIAy3iUpa-cVHO5maB0EI22x3hvrI2iua-G4MfTd8R3-bgYSfTZn66I0NBevSRluBGTiM/s1600/df.jpg&quot;&gt;&lt;img style=&quot;TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 471px; DISPLAY: block; HEIGHT: 263px; CURSOR: hand&quot; id=&quot;BLOGGER_PHOTO_ID_5516028227456970722&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggYYS7ugrsVYXy5c0qkG4HogU9X9xz1Yaey6uUwWtEmYwL8hLTsXWJ_CPvS3JXEA8aVigciMXIAy3iUpa-cVHO5maB0EI22x3hvrI2iua-G4MfTd8R3-bgYSfTZn66I0NBevSRluBGTiM/s320/df.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;Acesse o site que você pretende liberar, e verifique o ip que está sendo acessado pela porta 443.&lt;br /&gt;No exemplo temos o ip &lt;strong&gt;170.66.1.60&lt;/strong&gt; que corresponde ao ip do Banco do Brasil. Ao adicionar no arquivo adicione da seguinte maneira &lt;strong&gt;170.66.1.0/24&lt;/strong&gt; isso irá liberar toda a faixa de ip de 170.66.1.1 a 170.66.1.254 o que se torna interessante uma vez que geralmente os domínios utilizam mais de um ip de terminada faixa para acessos a serviços.&lt;br /&gt;Observe que esses ips podem mudar com o tempo precisando ser atualizada a lista. &lt;/div&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;BLOQUEIO DO WEBMESSENGER DO HOTMAIL.&lt;/strong&gt; &lt;/div&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;Veja que no arquivo de exemplo liberados_443 temos a seguinte faixa de ip:&lt;/div&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;#MSN Embutido no Hotmail 11-09-2011&lt;br /&gt;173.222.141.0/24&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Esse é justamente a faixa de ip utilizada pelo WebMessenger do Hotmail para acesso. No meu exemplo estou liberando o acesso a esse serviço, caso queria bloqueá-lo basta comentar essa linha. &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;CONCLUSÃO&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Seguindo o exemplo desse tutorial não iremos nos preocupar mais com o UltraSurf ou qualquer outro software semelhante (pelo menos enquanto utilizarem a porta 443). O grande dificuldade realmente está no fato de ter que adicionar os ips de todas as URLs a serem liberadas que dependendo da quantidade de sites exigirá um trabalho bastante dispendioso. Por outro lado depois disso você só irá precisar fazer pequenas atualizações de ips que venham a mudar ou adicionar novos ips a serem liberados no arquivo liberados_443.&lt;br /&gt;Como nem tudo é maravilha dependendo a quantidade de ips adicionados a lista o firewall irá demorar um pouco mais para aplicar todas as regras e a acesso a os sites liberados irá ficar ligeiramente mais lento. “É uma questão de preço benefício” :D.&lt;br /&gt;&lt;br /&gt;Espero que tenham gostado desse meu primeiro post. Comentem:&lt;br /&gt;&lt;br /&gt;Abraços.&lt;br /&gt;&lt;br /&gt;Irineu Teza Nunes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itnproducoes.blogspot.com/feeds/8155089101210403930/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://itnproducoes.blogspot.com/2010/09/bloqueando-o-ultrasurf-e-o-webmessenger.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/8155089101210403930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2916542564645798250/posts/default/8155089101210403930'/><link rel='alternate' type='text/html' href='http://itnproducoes.blogspot.com/2010/09/bloqueando-o-ultrasurf-e-o-webmessenger.html' title='BLOQUEANDO O ULTRASURF E O WEBMESSENGER DO HOTMAIL COM PROXY TRANSPARENTE (ATUALIZADO PARA O ULTRA SURF 10.05)'/><author><name>Irineu Teza Nunes</name><uri>http://www.blogger.com/profile/08035648025739098467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKT5T4Jl_5AtUfXdRhdJ5RjrZpdFy8S41AdPXxRLy5-Qw5TJNKKJYyW74_OTzYXGJ7XCLkVRw_Za-5Mvy3yf0-2Xy2GxLz3Ve_9qdlt0UoOvJqmXqO3HqqVxNsl4DYh4/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggYYS7ugrsVYXy5c0qkG4HogU9X9xz1Yaey6uUwWtEmYwL8hLTsXWJ_CPvS3JXEA8aVigciMXIAy3iUpa-cVHO5maB0EI22x3hvrI2iua-G4MfTd8R3-bgYSfTZn66I0NBevSRluBGTiM/s72-c/df.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>