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

<channel>
	<title>Computer Ramblings &#187; Networking</title>
	<atom:link href="http://www2.orourkes.us/blog/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www2.orourkes.us:11080/blog</link>
	<description>Computer/Network tips, tricks and other stuff I always forget</description>
	<lastBuildDate>Tue, 18 May 2010 04:27:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WCCP Across a Firewall &#8211; Part 2</title>
		<link>http://www2.orourkes.us:11080/blog/2010/05/17/wccp-across-a-firewall-part-2/</link>
		<comments>http://www2.orourkes.us:11080/blog/2010/05/17/wccp-across-a-firewall-part-2/#comments</comments>
		<pubDate>Mon, 17 May 2010 22:47:21 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[WCCP]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/?p=180</guid>
		<description><![CDATA[I still hate WCCP. I recently had to revisit my WCCP implementation documented in a previous post because of an outage breaking the WCCP connection between my router and my Bluecoat. After we repaired the problem, I noticed that the WCCP connection was no longer working as it was previously to the problem. Since no [...]]]></description>
			<content:encoded><![CDATA[<p><strong>I still hate WCCP. </strong> I recently had to revisit my WCCP implementation documented in a <a href="http://www2.orourkes.us:11080/blog/2008/12/03/wccp-across-a-firewall/">previous post</a> because of an outage breaking the WCCP connection between my router and my Bluecoat.  After we repaired the problem, I noticed that the WCCP connection was no longer working as it was previously to the problem.  Since no changes were made in in the recovery process, which was a reboot of a device, I could not figure out why WCCP was no longer working.  Long story short, I noticed that the source interface of the GRE tunnel changed and it was not being allowed through the firewall.  </p>
<p>We made some additional engineering changes to this router over time.  We added a new network interface to the router but WCCP was not affected with the changes.  When the WCCP connection was broken, the router negoiated the GRE tunnel using a new source for the tunnel.  After much searching on the Cisco site I found the white paper below spelling out what I believed to be the issue with the source of the GRE tunnel being redefined on the router.   I added a loopback interface on the router and removed and reapplied the WCCP configuration on the router.  As expected, the new source for the GRE tunnel was the loopback address.  Changes were made on the Bluecoats and the firewalls to allow traffic to traverse using the loopback address and full WCCP operation was restored.</p>
<p>From White Paper:</p>
<blockquote><p>When using GRE encapsulation for WCCP redirection, the router uses the router ID IP address as its source IP address. The router ID IP address is the highest loopback address on the router, or if the loopback interface is not configured, the router ID IP address is the highest address of the physical interfaces.</p></blockquote>
<p>Source:<br />
<a href='http://www2.orourkes.us:11080/blog/wp-content/uploads/2010/05/WAAS_WCCP_Deploy_v3.pdf'>Deploying WAAS Using WCCP Paper v3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2010/05/17/wccp-across-a-firewall-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>One Arm Load Balancing on the ACE</title>
		<link>http://www2.orourkes.us:11080/blog/2009/09/23/one-arm-load-balancing-on-the-ace/</link>
		<comments>http://www2.orourkes.us:11080/blog/2009/09/23/one-arm-load-balancing-on-the-ace/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 23:00:24 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/?p=147</guid>
		<description><![CDATA[Below is a sample configuration which will use the ACE module to provide load balancing of real servers through the network.  In this example, the ACE NAT&#8217;s all calls from a client to get traffic back to the ACE so that the ACE sees the whole flow of traffic.  A quick diagram is also attached. [...]]]></description>
			<content:encoded><![CDATA[<p>Below is a sample configuration which will use the ACE module to provide load balancing of real servers through the network.  In this example, the ACE NAT&#8217;s all calls from a client to get traffic back to the ACE so that the ACE sees the whole flow of traffic.  A quick diagram is also attached.</p>
<blockquote><p>ACE-1/onearm# sho run<br />
Generating configuration&#8230;.</p>
<p>access-list ALLOW line 8 extended permit ip any any<br />
access-list ALLOW line 16 extended permit icmp any any</p>
<p>rserver host one<br />
ip address 2.2.2.2<br />
inservice<br />
rserver host two<br />
ip address 2.2.2.3<br />
inservice</p>
<p>serverfarm host web<br />
rserver one<br />
inservice<br />
rserver two<br />
inservice</p>
<p>class-map match-all slb-vip<br />
2 match virtual-address 1.1.1.254 any</p>
<p>policy-map type management first-match remote-access<br />
class class-default<br />
permit</p>
<p>policy-map type loadbalance first-match slb<br />
class class-default<br />
serverfarm web</p>
<p>policy-map multi-match client-vips<br />
class slb-vip<br />
loadbalance vip inservice<br />
loadbalance policy slb<br />
nat dynamic 1 vlan 100</p>
<p>interface vlan 100<br />
description &#8220;Client-Server VLAN&#8221;<br />
ip address 1.1.1.2 255.255.255.0<br />
access-group input ALLOW<br />
service-policy input client-vips<br />
service-policy input remote-access<br />
nat-pool 1 1.1.1.20 1.1.1.21 netmask 255.255.255.0 pat<br />
no shutdown</p>
<p>ip route 0.0.0.0 0.0.0.0 1.1.1.1</p>
</blockquote>
<p><a href="http://www2.orourkes.us:11080/blog/wp-content/uploads/2009/09/One-Arm-Load-Balancing.png"><img class="alignnone size-full wp-image-148" title="One Arm Load Balancing" src="http://www2.orourkes.us:11080/blog/wp-content/uploads/2009/09/One-Arm-Load-Balancing.png" alt="One Arm Load Balancing" width="506" height="389" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2009/09/23/one-arm-load-balancing-on-the-ace/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WCCP Across a Firewall</title>
		<link>http://www2.orourkes.us:11080/blog/2008/12/03/wccp-across-a-firewall/</link>
		<comments>http://www2.orourkes.us:11080/blog/2008/12/03/wccp-across-a-firewall/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 13:33:09 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/?p=104</guid>
		<description><![CDATA[I hate WCCP.  There seems to be little good information and any docs I do find from Cisco or proxy vendors all seem to leave it at the magic phase of how things just seem to work.  I have been working with another guy on trying to get an IOS router to forward HTTP requests [...]]]></description>
			<content:encoded><![CDATA[<p>I hate WCCP.  There seems to be little good information and any docs I do find from Cisco or proxy vendors all seem to leave it at the magic phase of how things just seem to work.  I have been working with another guy on trying to get an IOS router to forward HTTP requests to a Bluecoat proxy across a stateful firewall.  We were attempting to get a transparent proxy working so users did not have to have a hard coded proxy but with the firewall between the users and the proxy, nothing seemed to work.  L2 forwarding was not an option because we would be bridging our firewall so we needed a GRE encapsulation to get the requests to the proxy.</p>
<p>After working with both vendors, we were able to determine that the router was forwarding the requests to the proxy with GRE encapsulation and the firewall was allowing the GRE traffic to traverse the firewall with ACL&#8217;s.  The proxy was spoofing the IP address of the remote server but did not GRE encapsulate the traffic.  The firewall denied that traffic because the packed is a SYN ACK and there was no corresponding SYN recorded.  The original SYN packet was in a GRE tunnel.</p>
<p>The fix that we came up with was to ignore the TCP state for the web traffic.  Using MPF, we were able to uniquely identify the traffic that we wanted to ignore state.  This service policy gets applied on the DMZ interface where the proxy lives which means my outside interface to the Internet is not a risk and still stateful.  Below is a rough outline of what we needed to do to get this to work.  It is not the final secured version, so tweak for your environment, but we did get WCCP to work across our firewall.  The last question that I have is should the Bluecoats encapsulated the response in a GRE tunnel?  If so, then we would not have to perform the extra steps and the magic would have just happened.</p>
<p><code><br />
access-list proxy-bypass extended permit ip any 10.0.0.0 255.0.0.0<br />
!<br />
class-map proxy-bypass<br />
match access-list proxy-bypass<br />
!<br />
policy-map proxy-bypass<br />
class proxy-bypass<br />
set connection advanced-options tcp-state-bypass<br />
!<br />
service-policy proxy-bypass interface DMZ<br />
!<br />
access-list DMZ-ACL extended permit ip any 10.0.0.0 255.0.0.0<br />
access-group in interface DMZ-ACL<br />
! need a ACE entry to allow the traffic into the firewall after ignoring state<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2008/12/03/wccp-across-a-firewall/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ACL&#8217;s and Routing Protocols</title>
		<link>http://www2.orourkes.us:11080/blog/2008/07/12/acls-and-routing-protocols/</link>
		<comments>http://www2.orourkes.us:11080/blog/2008/07/12/acls-and-routing-protocols/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 16:04:06 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/?p=57</guid>
		<description><![CDATA[Here is a great list of protocols and what is need to use them with ACL&#8217;s.  This was shamelessly ripped from the Aaron’s Worthless Words Blog but I wanted to keep a local copy for archiving purposes.  Enjoy! BGP : Runs on TCP/179 between the neighbors access-list 101 permit tcp any host 192.168.0.1 eq 179 [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a great list of protocols and what is need to use them with ACL&#8217;s.  This was shamelessly ripped from the <a href="http://aconaway.com/2008/06/12/acls-and-hsrp-bgp-ospf-vrrp-glbp/">Aaron’s Worthless Words</a> Blog but I wanted to keep a local copy for archiving purposes.  Enjoy!</p>
<blockquote>
<ul>
<li>BGP : Runs on TCP/179 between the neighbors</li>
</ul>
<p><code>access-list 101 permit tcp any host 192.168.0.1 eq 179</code></p>
<ul>
<li>EIGRP : Runs on its own protocol number from the source interface IP to the multicast address of 224.0.0.10</li>
</ul>
<p><code>access-list 101 permit eigrp any host 224.0.0.10</code></p>
<ul>
<li>OSPF : Runs on its own protocol number from the source interface IP to the multicast address of 224.0.0.5; also talks to 224.0.0.6 for DR/BDR routers</li>
</ul>
<p><code>access-list 101 permit ospf any host 224.0.0.5<br />
access-list 101 permit ospf any host 224.0.0.6</code></p>
<ul>
<li>HSRP : Runs on UDP from the source interface IP to the multicast address of 224.0.0.2. I’ve seen in the past that it runs on UDP/1985, but I didn’t find any evidence of that in a quick Google for it. Can someone verify?</li>
</ul>
<p><code>access-list 101 permit udp any host 224.0.0.2</code></p>
<ul>
<li>RIP : Runs on UDP/520 from the source interface IP to the multicast address of 224.0.0.9</li>
</ul>
<p><code>access-list 101 permit udp any host 224.0.0.9 eq 520</code></p>
<ul>
<li>VRRP : Runs on its own protocol number from the source interface IP to the multicast address of 224.0.0.18</li>
</ul>
<p><code>access-list 101 permit 112 any host 224.0.0.18</code></p>
<ul>
<li>GLBP : Runs on UDP from the source interface IP to the multicast address of 224.0.0.102</li>
</ul>
<p><code>access-list 101 permit udp any host 224.0.0.102</code></p>
<ul>
<li>DHCPD (or bootps) : Runs on UDP/67 from 0.0.0.0 (since the client doesn’t have an address yet) to 255.255.255.255 (the broadcast).</li>
</ul>
<p><code>access-list 101 permit udp any host 255.255.255.255 eq 67</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2008/07/12/acls-and-routing-protocols/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Excellent Doc on IOS Hardening</title>
		<link>http://www2.orourkes.us:11080/blog/2008/05/20/excellent-doc-on-ios-hardening/</link>
		<comments>http://www2.orourkes.us:11080/blog/2008/05/20/excellent-doc-on-ios-hardening/#comments</comments>
		<pubDate>Wed, 21 May 2008 03:36:50 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[General Security]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/?p=50</guid>
		<description><![CDATA[Below are a couple of links to an excellent Cisco doc on IOS hardening. I have included the link to the Cisco site along with a local copy of the PDF for my own archiving. This seems pretty comprehensive and unlike the NSA documents rather concise. Cisco Link PDF Version]]></description>
			<content:encoded><![CDATA[<p>Below are a couple of links to an excellent Cisco doc on IOS hardening.  I have included the link to the Cisco site along with a local copy of the PDF for my own archiving.  This seems pretty comprehensive and unlike the <a href="http://www.nsa.gov/snac/downloads_all.cfm">NSA</a> documents rather concise.</p>
<p><a href="http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080120f48.shtml">Cisco Link</a></p>
<p><a href="http://www2.orourkes.us:11080/blog/wp-content/uploads/2008/05/ios-hardening.pdf">PDF Version</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2008/05/20/excellent-doc-on-ios-hardening/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FWSM Upgrades</title>
		<link>http://www2.orourkes.us:11080/blog/2008/05/17/fwsm-upgrades/</link>
		<comments>http://www2.orourkes.us:11080/blog/2008/05/17/fwsm-upgrades/#comments</comments>
		<pubDate>Sun, 18 May 2008 03:04:33 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/?p=49</guid>
		<description><![CDATA[Before an FWSM upgrade, make sure you can log into the maintenance partition with the root account and the correct password. If you are not sure what the MP password is, it can be reset from the Application partition through the command &#8220;clear mp-passwd&#8221; from the system config. You can reach the maintenance partition by [...]]]></description>
			<content:encoded><![CDATA[<p>Before an FWSM upgrade, make sure you can log into the maintenance partition with the root account and the correct password.  If you are not sure what the MP password is, it can be reset from the Application partition through the command &#8220;<em>clear mp-passwd</em>&#8221; from the system config.  You can reach the maintenance partition by issuing the following command. &#8220;<em>hw-module mod &lt;NUM&gt; reset cf:1</em>&#8220;.</p>
<p>You can do an in-place upgrade on a FWSM without booting into cf:1 but if you lock yourself out of the application partition, you will be locked out of the whole FWSM if you can not get into the maintenance partition.</p>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2008/05/17/fwsm-upgrades/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Config-Register Settings for Routers</title>
		<link>http://www2.orourkes.us:11080/blog/2008/05/02/config-register-settings-for-routers/</link>
		<comments>http://www2.orourkes.us:11080/blog/2008/05/02/config-register-settings-for-routers/#comments</comments>
		<pubDate>Fri, 02 May 2008 18:44:29 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/?p=45</guid>
		<description><![CDATA[It has been a while since I have had to make changes to the config-register on a router so after a quick google, here link to a good overview located on the Cisco Site along with a local copy of the PDF. PDF VERSION ONLINE VERSION]]></description>
			<content:encoded><![CDATA[<p>It has been a while since I have had to make changes to the config-register on a router so after a quick google, here link to a good overview located on the Cisco Site along with a local copy of the PDF.</p>
<p><a href="https://www2.orourkes.us/blog/wp-content/uploads/2008/05/config-register-use.pdf">PDF VERSION</a><br />
<a href="http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml">ONLINE VERSION</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2008/05/02/config-register-settings-for-routers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Worm Mitigation White Paper</title>
		<link>http://www2.orourkes.us:11080/blog/2008/04/23/cisco-worm-mitigation-white-paper/</link>
		<comments>http://www2.orourkes.us:11080/blog/2008/04/23/cisco-worm-mitigation-white-paper/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 14:05:58 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/?p=39</guid>
		<description><![CDATA[Below is a link to a great Cisco white about about some basic security products and techniques that can be used for worm mitigation. Great details on using blackhole routing and private vlans for security. http://www.cisco.com/web/about/security/intelligence/worm-mitigation-whitepaper.html]]></description>
			<content:encoded><![CDATA[<p>Below is a link to a great Cisco white about about some basic security products and techniques that can be used for worm mitigation.  Great details on using blackhole routing and private vlans for security.</p>
<ul>
<li><a href="http://www.cisco.com/web/about/security/intelligence/worm-mitigation-whitepaper.html">http://www.cisco.com/web/about/security/intelligence/worm-mitigation-whitepaper.html</a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2008/04/23/cisco-worm-mitigation-white-paper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSM to ACE Conversion Tool</title>
		<link>http://www2.orourkes.us:11080/blog/2007/12/10/csm-to-ace-conversion-tool/</link>
		<comments>http://www2.orourkes.us:11080/blog/2007/12/10/csm-to-ace-conversion-tool/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 22:50:44 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/2007/12/10/csm-to-ace-conversion-tool/</guid>
		<description><![CDATA[This was pulled from the Cisco NetPro Forums. This is a undocumented conversion tool. Application Networking: convertor to migrate CSM config to ACE Posted by: wim.juste@kbc.be Jun 29, 2007, 6:18am PST Does anyone knows where to find the config convertor tool to migrate config from CSM to ACE ? Thanks, Wim &#124; Outline &#124; Subscribe [...]]]></description>
			<content:encoded><![CDATA[<p>This was pulled from the <a href="http://forum.cisco.com/eforum/servlet/NetProf?page=main" target="_TOP">Cisco NetPro Forums</a>. This is a undocumented conversion tool.</p>
<blockquote><p>Application Networking: convertor to migrate CSM config to ACE<br />
Posted by: wim.juste@kbc.be<br />
Jun 29, 2007, 6:18am PST</p>
<p>Does anyone knows where to find the config convertor tool to migrate config from CSM to ACE ?</p>
<p>Thanks, Wim</p>
<p>| Outline | Subscribe | E-Mail this Message</p>
<p>Conversation Rating: 5.0 (1 vote)</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Replied by: gdufour &#8211; CISCO SYSTEMS, CCIE &#8211; Jun 29, 2007, 7:22am PST</p>
<p>it comes with the onboard http server.<br />
Enable http in the management policy, then open an http browser the the ACE interface ip.<br />
You should see the tool there.</p>
<p>Gilles.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2007/12/10/csm-to-ace-conversion-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Type 7 Decryption Using IOS</title>
		<link>http://www2.orourkes.us:11080/blog/2007/11/15/type-7-decryption-using-ios/</link>
		<comments>http://www2.orourkes.us:11080/blog/2007/11/15/type-7-decryption-using-ios/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 20:15:52 +0000</pubDate>
		<dc:creator>keith</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www2.orourkes.us:11080/blog/2007/11/15/type-7-decryption-using-ios/</guid>
		<description><![CDATA[Saw a great post on IOSHINTS about using a router to decrypt type 7 passwords.  This maybe handy as my AV always complains about my getpass utility and I may not be connected to the internet to search for a decryption tool.  The more I read Ivan Pepelnjak&#8216;s blog the more I like it.  Below [...]]]></description>
			<content:encoded><![CDATA[<p>Saw a great post on <a target="_TOP" href="http://ioshints.blogspot.com">IOSHINTS</a> about using a router to decrypt type 7 passwords.  This maybe handy as my AV always complains about my getpass utility and I may not be connected to the internet to search for a decryption tool.  The more I read <a target="_TOP" href="http://www.zaplana.net/Articles/about.asp"><font color="#5588aa">Ivan Pepelnjak</font></a>&#8216;s blog the more I like it.  Below is the local version of Ivan&#8217;s post.</p>
<ul>
<li><a target="_TOP" href="http://ioshints.blogspot.com/2007/11/type-7-decryption-in-cisco-ios.html">http://ioshints.blogspot.com/2007/11/type-7-decryption-in-cisco-ios.html</a></li>
</ul>
<ul>
<li>Tim Riegert sent me an interesting hint: you don&#8217;t need password crackers to decode type-7 passwords, you just need access to a router. Here&#8217;s how you do it:
<p class="code">We&#8217;ll turn on type-7 encryption for local passwords and generate a test username</p>
<pre>R1(config)#<strong>service password-encryption</strong>
R1(config)#<strong>username test password t35t:pa55w0rd</strong></pre>
<p>Next we&#8217;ll inspect the generated username with the show running command</p>
<pre>R1(config)#<strong>do show run | include username</strong>
username test password <span class="high"><font style="background-color: #fff7c8">7 08351F1B1D431516475E1B54382F</font></span></pre>
<p>Now we&#8217;ll create a key chain and enter the type-7 encrypted password as the key string …</p>
<pre>R1(config)#<strong>key chain decrypt</strong>
R1(config-keychain)#<strong>key 1</strong>
R1(config-keychain-key)#<strong>key-string 7 08351F1B1D431516475E1B54382F</strong></pre>
<p>… and the show command does the decryption for us.</p>
<pre>R1(config-keychain-key)#<strong>do show key chain decrypt</strong>
Key-chain decrypt:
    key 1 -- text "<span class="high"><font style="background-color: #fff7c8">t35t:pa55w0rd</font></span>"
        accept lifetime (always valid) - (always valid) [valid now]
        send lifetime (always valid) - (always valid) [valid now]</pre>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www2.orourkes.us:11080/blog/2007/11/15/type-7-decryption-using-ios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
