<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Mad Router</title>
	<atom:link href="http://www.madrouter.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madrouter.com</link>
	<description>Blog about Cisco and Linux technologies</description>
	<pubDate>Wed, 03 Sep 2008 19:29:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Hot Standby Routing Protocol (HSRP)</title>
		<link>http://www.madrouter.com/hot-standby-routing-protocol-hsrp/</link>
		<comments>http://www.madrouter.com/hot-standby-routing-protocol-hsrp/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 18:04:08 +0000</pubDate>
		<dc:creator>Florent</dc:creator>
		
		<category><![CDATA[Cisco]]></category>

		<category><![CDATA[hsrp]]></category>

		<category><![CDATA[redundancy]]></category>

		<category><![CDATA[router]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/?p=43</guid>
		<description><![CDATA[Let say you have a gateway which allows you to access internet. This gateway goes down 
All you need is &#8230; redundancy ! Hot Standby Routing Protocol is here to help you.
This article will show you a configuration example to make it work.


Lets explain the basic configuration of the routers.
R1
R1(config)#int fa0/0
R1(config-if)#ip add 192.168.0.2 255.255.255.0
R1(config-if)#no sh
R1(config-if)#int [...]]]></description>
			<content:encoded><![CDATA[<p>Let say you have a gateway which allows you to access internet. This gateway goes down <img src='http://www.madrouter.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
All you need is &#8230; redundancy ! Hot Standby Routing Protocol is here to help you.<br />
This article will show you a configuration example to make it work.</p>
<p><img src="http://www.madrouter.com/tutoriaux/hsrp/hsrp.png" alt="Topology" width="571" height="315" /></p>
<p><span id="more-43"></span></p>
<p>Lets explain the basic configuration of the routers.</p>
<p><strong>R1</strong></p>
<pre class="cisco">R1(config)#int fa0/0
R1(config-if)#ip add 192.168.0.2 255.255.255.0
R1(config-if)#no sh
R1(config-if)#int s0/0/0
R1(config-if)#ip add 1.1.1.1 255.255.255.252
R1(config-if)#no sh
R1(config)#exit
R1(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0/0</pre>
<p><strong>R2</strong></p>
<pre class="cisco">R2(config)#int fa0/0
R2(config-if)#ip add 192.168.0.3 255.255.255.0
R2(config-if)#no sh
R2(config-if)#int s0/0/0
R2(config-if)#ip add 2.2.2.1 255.255.255.252
R2(config-if)#no sh
R2(config)#exit
R2(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0/0</pre>
<p>Nothing difficult to understand. You can see that there will be a static route for the internet traffic on both R1 and R2.</p>
<p>Now let&#8217;s configure R3 and R4. In my lab both R3 and R4 on their f0/1 interfaces will get IP addresses from the DHCP server on my LAN (which will also provide internet connection).<br />
NAT with overload (PAT) will also be configured on both R3 and R4 for the internet connectivity on PC1</p>
<p><strong>R3</strong></p>
<pre class="cisco">R3(config)#int f0/1
R3(config-if)#ip add dhcp
R3(config-if)#ip nat outside
R3(config-if)#no sh
R3(config-if)#int s0/0/1
R3(config-if)#ip add 1.1.1.2 255.255.255.252
R3(config-if)#ip nat inside
R3(config-if)#no sh
R3(config-if)#exit
R3(config)#ip route 192.168.0.0 255.255.255.0 serial 0/0/1
R3(config)#access-list 1 permit any
R3(config)#ip nat inside source list 1 interface fastEthernet 0/1 overload</pre>
<p><strong>R4</strong></p>
<pre class="cisco">R4(config)#int f0/1
R4(config-if)#ip add dhcp
R4(config-if)#ip nat outside
R4(config-if)#no sh
R4(config-if)#int s0/0/1
R4(config-if)#ip add 2.2.2.2 255.255.255.252
R4(config-if)#ip nat inside
R4(config-if)#no sh
R4(config-if)#exit
R4(config)#ip route 192.168.0.0 255.255.255.0 serial 0/0/1
R4(config)#access-list 1 permit any
R4(config)#ip nat inside source list 1 interface fastEthernet 0/1 overload</pre>
<p>Don&#8217;t forget the route for the LAN network (192.168.0.0)<br />
Now all is set.</p>
<p>If we want to configure PC1, we can set for example:<br />
IP ADDRESS&gt;	192.168.0.60<br />
NETMASK&gt;	255.255.255.0<br />
GATEWAY&gt;	192.168.0.2 or 192.168.0.3<br />
DNS SERVER&gt;	10.19.40.1  //this is my LAN DNS server.</p>
<p>Sweet it&#8217;s working, now we can configure our redundancy. The principle here is simple, we will assign a virtual IP address on both R1 and R2. And this virutal IP address will be the gateway for PC1<br />
<strong>R1</strong></p>
<pre class="cisco">R1(config)#int f0/0
R1(config-if)#standby 1 ip 192.168.0.1
R1(config-if)#standby 1 preempt
R1(config-if)#standby 1 priority 105
R1(config-if)#standby 1 track serial 0/0/0</pre>
<p><strong>R2</strong></p>
<pre class="cisco">R2(config)#int f0/0
R2(config-if)#standby 1 ip 192.168.0.1
R2(config-if)#standby 1 preempt
R2(config-if)#standby 1 priority 100
R2(config-if)#standby 1 track serial 0/0/0</pre>
<p><span style="text-decoration: underline;"><strong>Explanations:</strong></span><br />
<strong>standby 1 ip 192.168.0.1</strong><br />
The number 1 is the <strong>hsrp group</strong>. The IP address 192.168.0.1 will be the virtual one, this will be PC1&#8217;s gateway.</p>
<p><strong>standby 1 preempt</strong><br />
This is needed for the router to become the Active Router instead of the Standby Router. When it sees that the Active router is down or when its priority has becomed higher thant the Active router&#8217;s one.</p>
<p><strong>standby 1 priority 100</strong><br />
that&#8217;s the priority, if we have 2 routers, the one with the biggest priority will become the Active Router, the other one will be the Standby Router.<br />
By default the priority is set to 100 (From 1 to 255). If the 2 routers have the same priority, the one with the biggest IP address will become the Active Router.</p>
<p><strong>standby 1 track serial 0/0/0</strong><br />
Let say R1 is the Active router, everything is fine except the serial link between R1 and R3, so the internet connection is down, but R1 will still remain the Active router.<br />
That&#8217;s why this command is so important, it will check the serial link, and if it goes down, it will decrement from 10 the priority. Then R2 will have a higher priority (100 &gt; 95) and R2 will become the Active Router, thanks to the preempt command that allows to automatically let R2 become the Active router when it sees its priority bigger thant R1&#8217;s priority.</p>
<p><span style="text-decoration: underline;"><strong>Verifications</strong></span><br />
Now let&#8217;s go on tests.<br />
PC1 is configured this way:<br />
IP ADDRESS&gt;	192.168.0.60<br />
NETMASK&gt;	255.255.255.0<br />
GATEWAY&gt;	192.168.0.1<br />
DNS SERVER&gt;	10.19.40.1  //this is my LAN DNS server.</p>
<p>You can see when i use the tracert command on my DNS server, I am using the link between R1 and R3.</p>
<p><img src="http://www.madrouter.com/tutoriaux/hsrp/hsrp_tracert_1.jpg" alt="Tracert 1" /></p>
<p>I just can&#8217;t explain why the name in front of [192.168.0.2] is thinklabs.esi-supinfo.com &#8230; It seems to be a host in the LAN (the LAN that provides internet connectivity to f0/1 on both R3 and R4)</p>
<p>Now I will ping google and then unplug a wire on R1<br />
<img src="http://www.madrouter.com/tutoriaux/hsrp/hsrp_ping_t.png" alt="ping" /></p>
<p>As you can see we have 2 timeout then the connection is up again <img src='http://www.madrouter.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Another tracert now<br />
<img src="http://www.madrouter.com/tutoriaux/hsrp/hsrp_tracert_2.png" alt="ping" /><br />
Still the same bug (?) with the name of the router.<br />
But We can see that now we are using the link between R2 and R4 !</p>
<p>Now let&#8217;s go on PC1 and see the ARP cache.<br />
<img src="http://www.madrouter.com/tutoriaux/hsrp/hsrp_arp_1.png" alt="ping" /></p>
<p>The MAC address of a virtual IP Address with hsrp will always be:<br />
<strong>00-00-0c-07-ac-**</strong><br />
<strong>**</strong> will be the HSRP group number.</p>
<p>For security reasons, you will may want to set a secure password between your routers for the protocol HSRP to work.<br />
You will just need to set this command on the interface configuration mode.</p>
<pre class="cisco">Router(config-if)#standby 1 authentication md5 key-string toto</pre>
<p>You also can set the password in clear text mode&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/hot-standby-routing-protocol-hsrp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BFR</title>
		<link>http://www.madrouter.com/bfr/</link>
		<comments>http://www.madrouter.com/bfr/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 18:37:37 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/?p=42</guid>
		<description><![CDATA[Un petit nom bizarre pour désigner à l&#8217;époque le nom de code des GSR ( Router 12000 serie )
En image le petit logo visible en ouvrant le chassis, Big Fuckin Router in da place
]]></description>
			<content:encoded><![CDATA[<p>Un petit nom bizarre pour désigner à l&#8217;époque le nom de code des GSR ( Router 12000 serie )</p>
<p><a href="http://www.kumari.net/gallery2/main.php?g2_itemId=331" target="_blank">En image</a> le petit logo visible en ouvrant le chassis, Big Fuckin Router in da place</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/bfr/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why Telnet is so Weak &#8230;</title>
		<link>http://www.madrouter.com/why-telnet-is-so-weak/</link>
		<comments>http://www.madrouter.com/why-telnet-is-so-weak/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 17:16:43 +0000</pubDate>
		<dc:creator>Florent</dc:creator>
		
		<category><![CDATA[Cisco]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Video]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[scapy]]></category>

		<category><![CDATA[telnet]]></category>

		<category><![CDATA[telnetsteal]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/?p=41</guid>
		<description><![CDATA[I have written a script in python, always with scapy, that captures in real time all the Telnet traffic accross the network.
The script, when reduced to its minimal needs, has 18 lines &#8230;
Here is the video.

All the datas captured are stored in a file: Client-Source IP - Server-Destination IP
The script does not manage very well [...]]]></description>
			<content:encoded><![CDATA[<p>I have written a script in python, always with scapy, that captures in real time all the Telnet traffic accross the network.</p>
<p>The script, when reduced to its minimal needs, has 18 lines &#8230;</p>
<p>Here is the video.</p>
<p style="text-align: center;"><a href="../tutoriaux/telnetsteal/telnetsteal.swf"><img class="aligncenter" src="../tutoriaux/telnetsteal/telnetsteal.png" alt="" width="590" height="487" /></a></p>
<p>All the datas captured are stored in a file: Client-Source IP - Server-Destination IP</p>
<p>The script does not manage very well when several telnet connections are launched to the same Telnet server by a unique host.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/why-telnet-is-so-weak/feed/</wfw:commentRss>
		</item>
		<item>
		<title>TFTP File Capture</title>
		<link>http://www.madrouter.com/tftp-file-capture/</link>
		<comments>http://www.madrouter.com/tftp-file-capture/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 10:19:39 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Cisco]]></category>

		<category><![CDATA[Video]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[scapy]]></category>

		<category><![CDATA[tftp]]></category>

		<category><![CDATA[tftpsteal]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/?p=40</guid>
		<description><![CDATA[The story continues using Scapy ( or how to create powerful tools in 5 minutes ).
Here&#8217;s the video of my new tool written with Scapy. The aim is to capture file configuration exported from cisco devices and walking on the wire in plain text.

]]></description>
			<content:encoded><![CDATA[<p>The story continues using Scapy ( or how to create powerful tools in 5 minutes ).</p>
<p>Here&#8217;s the video of my new tool written with Scapy. The aim is to capture file configuration exported from cisco devices and walking on the wire in plain text.</p>
<p style="text-align: center;"><a href="../tutoriaux/tftpsteal/tftpsteal.swf"><img class="aligncenter" src="../tutoriaux/tftpsteal/tftpsteal.png" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/tftp-file-capture/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Recovery Password for ASA 5500 Series Adaptive Security Appliance</title>
		<link>http://www.madrouter.com/recovery-password-for-asa-5500-series-adaptive-security-appliance/</link>
		<comments>http://www.madrouter.com/recovery-password-for-asa-5500-series-adaptive-security-appliance/#comments</comments>
		<pubDate>Mon, 19 May 2008 12:26:13 +0000</pubDate>
		<dc:creator>Florent</dc:creator>
		
		<category><![CDATA[Cisco]]></category>

		<category><![CDATA[5500]]></category>

		<category><![CDATA[5510]]></category>

		<category><![CDATA[ASA]]></category>

		<category><![CDATA[password]]></category>

		<category><![CDATA[recovery]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/?p=39</guid>
		<description><![CDATA[How to get your configuration back when you have forgotten your enable password?

I assume that you already are connected to the ASA with the console port.
Restart the ASA (manually you can switch ON/OFF).
Then, when prompted press ESCAPE to enter ROMMON mode.
We want to bypass the startup-config on the next restart of the ASA, so we [...]]]></description>
			<content:encoded><![CDATA[<p>How to get your configuration back when you have forgotten your enable password?</p>
<p><span id="more-39"></span></p>
<p>I assume that you already are connected to the ASA with the console port.<br/><br/></p>
<p>Restart the ASA (manually you can switch ON/OFF).<br/><br />
Then, when prompted press <strong>ESCAPE</strong> to enter ROMMON mode.<br/><br/><br />
We want to bypass the startup-config on the next restart of the ASA, so we will change the value of the configuration register.<br/><br />
We need to use the <strong>confreg</strong> command. By using this command, we enter in a wizzard which will ask us some questions.<br/><br />
<br/><br />
We answer <strong>yes</strong> at the first question, we want to change the value. (At this point you should store the configuration register value).<br/><br />
We will use the default values for all settings, except for &#8220;<strong>disable system configuration?</strong>&#8221; which is the option that will permit to bypass the startup-config. So we answer <strong>y</strong>.<br />
<br/></p>
<pre class="cisco">
rommon #0> confreg

Current Configuration Register: 0x00000001
Configuration Summary:
  boot default image from Flash

Do you wish to change this configuration? y/n [n]: <strong>y</strong>
enable boot to ROMMON prompt? y/n [n]:
enable TFTP netboot? y/n [n]:
enable Flash boot? y/n [n]:
select specific Flash image index? y/n [n]:
disable system configuration? y/n [n]: <strong>y</strong>
go to ROMMON prompt if netboot fails? y/n [n]:
enable passing NVRAM file specs in auto-boot mode? y/n [n]:
disable display of BREAK or ESC key prompt during auto-boot? y/n [n]:

Current Configuration Register: 0x00000040
Configuration Summary:
  boot ROMMON
  ignore system configuration

Update Config Register (0x40) in NVRAM...

rommon #1> boot
</pre>
<p>We can now reload the ASA with the <strong>boot</strong> command.<br />
<br/></p>
<p>Once the ASA has been reloaded, we can enter privileged mode without any password (the startup-config has been bypassed).<br />
<br/></p>
<pre class="cisco">
ciscoasa> en
Password: [enter]
ciscoasa#
</pre>
<p>Now we load the startup-config in the running-config</p>
<pre class="cisco">
ciscoasa# copy startup-config running-config

Destination filename [running-config]?

Cryptochecksum (unchanged): ab580f48 aeed7459 2da4751b b0061ac3

1726 bytes copied in 0.50 secs
MadRouterASA#
</pre>
<p>We enter global configuration mode and change the password.<br />
<br/></p>
<pre class="cisco">
MadRouterASA# conf t
MadRouterASA(config)# enable password Cisco
</pre>
<p>We change back the configuration register value.</p>
<pre class="cisco">
MadRouterASA(config)# config-register 0x00000001
</pre>
<p>Now You can save your running-config.</p>
<pre class="cisco">
MadRouterASA# copy running-config startup-config
</pre>
<p>That&#8217;s it.. !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/recovery-password-for-asa-5500-series-adaptive-security-appliance/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dynamips/Dynagen : installation sous Mac OS X Leopard</title>
		<link>http://www.madrouter.com/dynamipsdynagen-installation-sous-mac-os-x-leopard/</link>
		<comments>http://www.madrouter.com/dynamipsdynagen-installation-sous-mac-os-x-leopard/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 23:06:09 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Cisco]]></category>

		<category><![CDATA[Emulation]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/dynamipsdynagen-installation-sous-mac-os-x-leopard/</guid>
		<description><![CDATA[Installation pas plus difficile que sous XP ou sous Linux.
Suivez les étapes suivantes :

1ère étape :
Récupérez le .dmg contenant dynagen et dynamips pour Leopard. Monter le et copier le contenu dans votre dossier /Applications
2ème étape :
Faites un lien symbolique du binaire de dynamips

sudo ln -s /Applications/Dynagen/dynamips /usr/sbin/dynamips
3ème étape :
Faites un lien symbolique du binaire de [...]]]></description>
			<content:encoded><![CDATA[<p>Installation pas plus difficile que sous XP ou sous Linux.</p>
<p>Suivez les étapes suivantes :</p>
<p><span id="more-38"></span></p>
<p>1ère étape :</p>
<p>Récupérez le .dmg contenant dynagen et dynamips pour Leopard. Monter le et copier le contenu dans votre dossier /Applications</p>
<p>2ème étape :</p>
<p>Faites un lien symbolique du binaire de dynamips</p>
<pre class="cisco">
sudo ln -s /Applications/Dynagen/dynamips /usr/sbin/dynamips</pre>
<p>3ème étape :</p>
<p>Faites un lien symbolique du binaire de dynagen</p>
<pre class="cisco">
sudo ln -s /Applications/Dynagen/Dynagen.app/Contents/Resources/dynagen
/usr/sbin/dynagen</pre>
<p>4ème étape :</p>
<p>Lancez le serveur depuis votre terminal</p>
<pre class="cisco">
Last login: Thu Apr 10 00:57:57 on ttys000
madrouter:~ alex$sudo dynamips -H 7200</pre>
<p>5ème étape :</p>
<p>Lancez votre topologie en ciblant le fichier .net avec dynagen depuis un autre terminal</p>
<pre class="cisco">
Last login: Thu Apr 10 00:57:57 on ttys000
madrouter:~ alex$sudo dynagen /Users/alex/IOS/test.net</pre>
<p>( Attention : avec cette méthode vous devrez à coup sûr killer dynamips qui se transformera en zombie lorsque vous fermerez votre shell )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/dynamipsdynagen-installation-sous-mac-os-x-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Alias de mon coeur.</title>
		<link>http://www.madrouter.com/alias-de-mon-coeur/</link>
		<comments>http://www.madrouter.com/alias-de-mon-coeur/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 14:28:54 +0000</pubDate>
		<dc:creator>Florent</dc:creator>
		
		<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/alias-de-mon-coeur/</guid>
		<description><![CDATA[En tp ce qu&#8217;on entend le plus souvent c&#8217;est des &#8220;CA MARCHE PAAAAAAS, pourtant j&#8217;ai fait EXACTEMENT comme mon voisin&#8221;.
Dans ces cas la, la commande ultime reste et restera sh ip int br (A savoir show ip interface brief).
Mais même réduite à sa plus petite taille cette commande si on doit la répéter 20 fois [...]]]></description>
			<content:encoded><![CDATA[<p>En tp ce qu&#8217;on entend le plus souvent c&#8217;est des &#8220;CA MARCHE PAAAAAAS, pourtant j&#8217;ai fait EXACTEMENT comme mon voisin&#8221;.</p>
<p>Dans ces cas la, la commande ultime reste et restera <strong>sh ip int br</strong> (A savoir show ip interface brief).<br />
Mais même réduite à sa plus petite taille cette commande si on doit la répéter 20 fois en 10min, et bien ca reste quand même plutôt long &#8230;<br />
Il y a donc un moyen simple de réduire encore la taille de cette commande avec un ALIAS §§!!</p>
<p><span id="more-37"></span></p>
<p>Il faudra certes inclure cette commande dans ce que les étudiants devront faire, mais une fois fait, c&#8217;est que du bonheur.</p>
<p>On se place en mode de configuration globale:</p>
<pre class="cisco">
madRouter(config)# alias &lt;mode&gt; &lt;alias&gt; &lt;real command&gt;</pre>
<p>La commande à utiliser sera donc</p>
<pre class="cisco">
madRouter(config)# alias exec s show ip interface brief</pre>
<p>On pourra créer des alias pour les commandes les plus usitées.</p>
<pre class="cisco">
alias exec sir sh ip route
alias exec sr show running-config
alias exec c conf t
alias exec sinc sh run | inc</pre>
<p>Avec la dernière commande vous pourrez afficher uniquement les lignes dans la running-config qui contiennent ce qu&#8217;il y aura en paramètre après sinc.</p>
<pre class="cisco">
Router#sinc ma
boot-start-marker
boot-end-marker
username madrouter password 7 14021C1B050A393B2B3D21212D1A0B130E005A50561D</pre>
<p>On pourra aussi créer des alias pour les commandes du mode de configuration globale comme par exemple</p>
<pre class="cisco">
madRouter(config)# alias configure rr router rip
madRouter(config)# alias configure ro router ospf
madRouter(config)# ro 12
madRouter(config-router)#</pre>
<p>Mais attention, car vous pouvez réécrire une commande ios, exemple</p>
<pre class="cisco">
madRouter(config)# alias exec logout sh run</pre>
<p>Et vous ne pourrez plus vous deloguer avec la commande logout <img src='http://www.madrouter.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Usez et abusez des alias <img src='http://www.madrouter.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/alias-de-mon-coeur/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cisco MadRouter Contest : Round Eight</title>
		<link>http://www.madrouter.com/cisco-madrouter-contest-round-eight/</link>
		<comments>http://www.madrouter.com/cisco-madrouter-contest-round-eight/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 17:04:56 +0000</pubDate>
		<dc:creator>Florent</dc:creator>
		
		<category><![CDATA[CMC]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/cisco-madrouter-contest-round-eight/</guid>
		<description><![CDATA[
Apres avoir effectué la commande show run sur le routeur R1 vous obtenez ceci:

!
ip route 10.0.0.0 255.0.0.0 100.100.100.1
ip route 10.0.0.0 255.0.0.0 interface serial 1
!
La question est simple, quel chemin sera sélectionné par le routeur R1 pour joindre le réseau 10.0.0.0/8 ?
&#8230; Et pourquoi ?
edit: Réponse en comment.
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><a href="http://www.madrouter.com/wp-content/upload/CMC8.PNG" target="_blank"><img src="../wp-content/upload/CMC8.PNG" height="199" width="471" /></a></p>
<p>Apres avoir effectué la commande <strong>show run </strong>sur le routeur R1 vous obtenez ceci:</p>
<pre class="cisco">
!
ip route 10.0.0.0 255.0.0.0 100.100.100.1
ip route 10.0.0.0 255.0.0.0 interface serial 1
!</pre>
<p>La question est simple, quel chemin sera sélectionné par le routeur R1 pour joindre le réseau 10.0.0.0/8 ?<br />
&#8230; Et pourquoi ?</p>
<p>edit: Réponse en comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/cisco-madrouter-contest-round-eight/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Black Hole Routing</title>
		<link>http://www.madrouter.com/black-hole-routing/</link>
		<comments>http://www.madrouter.com/black-hole-routing/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 16:55:56 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/black-hole-routing/</guid>
		<description><![CDATA[Tu souhaites faire du filtrage de paquets vers des réseaux de destination spécifique et pour cela tu utilises des ACLs&#8230;
Ton ACL observe attentivement les entêtes&#8230; tu perds en performance et en plus de cela ton routeur recrache de l&#8217;ICMP Unreachables à la source pourrissant ainsi le traffic et pouvant être utilisé comme une reconnaissance!
D&#8217;où ici&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>Tu souhaites faire du filtrage de paquets vers des réseaux de destination spécifique et pour cela tu utilises des ACLs&#8230;</p>
<p>Ton ACL observe attentivement les entêtes&#8230; tu perds en performance et en plus de cela ton routeur recrache de l&#8217;ICMP Unreachables à la source pourrissant ainsi le traffic et pouvant être utilisé comme une reconnaissance!</p>
<p>D&#8217;où ici&#8230; la double possible attaque DoS&#8230;. on blinde en rêquete sur le réseau filtré en spoofant l&#8217;adresse source&#8230; le routeur monte en charge et un péon de ton réseau reçois de l&#8217;icmp à ne pas savoir quoi en  faire!</p>
<p>Et là, le black hole routing intervient&#8230;</p>
<p><span id="more-35"></span></p>
<p>Le black hole routing, ce n&#8217;est ni plus ni moins que du routage statique vers l&#8217;interface logiciel null0 autrement dis  &#8220;on drop &#8221; . De cette façon aucune ACL n&#8217;est nécessaire, aucune perte de performance vu qu&#8217;il s&#8217;agit juste de routage ( merci CEF ) et aucun renvoi de paquets ICMP ! Le h4ck3r ne sait même pas que son paquet a été filtré !</p>
<p>2 commandes nécessaire !</p>
<pre class="cisco">
MadRouter(config)#interface null0
MadRouter(config-if)#no ip unreachables</pre>
<p>Empêche ici l&#8217;envoi d&#8217;icmp unreachables pour indiquer que la route est filtré&#8230;</p>
<p>Et ensuite</p>
<pre class="cisco">
MadRouter(config)#ip route 10.0.1.0 255.255.255.0 null0</pre>
<p>Redirige tout les paquets à destination de 10.0.1.0 /24  vers null0 ( kicked xD )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/black-hole-routing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Did you know?</title>
		<link>http://www.madrouter.com/did-you-know/</link>
		<comments>http://www.madrouter.com/did-you-know/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 23:00:32 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.madrouter.com/did-you-know/</guid>
		<description><![CDATA[Le VLAN natif ( VLAN 1 ) ne peut être configuré sur une sous-interface pour les versions d&#8217;IOS inférieurs à la 12.1(3)T. L&#8217;adresse IP du VLAN natif devra être configuré sur l&#8217;interface physique.
]]></description>
			<content:encoded><![CDATA[<p><strong>Le VLAN natif ( VLAN 1 ) ne peut être configuré sur une sous-interface pour les versions d&#8217;IOS inférieurs à la 12.1(3)T. L&#8217;adresse IP du VLAN natif devra être configuré sur l&#8217;interface physique.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.madrouter.com/did-you-know/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
