<?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-1425740060452278357</id><updated>2024-11-01T10:41:03.471+00:00</updated><category term="cisco"/><category term="segurança"/><category term="Security"/><category term="Programas"/><category term="switches"/><category term="Programs"/><category term="Switching"/><category term="Windows"/><category term="IIS"/><category term="Linux"/><category term="Password Reset + Windows XP"/><category term="Routing"/><category term="Subneting"/><category term="Windows 7"/><category term="ip packet"/><category term="routers"/><category term="software"/><category term="ssh"/><category term="subnetting"/><category term="vmware"/><category term="ASA"/><category term="BIOS"/><category term="Batch Commands"/><category term="Bios Errors"/><category term="Configuring Basic SNMP"/><category term="Configuring SSH without Host Name and Domain Name"/><category term="EFS"/><category term="Encription File System"/><category term="Errors"/><category term="Erros"/><category term="Erros de Bios."/><category term="Google queries avançadas"/><category term="HTTP Connections"/><category term="Internet Exeplorer"/><category term="Internet Explorer 8"/><category term="Making your windows folder smaller"/><category term="Network Address Translation"/><category term="Outlook 2003"/><category term="Outlook 2010"/><category term="Password Recovery"/><category term="Password Reset"/><category term="Reverse Engineering"/><category term="Rootkits"/><category term="SMTP"/><category term="STP"/><category term="TCP + Windows Vista + Windows Server 2008"/><category term="TCP Window Size"/><category term="USB Controlers"/><category term="USB HDD"/><category term="VLSM"/><category term="Variable-length subnet masking"/><category term="blog editor"/><category term="firewall"/><category term="ftp"/><category term="half life"/><category term="netflow"/><category term="rede"/><category term="script"/><category term="sflow"/><category term="steam"/><category term="tcp packets"/><category term="telnet"/><category term="webdav"/><title type='text'>Procura de Conhecimento</title><subtitle type='html'>Site criado para transmitir algum do conhecimento que fui ganhando durante a minha vida profissional.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>122</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-5368168866867013195</id><published>2014-05-29T18:25:00.001+01:00</published><updated>2014-05-29T18:25:31.558+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>Exemplo de um Script para colocar um ficheiro num destino utilizando FTP.</title><content type='html'>&lt;pre&gt;&lt;kbd&gt;Este é um exemplo que pode ser utilizado para copiar ficheiros de um servidor para outro utilizando o FTP.&lt;/kbd&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;kbd&gt;
&lt;/kbd&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;kbd&gt;#!/bin/sh
HOST=&#39;ftp.hjfr-info.com&#39;
USER=&#39;yourid&#39;
PASSWD=&#39;yourpw&#39;
FILE=&#39;file.txt&#39;

