<?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>Abi Rendon - Sysadmin &#187; Sysadmin</title>
	<atom:link href="http://www.abirendon.com/index.php/category/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abirendon.com</link>
	<description>The trials and tribulations of a web developer and sysadmin.</description>
	<lastBuildDate>Fri, 16 Apr 2010 18:51:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VPN Tunnel Between Cisco ASA and Juniper SSG Firewalls</title>
		<link>http://www.abirendon.com/index.php/2009/11/03/vpn-tunnel-between-cisco-asa-and-juniper-ssg-firewalls/</link>
		<comments>http://www.abirendon.com/index.php/2009/11/03/vpn-tunnel-between-cisco-asa-and-juniper-ssg-firewalls/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 20:03:42 +0000</pubDate>
		<dc:creator>Abi Rendon</dc:creator>
				<category><![CDATA[Labor]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[juniper]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.abirendon.com/?p=205</guid>
		<description><![CDATA[Recently at work I was tasked with configuring a VPN tunnel between Cisco ASA 5505 to a Juniper SSG 320M. After hearing that it wasn&#8217;t compatible from many sources including our partners I just could not believe that this was the case, ipsec tunnels are a standard protocol and both Juniper and Cisco should be [...]]]></description>
			<content:encoded><![CDATA[<p>Recently at work I was tasked with configuring a VPN tunnel between Cisco ASA 5505 to a Juniper SSG 320M. After hearing that it wasn&#8217;t compatible from many sources including our partners I just could not believe that this was the case, ipsec tunnels are a standard protocol and both Juniper and Cisco should be compatible with ipsec.</p>
<p>After a day of google searches and troubleshooting I couldn&#8217;t find a proper solution that was easy and explained properly for my type of standard setup. Here is how I configured an ipsec VPN tunnel between the SSG and ASA.</p>
<p><strong>Cisco ASA 5505</strong></p>
<ul>
<li>IP: 1.1.1.1</li>
<li>Network: 192.168.1.0/24</li>
</ul>
<p><strong>Juniper SSG 320M</strong></p>
<ul>
<li>IP: 2.2.2.2</li>
<li>Network: 192.168.2.0/24</li>
</ul>
<blockquote><p>
192.168.1.0/24 < -> 1.1.1.1 < --VPN Tunnel--> 2.2.2.2 < -> 192.168.2.0/24
</p></blockquote>
<p>Here is the actual configuration including all the access list to allow all traffic through, you will probably want to lock this down as it will allow all traffic through.</p>
<p><strong>Cisco ASA 5505 Configuration</strong></p>
<blockquote><p>
object-group network local_cisco_network<br />
 network-object 192.168.1.0 255.255.255.0<br />
object-group network remote_juniper_network<br />
 network-object 192.168.2.0 255.255.255.0</p>
<p>access-list ciscovpn_nat_junipervpn extended permit ip object-group local_cisco_network object-group remote_juniper_network<br />
access-list ciscovpn_nat_junipervpn extended permit ip object-group remote_juniper_network object-group local_cisco_network</p>
<p>access-list ciscotojuniper_cryptomap extended permit ip 192.168.1.0 255.255.255.0 192.168.2.0 255.255.255.0</p>
<p>crypto map outside_map 1 match address ciscotojuniper_cryptomap<br />
crypto map outside_map 1 set pfs<br />
crypto map outside_map 1 set peer 2.2.2.2<br />
crypto map outside_map 1 set transform-set ESP-3DES-SHA</p>
<p>tunnel-group 2.2.2.2 type ipsec-l2l<br />
tunnel-group 2.2.2.2 ipsec-attributes<br />
 pre-shared-key <mypresharedkey><br />
</mypresharedkey></p></blockquote>
<p><strong>Juniper SSG 320M Configuration</strong></p>
<blockquote><p>
set address &#8220;Trust&#8221; &#8220;192.168.2.0/24&#8243; 10.248.1.0 255.255.255.0<br />
set address &#8220;Untrust&#8221; &#8220;192.168.1.0/24&#8243; 10.0.10.0 255.255.255.0</p>
<p>set ike gateway &#8220;1.1.1.1&#8243; address 1.1.1.1 Main outgoing-interface &#8220;ethernet0/1&#8243; preshare &#8220;<mypresharedkey>&#8221; proposal &#8220;pre-g2-3des-sha&#8221;</p>
<p>set vpn &#8220;1.1.1.1&#8243; gateway &#8220;1.1.1.1&#8243; no-replay tunnel idletime 0 proposal &#8220;g2-esp-3des-sha&#8221;<br />
set policy id 2 name &#8220;1.1.1.1&#8243; from &#8220;Trust&#8221; to &#8220;Untrust&#8221;  &#8220;192.168.2.0/24&#8243; &#8220;192.168.1.0/24&#8243; &#8220;ANY&#8221; tunnel vpn &#8220;1.1.1.1&#8243; id 0xa pair-policy 1<br />
set policy id 2<br />
exit<br />
set policy id 1 name &#8220;1.1.1.1&#8243; from &#8220;Untrust&#8221; to &#8220;Trust&#8221;  &#8220;192.168.1.0/24&#8243; &#8220;192.168.2.0/24&#8243; &#8220;ANY&#8221; tunnel vpn &#8220;1.1.1.1&#8243; id 0xa pair-policy 2<br />
set policy id 1<br />
exit<br />
</mypresharedkey></p></blockquote>
<p>This configuration will allow traffic from 192.168.1.0/24 to 192.168.2.0/24 and vice versa. On the Juniper side the name of the vpn and gateway I think are important otherwise the Phase 1 negotiation will not work. If I&#8217;ve missed something or if you don&#8217;t understand something please let me know.</p>
<p>I will probably need to configure this against a Cisco router in the near future so stay tuned for an update for the cisco side.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abirendon.com/index.php/2009/11/03/vpn-tunnel-between-cisco-asa-and-juniper-ssg-firewalls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New URL and Design</title>
		<link>http://www.abirendon.com/index.php/2009/02/19/new-url-and-design/</link>
		<comments>http://www.abirendon.com/index.php/2009/02/19/new-url-and-design/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 23:12:09 +0000</pubDate>
		<dc:creator>Abi Rendon</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.abirendon.com/?p=171</guid>
		<description><![CDATA[As some might have noticed, I&#8217;ve recently updated my domain to abirendon.com and I&#8217;ve also applied a new wordpress theme, just made a few tweaks but it all seems to be working splendidly and it looks good.
I&#8217;ll be posting some guides on setting up and configuring VMWare ESXi, converting VMWare Server VMs to ESXi format, [...]]]></description>
			<content:encoded><![CDATA[<p>As some might have noticed, I&#8217;ve recently updated my domain to <a href="http://www.abirendon.com">abirendon.com</a> and I&#8217;ve also applied a new wordpress theme, just made a few tweaks but it all seems to be working splendidly and it looks good.</p>
<p>I&#8217;ll be posting some guides on setting up and configuring VMWare ESXi, converting VMWare Server VMs to ESXi format, configuring a raid 5 array on an MSA20 via linux command line and hopefully some more interesting pictures.</p>
<p>I&#8217;ve also just bought an iphone so I&#8217;ll probably be messing around with doing updates on the go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abirendon.com/index.php/2009/02/19/new-url-and-design/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Splunk on SUSE with Firefox 3, forever loading&#8230;</title>
		<link>http://www.abirendon.com/index.php/2008/10/13/splunk-suse-firefox-forver-loading/</link>
		<comments>http://www.abirendon.com/index.php/2008/10/13/splunk-suse-firefox-forver-loading/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 23:06:11 +0000</pubDate>
		<dc:creator>Abi Rendon</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[splunk]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://www.azuretek.com/?p=71</guid>
		<description><![CDATA[If you&#8217;re using SLES or any other Suse variant you might be wondering why your Splunk installation is constantly in a loading loop unless you browse to it using Internet Explorer. After lots of hacking around, reboots and google searches I emailed the splunk team about my problem. At first they didn&#8217;t seem to understand [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using SLES or any other Suse variant you might be wondering why your Splunk installation is constantly in a loading loop unless you browse to it using Internet Explorer. After lots of hacking around, reboots and google searches I emailed the splunk team about my problem. At first they didn&#8217;t seem to understand my problem but they did suggest I take a look at this article in their troubleshooting documentation.</p>
<p><a href="http://www.splunk.com/doc/latest/admin/UnableToGetAProperlyFormattedResponseFromTheServer">http://www.splunk.com/doc/latest/admin/UnableToGetAProperlyFormattedResponseFromTheServer</a></p>
<p><span id="more-71"></span></p>
<div class="ljcut">
It appears that there&#8217;s some kind of mime type issue where either the input/output is munged because SUSE incorrectly identifies it. It results in a &#8220;loading dashboard&#8230;&#8221; showing up for a long time and after that. </p>
<blockquote><p>Your search is still running after 1 minute. Unless you have set a high maxresults:: value, check if the Splunk Server is up and responding</p></blockquote>
<p>The fix is actually quite easy, I&#8217;ll just repost it here just in case the link I provided becomes bad later.</p>
<blockquote><p>
Unable to get a properly formatted response from the server</p>
<p>Users running Splunk on a SuSE 10.x server may receive the error message Unable to get a properly formatted response from the server; canceling the current search when executing any kind of search.</p>
<p>In order to resolve this issue edit /etc/mime.types. Delete (or comment out) these 2 lines:</p>
<blockquote><p>
text/x-xsl xsl<br />
text/x-xslt xslt xsl
</p></blockquote>
<p>Also change this line:</p>
<blockquote><p>
text/xml xml
</p></blockquote>
<p>to:</p>
<blockquote><p>
text/xml xml xsl
</p></blockquote>
<p>With these changes in place, restart Splunk and clear your browser cache.
</p></blockquote>
<p>Make sure to clear your cache, it&#8217;s actually quite easy! Just go to your firefox preferences underneath the &#8220;privacy&#8221; tag, there is a &#8220;clear now&#8230;&#8221; button.</p>
<p><img src="http://dl-client.getdropbox.com/u/49757/blog/clear_private_cache.png" alt="Firefox Clear Cache" />
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.abirendon.com/index.php/2008/10/13/splunk-suse-firefox-forver-loading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Job, Syslog, and Splunk</title>
		<link>http://www.abirendon.com/index.php/2008/09/29/syslogs-splunk/</link>
		<comments>http://www.abirendon.com/index.php/2008/09/29/syslogs-splunk/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 09:19:33 +0000</pubDate>
		<dc:creator>Abi Rendon</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[splunk]]></category>
		<category><![CDATA[syslog]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.azuretek.com/?p=20</guid>
		<description><![CDATA[I have been working as the Senior Systems Engineer in the operations group at a company called Airbiquity for the past year or so.
As part of my daily job I come into contact with many new and interesting products and things that help me do my job better.
Firstly, how often do you find that you [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working as the Senior Systems Engineer in the operations group at a company called <a href="http://airbiquity.com">Airbiquity</a> for the past year or so.</p>
<p>As part of my daily job I come into contact with many new and interesting products and things that help me do my job better.</p>
<p>Firstly, how often do you find that you need to constantly debug several machines at one? Tailing syslogs on each box can become a nightmare when you have more than one machine to look at. Consider these options&#8230;</p>
<ol>
<li>Configure your systems with syslog-ng to forward to a centralized syslog server where you can &#8220;tail -f&#8221; your problems easily.</li>
<li>Buy expensive products such as <a href="http://www.solarwinds.com/products/orion/SyslogServer.aspx">SolarWinds</a> syslog and snmp trap collector.</li>
<li>Use a free (500mb/day) syslog collector and search utility called <a href="http://www.splunk.com/">Splunk</a></li>
</ol>
<p>After messing with the SolarWinds products for a while I decided to move against it towards open source and free/cheaper options. </p>
<p>At Airbiquity I configured all of our servers and network equipment to send their syslog requests to a centralized syslog server. This was great for work debugging but I had trouble letting my boss have an easy utility that they could search with.</p>
<p>This is when I setup Splunk, it&#8217;s easy to install and while it can be load intensive it was a lot more intuitive and easy to use than the SolarWinds offering. So far it&#8217;s been great and we&#8217;re going to start looking into AD integration and clustering to support our multiple data centers.</p>
<p><span id="more-20"></span></p>
<div class="ljcut">
<p>Installing Splunk is as easy as pie, just download the RPM, they even provide a wget url.</p>
<p><img src="http://dl-client.getdropbox.com/u/49757/blog/splunk_download.jpg" alt="Splunk Download" /></p>
<p>Once you&#8217;ve downloaded just install using your flavor&#8217;s package system. They even provide a source version which you can install on any Linux distro, as well as an executable Windows version.</p>
<p>Redhat, SLES, etc.</p>
<blockquote><p>rpm -ivh &lt;yoursplunkdownload&gt;.rpm</p>
</blockquote>
<p>Ubuntu, Debian etc.</p>
<blockquote><p>dpkg -i &lt;yoursplunkdownload&gt;.deb</p>
</blockquote>
<p>Everything Else</p>
<blockquote><p>tar -xzvf &lt;yoursplunkdownload&gt;.tgz; cd &lt;newsplunkfolder&gt;;./install.sh</p>
</blockquote>
<p>
Once you&#8217;ve installed splunk you can enable auto start like so&#8230;
</p>
<blockquote><p>
/opt/splunk/bin/splunk enable boot-start
</p></blockquote>
<p>Pretty easy and you just run your new splunk init script to start it, you&#8217;ll then be able to connect to it using your servers url on port 8000.</p>
<p><code>http://&lt;yoursitesip&gt;:8000</code></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.abirendon.com/index.php/2008/09/29/syslogs-splunk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
