<?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>[LINICKX].com &#187; Cisco</title>
	<atom:link href="http://www.linickx.com/archives/tag/cisco/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linickx.com</link>
	<description>Moments of Genius followed by Trash.</description>
	<lastBuildDate>Fri, 27 Aug 2010 15:39:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Cisco ACS 5.1 in VirtualBox</title>
		<link>http://www.linickx.com/archives/2961/cisco-acs-5-1-in-virtualbox</link>
		<comments>http://www.linickx.com/archives/2961/cisco-acs-5-1-in-virtualbox#comments</comments>
		<pubDate>Fri, 19 Mar 2010 12:07:46 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[acs]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=2961</guid>
		<description><![CDATA[After much swearing and hackerizing I&#8217;m happy to post a screenshot of Cisco&#8217;s ACS running in VirtualBox Before I explain what I&#8217;ve done, a quick message for &#8220;the stupids&#8221; No I won&#8217;t post a virtual machine for you to download Buy a license or an appliance The rest of this post is a run though [...]]]></description>
			<content:encoded><![CDATA[<p>After much swearing and hackerizing I&#8217;m happy to post a screenshot of <a href="http://www.cisco.com/go/acs">Cisco&#8217;s ACS</a> running in <a href="http://www.virtualbox.org">VirtualBox</a> <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Before I explain what I&#8217;ve done, a quick message for &#8220;the stupids&#8221;</p>
<blockquote><p>
No I won&#8217;t post a virtual machine for you to download<br />
Buy a license or an appliance
</p></blockquote>
<p>The rest of this post is a run though of what I did, if you get bored easily skip to <a href="#sum">the summary</a>.</p>
<p><a href="http://www.linickx.com/files/2010/03/VirtualBox-ACS-5.1-1024x639.png" rel="lightbox[2961]"><img src="http://www.linickx.com/files/2010/03/VirtualBox-ACS-5.1-150x150.png" alt="" title="VirtualBox ACS 5.1" width="150" height="150" class="alignright size-thumbnail wp-image-2967" /></a></p>
<p>The story is I&#8217;ve got a customer who wants dot1x with ACS5 and I need a box to play with before breaking their network; having read through the docs on cisco.com I noticed that vmware was a supported platform for evaluation, as awesome as that is, carrying around an ESXi server isn&#8217;t as convenient as you&#8217;d think so I boldly dropped the CD into my VirtualBox and booted to see what happened&#8230;. if only it was that simple!!!!!</p>
<p>As expected the installer crapped out early on complaining that VirtualBox is not a valid hardware configuration, so I decided to have a poke around the ISO image and had a moment of realisation.. THANK YOU CISCO FOR CHOOSING <a href="http://centos.org/">CENTOS</a>!</p>
<p>Cisco choosing an open-source installation mechanism means that with a bit of googling I could customise the install process to work in VirtualBox&#8230;. sweeet!</p>
<p>To get started I followed <a href="http://cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.1/installation/guide/acs5_1_install_guide.html">the install guide</a> to build a VirtualBox appliance that resembled the supported vmware machine, some things to note:</p>
<ul>
<li>The disk is on a SCSI controller</li>
<li>The processor is PAE</li>
<li>You need a serial port enabled</li>
</ul>
<p>This is a summary of my VirtualBox configuration&#8230;</p>
<p><a href="http://www.linickx.com/files/2010/03/VirtualBox-ACS-Config-1024x782.png" rel="lightbox[2961]"><img src="http://www.linickx.com/files/2010/03/VirtualBox-ACS-Config-150x150.png" alt="" title="VirtualBox ACS Config Summary" width="150" height="150" class="alignright size-thumbnail wp-image-2968" /></a></p>
<ul>
<li>General
<ul>
<li>Name: Cisco ACS 5</li>
<li>OS Type: Red Hat</li>
</ul>
</li>
<li>System
<ul>
<li>Base Memory: 1024 MB</li>
<li>Processor(s):1</li>
<li>Boot Order:Floppy, CD/DVD-ROM, Hard Disk</li>
<li>VT-x/AMD-V:Enabled</li>
<li>Nested Paging:Enabled</li>
</ul>
</li>
<li>￼Display
<ul>
<li>Video Memory:12 MB</li>
<li>3D Acceleration:Disabled</li>
<li>2D Video Acceleration:Disabled</li>
<li>Remote Display Server:Disabled</li>
</ul>
</li>
<li>￼Storage
<ul>
<li>IDE Controller<br />
  IDE Primary Master (CD/DVD):Empty</li>
<li>Floppy Controller<br />
  Floppy Device 0:Empty</li>
<li>SCSI Controller<br />
  SCSI Port 0:CiscoACS.vdi (Normal, 65.00 GB)</li>
</ul>
</li>
<li> Misc
<ul>
<li>Audio<br />
Disabled</li>
<li>Network<br />
Adapter 1:PCnet-FAST III (Host-only adapter, &#8216;vboxnet0&#8242;)</li>
<li>Serial Ports<br />
Port 1:COM1, Disconnected</li>
<li>USB<br />
Disabled</li>
<li>Shared Folders<br />
None</li>
</ul>
</li>
</ul>
<p>If you&#8217;re hoping to follow my process, I assume you&#8217;ve already <a href="http://www.cisco.com/cisco/web/download/index.html">downloaded from cisco</a> a copy of the <strong>ACS_v5.1.0.44.iso</strong> and sorted an <a href="http://www.cisco.com/go/license">eval license</a>.</p>
<p>Looking at the contents of the CD I could see that the KickStart file was rejecting my hardware configuration. In my early attempts I edited ks.cfg removing everything between <code>%pre</code> and <code>%post</code> removed the line that said <code>%include</code> and rebuilt the ISO; this had limited success, I could boot further on my new ISO but found that anaconda crapped out as it was unable to find the CD from which it booted &#8230; Very Odd!</p>
<p>Messing with the kickstart file and having to rebuild the ISO each time got boring very quickly, especially since it wouldn&#8217;t boot into anaconda stage two. I decided to move to a network based installed, I setup a web server on my laptop, downloaded <strong><a href="http://vault.centos.org/4.7/isos/i386/CentOS-4.7-i386-bin1of4.iso">CentOS-4.7-i386-bin1of4.iso</a></strong> and booted my guest from that using <code>linux askmethod</code> at the loader. On my web server I copied the contents of the ACS CD into a directory (<em>including <strong>.</strong> hidden files</em>), during the centos boot I was able to install &#8220;everything&#8221; from the ACS directory on web server giving me yet more limited success (<em>Everything was installed &#8211; including the Cisco packages &#8211; but unusable</em>).</p>
<p>The next step was to get my web installation to read my kickstart file, the ks.cfg has a load of finalization which looked like it created files that the cisco packages would need. I had to change the permissions of the directory to give me write access (<em>CD files copied as RO since the CD was RO</em>). So my edited ks.cfg has nothing between <code>%pre</code> &#038; <code>%post</code> plus the <code>%include</code> line deleted, the result had massive drawback, I&#8217;d inadvertently removed the disk layout; I have since concluded that my earlier attempt with everything installed but broke also had issues due to incorrect filesystem partitions.</p>
<p>To put the filesystem layout back into the kickstart file I inserted the following:<br />
<code><br />
part / --fstype ext3 --size=100 --grow<br />
part /localdisk --fstype ext3 --size=5120<br />
part /recovery --fstype ext3 --size=1008<br />
part /storedconfig --fstype ext3 --size=981<br />
part /storeddata --fstype ext3 --size=2048<br />
part swap --size=2048<br />
</code></p>
<p>To get the Centos Server to now boot from both the kickstart file and install from my webserver I now have to boot with <code><strong>linux ks=http://192.168.56.1/~nick/ACS/ks.cf</strong>g</code> (<em>this is instead of <code>linux askmethod</code></em>) and replace the line that says <code>cdrom</code> with <code>url --url http://192.168.56.1/~nick/ACS</code>. </p>
<p>After all that trial &#038; error I was finally there! I have attached <a href="http://www.linickx.com/files/2010/03/ks.cfg_.txt">my ks.cfg</a> for your reference and here is a summary of the steps to reproduce.</p>
<p><strong><a name="sum">Install Summary:</a></strong></p>
<ol>
<li>Download ACS</li>
<li>Download Centos</li>
<li>Install a web server</li>
<li>Copy the contents of the ACS CD to your web server (<em>look out for .discinfo</em>)</li>
<li>Replace ks.cfg with your edited version (<em>or <a href="http://www.linickx.com/files/2010/03/ks.cfg_.txt">mine</a></em>)</li>
<li>Create a virtualbox machine</li>
<li>Boot the VirtualBox machine from the CentOS CD with linux ks=http://URL</li>
<li>As soon as you see a blue &#8220;installer&#8221; screen eject the CentOS CD</li>
<li>Wait</li>
<li>Done</li>
</ol>
<p><em>Note: During my playing the anaconda installer crapped out a couple of times, just starting the process again seemed to fix the issue, some bottleneck on virtualbox disk accesses could be the problem.</em></p>
<p>Hope that all makes sense, happy hacking!</p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/2961/cisco-acs-5-1-in-virtualbox/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Cisco IOS Zone Based Firewall Example</title>
		<link>http://www.linickx.com/archives/2945/cisco-ios-zone-based-firewall-example</link>
		<comments>http://www.linickx.com/archives/2945/cisco-ios-zone-based-firewall-example#comments</comments>
		<pubDate>Fri, 19 Feb 2010 15:12:36 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ccie]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[gns3]]></category>
		<category><![CDATA[zbfw]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=2945</guid>
		<description><![CDATA[Today&#8217;s challenge was to get to grips with Cisco&#8217;s ZBFW, there are a few examples out there if you google but this cisco pdf was the best resource I found. I&#8217;m going to share with you my GNS3 config, my first gotcha was getting the &#8220;right&#8221; IOS version, the latest advanced sec 12.4 image for [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right">
<a href="http://www.linickx.com/files/2010/02/ZoneBasedFirewall.png" rel="lightbox[2945]"><img src="http://www.linickx.com/files/2010/02/ZoneBasedFirewall-150x150.png" alt="" title="Zone Based Firewall Diagram" width="150" height="150" class="aligncenter size-thumbnail wp-image-2955" /></a>
</p>
<p>Today&#8217;s challenge was to get to grips with Cisco&#8217;s <abbr title="Zone Based Firewall">ZBFW</abbr>, there are a few examples out there if you google but <a href="http://www.cisco.com/en/US/prod/vpndevc/ps5708/ps5710/ps1018/prod_configuration_example0900aecd804f1776.pdf">this cisco pdf</a> was the best resource I found.</p>
<p>I&#8217;m going to share with you my GNS3 config, my first gotcha was getting the &#8220;right&#8221; IOS version, the latest advanced sec 12.4 image for the 3725 doesn&#8217;t cut it, you need to get a copy of c3725-advsecurityk9-mz.<strong>124-15.T7</strong>.bin.</p>
<p>My plan was simple, I wanted to re-create this following pseudo ASA style configuration:</p>
<pre>
access-list inside permit icmp any any
access-list inside permit tcp any any eq telnet
access-list outside permit tcp any host 192.168.10.100 eq telnet
access-group inside in interface inside
access-group outside in interface outside
</pre>
<p>What&#8217;s funny is that is 5 lines of code for ZBFW it&#8217;s more than 20! Yes the IOS FW isn&#8217;t a statefull firewall like the ASA but still more than 4 times the work&#8230; anyway, moving on&#8230;</p>
<p>The ZBFW is broken into four parts:</p>
<ul>
<li>Assign Zones to Interfaces</li>
<li>Create a class-map to define interesting traffic</li>
<li>Create a policy-map to give your class an action</li>
<li>Create a zone pair to give you class a direction</li>
</ul>
<p>As you can see in the picture, I have three routers Inside, Outside & Gateway; we will generate traffic from Inside -> Outside (<em>and vice versa</em>) and Gateway will be our firewall. In this blog post I&#8217;ll discuss the inside -> outside policy, read though the attached config to work out how outside->inside works <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Creating zones and applying them to interfaces is the easy bit&#8230;</p>
<pre>
!
zone security inside
 description LAN
zone security outside
 description Internet
!
interface FastEthernet0/0
 ip address 10.10.10.10 255.255.255.0
 zone-member security outside
!
interface FastEthernet0/1
 ip address 192.168.1.1 255.255.255.0
 zone-member security inside
</pre>
<p>ZBFW supports traffic matching by protocol, ACL or both. To start with I need to create a class map equivalent of:<br />
<code>access-list inside permit icmp any any</code><br />
So that looks like:</p>
<pre>
class-map type inspect match-any myinspectclass
 match protocol icmp
</pre>
<p>Our action to this applied via the policy map will be &#8220;inspect&#8221; &#8230; not &#8220;permit&#8221; like the access list, what we want to happen is the echo-request (<em>echo</em>) packet passing from the inside interface to the outside to be inspected so that the echo-reply packet is let back in&#8230;</p>
<pre>
policy-map type inspect myinspectpolicy
 class type inspect myinspectclass
  inspect
</pre>
<p>To apply this inside -&gt; outside we create a zone-pair&#8230;</p>
<pre>
zone-pair security in-out source inside destination outside
 service-policy type inspect myinspectpolicy
</pre>
<p>Part 1 done. breath, take a break.</p>
<p>We can now ping from inside to outside, but outside to inside fails. Part two is to create a separate &#8220;flow&#8221; to allow telnet out. Now we could update our existing class-map, but it&#8217;s much clearer to create a new one, first we need an access-list&#8230;</p>
<pre>
ip access-list extended telnet_any
 permit tcp any any eq telnet
</pre>
<p>This will restrict our TCP protocol inspection to permit only telnet, without this ACL the following class map would permit (<em>inspect</em>) any TCP.</p>
<pre>
class-map type inspect match-all inspecttelnetclass
 match access-group name telnet_any
 match protocol tcp
</pre>
<p>Now that we have defined our traffic we can using the existing policy that permits the ICMP traffic through to permit this TCP thru, so this is the new policy map that replaces the one above:</p>
<pre>
policy-map type inspect myinspectpolicy
 class type inspect myinspectclass
  inspect
 class type inspect inspecttelnetclass
  inspect
</pre>
<p>The policy map will work top down, permitting ICMP traffic thru flow 1 (<em>rule 1</em>) and telnet through flow 2&#8230;. we don&#8217;t need to touch the zone pair <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Attached is <a href="http://www.linickx.com/files/2010/02/Gateway.cfg_.txt">my GNS3 .net</a> file and the three router configs [<a href="http://www.linickx.com/files/2010/02/Gateway.cfg_.txt">1</a>,<a href="http://www.linickx.com/files/2010/02/Inside.cfg_.txt">2</a>,<a href="http://www.linickx.com/files/2010/02/Outside.cfg_.txt">3</a>], hopefully it all makes sense <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/2945/cisco-ios-zone-based-firewall-example/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Terminal / Console Connectivity in MAC OS X</title>
		<link>http://www.linickx.com/archives/2926/getting-terminal-console-connectivity-in-mac-os-x</link>
		<comments>http://www.linickx.com/archives/2926/getting-terminal-console-connectivity-in-mac-os-x#comments</comments>
		<pubDate>Tue, 19 Jan 2010 18:38:53 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=2926</guid>
		<description><![CDATA[It took me a couple of Googles to work this out&#8230; I have a Belkin f5u103v USB-to-Serial adapter and needed a console connection to a Cisco switch. To get started install this driver from apple (I think it needed a reboot). If this was successful when you connect the USB-to-Serial you&#8217;ll be asked if you [...]]]></description>
			<content:encoded><![CDATA[<p>It took me a couple of Googles to work this out&#8230; I have a <strong>Belkin f5u103v</strong> USB-to-Serial adapter and needed a console connection to a Cisco switch.</p>
<p>To get started install <a href="http://www.apple.com/downloads/macosx/drivers/pl2303usbtoserialdriver.html">this driver from apple</a> (<em>I think it needed a reboot</em>).</p>
<p>If this was successful when you connect the USB-to-Serial you&#8217;ll be asked if you want to setup a modem / network connection&#8230; say no. From a terminal you should now see a new device similar to mine&#8230;</p>
<pre>
NickBook:~ nick$ ls /dev/cu*
/dev/cu.Bluetooth-Modem	/dev/cu.PL2303-00001004	/dev/cu.Bluetooth-PDA-Sync
NickBook:~ nick$
</pre>
<p>The <em>PL</em> device disappears when I unplug the USB adapter. Next you then need a copy of <a href="http://en.wikipedia.org/wiki/Minicom">minicom</a>, I installed <a href="http://www.macports.org/">macports</a> and did <code>port install minicom</code>.</p>
<p>Since I don&#8217;t want to re-invent the wheel now go to <a href="http://www.macosxhints.com/article.php?story=20040521145713551">http://www.macosxhints.com/article.php?story=20040521145713551</a> and <strong>Start at STEP 3</strong> to configure minicom (<em>Obviously you&#8217;ll replace /dev/cu.USA19QI191P1.1  with something similar to /dev/cu.PL2303-00001004 </em>) once finished you&#8217;ll be set.. happy terminal session!</p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/2926/getting-terminal-console-connectivity-in-mac-os-x/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco NAC (Clean Access) CLI Commands.</title>
		<link>http://www.linickx.com/archives/1886/cisco-nac-clean-access-cli-commands</link>
		<comments>http://www.linickx.com/archives/1886/cisco-nac-clean-access-cli-commands#comments</comments>
		<pubDate>Fri, 28 Aug 2009 12:58:46 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[clean access]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[nac]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=1886</guid>
		<description><![CDATA[I can never find these when I want them&#8230; CAM CLI Commands CAS CLI Commands also, from the release notes show version&#8230; cat /perfigo/build .. there are some other useful scripts in /perfigo/common/bin such as /perfigo/common/bin/fostate.sh &#8230; is used for checking failover state, if you can think of any more please post them in the [...]]]></description>
			<content:encoded><![CDATA[<p>I can never find these when I want them&#8230;</p>
<ul>
<li><a href="http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/461/cam/m_instal.html#wp1059729">CAM CLI Commands</a> </li>
<li><a href="http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/461/cas/s_instal_ps6128_TSD_Products_Configuration_Guide_Chapter.html#wp1040473">CAS CLI Commands</a>  </li>
</ul>
<p>also, from the release notes show version&#8230;</p>
<p><code>cat /perfigo/build</code></p>
<p>.. there are some other useful scripts in <code>/perfigo/common/bin</code> such as </p>
<p><code>/perfigo/common/bin/fostate.sh</code> </p>
<p>&#8230; is used for checking failover state, if you can think of any more please post them in the comments <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/1886/cisco-nac-clean-access-cli-commands/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Irritating ASDM &amp; Java issues&#8230;</title>
		<link>http://www.linickx.com/archives/1132/irritating-asdm-java-issues</link>
		<comments>http://www.linickx.com/archives/1132/irritating-asdm-java-issues#comments</comments>
		<pubDate>Wed, 20 May 2009 17:02:37 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[asa]]></category>
		<category><![CDATA[asdm]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=1132</guid>
		<description><![CDATA[Follow up from this tweet. Every time I tried to connect to the ASA&#8217;s ASDM Java would crash with a Null Pointer exception, I tried everything from deleting the .asdm folder in my home directory (my documents on windows), uninstalling the asdm launcher didn&#8217;t help, neither did clearing java&#8217;s cache or uninstalling and re-installing java. [...]]]></description>
			<content:encoded><![CDATA[<p>Follow up <a href="http://www.linickx.com/archives/1129/having-issues-with-java-and-as">from this</a> <a href="http://twitter.com/linickx/status/1857481093">tweet</a>. Every time I tried to connect to the ASA&#8217;s ASDM Java would crash with a Null Pointer exception, I tried everything from deleting the .asdm folder in my home directory (<em>my documents on windows</em>), uninstalling the asdm launcher didn&#8217;t help, neither did clearing java&#8217;s cache or uninstalling and re-installing java. </p>
<p>In the end i had to downgrade, very frustrating!</p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/1132/irritating-asdm-java-issues/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ASA Syntax Highlighting with Notepad++</title>
		<link>http://www.linickx.com/archives/875/cisco-asa-syntax-highlighting-with-notepad</link>
		<comments>http://www.linickx.com/archives/875/cisco-asa-syntax-highlighting-with-notepad#comments</comments>
		<pubDate>Mon, 16 Mar 2009 17:35:41 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[notepad++]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=875</guid>
		<description><![CDATA[When using windows, Notepad++ is my editor of choice. When editing PHP files, it&#8217;s nice to see coloured highlighting confirming your syntax is correct. As I regularly have to review &#038; build Cisco ASA Firewall configs I thought it would be nice to add a little colour Notepad++ supports a user defined language system whereby [...]]]></description>
			<content:encoded><![CDATA[<p>When using windows, <a href="http://notepad-plus.sourceforge.net/">Notepad++</a> is my editor of choice. When editing PHP files, it&#8217;s nice to see coloured highlighting confirming your syntax is correct.</p>
<p>As I regularly have to review &#038; build Cisco ASA Firewall configs I thought it would be nice to add a little colour <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Notepad++ supports <a href="http://notepad-plus.sourceforge.net/uk/UserLanguageDefineSystem-HOWTO.php">a user defined language system</a> whereby users can create their own syntax highlighting. As google couldn&#8217;t find anyone else who&#8217;d had a go at this before I thought I&#8217;d have a crack at being the 1st.</p>
<p>Attached to this post you&#8217;ll find userDefineLang_ASA.xml, what you need to do is..</p>
<blockquote><p>
1.  Download the user-defined language to your computer<br />
2. Open the file with your favourite text editor (such as notepad++ or notepad)<br />
3. Click start, run, type (or paste in) %APPDATA%\Notepad++ then click ok<br />
4. Open userDefineLang.xml with a text editor<br />
5. If this is the first userdefined language you are adding, copy/paste the entire first file (which you downloaded) into the userDefineLang.xml, replacing all that was there. If this is the second or more language you add, simply copy everything from the first file starting at <userlang ...> to </userlang> and paste it at the end of the userDefineLang.xml right before<br />
6. Save the newly improved userDefineLang.xml</p>
<p>Reference: <a href="http://notepad-plus.sourceforge.net/uk/download.php">http://notepad-plus.sourceforge.net/uk/download.php</a></p></blockquote>
<p>Now my implementation is quite simple at this stage, I&#8217;ve copied all the top level commands, i.e. anything from an initial &#8220;?&#8221; such as &#8220;show&#8221;, but I haven&#8217;t gone thru grabbing level two such as &#8220;run&#8221; as in &#8220;show run&#8221;. I have however added the most common level two commands so you should see <em>something</em> useful.</p>
<p>Comments or improvements welcome <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/875/cisco-asa-syntax-highlighting-with-notepad/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco Mars Event Correlation Diagram</title>
		<link>http://www.linickx.com/archives/771/cisco-mars-event-correlation-diagram</link>
		<comments>http://www.linickx.com/archives/771/cisco-mars-event-correlation-diagram#comments</comments>
		<pubDate>Mon, 26 Jan 2009 09:10:43 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[PICS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[mars]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=771</guid>
		<description><![CDATA[Copyright &#169; 2010 [LINICKX].com. This Feed is for personal non-commercial use only. Please check my Site Terms and Conditions for full details on copyrights. If you have any concerns with the content of this feed you may contact me here.WP Copyright Plugin]]></description>
			<content:encoded><![CDATA[<div id="attachment_772" class="wp-caption alignnone" style="width: 310px"><a href="http://www.linickx.com/archives/771/cisco-mars-event-correlation-diagram/mars-events-diagram-v100-19-01-2009" rel="attachment wp-att-772"><img src="http://www.linickx.com/files/2009/01/mars-events-diagram-v100-19-01-2009-300x216.png" alt="Mars Events Diagram" title="Mars Events Diagram" width="300" height="216" class="size-medium wp-image-772" /></a><p class="wp-caption-text">Mars Events Diagram</p></div>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/771/cisco-mars-event-correlation-diagram/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to CCIE Security Mind Maps on XMIND</title>
		<link>http://www.linickx.com/archives/729/introduction-to-ccie-security-mind-maps-on-xmind</link>
		<comments>http://www.linickx.com/archives/729/introduction-to-ccie-security-mind-maps-on-xmind#comments</comments>
		<pubDate>Fri, 09 Jan 2009 15:34:30 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ccie]]></category>
		<category><![CDATA[ccie security written]]></category>
		<category><![CDATA[revison]]></category>
		<category><![CDATA[xmind]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=729</guid>
		<description><![CDATA[In 2004 I certified as a CCSP, well actually back then it was called CSS1, anyway after a couple of year experience I decided that would start walking down the CCIE security path. Cisco recommends that potential candidates have a CCSP and at least 5 years experience in IT Security, and when I made the [...]]]></description>
			<content:encoded><![CDATA[<p>In 2004 I certified as a <a href="http://www.cisco.com/go/ccsp">CCSP</a>, well actually back then it was called CSS1, anyway after a couple of year experience I decided that would start walking down the CCIE security path.</p>
<p>Cisco recommends that potential candidates have a CCSP and at least 5 years experience in IT Security, and when I made the decision back in 2006/7 to begin studying I qualified in both cases and figured this was the path for me.</p>
<p>The thing is, the more I studied the more I realised what I didn&#8217;t know; I changed employers and began getting some practical experience with Ciscos non-security technology as routing &#038; switching features quite heavily. After 2 years of gathering as much information as I can on both Ciscos security and basic-networking portfolio and think 2009 is the year to stop putting this off and go for it!</p>
<p>I&#8217;ve messed about with many different techniques to prepare for the <a href="http://www.cisco.com/web/learning/le3/ccie/security/written_exam.html">CCIE SEC Written</a>, different ideas ranging from old skool A4/A3 notebooks, to google notebook, <a href="http://delicious.com/linickx/ccie">delicious keeps a record of some good bookmarks</a>, and I guess my <a href="http://www.linickx.com/archives/category/cisco">Cisco </a>and <a href="http://www.linickx.com/archives/category/security">security </a>blog posts count!</p>
<p>Meet my latest, and hopefully last plan&#8230;</p>
<p><iframe id='xmindshare_embedviewer' src='http://share.xmind.net/_embed/linickx/ccie-sec-readme-1/' width='550px' height='200px' frameborder='0' scrolling='no'></iframe><br />
<b><a href="http://share.xmind.net/linickx/">See the rest of my Mind Maps</a></b></p>
<p>Yep, I&#8217;m mind mapping, not only that but I&#8217;m going opensource and the maps are <a href="http://share.xmind.net/linickx/">on XMIND</a>. The Maps are far from finished but I&#8217;m hoping that this work will not only get me up to standard but also help others, after all you can&#8217;t have too many security experts!</p>
<p>If you have any suggestion of good revion resources, NOT testing kings or ways to cheat! Please comment and let me know.</p>
<p>UPDATE: Forgot to post that <a href="http://dl.getdropbox.com/u/165492/CCIE%20SEC%20Revision.xmind">the .xmind file is also in my dropbox</a> <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/729/introduction-to-ccie-security-mind-maps-on-xmind/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Link to Cisco MARS Parser Packages</title>
		<link>http://www.linickx.com/archives/720/link-to-cisco-mars-parser-packages</link>
		<comments>http://www.linickx.com/archives/720/link-to-cisco-mars-parser-packages#comments</comments>
		<pubDate>Thu, 18 Dec 2008 12:20:07 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[mars]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=720</guid>
		<description><![CDATA[One of the things MARS 6.x boasts is the ability to share custom parsers, the thing is finding the sharing page on the pro-net forum is a bit of a nightmare, well this thread found the answer &#8230; Link to Cisco Mars Custom Parser Packages Copyright &#169; 2010 [LINICKX].com. This Feed is for personal non-commercial [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things MARS 6.x boasts is the ability to share custom parsers, the thing is finding the sharing page on the pro-net forum is a bit of a nightmare, well <a href="http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&#038;forum=MARS&#038;topic=Discussions&#038;topicID=.2cc04749&#038;fromOutline=&#038;CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.2cc27cf1">this thread found the answer</a> &#8230; </p>
<p><a href="http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&#038;forum=MARS&#038;topic=Package%20Sharing&#038;CommCmd=MB%3Fcmd%3Ddisplay_messages%26location%3D.2cc0474b">Link to Cisco Mars Custom Parser Packages</a></p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/720/link-to-cisco-mars-parser-packages/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple SYSLOG Receivers with a Cisco NAC Appliance Manager (CAM)</title>
		<link>http://www.linickx.com/archives/701/multiple-syslog-receivers-with-a-cisco-nac-appliance-manager-cam</link>
		<comments>http://www.linickx.com/archives/701/multiple-syslog-receivers-with-a-cisco-nac-appliance-manager-cam#comments</comments>
		<pubDate>Wed, 10 Dec 2008 07:30:34 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[clean access]]></category>
		<category><![CDATA[nac]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=701</guid>
		<description><![CDATA[According to Cisco&#8217;s documentation on configuring syslog on a CAM, you can only forward the NAC logs to a single external log server. If you&#8217;re willing to get down and dirty with the Linux operating system underneath, then this document will show you that this is simply not the case. To get started, tweak the [...]]]></description>
			<content:encoded><![CDATA[<p>According to <a href="http://www.cisco.com/en/US/partner/docs/security/nac/appliance/configuration_guide/45/cam/m_apiapx.html#wpxref70724">Cisco&#8217;s documentation on configuring syslog on a CAM</a>, you can only forward the NAC logs to a single external log server. If you&#8217;re willing to get down and dirty with the Linux operating system underneath, then this document will show you that this is simply not the case.</p>
<p>To get started, tweak the default logging settings within the NAC web interface, <a href="http://www.linickx.com/?attachment_id=702">this screen-shot shows</a> I&#8217;m sending the syslog to the local host as local6 messages, this change will send a copy of the &#8220;normal&#8221; NAC event logs to the localhost syslog server.</p>
<p>Next we need to enable the localhost syslog server; the CAM is build upon a Fedora image, so the SYSLOG daemon is already running it&#8217;s just not listening on UDP 514 (<em>thus not yet receiving the logs configured above</em>). Change <code>/etc/sysconfig/syslog</code> , the line:<br />
<code>SYSLOGD_OPTIONS="-m 0"</code><br />
to<br />
<code>SYSLOGD_OPTIONS="-m 0 -r"</code></p>
<p>Now that the local daemon is recieving the files we need to change <code>/etc/syslog.conf</code>, here we will make two changes, One: we will write a copy of the NAC events to disk &#8211; this will allow us to see what events the &#8220;NAC application&#8221; is sending. The second change we&#8217;ll make is the forwarding configuration, we will put in two lines (<em>for both our syslog hosts</em>) so that we send forward the syslogs to two different servers &#8211; which was our original intention <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Add the following lines to <code>/etc/syslog.conf</code> :</p>
<pre>
# Log Messages sent from Cisco NAC Application to dedicated File
Local6.*	/var/log/CiscoNAC.log

# Forward all syslog messages to host1
*.* 	@loghost1
# Forward all syslog messages to host2
*.* 	@loghost2
</pre>
<p>*NOTE: loghost1 &#038; loghost2 need to be resolvable via DNS or in <code>/etc/hosts</code> !!</p>
<p>Finally restart the syslog daemon <code>/etc/init.d/syslog restart</code></p>
<p><strong>Housekeeping</strong><br />
It&#8217;s good practice once we&#8217;ve made changes to clear up after ourselves, these are some option steps you can take.</p>
<p>Add /var/log/CiscoNAC.log to logrotate, so that it doesn&#8217;t just grow and grow until you run out of disk space. This is done by editing <code>/etc/logrotate.d/syslog</code> before <code>/var/log/messages</code> insert <code>/var/log/CiscoNAC.log</code> </p>
<p>You may also want to compress your syslogs, edit <code>/etc/logrotate.conf</code> and uncomment the word <code>compress</code> (<em>remove the &#8220;#&#8221;</em>) .</p>
<p><strong>Important Note</strong><br />
When performing NAC upgrades, Cisco provide operating system package upgrades &#038; changes, it&#8217;s important to check that after an upgrade this config changes still exist, also I take no responsibility for Cisco&#8217;s TAC not wanting to support you because of the changes made!</p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2010 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/archives/701/multiple-syslog-receivers-with-a-cisco-nac-appliance-manager-cam/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