ftp -n $HOST &amp;lt;&lt;end_script 0=&quot;&quot; end_script=&quot;&quot; exit=&quot;&quot; kbd=&quot;&quot; pass=&quot;&quot; put=&quot;&quot; quit=&quot;&quot; quote=&quot;&quot; user=&quot;&quot;&gt;&lt;/end_script&gt;&lt;/kbd&gt;&lt;/pre&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/5368168866867013195/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2014/05/exemplo-de-um-script-para-colocar-um.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5368168866867013195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5368168866867013195'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2014/05/exemplo-de-um-script-para-colocar-um.html' title='Exemplo de um Script para colocar um ficheiro num destino utilizando FTP.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-143222980432292487</id><published>2014-05-29T16:38:00.000+01:00</published><updated>2014-05-29T16:38:18.424+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="netflow"/><category scheme="http://www.blogger.com/atom/ns#" term="sflow"/><title type='text'>NetFlow vs Sflow</title><content type='html'>&lt;h2&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0.0px;&quot;&gt;Netflow vs Sflow&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0.0px;&quot;&gt;Muitas pessoas acham que ambos são a mesma coisa outros acham que é preferível um ao outro.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Na realidade são coisas diferentes e que se podem complementar entre si.&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Netflow nunca irá funcionar como o Sflow ou o inverso.&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Cada um tem a sua forma de trabalhar e serve o seu objectivo.&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0.0px;&quot;&gt;Vamos ver quais as funcionalidades de cada um e onde podem ser implementados:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0.0px;&quot;&gt;&lt;b&gt;Netflow&lt;/b&gt;:&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;font-size: 11px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;É um acrónimo para Network Flows quebra as comunicações TCP/IP em dados estatísticos baseados em “flows” de comunicações.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0.0px;&quot;&gt;O que é um flow?&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;É um fluxo de pacotes num único sentido com base numa origem especifica e num destino especifico.&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;ex: Se iniciarmos uma sessão telnet para o netflow essa sessão é composta por 2 flows de trafego uma outbond e outra inbound.&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;Todos os pacotes pertencentes ao mesmo flow tem 7 coisas em comum&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif; letter-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;todos tem o mesmo ip de origem&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;todos tem o mesmo ip de destino&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;todos tem a mesma source port&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;todos tem a mesma destination port&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;todos tem de ter o mesmo protocolo L3&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;Todos tem de ter o mesmo valor de tipo de serviço (TOS value)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;Mesmo interface fisico ou virtual.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 11px; letter-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 11px; letter-spacing: 0px;&quot;&gt;Os primeiros 4 são os que definem o “flow”&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;Versão 9 é a ultima versão e já inclui mais campos incluindo MPLS e endereços de IPv6 e portas.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; letter-spacing: 0px;&quot;&gt;Configuração de exemplo&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;R1(config)#&lt;/span&gt; &lt;span style=&quot;color: #ea9999;&quot;&gt;interface fastethernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
R1(config-if)#&lt;/span&gt; &lt;span style=&quot;color: #ea9999;&quot;&gt;ip flow ingress&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
R1(config-if)#&lt;/span&gt; &lt;span style=&quot;color: #ea9999;&quot;&gt;ip flow egress&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
R1(config-if)#&lt;/span&gt; &lt;span style=&quot;color: #ea9999;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
R1(config)#&lt;/span&gt; &lt;span style=&quot;color: #ea9999;&quot;&gt;ip flow-export destination 10.1.10.100 99&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
R1(config)#&lt;/span&gt; &lt;span style=&quot;color: #ea9999;&quot;&gt;ip flow-export version 9&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
R1(config)#&lt;/span&gt; &lt;span style=&quot;color: #ea9999;&quot;&gt;ip flow-export source loopback 0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
R1(config)#&lt;/span&gt; &lt;span style=&quot;color: #ea9999;&quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;maior parte das vezes utiliza a porta 9996 apesar de nao ter porta especifica&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;Examinar Netflow Cache&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; margin-bottom: 13.3px; margin-left: 26.6px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;R1#&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #ea9999;&quot;&gt;show ip cache flow&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
IP packet size distribution (&lt;/span&gt;&lt;span style=&quot;background-color: white; letter-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;255 total packets&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;):&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;1-32&amp;nbsp;&amp;nbsp;&amp;nbsp;64&amp;nbsp;&amp;nbsp;&amp;nbsp;96&amp;nbsp;&amp;nbsp;128&amp;nbsp;&amp;nbsp;160&amp;nbsp;&amp;nbsp;192&amp;nbsp;&amp;nbsp;224&amp;nbsp;&amp;nbsp;266&amp;nbsp;&amp;nbsp;268&amp;nbsp;&amp;nbsp;320&amp;nbsp;&amp;nbsp;352&amp;nbsp;&amp;nbsp;384&amp;nbsp;&amp;nbsp;416&amp;nbsp;&amp;nbsp;448&amp;nbsp;&amp;nbsp;480&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;.000 .000 .000 1.00 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;512&amp;nbsp;&amp;nbsp;544&amp;nbsp;&amp;nbsp;576 1024 1546 2048 2560 3072 3684 4096 4608&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;.000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000&lt;br /&gt;
&lt;br /&gt;
IP Flow Switching Cache, 4456704 bytes&lt;br /&gt;
&amp;nbsp;&amp;nbsp;1 active, 65535 inactive, 1 added&lt;br /&gt;
&amp;nbsp;&amp;nbsp;32 ager polls, 0 flow alloc failures&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Active flows timeout in 30 minutes&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Inactive flows timeout in 15 seconds&lt;br /&gt;
IP Sub Flow Cache, 533256 bytes&lt;br /&gt;
&amp;nbsp;&amp;nbsp;1 active, 16383 inactive, 1 added, 1 added to flow&lt;br /&gt;
&amp;nbsp;&amp;nbsp;0 alloc failures, 0 force free&lt;br /&gt;
&amp;nbsp;&amp;nbsp;1 chunk, 1 chunk added&lt;br /&gt;
&amp;nbsp;&amp;nbsp;last clearing of statistics never&lt;br /&gt;
Protocol&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Total&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Flows&amp;nbsp;&amp;nbsp;&amp;nbsp;Packets Bytes&amp;nbsp;&amp;nbsp;Packets Active(Sec) Idle(Sec)&lt;br /&gt;
--------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Flows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/Sec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/Flow&amp;nbsp;&amp;nbsp;/Pkt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/Sec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/Flow&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/Flow&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;SrcIf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SrcIPaddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DstIf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DstIPaddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Pr SrcP DstP&amp;nbsp;&amp;nbsp;Pkts&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Fa0/0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10.10.1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;S0/0/0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10.10.2.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;01 0200 0050&amp;nbsp;&amp;nbsp;&amp;nbsp;255&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;Confirmar uma implementação de netflow Cisco&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; margin-bottom: 13.3px; margin-left: 26.6px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;R1#&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #ea9999;&quot;&gt;show ip flow interface&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
FastEthernet0/0&lt;br /&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;ip flow ingress&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;ip flow egress&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
R1#&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #ea9999;&quot;&gt;show ip flow export&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Flow export v9 is enabled for main cache&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Export source and destination details :&lt;br /&gt;
&amp;nbsp;&amp;nbsp;VRF ID : Default&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Source(1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1.1.1.1 (Loopback0)&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Destination(1)&amp;nbsp;&amp;nbsp;10.1.10.100 (99)&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Version 9 flow records&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;0 flows exported in 0 udp datagrams&lt;br /&gt;
&amp;nbsp;&amp;nbsp;0 flows failed due to lack of export packet&lt;br /&gt;
&amp;nbsp;&amp;nbsp;0 export packets were sent up to process level&lt;br /&gt;
&amp;nbsp;&amp;nbsp;0 export packets were dropped due to no fib&lt;br /&gt;
&amp;nbsp;&amp;nbsp;0 export packets were dropped due to adjacency issues&lt;br /&gt;
&amp;nbsp;&amp;nbsp;0 export packets were dropped due to fragmentation fail ures&lt;br /&gt;
&amp;nbsp;&amp;nbsp;0 export packets were dropped due to encapsulation fixup failures&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
R1#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;&lt;b&gt;sflow&lt;/b&gt;:&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;É um protocolo feito de forma mais genérica para métricas de trafego de rede. Esta desenhado para pertencer a qualquer dispositivo de rede e permite fornecer constantes dados estatísticos sobre a rede. (L2, L3, L4 até L7). Com sflow todo o trafego numa rede pode ser caracterizado e monitorizado.&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Estas estatísticas são essenciais para controlo de congestionamento, segurança e desenho de rede.&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;O equipamento captura uma &lt;/span&gt;&lt;b style=&quot;letter-spacing: 0px;&quot;&gt;amostra&lt;/b&gt;&lt;span style=&quot;letter-spacing: 0px;&quot;&gt; de pacotes por interface e envia essa amostra para um colector.&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Não esta limitado ao IP podendo funcionar também noutros protocolos como IPX, NetBEUI etc.&lt;/span&gt;&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Utiliza amostras de trafego para as&amp;nbsp;&lt;/span&gt;suas&amp;nbsp;estatísticas podendo haver alguma incorrecção.&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;Qual melhor a usar?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
Depende&lt;span style=&quot;letter-spacing: 0px;&quot;&gt;&amp;nbsp;das nossas necessidades, das capacidades de equipamento e orçamento.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 11px; min-height: 13px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/143222980432292487/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2014/05/netflow-vs-sflow.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/143222980432292487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/143222980432292487'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2014/05/netflow-vs-sflow.html' title='NetFlow vs Sflow'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-8881316392740798858</id><published>2014-05-11T18:41:00.000+01:00</published><updated>2014-05-11T18:41:21.702+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASA"/><category scheme="http://www.blogger.com/atom/ns#" term="Password Recovery"/><category scheme="http://www.blogger.com/atom/ns#" term="Password Reset"/><title type='text'>Recuperação de password / Alteração de password</title><content type='html'>Um período de contagem decrescente aparece por baixo desta mensagens. Carregue em ESC para interromper o processo de boot e entrar em modo ROMMON. Daqui podemos alterar o valor do configuration register para instruir o ASA a passar a configuração de arranque.&lt;br /&gt;
&lt;br /&gt;
Reinicializar a máquina.&lt;br /&gt;
&lt;br /&gt;
Entrar em mode de configuração e alterar a password.&lt;br /&gt;
&lt;br /&gt;
Ex:&lt;br /&gt;
&lt;br /&gt;
Utilizar a tecla BREAK ou ESC para interromper o processo de boot.&lt;br /&gt;
Utilizar a tecla ESPAÇO para iniciar o boot imediatamente.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;rommon #&lt;/span&gt;&lt;/b&gt;0&amp;gt; &lt;span style=&quot;color: red;&quot;&gt;confreg 0x41&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;rommon #&lt;/span&gt;&lt;/b&gt;1&amp;gt; &lt;span style=&quot;color: red;&quot;&gt;boot&lt;/span&gt;&lt;br /&gt;
Loading disk0:/asa823-k8.bin...&lt;br /&gt;
&amp;lt;...output omitted...&amp;gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;ciscoasa&lt;/span&gt;&amp;gt; &lt;span style=&quot;color: red;&quot;&gt;enable&lt;/span&gt;&lt;br /&gt;
Password: &lt;press enter=&quot;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;ciscoasa&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;copy startup-config running-config&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;FIREWALL&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;configure terminal&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;FIREWALL (config)&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;password NEWPASSWORD&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;FIREWALL (config)&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;enable password NEWPASSWORD&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;FIREWALL (config)&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;username Administrator password NEWPASSWORD&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;FIREWALL (config)&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;no aaa authorization command&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;FIREWALL (config)&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;config-register 0x1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;FIREWALL (config)&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;FIREWALL&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;copy running-config startup-config&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;FIREWALL&lt;/span&gt;# &lt;span style=&quot;color: red;&quot;&gt;reload noconfirm&lt;/span&gt;&lt;br /&gt;&lt;/press&gt;&lt;br /&gt;
&lt;press enter=&quot;&quot;&gt;&lt;br /&gt;&lt;/press&gt;
&lt;press enter=&quot;&quot;&gt;- SeeKeR&lt;/press&gt;&lt;br /&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/8881316392740798858/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2014/05/recuperacao-de-password-alteracao-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8881316392740798858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8881316392740798858'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2014/05/recuperacao-de-password-alteracao-de.html' title='Recuperação de password / Alteração de password'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-5453273443399096155</id><published>2014-05-10T14:49:00.002+01:00</published><updated>2014-05-10T14:52:46.465+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="STP"/><title type='text'>Spanning-Tree Protocol Toolkit</title><content type='html'>&lt;br /&gt;
Ao contrário do que algumas pessoas pensam o STP toolkit não é nenhuma ferramenta disponível para nos ajudar com o protocolo STP.&lt;br /&gt;
&lt;br /&gt;
São sim, um conjunto de extensões que a CISCO fez à sua implementação do protocolo para o tornar mais eficiente.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Spanning-Tree protocol&lt;/b&gt;&amp;nbsp;permite que as redes da camada 2 do modelo de OSI (Layer 2) com redundancia funcionem em condições preveningo loops indesejaveis. Este algoritmo automaticamente calcula a topologia e decide quais as portas que devem ficar em standby para impedir loops na rede, garantindo assim uma maior eficiencia.&lt;br /&gt;
&lt;br /&gt;
Por defenição o comportamento do protocolo é determinista ou seja nós sabemos exactamente como se deve comportar numa rede. Por vezes não o é, seja por alterações feitas na rede ou por aparelhos na camada de acesso que são controlados pelos utilizadores finais ou falhas de ligações.&lt;br /&gt;
&lt;br /&gt;
Para optimizar a performance do protocolo a CISCO fornece o STP toolkit. Este conjunto de ferramentas permite optimizar e tornar mais seguras as redes L2 (Layer 2).&lt;br /&gt;
&lt;br /&gt;
As ferramentas que fazem parte deste kit são:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PortFast -&lt;/b&gt;&amp;nbsp;Faz com que as portas do equipamento entrem em estado forwarding imediatamente, passando assim os estados normais de aprendizagem. A porta configurada ainda faz parte da topologia STP e pode imediatamente transitar de estados diminuindo assim o tempo de convergencia. Podendo passar ao estado blocked se necessario. Pode ser activada em portas trunk Pode ter valores operacionais diferentes dos configurados.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;notas&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Deve ser utilizada apenas em portas de acesso.&lt;/li&gt;
&lt;li&gt;Deve ser utilizada apenas nas portas em que se ligam equipamentos terminais para evitar a criação de um loop.&lt;/li&gt;
&lt;li&gt;Activar a funcionalidade numa porta ligada a um switch pode criar um &quot;bridging loop&quot; temporário.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BPDUGuard&lt;/b&gt;&amp;nbsp;- Quando activa desliga a porta que recebe um BPDU (Bridge Protocol Data Unity). Permite uma maior segurança contra más configurações porque o administrador pode colocar a porta de novo a funcionar. Quando configurado ao nivel de uma porta coloca a porta imediatamente em estado desligado independentemente da configuração PortFast.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;notas&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Numa configuração válida as portas configuradas como PortFast não recebem BPDU caso recebam há um erro de configuração ou algo que necessita ser investigado.&lt;/li&gt;
&lt;li&gt;Quando configurado globalmente aplica-se a todas as portas que estão operacionais e com o PortFast activo.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BPDUFilter&lt;/b&gt;&amp;nbsp;- Impede uma porta de receber ou enviar BPDU&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;notas&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Pode ser configurado por porta.&lt;/li&gt;
&lt;li&gt;Pode ser configurado globalmente&lt;/li&gt;
&lt;li&gt;Quando configurado em portas que não estejam ligadas a equipamentos terminais pode causar loops.&lt;/li&gt;
&lt;li&gt;Se uma porta não estiver no seu estado por defeito a configuração PortFast não afecta o filtro de BPDU PortFast.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;UplinkFast&amp;nbsp;&lt;/b&gt;- Fornece Convergência depois de uma falha na ligação, permite balanceamento de carga com a utilização de grupos de Uplink.&lt;br /&gt;
&lt;b&gt;notas&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Pode ser util no desenho de redes-&lt;/li&gt;
&lt;li&gt;Quando activa afecta todas as VLAN&#39;s no equipamento.&lt;/li&gt;
&lt;li&gt;Não pode ser configurada em VLAN&#39;s individuais.&lt;/li&gt;
&lt;li&gt;As melhorias ao &quot;rapid&quot; STP incluem estas funcionalidades.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;RootGuard&lt;/b&gt;&amp;nbsp;- Previne uma porta de se tornar uma root port ou blocked port.&lt;br /&gt;
Quando configurada numa porta e esta recebe um valor de BPDU superior ela passa imediatamente ao valor de de Root-Inconsistent (Blocked) state.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BackboneFast&lt;/b&gt;&amp;nbsp;- Iniciado quando uma root port ou uma porta bloqueada recebe um BPDU de valor inferior de um designated Bridge.&lt;br /&gt;
Permite uma maior rapidez em caso de falha.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;LoopGuard&lt;/b&gt;&amp;nbsp;- Ajuda a prevenir &quot;bridging loops&quot; que pode ocorrer devido a falhas de ligações unidirecionais. Quando activado globalemte aplica-se a todas as ligações ponto a ponto. Detecta as portas em estado blocked e as root ports garantindo que continuam a receber informação das portas designadas do systema. Pode ser activado por porta. É autmaticamente aplicado a todas as intancias de VLAN&#39;s activas no systema. Quando activado numa ligação Etherchanel pode afectar todas as conecções até que a conecção com problemas seja removida do link agregado.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/5453273443399096155/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2014/05/spanning-tree-protocol-toolkit.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5453273443399096155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5453273443399096155'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2014/05/spanning-tree-protocol-toolkit.html' title='Spanning-Tree Protocol Toolkit'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-5713719688737930413</id><published>2013-06-13T22:00:00.001+01:00</published><updated>2014-05-10T15:07:33.282+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SMTP"/><title type='text'>Testar Portas SMTP e Validar Utilizadores</title><content type='html'>&lt;br /&gt;
Testar SMTP e utilizadores&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Há imensas aplicações para testar portas de servidores, uma mais complexas outras mais simples.&lt;br /&gt;
Apesar do universo ter uma escolha não estava satisfeito.&lt;br /&gt;
Decidi criar a minha aplicação, como estava a tentar aprender Python decidi começar a fazer um simples esboço em Python.&lt;br /&gt;
Esta aplicação estabelece uma ligação á porta 25 (SMTP) e tenta verificar se um utilizador especifico existe.&lt;br /&gt;
&lt;br /&gt;
Como entrada do scritpt recebe um ficheiro (smtpServers.txt) com uma lista de máquinas que queremos testar a porta 25 o retorno é feito para o ecrã.&lt;br /&gt;
&lt;br /&gt;
Aqui fica o meu primeiro script em Python...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;#!/usr/bin/python&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;import socket&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;import sys&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;if len(sys.argv) !=2:&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;print &quot;Usage: SMTP_Test &lt;user name=&quot;&quot;&gt;&quot;&lt;/user&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;sys.exit(0)&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;#ReadFile with Machines&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;f = open(&#39;../smtpServers.txt&#39;,&#39;r&#39;)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;lines = f.readlines()&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;f.close&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;for x in lines:&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;#Create Socket&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;print x&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;#Connect to the Server&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;connect=s.connect((x,25))&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;#receive Banner&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;banner=s.recv(1024)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;print banner&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;#VRFY a user&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;s.send(&#39;VRFY &#39; + sys.argv[1] + &#39;\r\n&#39;)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;result=s.recv(1024)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;print result&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: black; color: #6fa8dc;&quot;&gt;#close the socket&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/5713719688737930413/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2013/06/testar-portas-smtp-e-validar.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5713719688737930413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5713719688737930413'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2013/06/testar-portas-smtp-e-validar.html' title='Testar Portas SMTP e Validar Utilizadores'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-3673122444219937485</id><published>2012-07-20T12:35:00.002+01:00</published><updated>2012-07-20T12:35:20.076+01:00</updated><title type='text'>Hard Reset Nokia N8</title><content type='html'>Neste ligação podem aprender como se faz o hard reset ao nokia N8&lt;br /&gt;
&lt;br /&gt;
http://www.hjfr-info.com/PT/Aprender/HJFR-INFO_White/MobileReset/NokiaN8-00.php&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/3673122444219937485/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-nokia-n8.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/3673122444219937485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/3673122444219937485'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-nokia-n8.html' title='Hard Reset Nokia N8'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-4576072407890058320</id><published>2012-07-20T12:34:00.000+01:00</published><updated>2012-07-20T12:34:24.820+01:00</updated><title type='text'>Hard Reset Nokia  E7-00</title><content type='html'>Nesta ligação podem encontrar formas de fazer o reset ao nokia E7&lt;br /&gt;
&lt;br /&gt;
http://www.hjfr-info.com/PT/Aprender/HJFR-INFO_White/MobileReset/NokiaE7-00.php&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/4576072407890058320/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-nokia-e7-00.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/4576072407890058320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/4576072407890058320'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-nokia-e7-00.html' title='Hard Reset Nokia  E7-00'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-7710110950986378470</id><published>2012-07-20T12:32:00.003+01:00</published><updated>2012-07-20T12:32:47.459+01:00</updated><title type='text'>Hard Reset Nokia Lumia 800</title><content type='html'>Para fazerem o hard reset ao Nokia Lumia 800 devem seguir a seguinte ligação:&lt;br /&gt;
&lt;br /&gt;
http://www.hjfr-info.com/PT/Aprender/HJFR-INFO_White/MobileReset/NokiaLumia800.php&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/7710110950986378470/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-nokia-lumia-800.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/7710110950986378470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/7710110950986378470'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-nokia-lumia-800.html' title='Hard Reset Nokia Lumia 800'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-5940685301717984487</id><published>2012-07-20T12:31:00.003+01:00</published><updated>2012-07-20T12:31:38.739+01:00</updated><title type='text'>Hard Reset Lumia 610</title><content type='html'>Para fazerem hardreset ao lumia 610 podem seguir esta ligação:&lt;br /&gt;
&lt;br /&gt;
http://www.hjfr-info.com/PT/Aprender/HJFR-INFO_White/MobileReset/NokiaLumia610.php&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/5940685301717984487/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-lumia-610.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5940685301717984487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5940685301717984487'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-lumia-610.html' title='Hard Reset Lumia 610'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-8231230910944907275</id><published>2012-07-20T12:30:00.001+01:00</published><updated>2012-07-20T12:30:27.857+01:00</updated><title type='text'>Hard Reset Nokia Lumia 900</title><content type='html'>Para fazerem o Hard Reset ao Nokia Lumia 900 só tem de seguir o link em baixo:&lt;br /&gt;
&lt;br /&gt;
http://www.hjfr-info.com/PT/Aprender/HJFR-INFO_White/MobileReset/NokiaLumia900.php&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/8231230910944907275/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-nokia-lumia-900.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8231230910944907275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8231230910944907275'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2012/07/hard-reset-nokia-lumia-900.html' title='Hard Reset Nokia Lumia 900'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-6659441418549374195</id><published>2012-07-10T22:16:00.001+01:00</published><updated>2012-07-10T22:16:55.774+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Programas"/><category scheme="http://www.blogger.com/atom/ns#" term="Programs"/><title type='text'>Jmeter</title><content type='html'>&lt;div class=&quot;wlWriterHeaderFooter&quot; style=&quot;float:right; margin:0px; padding:0px 0px 4px 8px;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;digg_url = &quot;http://seekerpt.blogspot.com/2012/07/jmeter.html&quot;;digg_title = &quot;Jmeter&quot;;digg_bgcolor = &quot;#000000&quot;;digg_skin = &quot;normal&quot;;&lt;/script&gt;&lt;script src=&quot;http://digg.com/tools/diggthis.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;&lt;/script&gt;&lt;/div&gt;&lt;p&gt;Uma das ferramentas que conheço com mais possibilidades.&lt;/p&gt;  &lt;p&gt;É impressionante a quantidade de coisas que se podem fazer com uma simples ferramenta de testes.&lt;/p&gt;  &lt;p&gt;Estou a gostar bastante e é gratuita. Com ela e alguma personalização conseguimos fazer testes de carga e validar erros do nosso código bem como falhas de segurança.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://jmeter.apache.org/index.html&quot;&gt;http://jmeter.apache.org/index.html&lt;/a&gt;&lt;/p&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/6659441418549374195/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2012/07/jmeter.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/6659441418549374195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/6659441418549374195'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2012/07/jmeter.html' title='Jmeter'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-5325339287916897469</id><published>2012-04-14T21:12:00.001+01:00</published><updated>2012-04-14T21:12:57.962+01:00</updated><title type='text'>Novas funcionalidades do Windows 8 - Secure Boot</title><content type='html'>Secure boot.&lt;br /&gt;Aparentemente o windows 8 vai ter novas funcionalidades em relação ao boot.&lt;br /&gt;É sabido que uma das grandes dores de cabeça em termos de segurança é o controlo da parte de boot do sistema operativo das nossas máquinas.&lt;br /&gt;A Fase em que a BIOS acaba de entrar e o S.O. começa a arrancar é uma das mais criticas. É aqui que se pode subverter a segurança implementada no S.O. arrancando com outro S.O. que permita a corrupção do existente ou mesmo instalando aquilo a que vulgarmente se chama de root kit.&lt;br /&gt;Com o windows 8 e as novas BIOS UEFI (Unified Extensible Firmware Interface) a Microsft veio tentar alterar o paradigma.&lt;br /&gt;O UEFI inclui uma opção de secure boot para impedir &quot;Boot Loader Attacks&quot;.&lt;br /&gt;Qualquer código que é carregado na fase de boot do sistema terá que estar identificado com uma chave de segurança permitindo ao UEFI bloquear qualquer tentativa de correr código não autorizado. Os fabricantes O.E.M terão de implementar esta funcionalidade para obterem certificação do seu equipamento (autocolante de windows 8 compatible.)&lt;br /&gt;Para o utilizador esta funcionalidade é muito boa, mas para o fabricante a funcionalidade também é excelente, porque passa a existir uma base de dados de chaves &quot;Key Enrollment Key database (KEK)&quot; onde a microsoft poderá realizar a actualização de chaves para novos S.O. mas também poderá revogar chaves para os seus sistemas operativos que terão sido comprometidos ou na minha opinião pirateados!&lt;br /&gt;A forma de funcionar é simples, haverão várias bases de dados de chaves que serão consultadas no processo de boot.&lt;br /&gt;Depois de validadas o windows arranca o software &quot;Anti-Malware&quot;.&lt;br /&gt;Finalmente o windows arranca os &quot;Kernel Drivers&quot; e inicializa o &quot;User Mode&quot;&lt;br /&gt;&lt;br /&gt;Mais informações em http://www.hjfr-info.com/Noticias/NoticiasRecentes.php&lt;br /&gt;&lt;br /&gt;- SeeKeR&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/5325339287916897469/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2012/04/novas-funcionalidades-do-windows-8.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5325339287916897469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5325339287916897469'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2012/04/novas-funcionalidades-do-windows-8.html' title='Novas funcionalidades do Windows 8 - Secure Boot'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-6629343507850733083</id><published>2012-01-15T22:49:00.001+00:00</published><updated>2012-01-15T22:49:54.471+00:00</updated><title type='text'>NHRP - Next Hop Resolution Protocol</title><content type='html'>É um protocolo tipo cliente / servidor onde um &quot;Hub&quot; faz de NHRP server e os &quot;SPOKES&quot; são os clientes. A base de dados NHRP mantém os mapeamentos entre o router e os endereços de cada túnel (o ip de cada um dos &quot;SPOKE&quot;). Cada SPOKE regista o seu ip publico e o seu endereço privado usado no túnel no seu arranque. E faz perguntas à base dados NHRP para saber quais os endereços dos outros SPOKES existentes. NHRP é utilizado para fazer com que a configuração e gestão de um ambiente full / partial mesh seja menos complexa quando comparada com a Hub-And-spoke.&lt;br /&gt;&lt;br /&gt;- SeeKeR&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/6629343507850733083/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2012/01/nhrp-next-hop-resolution-protocol.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/6629343507850733083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/6629343507850733083'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2012/01/nhrp-next-hop-resolution-protocol.html' title='NHRP - Next Hop Resolution Protocol'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-3445802474466272610</id><published>2012-01-15T22:36:00.001+00:00</published><updated>2012-01-15T22:36:15.007+00:00</updated><title type='text'>mGRE - Multipoint Generic Routing Encapsulation</title><content type='html'>Permite que uma porta configurada  com Generic Routing Encapsulation (GRE) possa suportar múltiplos túneis GRE, tornando a sua configuração muito mais fácil.&lt;br /&gt;&lt;br /&gt;A utilização de túneis GRE permite a utilização de IP multicast e protocolos alem do IP.&lt;br /&gt;&lt;br /&gt;O suporte do ip multicast activa a possibilidade de protocolos dinâmicos de Routing, como o EIGRP ou o OSPF de actualizar as suas tabelas dinâmicas de Routing e criar caminhos de redundantes. Estes caminhos podem ser essenciais para o funcionamento das DMVPN (Dynamic Multipoint Virtual Private Networks).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;- SeeKeR&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/3445802474466272610/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2012/01/mgre-multipoint-generic-routing.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/3445802474466272610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/3445802474466272610'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2012/01/mgre-multipoint-generic-routing.html' title='mGRE - Multipoint Generic Routing Encapsulation'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-4269324504569682880</id><published>2012-01-02T23:10:00.000+00:00</published><updated>2012-01-03T10:25:49.310+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Network Address Translation"/><category scheme="http://www.blogger.com/atom/ns#" term="Routing"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><category scheme="http://www.blogger.com/atom/ns#" term="segurança"/><title type='text'>NAT</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Network
address translation é uma tecnologia que nos permite resolver problemas de
conectividade em redes que utilizam endereços não roteáveis ou que se sobrepõem
a outros já existentes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Na maioria
dos casos NAT permite a utilização de endereços ipv4 não registados para a
ligação á internet. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Os
dispositivos que têm um nat configurado traduzem em tempo real os endereços
privados da rede para um ou mais endereços públicos válidos. Esta tradução de
endereços adiciona um nível de segurança na nossa rede pois impede a divulgação
de endereços internos na rede externa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Os
dispositivos NAT também podem funcionar de forma inversa, traduzindo múltiplos
endereços públicos para um ou mais endereços privados.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Vantagens do
NAT:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l2 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Eliminação de utilização de
endereços públicos (registados) por cada um dos hosts que se ligam a redes externas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l2 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Preserva os endereços utilizando a.
Multiplexagem de portas para todas as comunicações com o exterior. (permite a
utilização do mesmo endereço publico por vários hosts privados).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l2 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Permite conectividade entre redes
existentes com endereços sobrepostos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l2 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Permite a migração de endereçamento
de uma forma fácil e organizada.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Desvantagens:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l6 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Determinados protocolos escondem os
seus endereços de ip fora do header. ( embedded ip address ) Os NAT&#39;s dinâmicos
necessitam de manter informação de estado que nem sempre está disponível.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l6 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;O NAT interfere com alguns sistemas
de cifra e autenticação.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l6 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Em alguns casos dificulta a análise
de logs sendo necessário correlacionar esses logs com outros existentes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Existem
Vários tipos de NAT.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;1.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;NAT estático. Traduz um endereço único
interno para um endereço específico externo. (ambos os endereços são fixos)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;2.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;NAT dinâmico. Traduz um endereço
interno para um endereço externo temporariamente. (quando o endereço interno
deixa de usar o publico este fica disponível para outras ligações. A relação contínua
de um para um.)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 84pt; mso-list: l4 level2 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;1.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;PAT estático - Á semelhança de um
nat estático traduz múltiplos endereços internos para um externo mantendo a
porta utilizada.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 84pt; mso-list: l4 level2 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;2.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;PAT dinâmico (Overload). - Traduz múltiplos
endereços internos para um ou mais endereços externos mantendo, se possível, a
porta utilizada escolhendo para isso um dos endereços de ip externos disponíveis,
caso não seja possível, utiliza a próxima porta disponível num qualquer
endereço externo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Formas de
configuração:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l1 level1 lfo4; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Nat Estático&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;enable&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;configure
terminal&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat inside source static 192.168.1.2
209.200.160.100&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;interface
fa 0/0 &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Interface
com ligação ao interior&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip
nat inside&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;interface
fa0/1 &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Interface
com ligação ao exterior&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip
nat outside&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l0 level1 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Nat Dinamico&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;enable&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;configure
terminal&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;access
list 11 permit 192.168.1.0 0.0.0.255&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt; &lt;span style=&quot;color: lime;&quot;&gt;Criação da lista de
endereços que podem ser traduzidos pelo nat&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip
nat pool nomepool 209.200.160.100 209.200.160.110 prefix-lenght 24&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt; &lt;span style=&quot;color: lime;&quot;&gt;conjunto
de&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;endereços externos que vão ser usados na
tradução dos endereços internos.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip
nat inside source list 1 pool nomepool&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt; &lt;span style=&quot;color: lime;&quot;&gt;associação dos endereços
internos á pool de endereços externos&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;int
fa 0/0 &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;interface
da rede interna&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip
nat inside&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;int
fa 0/1&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt; &lt;span style=&quot;color: lime;&quot;&gt;interface da rede externa&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip
nat outside&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Este nat dinâmico
tem a tradução de endereços 1 para 1 ou seja só se conseguem ligar á rede
externa 10 endereços internos de cada vez, visto apenas termos 10 externos na
pool de endereços.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Se houver um
11 pedido este não vai ter sucesso na sua tradução para um endereço externo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l5 level1 lfo6; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;PAT estático&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;enable&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;configure
terminal&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;access-list
1 permit 192.168.1.0 0.0.0.255&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat pool nomepool 209.200.160.100 209.200.160.100
prefix-length 24&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat inside source list 1 pool nomepool overload&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;int fa0/0&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat inside&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;int fa0/1&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip
nat outside&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l7 level1 lfo7; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;PAT Dinamico&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;enable&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;configure
terminal&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;access-list
1 permit 192.168.1.0 0.0.0.255&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat pool nomepool 209.200.160.100 209.200.160.110
prefix-length 24&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat inside source list 1 pool nomepool overload&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;int fa0/0&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat inside&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;int fa0/1&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip
nat outside&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;color: white; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Por defeito o equipamento guarda as tabelas nat por tipo de ligação algum
tempo.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;Aqui ficam
os tempos por defeito que podem ser alterados:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l3 level1 lfo8; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;UDP - 5minutos&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l3 level1 lfo8; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;TCP (sessão) - 24 horas&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l3 level1 lfo8; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;SYN - 1 minuto&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l3 level1 lfo8; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;FIN/RST - 1 minuto&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l3 level1 lfo8; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;DNS - 1 minuto&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt 48pt; mso-list: l3 level1 lfo8; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ICMP - 1 minuto&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;Por fim
deixo uma configuração NAT que pode ser usada quando temos redes que se sobrepõem
e cujo trafego a ser feito nat é da rede externa para a rede interna...&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;enable&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;configure terminal&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;access-list 1 permit 192.168.1.0 0.0.0.255&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat pool nomepool 192.168.1.2 192.168.1.10
prefix-length 24&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat outside source list 1 pool addresspool &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: lime; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;atenção ao outside em vez de inside.&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;interface fa 0/0&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat inside&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;interface fa 0/1&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;ip nat outside&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Tipos de endereços de NAT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;Inside Local - &lt;span style=&quot;color: lime;&quot;&gt;Endereço pertencente ao host interno&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;Inside Global - &lt;span style=&quot;color: lime;&quot;&gt;Endereço do host interno&amp;nbsp;visualizado&amp;nbsp;pelos hosts externos&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;Outside Local - &lt;span style=&quot;color: lime;&quot;&gt;Endereço externo&amp;nbsp;visualizado&amp;nbsp;pelos hosts internos&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;Outside Global - &lt;span style=&quot;color: lime;&quot;&gt;Endereço do host externo&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/4269324504569682880/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/12/nat.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/4269324504569682880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/4269324504569682880'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/12/nat.html' title='NAT'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-8846930553086600841</id><published>2011-12-27T12:21:00.000+00:00</published><updated>2011-12-27T12:21:54.463+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="Configuring Basic SNMP"/><category scheme="http://www.blogger.com/atom/ns#" term="routers"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><category scheme="http://www.blogger.com/atom/ns#" term="segurança"/><category scheme="http://www.blogger.com/atom/ns#" term="switches"/><category scheme="http://www.blogger.com/atom/ns#" term="Switching"/><title type='text'>Configurar SNMP Básico</title><content type='html'>Para activarmos o SNMP no nosso equipamento Cisco é necessário escrever os seguintes comandos:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;enable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;configure terminal&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;snmp-server contact xpto at &quot;numero telefone&quot; &lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;(numero de contacto)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;snmp-server location rua x &lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;(morada)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;snmp-server chassis-id 123456 &lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;(numero de serie do dispositivo)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Configurar visualizações de SNMP.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;snmp-server view ciscoview mib-2 included&lt;/span&gt; &amp;nbsp;&lt;span style=&quot;color: lime;&quot;&gt;(criar e incluir uma visualização de SNMP (sub-tree))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
Configurar uma comunidade SNMP&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;snmp-server comunity xpto ro&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;(criação de uma view com permissões de leitura ao&amp;nbsp;conteúdo&amp;nbsp;total da MIB)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;snmp-server comunity xpto2 view ciscoview&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;(criação de uma view com permissões apenas para a &quot;sub-tree&quot; da MIB-2&amp;nbsp;definida&amp;nbsp;anteriormente.)&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/8846930553086600841/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/12/configurar-snmp-basico.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8846930553086600841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8846930553086600841'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/12/configurar-snmp-basico.html' title='Configurar SNMP Básico'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-8544439090300143931</id><published>2011-12-27T11:58:00.001+00:00</published><updated>2011-12-27T11:59:32.196+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Configuring SSH without Host Name and Domain Name"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><category scheme="http://www.blogger.com/atom/ns#" term="segurança"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="switches"/><category scheme="http://www.blogger.com/atom/ns#" term="Switching"/><title type='text'>Configurar SSH sem host name e domain Name</title><content type='html'>&lt;br /&gt;
Para configurar SSH num equipamento cisco sem hostname e sem domain name podemos recorrer aos seguintes comandos:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;enable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;configure terminal&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;ip ssh rsa keypair-name ciscopair&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;generate rsa usage-keys label ciscopair modulus 1024&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;ip ssh version 2&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/8544439090300143931/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/12/configurar-ssh-sem-hostname-e-domain.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8544439090300143931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8544439090300143931'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/12/configurar-ssh-sem-hostname-e-domain.html' title='Configurar SSH sem host name e domain Name'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-5420961520065086063</id><published>2011-12-23T00:11:00.001+00:00</published><updated>2011-12-23T13:54:09.287+00:00</updated><title type='text'>RBAC - role based access control</title><content type='html'>É uma forma de controlo de acessos que restringe o acesso aos recursos baseado-se nas funções dos utilizadores.&lt;br /&gt;
&lt;br /&gt;
Este método de controlo pode ser utilizado pelas grandes empresas para atribuir acessos aos funcionários tendo por base a sua função.&lt;br /&gt;
&lt;br /&gt;
Assim consegue-se cumprir as melhores recomendações de segurança segregando acessos e atribuindo privilégios de administração a quem de direito.&lt;br /&gt;
&lt;br /&gt;
Para activar a funcionalidade num router ou switch cisco temos de seguir os seguintes passos:&lt;br /&gt;
&lt;br /&gt;
1 - activar as &quot;cli view&#39;s&quot;&lt;br /&gt;
2 - configurar as várias &quot;cli views&quot; para os diferentes administradores&lt;br /&gt;
3 - opcionalmente pode-se criar views para grupos diferentes de utilizadores com passwords diferentes para aceder a um &quot;CLI&quot; particular. &lt;br /&gt;
&lt;br /&gt;
Comandos:&lt;br /&gt;
&lt;br /&gt;
1:&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Enable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Configure terminal&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Enable view&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;( entra em modo root view que permite criar varias views)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2:&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Parser view my-view&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;( criar um nome de view)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Secret xpto&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;(atribuir um enable secret)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Commands exec include show access-list&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;(especificar comandos no modo exec.)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Commands exec include configure terminal&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;( especificar comandos no modo exec.)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Commands configure include ip access-list extended&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;(especificar comandos no modo de configuração)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Commands Ipneacl include all deny&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;( especificar sub comandos do modo de configuração)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Commands ipenacl all permit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
As opções possíveis são:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: cyan;&quot;&gt;Include&lt;/span&gt; - adiciona um comando especifico ou interface a uma view&lt;br /&gt;
&lt;span style=&quot;color: cyan;&quot;&gt;Include-exclusive&lt;/span&gt; - adiciona um comando especifico ou interface numa view mas exclui o comando de todas as outras&lt;br /&gt;
&lt;span style=&quot;color: cyan;&quot;&gt;Exclude&lt;/span&gt; - nega acesso ao comandos especificados.&lt;br /&gt;
&lt;span style=&quot;color: cyan;&quot;&gt;All&lt;/span&gt; - funciona como wildcard.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/5420961520065086063/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/12/rbac-role-based-access-control.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5420961520065086063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/5420961520065086063'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/12/rbac-role-based-access-control.html' title='RBAC - role based access control'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-1462027683146556938</id><published>2011-12-17T18:12:00.001+00:00</published><updated>2011-12-18T15:54:25.792+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="segurança"/><category scheme="http://www.blogger.com/atom/ns#" term="switches"/><category scheme="http://www.blogger.com/atom/ns#" term="Switching"/><title type='text'>Portas trunk</title><content type='html'>As portas trunk são portas que permitem a passagem de várias redes virtuais (VLAN) ao mesmo tempo. Desde que devidamente autorizadas. É necessário ter uma maior sensibilidade em relação á sua segurança em atenção a segurança, caso elas sejam comprometidas o atacante terá acesso a todas as redes virtuais que passam nessa porta.&lt;br /&gt;
&lt;br /&gt;
Para activar uma porta em modo trunk é necessário escrever os seguintes comandos:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Enable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Configure terminal&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Interface fast Ethernet 0/0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Switchport mode trunk&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
- SeeKeR&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/1462027683146556938/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/12/portas-trunk.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/1462027683146556938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/1462027683146556938'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/12/portas-trunk.html' title='Portas trunk'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-7678150858249464884</id><published>2011-12-14T11:30:00.001+00:00</published><updated>2011-12-14T11:30:51.640+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><category scheme="http://www.blogger.com/atom/ns#" term="segurança"/><category scheme="http://www.blogger.com/atom/ns#" term="switches"/><title type='text'>Portas de Acesso</title><content type='html'>&lt;div class=&quot;wlWriterHeaderFooter&quot; style=&quot;float:right; margin:0px; padding:0px 0px 4px 8px;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;digg_url = &quot;http://seekerpt.blogspot.com/2011/12/portas-de-acesso.html&quot;;digg_title = &quot;Portas de Acesso&quot;;digg_bgcolor = &quot;#000000&quot;;digg_skin = &quot;normal&quot;;&lt;/script&gt;&lt;script src=&quot;http://digg.com/tools/diggthis.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;&lt;/script&gt;&lt;/div&gt;&lt;p&gt;Nos switchs é importante que todas as portas que não são trunk devam ser forçadas como portas de acesso. Devemos por razões de segurança evitar ter portas dinâmicas ou em modo negociável.&lt;/p&gt;  &lt;p&gt;Para colocar uma porta em modo acesso devemos escrever os seguintes comandos:&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;enable&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;configure terminal&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;Interface fa0/0&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;switchport mode access&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Pode ser também aplicado a um conjunto de portas em vez de uma só como no exemplo em cima.&lt;/p&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/7678150858249464884/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/12/portas-de-acesso.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/7678150858249464884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/7678150858249464884'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/12/portas-de-acesso.html' title='Portas de Acesso'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-3237934760275891988</id><published>2011-12-09T13:53:00.001+00:00</published><updated>2011-12-09T13:55:19.545+00:00</updated><title type='text'>Hard Reset Nokia N9</title><content type='html'>Para realizar o hardreset ao nokia N9 temos de seguir os seguintes passos:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Open “Settings”&lt;/li&gt;
&lt;li&gt;Tap “Reset”&lt;/li&gt;
&lt;li&gt;Choose “Clear Device”&lt;/li&gt;
&lt;li&gt;Tap “Yes” to confirm the process.&lt;/li&gt;
&lt;/ol&gt;
Atenção que o processo apaga tudo o que o telemóvel tem e pode demorar perto de 15 minutos a concluir.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/3237934760275891988/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/12/hard-reset-nokia-n9.html#comment-form' title='3 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/3237934760275891988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/3237934760275891988'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/12/hard-reset-nokia-n9.html' title='Hard Reset Nokia N9'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-2858970895835830877</id><published>2011-12-09T13:50:00.001+00:00</published><updated>2011-12-09T13:52:50.451+00:00</updated><title type='text'>Repor definições no Nokia N9</title><content type='html'>Para repor as definições no Nokia N9 apenas temos de realizar os seguintes passos: &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Open “Settings”&lt;/li&gt;
&lt;li&gt;Tap “Reset”&lt;/li&gt;
&lt;li&gt;Choose “Restore Settings”&lt;/li&gt;
&lt;li&gt;Tap “Yes” to confirm the process.&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/2858970895835830877/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/12/repor-definicoes-no-nokia-n9.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/2858970895835830877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/2858970895835830877'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/12/repor-definicoes-no-nokia-n9.html' title='Repor definições no Nokia N9'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-2846813997511854542</id><published>2011-12-09T13:43:00.001+00:00</published><updated>2011-12-09T13:46:04.936+00:00</updated><title type='text'>Como activar o SSH no backtrack</title><content type='html'>Para activar o ssh no backtrack temos de primeiro criar a chave de ssh.&lt;br /&gt;
Para criar a chave podemos usar o seguinte comando: &lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sshd-generate    &lt;/span&gt;&lt;br /&gt;
Depois deste comando podemos iniciar o ssh com o seguinte comando:&lt;br /&gt;
 &lt;span style=&quot;color: blue;&quot;&gt;/etc/init.d/ssh start    &lt;/span&gt;&lt;br /&gt;
Ou então para inicializar automáticamente na sequencia de boot podemos utilizar o seguinte comando:&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;update-rc.d ssh defaults    &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/2846813997511854542/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/12/como-activar-o-ssh-no-backtrack.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/2846813997511854542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/2846813997511854542'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/12/como-activar-o-ssh-no-backtrack.html' title='Como activar o SSH no backtrack'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-8506234401948675275</id><published>2011-10-19T23:54:00.001+01:00</published><updated>2011-10-19T23:54:44.780+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><title type='text'>Definir tamanho mínimo de password num CISCO</title><content type='html'>&lt;div class=&quot;wlWriterHeaderFooter&quot; style=&quot;float:right; margin:0px; padding:0px 0px 4px 8px;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;digg_url = &quot;http://seekerpt.blogspot.com/2011/10/definir-tamanho-minimo-de-password-num.html&quot;;digg_title = &quot;Definir tamanho mínimo de password num CISCO&quot;;digg_bgcolor = &quot;#000000&quot;;digg_skin = &quot;normal&quot;;&lt;/script&gt;&lt;script src=&quot;http://digg.com/tools/diggthis.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;&lt;/script&gt;&lt;/div&gt;&lt;p&gt;O comando para indicar que temos de escolher uma palavra-chave com um tamanho mínimo de 10 caracteres é:&lt;/p&gt;  &lt;p&gt;&amp;gt;&lt;font color=&quot;#0000ff&quot;&gt;enable&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;gt;&lt;font color=&quot;#0000ff&quot;&gt;config terminal&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;gt;&lt;font color=&quot;#0000ff&quot;&gt;security passwords min-length 10&lt;/font&gt;&lt;/p&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/8506234401948675275/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/10/definir-tamanho-minimo-de-password-num.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8506234401948675275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/8506234401948675275'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/10/definir-tamanho-minimo-de-password-num.html' title='Definir tamanho mínimo de password num CISCO'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1425740060452278357.post-7018728111555133997</id><published>2011-10-19T21:41:00.001+01:00</published><updated>2011-10-28T21:25:46.908+01:00</updated><title type='text'>Script para retirar os utilizadores dos logs dos ISAS agrupados por número de hits num dia.</title><content type='html'>&lt;div class=&quot;wlWriterHeaderFooter&quot; style=&quot;float: right; margin: 0px; padding: 0px 0px 4px 8px;&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
digg_url = &quot;http://seekerpt.blogspot.com/2011/10/script-para-retirar-os-utilizadores-dos.html&quot;;digg_title = &quot;Script para retirar os utilizadores dos logs dos ISAS agrupados por número de hits num dia.&quot;;digg_bgcolor = &quot;#000000&quot;;digg_skin = &quot;normal&quot;;
&lt;/script&gt;&lt;script src=&quot;http://digg.com/tools/diggthis.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;
digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;
&lt;/script&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Este script necessita de ter o logparser instalado. Ou no minimo a sua DLL registada.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;csharpcode&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Caminho onde está o Log: &lt;/span&gt;&lt;strong style=&quot;font-family: monospace; white-space: pre;&quot;&gt;“E:\ISALOG~1\”&lt;/strong&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Nome dos Ficheiros têm de começar por: &lt;/span&gt;&lt;strong style=&quot;font-family: monospace; white-space: pre;&quot;&gt;“ISALOG_”&lt;/strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;rem&quot; style=&quot;color: #93c47d; font-family: monospace; white-space: pre;&quot;&gt;&#39; -----------------------------------------------&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;rem&quot; style=&quot;color: #93c47d; font-family: monospace; white-space: pre;&quot;&gt;&#39; LogParser.vbs&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;rem&quot; style=&quot;color: #93c47d; font-family: monospace; white-space: pre;&quot;&gt;&#39; Script lê o conteudo do logs do ISA e coloca-os num ficheiroL. &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;rem&quot; style=&quot;color: #93c47d; font-family: monospace; white-space: pre;&quot;&gt;&#39; Autor Hugo Jorge Fernandes Rodrigues&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;rem&quot; style=&quot;color: #93c47d; font-family: monospace; white-space: pre;&quot;&gt;&#39; Versão 1.0 - 21 Setembro 2011 - Retira os utilizadores com mais hits por dia&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;rem&quot; style=&quot;color: #93c47d; font-family: monospace; white-space: pre;&quot;&gt;&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;rem&quot; style=&quot;color: #93c47d; font-family: monospace; white-space: pre;&quot;&gt;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;rem&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #93c47d;&quot;&gt;&#39; -----------------------------------------------&#39;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;lnum&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;color: #6fa8dc; font-family: monospace; white-space: pre;&quot;&gt;Set&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt; &lt;/span&gt;oLogQuery  = &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;createobject&lt;/span&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;MSUtil.LogQuery&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;color: #6fa8dc; font-family: monospace; white-space: pre;&quot;&gt;Set&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt; &lt;/span&gt;oInput =  &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;createobject&lt;/span&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;MSUtil.logquery.W3CInputformat&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;color: #6fa8dc; font-family: monospace; white-space: pre;&quot;&gt;Set&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt; &lt;/span&gt;oOutput =  &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;createobject&lt;/span&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;MSUtil.logquery.CSVOutputFormat&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; DataInicial&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; DataFinal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; LogPath &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; sLogName &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; sLogFileName&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; UserName &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; strDiaInicial&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; strMesInicial&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; strAnoInicial&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;lnum&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;DataInicial = InputBox (&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;Qual a data Inicial para pesquisa. Formato: DD-MM-AAAA&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;Dia Inicio&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;date&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;())&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;lnum&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;DataFinal = InputBox (&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;Qual a data de fim da pesquisa. Formato: DD-MM-AAAA&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;Dia de FIM&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;date&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;())&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Datafinal = &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;CDate&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;(datafinal)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;Datainicial = &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;CDate&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;(dataInicial)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;do&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; datainicial &amp;lt;= datafinal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         strDiaInicial = DatePart(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;d&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;,DataInicial)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         if&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; len(strDiaInicial) &amp;lt;2 &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;                strDiaInicial = &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;0&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; &amp;amp; strDiaInicial&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         end&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;if&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         strMesInicial = &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;cstr&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;(DatePart(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;m&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;,DataInicial))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         if&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; len(strMesInicial) &amp;lt;2 &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;                strMesInicial = &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;0&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; &amp;amp; strMesInicial&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         end&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;if&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         strAnoInicial = &lt;/span&gt;&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;cstr&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;(DatePart(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;yyyy&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;,DataInicial))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         sLogFileName = strAnoInicial &amp;amp; strMesInicial &amp;amp; strDiaInicial&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         LogPath = &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;E:\ISALOG~1\&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         sLogName = &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;ISALOG_&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; &amp;amp; sLogFileName &amp;amp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;*.w3c&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;         strsqlbyIPAddress = &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;Select count(cs-username) as UserCount, cs-username INTO e:\LogParser\&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; &amp;amp; sLogFileName &amp;amp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;.csv FROM &quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; &amp;amp; logPath &amp;amp; sLogName &amp;amp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot; Group by cs-username&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;        oLogQuery.ExecuteBatch strsqlbyIPAddress, oInput, oOutput&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;        datainicial = DateAdd(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;d&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;,1,datainicial)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kwrd&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;loop&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;MsgBox(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&quot;FIM&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;style type=&quot;text/css&quot;&gt;
&lt;br /&gt;.csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt; font-size: small;&lt;br /&gt; color: black;&lt;br /&gt; font-family: consolas, &quot;Courier New&quot;, courier, monospace;&lt;br /&gt; background-color: #ffffff;&lt;br /&gt; /*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;.csharpcode .alt &lt;br /&gt;{&lt;br /&gt; background-color: #f4f4f4;&lt;br /&gt; width: 100%;&lt;br /&gt; margin: 0em;&lt;br /&gt;}&lt;br /&gt;.csharpcode .lnum { color: #606060; }
&lt;/style&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0420588261422872&quot;;
/* seekerpt.blogspot.com */
google_ad_slot = &quot;7441509273&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://seekerpt.blogspot.com/feeds/7018728111555133997/comments/default' title='Enviar feedback'/><link rel='replies' type='text/html' href='http://seekerpt.blogspot.com/2011/10/script-para-retirar-os-utilizadores-dos.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/7018728111555133997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1425740060452278357/posts/default/7018728111555133997'/><link rel='alternate' type='text/html' href='http://seekerpt.blogspot.com/2011/10/script-para-retirar-os-utilizadores-dos.html' title='Script para retirar os utilizadores dos logs dos ISAS agrupados por número de hits num dia.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>