<?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>Windancer - Stairway to ...Heaven? &#187; Search Results  &#187;  checkpoint</title>
	<atom:link href="http://www.imacandi.net/windancer/search/checkpoint/feed/rss2/" rel="self" type="application/rss+xml" />
	<link>http://www.imacandi.net/windancer</link>
	<description>&#34;You know my methods, Watson...&#34;</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:15:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Eurotrip 2011 &#8211; Berlin</title>
		<link>http://www.imacandi.net/windancer/2011/08/22/eurotrip-2011-berlin.html</link>
		<comments>http://www.imacandi.net/windancer/2011/08/22/eurotrip-2011-berlin.html#comments</comments>
		<pubDate>Mon, 22 Aug 2011 17:12:25 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[travel]]></category>
		<category><![CDATA[eurotrip 2011]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=3530</guid>
		<description><![CDATA[Dupa multe (~7-8) ore de condus, cu drumuri tot in constructie intre Viena &#8211; Praga &#8211; Berlin, am ajuns in Berlin, in frumosul hotel Eurostars, pe Friedrichstrit, 99, la 2 pasi de CheckPoint Charlie, pe unde ne-am plimbat si am facut poze. Intamplarea face ca in Berlin, azi e prima zi dintr-o saptamana dedicata comemorarii [...]]]></description>
			<content:encoded><![CDATA[<p>Dupa multe (~7-8) ore de condus, cu drumuri tot in constructie intre Viena &#8211; Praga &#8211; Berlin, am ajuns in Berlin, in frumosul hotel Eurostars, pe Friedrichstrit, 99, la 2 pasi de CheckPoint Charlie, pe unde ne-am plimbat si am facut poze.</p>
<p>Intamplarea face ca in Berlin, azi e prima zi dintr-o saptamana dedicata comemorarii istoriei acestui oras. CheckPoint Charlie, Zidul Berlinului, Reichstag-ul&#8230;peste tot sunt afise si postere cu date din vremea lui Hitler si pana in 1989.</p>

<div class="ngg-galleryoverview" id="ngg-gallery-63-3530">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.imacandi.net/windancer/2011/08/22/eurotrip-2011-berlin.html?show=slide">
			[Show as slideshow]		</a>
	</div>

	
	<!-- Thumbnails -->
		
	<div id="ngg-image-1043" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3089.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3089" alt="img_3089" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3089.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1044" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3090.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3090" alt="img_3090" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3090.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1045" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3091.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3091" alt="img_3091" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3091.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1046" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3092.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3092" alt="img_3092" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3092.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1047" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3093.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3093" alt="img_3093" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3093.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1048" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3094.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3094" alt="img_3094" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3094.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1049" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3095.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3095" alt="img_3095" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3095.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1050" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3096.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3096" alt="img_3096" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3096.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1051" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3098.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3098" alt="img_3098" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3098.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1052" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3099.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3099" alt="img_3099" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3099.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1053" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3100.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3100" alt="img_3100" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3100.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1054" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3101.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3101" alt="img_3101" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3101.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1055" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3102.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3102" alt="img_3102" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3102.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1056" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3103.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3103" alt="img_3103" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3103.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1057" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3104.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3104" alt="img_3104" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3104.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1058" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3105.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3105" alt="img_3105" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3105.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1059" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3106.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3106" alt="img_3106" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3106.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1060" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3107.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3107" alt="img_3107" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3107.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1061" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3108.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3108" alt="img_3108" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3108.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1062" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/berlin/img_3109.jpg" title=" " class="thickbox" rel="set_63" >
								<img title="img_3109" alt="img_3109" src="http://www.imacandi.net/windancer/wp-content/gallery/berlin/thumbs/thumbs_img_3109.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-navigation'><span class="current">1</span><a class="page-numbers" href="http://www.imacandi.net/windancer/2011/08/22/eurotrip-2011-berlin.html?nggpage=2">2</a><a class="page-numbers" href="http://www.imacandi.net/windancer/2011/08/22/eurotrip-2011-berlin.html?nggpage=3">3</a><a class="next" id="ngg-next-2" href="http://www.imacandi.net/windancer/2011/08/22/eurotrip-2011-berlin.html?nggpage=2">&#9658;</a></div> 	
</div>


<p>Chiar la coltul hotelului este un restaurant minunat. Tot ce pot spune la ora asta este ca au un Pinot Noir Rose ex-ce-lent <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>

<div class="ngg-galleryoverview" id="ngg-gallery-64-3530">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.imacandi.net/windancer/2011/08/22/eurotrip-2011-berlin.html?show=slide">
			[Show as slideshow]		</a>
	</div>

	
	<!-- Thumbnails -->
		
	<div id="ngg-image-1088" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/img_3135.jpg" title=" " class="thickbox" rel="set_64" >
								<img title="img_3135" alt="img_3135" src="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/thumbs/thumbs_img_3135.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1089" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/img_3136.jpg" title=" " class="thickbox" rel="set_64" >
								<img title="img_3136" alt="img_3136" src="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/thumbs/thumbs_img_3136.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1090" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/img_3138.jpg" title=" " class="thickbox" rel="set_64" >
								<img title="img_3138" alt="img_3138" src="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/thumbs/thumbs_img_3138.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1091" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/img_3140.jpg" title=" " class="thickbox" rel="set_64" >
								<img title="img_3140" alt="img_3140" src="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/thumbs/thumbs_img_3140.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1092" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/img_3141.jpg" title=" " class="thickbox" rel="set_64" >
								<img title="img_3141" alt="img_3141" src="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/thumbs/thumbs_img_3141.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1093" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/img_3143.jpg" title=" " class="thickbox" rel="set_64" >
								<img title="img_3143" alt="img_3143" src="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/thumbs/thumbs_img_3143.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-1094" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/img_3144.jpg" title=" " class="thickbox" rel="set_64" >
								<img title="img_3144" alt="img_3144" src="http://www.imacandi.net/windancer/wp-content/gallery/restaurant-berlin/thumbs/thumbs_img_3144.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2011/08/22/eurotrip-2011-berlin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>freaking, nightmare giving CheckPoint NAT</title>
		<link>http://www.imacandi.net/windancer/2011/08/04/freaking-nightmare-giving-checkpoint-nat.html</link>
		<comments>http://www.imacandi.net/windancer/2011/08/04/freaking-nightmare-giving-checkpoint-nat.html#comments</comments>
		<pubDate>Thu, 04 Aug 2011 11:48:20 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[checkpoint]]></category>
		<category><![CDATA[draci]]></category>
		<category><![CDATA[nat]]></category>
		<category><![CDATA[passion]]></category>
		<category><![CDATA[techie]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=3466</guid>
		<description><![CDATA[I believe this is how it works, at least partially. Could not find this information anywhere online, only got partial responses, that don&#8217;t actually cover all the cases. Not to mention, all the aspects on where exactly in the FW engines the NAT actually happens: =========================================================================== Automatic NAT:  - Static NAT &#62; 2 NAT rules [...]]]></description>
			<content:encoded><![CDATA[<p>I believe this is how it works, at least partially. Could not find this information anywhere online, only got partial responses, that don&#8217;t actually cover all the cases. Not to mention, all the aspects on where exactly in the FW engines the NAT actually happens:</p>
<blockquote>
<pre>===========================================================================</pre>
<pre><strong>Automatic NAT: </strong></pre>
<pre><strong>- Static NAT</strong>
&gt; 2 NAT rules are automatically created:
&gt;&gt; A source translation where translates the source between the original and</pre>
<pre> the NAT address.
&gt;&gt; A destination translation where translates the destination between the</pre>
<pre>NAT and the original address.
&gt; creates proxy ARP
 -- Translate on Client Side ON
&gt; translates on Inbound, after VM, before routing, on interface I
&gt; don't need anymore routes</pre>
<pre>-- Translate on Client Side OFF
&gt; translates on Outbound, after routing, after VM, on interface O</pre>
<pre>&gt; add route from public IP to private IP</pre>
<pre></pre>
<pre><strong>- Hide NAT</strong> (as this is also "automatic" only works with public IP from FW interface)
&gt; creates proxy ARP
 -- Translate on Client Side ON
&gt; translates on Inbound, after VM, before routing, on interface I</pre>
<pre>&gt; no more routes needed

 -- Translate on Client Side OFF
&gt; translates on Outbound, after routing, after VM, on interface O</pre>
<pre>&gt; no more routes needed</pre>
<pre> ===========================================================================</pre>
<pre><strong>Manual NAT:</strong></pre>
<pre><strong>- Static NAT</strong>
 -- Translate on Client Side ON
&gt; add ARP entries to the FW for all hiding IPs
&gt; no additional routes needed
&gt; translates on Inbound, after VM, before routing, on interface I

 -- Translate on Client Side OFF
&gt; add ARP entries to the FW for all hiding IPs
  --- Hiding IP in same subnet as FW external Interface
&gt; add route from public IP to private IP
  --- Hiding IP in different subnet as FW external Interface
&gt; add route from public IP to private IP: next hop: private IP

<strong>- Hide NAT</strong>
 -- Translate on Client Side ON
  --- Hiding IP in same subnet as FW external Interface
&gt; no ARP changes needed
&gt; no additional routes needed
&gt; translates on Inbound, after VM, before routing, on interface I

  --- Hiding IP in different subnet as FW external Interface
&gt; add ARP entry to the FW for the hiding IP
&gt; translates on Inbound, after VM, before routing, on interface I
&gt; routes ? 

 -- Translate on Client Side OFF
  --- Hiding IP in same subnet as FW external Interface
&gt; add route from public IP to private IP
&gt; translates on Outbound, after routing, after VM, on interface O

  --- Hiding IP in different subnet as FW external Interface
&gt; add route from public IP to private IP: next hop: private IP
&gt; translates on Outbound, after routing, after VM, on interface O</pre>
<pre>===========================================================================</pre>
</blockquote>
<pre><a href="http://www.imacandi.net/windancer/wp-content/uploads/2011/08/ckp_nat.png" class="lightview" data-lightview-group="group-3466" data-lightview-options="background: { color: '#ffffff', opacity: 1.00 }, skin: 'mac', border: { color: '#ffffff', opacity: 1.00, size: 8 }, controls: 'relative', overlay: { background: '#000000', opacity: 0.70, close: true }, radius: { size: 8, position: 'border' }, shadow: false" data-lightview-title="ckp_nat"><img class="alignnone size-full wp-image-3469" title="ckp_nat" src="http://www.imacandi.net/windancer/wp-content/uploads/2011/08/ckp_nat.png" alt="" width="811" height="407" /></a></pre>
<pre>CopyRight: CheckPoint</pre>
<pre>===========================================================================</pre>
<pre>Do Manual NAT when:</pre>
<blockquote>
<pre>- Instances where remote networks only allow specifci IP addresses
- Situations where translation is desired for some services, and not others
- Environments where more granular control of address translation in VPN tunnels is needed
- Enterprises where address translation rule base must be manipulated
- When Port Address Translation is required
- Environments where granular control of address translation between internal networks is required
- When a range of IP addresses, rather than a network, will be translated</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2011/08/04/freaking-nightmare-giving-checkpoint-nat.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new contest</title>
		<link>http://www.imacandi.net/windancer/2011/07/17/new-contest.html</link>
		<comments>http://www.imacandi.net/windancer/2011/07/17/new-contest.html#comments</comments>
		<pubDate>Sun, 17 Jul 2011 20:22:05 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[techie]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=3450</guid>
		<description><![CDATA[Daca ii pun tiranului o intrebare despre CheckPoint la care nu stie sa raspunda, primesc pupic Dupa o seara intreaga de discutat, am reusit sa-l intreb de ce in Global Properties for Manual NAT Rules mai exista bifa de &#8220;Translate Destination on client side&#8221; &#8211; atata vreme cat oricum asta e default si asa se [...]]]></description>
			<content:encoded><![CDATA[<p>Daca ii pun tiranului o intrebare despre CheckPoint la care nu stie sa raspunda, primesc pupic <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Dupa o seara intreaga de discutat, am reusit sa-l intreb de ce in Global Properties for Manual NAT Rules mai exista bifa de &#8220;Translate Destination on client side&#8221; &#8211; atata vreme cat oricum asta e default si asa se face cel mai bine si &#8220;cel mai mereu&#8221;.</p>
<p>Cum nu a stiut&#8230;I got pupic.</p>
<p>Problema cu acest concurs este insa urmatoarea: de cand ma joc cu CheckPointu&#8217;, si tiranul functioneaza ca un Security Policy: what is not explicitly permitted is implicitly dropped. Deci trebe sa gasesc multe chestii pe care nu le stie <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Asta la omul care probabil stie CheckPoint cel mai bine in tara asta <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Hard times ahead <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2011/07/17/new-contest.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InfoSec 2011</title>
		<link>http://www.imacandi.net/windancer/2011/04/21/infosec-2011.html</link>
		<comments>http://www.imacandi.net/windancer/2011/04/21/infosec-2011.html#comments</comments>
		<pubDate>Thu, 21 Apr 2011 09:36:18 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[travel]]></category>
		<category><![CDATA[conference]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=3351</guid>
		<description><![CDATA[A venit si a trecut. Cam scurt, am putut sta acolo cam o zi jumate, dar a fost ok, ca lumea se cam rarea pe dupa amiaza-seara, si banuiesc ca azi deja ar fi fost super putina lume (se pare ca si din cauza nuntii secolului draci baltati). Am stat si eu la standul corporatiei [...]]]></description>
			<content:encoded><![CDATA[<p>A venit si a trecut. Cam scurt, am putut sta acolo cam o zi jumate, dar a fost ok, ca lumea se cam rarea pe dupa amiaza-seara, si banuiesc ca azi deja ar fi fost super putina lume (se pare ca si din cauza nuntii secolului draci baltati). Am stat si eu la standul corporatiei sa prezint vizitatorilor ce face firma la care lucrez. Ca sa setez corect asteptarile, le-am zis din start ca eu mi-s personaj tehnic, si sa nu ma intrebe chestii de vanzari, si nici sa nu se astepte la stuff de Sales de la mine. Cat am stat acolo, nu am fost nici macar un singur om care sa nu se bucure auzind asta si sa nu puna intrebari.</p>
<p>Oameni de tot felul, de la VP, CEO si Purchase Managers pana la preferatii mei: Network Engineers, Product/Project Managers, Sys Admins, Security Consultants si mai ales Pen Test Specialists. Lumea s-a minunat de solutiile companiei noastre, mai ales ca multi nu stiau de existenta noastra ca si companie. Si mi-a placut ca am avut si eu ocazia sa prezint plugin-ul de VoIP unui nenea care stia VoIP la modul serios. De la astia are valoare feedback-ul si se pare ca facem o treaba foarte buna. Acum, mnah, sper sa si cumpere !</p>
<p>Alte chestii, mai marii in ITSec au cam fost prezenti. Sophos au avut un stand super misto, Qualys a bagat muzica si bautura si s-a strans lumea, WebSense au avut stand misto, RSA -ul cam slabuti, Intel-ul s-a bagat la cutie intr-un stand mic, prezentand doar ceva foarte vag despre solutia lor de Cloud.</p>
<p>Uitai taman de CheckPoint. Am vazut si eu DashBoard-ul de la R75 &#8211; cik au per user policy rules prin integrarea cu AD <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Unii vizitatori veneau cu CV-ul si intrebau daca nu avem job-uri libere. Altii doar cascau gura. A fost faina ideea vecinilor nostri de stand, al caror nume nu mi-l amintesc spre rusinea mea: au venit toti in tricouri galbene pana peste fund, cu desene cu chiloti pe ele; mesajul era:</p>
<blockquote><p>Passwords&amp;Underwear: 1. Do not borrow them, 2. Do not expose them, 3. Change them frequently</p></blockquote>
<p>- sau ceva pe-acolo, dar au fost funny tare</p>
<p>Din pacate, am uitat acasa camera foto, dar sper sa apara ceva poze de la colegi, in curand <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2011/04/21/infosec-2011.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Israel &#8211; day 2</title>
		<link>http://www.imacandi.net/windancer/2011/02/16/israel-day-2.html</link>
		<comments>http://www.imacandi.net/windancer/2011/02/16/israel-day-2.html#comments</comments>
		<pubDate>Wed, 16 Feb 2011 20:38:03 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[travel]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=3141</guid>
		<description><![CDATA[Multa munca, dar si chestii foarte interesante de facut. Ca de obicei, reusesc, Cumva, sa crap diverse echipamente si sa-i bulversez pe oameni cu faptul ca la mine crapa, iar la ei nu. Mwell, that&#8217;s just part of my charm In afara de asta (dar mi se tot confirma zi de zi), am feedback-ul constant [...]]]></description>
			<content:encoded><![CDATA[<p>Multa munca, dar si chestii foarte interesante de facut. Ca de obicei, reusesc, Cumva, sa crap diverse echipamente si sa-i bulversez pe oameni cu faptul ca la mine crapa, iar la ei nu. Mwell, that&#8217;s just part of my charm <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>In afara de asta (dar mi se tot confirma zi de zi), am feedback-ul  constant ca evreii astia, cel putin cei din IT, sunt si foarte destepti  si foarte bine facuti si au mare grija de ei. Firma in care am fost e  plina de geeks, dar vorbesc cu ei in pauza de masa, sunt super funny,  culti, simpatici si arata super bine. Femeile in schimb sunt &#8230;plinute. Eu  nu pricep cum de se poate asta. Astia sunt toti cu fitness-ul, cu  mountain bike-ul, cu alergatul, cu artele martiale, iar femeile/fetele sunt super plinute. Sau..hm..poate asa le  place lor. Nu zic nici 40kg si pitzi, da&#8217; nici 70kg la 1.60 inaltime.  Acum ca am rezolvat cu dilemele existentiale despre ce nu ma priveste pe  mine din cultura altor popoare&#8230;sa revenim la chestii mai interesante.</p>
<p>In seara asta am reusit sa ies la &#8220;un suc&#8221; cu o amica din Tel Aviv, romanca, mutata aici de vreun an jumate. Asa am avut si eu ocazia sa bag ceva specific lor. Se numeste <strong>sahlab</strong> (ei il citesc cam ca &#8220;sahlep&#8221;) si e un fel de desert cu gust de nuca de cocos si apa de trandafiri si cu un gust fin de scortisoara, cu consistenta de gris cu lapte, dar ceva mai moale, se serveste cald, cu croncanele si diverse alte chestii in el. L-am mancat cu lingurita si a fost GENIAL. Abia am reusit sa termin (la astia toate portiile sunt foarte mari ! ) si cred ca am contorizat vreo 2000 de calorii <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  , eh, lasa ca dupa cat am facut foame in State, acum primesc recompensa cu mancare super buna si dulciuri si mai si.</p>
<p>Poza la sahleb asta:</p>
<p><a href="http://www.imacandi.net/windancer/wp-content/uploads/2011/02/sahlab.jpg" class="lightview" data-lightview-group="group-3141" data-lightview-options="background: { color: '#ffffff', opacity: 1.00 }, skin: 'mac', border: { color: '#ffffff', opacity: 1.00, size: 8 }, controls: 'relative', overlay: { background: '#000000', opacity: 0.70, close: true }, radius: { size: 8, position: 'border' }, shadow: false" data-lightview-title="sahlab"><img class="alignnone size-full wp-image-3142" title="sahlab" src="http://www.imacandi.net/windancer/wp-content/uploads/2011/02/sahlab.jpg" alt="" width="400" height="300" /></a></p>
<p>In rest, se pare ca Tel Aviv-ul e un oras super civilizat si sigur, in care te poti plimba lejer noaptea fara teama ca te ataca cineva, cum ar fi in Ferentari (si eu si amica mea am locuit ceva timp in Ferentari, deci stiu ce zice <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ). Bine, ce dume au ei cu vecinii e partea a doua, dar in rest lumea e super misto, sunt foarte civilizati, draguti si destepti si au cea mai misto vreme din lume. Daca nu ar fi chestia cu vecinii, aici mi-as dori sa ma mut.</p>
<p>Si ca second line, azi am cunoscut un nenea super smecher. Pentru cei care mai sunt cu calculatoarele, e vorba de nenea care a facut capul calendar celor de la Microsoft pe tema problemei cu <strong><a href="http://www.facebook.com/l.php?u=http%3A%2F%2Fwww.dc9723.org%2Fwp-content%2Fuploads%2F2010%2F12%2Fstuxnet_dc9723.ppt&amp;h=a8361">StuxNet</a>, </strong>anume <a href="http://www.checkpoint.com/defense/advisories/public/announcement/2010/131210-ms-task-scheduler-ms10-092.html"><strong>Tomer Teller</strong></a>. Care aflu acum ca are si nush ce patent pe security. Omul e tare si colegul meu mi l-a prezentat si m-a sfatuit sa fac bine sa ma port frumos <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ca nu se stie niciodata, pana la urma, inca mai folosesc Windows <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Eu sunt happy. Sper sa tin legatura cu lumea, ca astia majoritatea sunt super doxa si am ce invata de la ei <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2011/02/16/israel-day-2.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>pe scurt</title>
		<link>http://www.imacandi.net/windancer/2010/10/29/pe-scurt.html</link>
		<comments>http://www.imacandi.net/windancer/2010/10/29/pe-scurt.html#comments</comments>
		<pubDate>Fri, 29 Oct 2010 08:18:44 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=2867</guid>
		<description><![CDATA[Leonardo Boutique Hotel - hotel super curat, angajati super misto, foarte politicosi si atenti; oricum, e foarte curat peste tot pe-aici - maniaci cu &#8220;reset to defaults&#8221;: imi asez oglinda din baie cum vreau, imi pun lucrurile aiurea, cand revin seara in camera totul e reset la defaults, totul e super aranjat si dichisit, ma [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.leonardo-hotels.com/israel-hotels/tel-aviv-hotels/boutique-tel-aviv"><strong>Leonardo Boutique Hotel </strong></a></p>
<p>- hotel super curat, angajati super misto, foarte politicosi si atenti; oricum, e foarte curat peste tot pe-aici</p>
<p>- maniaci cu &#8220;reset to defaults&#8221;: imi asez oglinda din baie cum vreau, imi pun lucrurile aiurea, cand revin seara in camera totul e reset la defaults, totul e super aranjat si dichisit, ma enerveaza pana si pe mine atata ordine</p>
<p>- de dulciuri nici nu mai are sens sa comentez</p>
<p>- cafeaua e foarte naspa, cam pe oriunde pe unde am fost pe-aici au un fel de cafea facuta la ibric, dar fac ceva naspa, ca nu le iese buna deloc &#8211; sau poate nu am eu gustul cum trebuie; mi-e dor de mers la Starbucks cu tiranul <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>- trebe musai sa ies sa fac poze prin jur; au 2 parcuri mari in apropiere si cik 15 minute cu masina pana la mare</p>
<p>- maine au inchis peste tot la hotel, in termeni de : nu mic-dejun, nu gustari in business lounge, nu restaurant deschis pentru cina; eu nu pricep cum in zi de &#8220;sarbatoare&#8221; oamenii fac foamea; sau poate doar eu o sa fac foamea :-s</p>
<p>- israelienii ma enerveaza oficial: sunt prea tari la capitolul IT <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  retelistica, retele mobile, radio, securitate, securitate pe retele mobile, telefonie, etc etc etc; tipul cu care lucrez eu a fost in CheckPoint si in Cisco; I am like: ^:)^ ^:)^ ^:)^</p>
<p>- mi-e frica sa nu-mi scape de draci vreo injuratura urata in romana, ca foarte multi inteleg limba romana; cei care au rude din Romania se straduiesc sa-si ia cetatenie romana, ca sa poate sa isi trimita kinderii la scoli in Europa si/sau eventual sa o taie si ei acolo; ei zic ca orice evreu are un &#8220;Plan B&#8221; &#8211; intotdeauna .   <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_confused.gif' alt=':-?' class='wp-smiley' /> ?</p>
<p>- mi s-a oferit, mai in gluma, mai in serios, un post pe wireless <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>- inapoi in tara sper sa-mi iasa faza cu cersitul de bani pe la companiile mari; m-au sunat unii (nu zic care, inca), dispusi sa ma sponsorizeze cu doctoratul; sa vedem si ce vor la schimb; nu prea as vrea sa plec din firma de acum, macar aici invat tehnologie ca lumea</p>
<p>- mi-e foarte ciudat ca nu pricep bob din ce scriu/vorbesc oamenii astia; daca mai ajung pe-aici inca o data, ma apuc de invatat ebraica; ma rog, majoritatea celor cu care am eu de-a face sunt rusi, de capul lor; deci, cand nu le iese pe ebraica, o dau pe rusa; apoi pe engleza, apoi pe rusa, apoi iar pe ebraica; ceea ce e bine, constat ca termenilor IT tot pe engleza le zic; in Franta sa fi fost, atunci sa vezi distractie; v-am spus ca-s foarte tari la tehnologie?</p>
<p>- fac dulciuri foarte bune <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Later Edit:</p>
<p>DA, si astia de la hotel baga muzica super misto. In afara rarelor cazuri cand baga muzica de-a lor, la micul dejun, cina si in business lounge se asculta jazz, rock classic, muzica frantuzeasca din anii 80.</p>
<p>Azi la micul dejun au pus niste preferati de-ai mei mai vechi: <strong>Staind &#8211; It&#8217;s been a while</strong>.</p>
<p>[youtube]http://www.youtube.com/watch?v=wVC1iBVnKJk[/youtube]</p>
<p>Iar colegii de la firma baga metale <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2010/10/29/pe-scurt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>to IPComp or not to IPComp and…which Vendor</title>
		<link>http://www.imacandi.net/windancer/2010/02/05/to-ipcomp-or-not-to-ipcomp-and-which-vendor.html</link>
		<comments>http://www.imacandi.net/windancer/2010/02/05/to-ipcomp-or-not-to-ipcomp-and-which-vendor.html#comments</comments>
		<pubDate>Fri, 05 Feb 2010 17:49:21 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[checkpoint]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[IETF]]></category>
		<category><![CDATA[IKE]]></category>
		<category><![CDATA[IPComp]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[netcocoon]]></category>
		<category><![CDATA[passion]]></category>
		<category><![CDATA[RFC]]></category>
		<category><![CDATA[Strongswan]]></category>
		<category><![CDATA[techie]]></category>
		<category><![CDATA[xfrm]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=1603</guid>
		<description><![CDATA[It occurred to me today&#8230;how &#8217;bout trying an IPcomp scenario? Of course, looking at RFC 3173, I was very excited about running a test and actually viewing Next Header / Protocol = 108, as the IETF guys say. Basically, the &#8220;Compression&#8221; part of this IPsec traffic is negotiated just as  any other protocol: AH, ESP, [...]]]></description>
			<content:encoded><![CDATA[<p>It occurred to me today&#8230;how &#8217;bout trying an <strong><a href="http://www.faqs.org/rfcs/rfc3173.html">IPcomp</a></strong> scenario? Of course, looking at <strong><a href="http://www.faqs.org/rfcs/rfc3173.html">RFC 3173</a></strong>, I was very excited about running a test and actually viewing <strong>Next Header / Protocol = 108</strong>, as the IETF guys say.</p>
<p>Basically, the &#8220;Compression&#8221; part of this IPsec traffic is negotiated just as  any other protocol: AH, ESP, EAP&#8230;via IKE, or manually configured on a device. Now&#8230;as I&#8217;ve got to devices&#8230;.good question: _what_ device could I use if I want IPsec IPCompression?</p>
<p>Look at this:<strong><a href="http://www.vpnc.org/vpnc-ipsec-features-chart.html"> http://www.vpnc.org/vpnc-ipsec-features-chart.html</a><span style="font-weight: normal;">. Scroll down to &#8220;Features (HTML table). The vendors that actually implement this, as per VPN Consortium (and for some of them I could tell you from direct experience), are </span>CheckPoint, Cisco, McAfee, SafeNet, StoneSF and TeamF1</strong>. A bit disappointed that I didn&#8217;t have the opportunity of working on all of these devices, I am redirecting my attention to what I do have: a big, shiny and fluffy Debian, with Strongswan installed and xfrm module also on.</p>
<p>So, lets get down to business. I have taken the simplest scenario I could think of at the moment, a <strong>transport mode</strong> scenario, having as Initiator 192.168.0.10 and as Responder 192.168.0.1. These two hosts negotiate 3des-md5-dh2 algorithms, doing PSK authentication. No PFS, no other kinky stuff. Just basic IKEv2 negotiation. The Strongswan config is as simple as possible.</p>
<p>*Note 1 : on strongswan.org people say that IKEv2 does not support compression &#8211; I have run a test with IKEv2 and compression and it works very well <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  But, in order to humor the strongswan guys, I have used IKEv1 in the following scenario</p>
<p>*Note 2 : in order to actually _see_ the encapsulated packets, I have used ESP-NULL Encryption for data encapsulation. Yes, I could have used a <strong>NetCocoon </strong>analyzer, but that &#8211; in the next episode <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>So: IKEv1, Transport mode, Main Mode, Null Encryption, ESP only, IP Comp:</p>
<div id="_mcePaste"><strong><em>config setup</em></strong></div>
<div id="_mcePaste"><strong><em>plutostart=yes</em></strong></div>
<div id="_mcePaste"><strong><em>charonstart=no</em></strong></div>
<div id="_mcePaste"><strong><em>plutodebug=all</em></strong></div>
<div id="_mcePaste"><strong><em>crlcheckinterval=180</em></strong></div>
<div id="_mcePaste"><strong><em>strictcrlpolicy=no</em></strong></div>
<div id="_mcePaste"><strong><em># Add connections here.</em></strong></div>
<div id="_mcePaste"><strong><em>conn %default</em></strong></div>
<div id="_mcePaste"><strong><em>keyingtries=1</em></strong></div>
<div id="_mcePaste"><strong><em>keyexchange=ikev1</em></strong></div>
<div id="_mcePaste"><strong><em>authby=secret</em></strong></div>
<div id="_mcePaste"><strong><em>mobike=no</em></strong></div>
<div id="_mcePaste"><strong><em>pfs=no</em></strong></div>
<div id="_mcePaste"><strong><em>type=transport</em></strong></div>
<div id="_mcePaste"><strong><em>compress=yes</em></strong></div>
<div id="_mcePaste"><strong><em>auto=start</em></strong></div>
<div id="_mcePaste"><strong><em>ike=3des-md5-modp1024</em></strong></div>
<div id="_mcePaste"><strong><em>esp=null-md5</em></strong></div>
<div id="_mcePaste"><strong><em>leftfirewall=yes</em></strong></div>
<div id="_mcePaste"><strong><em>rekey=yes</em></strong></div>
<div id="_mcePaste"><strong><em>conn network1</em></strong></div>
<div id="_mcePaste"><strong><em>left=192.168.0.1</em></strong></div>
<div id="_mcePaste"><strong><em>right=192.168.0.10</em></strong></div>
<div><strong><em></p>
<div># ipsec status</div>
<div><span style="font-weight: normal;">000 &#8220;network1&#8243;: 192.168.0.1[192.168.0.1]&#8230;192.168.0.10[192.168.0.10]; erouted; eroute owner: #3</span></div>
<div><span style="font-weight: normal;">000 &#8220;network1&#8243;:   newest ISAKMP SA: #2; newest IPsec SA: #3;</span></div>
<div><span style="font-weight: normal;">000</span></div>
<div><span style="font-weight: normal;">000 #3: &#8220;network1&#8243; STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in 2488s; newest IPSEC; eroute owner</span></div>
<div><span style="font-weight: normal;">000 #3: &#8220;network1&#8243; esp.525b0b48@192.168.0.10 (0 bytes) esp.5511d8c2@192.168.0.1 (0 bytes) comp.1169@192.168.0.10 comp.527e@192.168.0.1; transport</span></div>
<div><span style="font-weight: normal;">000 #2: &#8220;network1&#8243; STATE_MAIN_R3 (sent MR3, ISAKMP SA established); EVENT_SA_REPLACE in 2488s; newest ISAKMP</span></div>
<div><span style="font-weight: normal;">000</span></div>
<div><span style="font-weight: normal;"><br />
</span></div>
<div><span style="font-style: normal; font-weight: normal;"><strong><em></p>
<div><span style="font-weight: normal;"><span style="font-style: normal;">Yes, it worked.</span></span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;"><br />
</span></span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;">Now&#8230;I am not sure what exact compression algorithms this Strongswan daemon has, but I can tell you for sure it uses at least <strong><a href="http://en.wikipedia.org/wiki/DEFLATE">DEFLATE</a></strong><a href="http://en.wikipedia.org/wiki/DEFLATE"> </a>(  <strong><a href="http://www.faqs.org/rfcs/rfc2394.html">RFC 2394</a></strong> ). <strong><a href="http://www.cisco.com/en/US/docs/ios/12_2t/12_2t13/feature/guide/ft_lzsft.html">Cisco</a></strong><a href="http://www.cisco.com/en/US/docs/ios/12_2t/12_2t13/feature/guide/ft_lzsft.html"> </a>on the other hand, uses only <strong>LZS </strong>(<strong><a href="http://www.faqs.org/rfcs/rfc2395.html">RFC 2395</a></strong> ) &#8211; as far as I have seen &#8211; to be updated if anybody else tested it versus DEFLATE.</span></span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;">The process of actually obtaining this cute ESP packets is the following:</span></span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;">a. get the Data from the upper layers of the TCP stack &#8211; doh, we need data</span></span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;">b. compress the Data above using the chosen algorithm &#8211; you will notice the <strong>CPI</strong> &#8211; Compression Parameter Index &#8211; which has well know identifiers for the well known compression algorithms</span></span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;">c. set the Next Header value of the IPComp header to the layer 4 protocol (in this case, TCP)</span></span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;">d. encapsulate everything in ESP, put on the corresponding SPI, set the Next Header value of the ESP header to 108 (0x6c)</span></span></div>
<div><span style="font-style: normal; font-weight: normal;">e. wrap it up in IP and&#8230; we are all set</span></div>
<div><span style="font-style: normal; font-weight: normal;"><br />
</span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;">&#8212; You can admire the ESP of IKEv1 in the screenshot attached</span></span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;"><a href="http://www.imacandi.net/windancer/wp-content/uploads/2010/02/ipcomp.jpg" class="lightview" data-lightview-group="group-1603" data-lightview-options="background: { color: '#ffffff', opacity: 1.00 }, skin: 'mac', border: { color: '#ffffff', opacity: 1.00, size: 8 }, controls: 'relative', overlay: { background: '#000000', opacity: 0.70, close: true }, radius: { size: 8, position: 'border' }, shadow: false" data-lightview-title="ipcomp"><img class="alignright size-full wp-image-1608" title="ipcomp" src="http://www.imacandi.net/windancer/wp-content/uploads/2010/02/ipcomp.jpg" alt="" width="744" height="268" /></a><br />
</span></span></div>
<div><span style="font-weight: normal;"><span style="font-style: normal;"><br />
</span></span></div>
<div><span style="font-style: normal; font-weight: normal;">Now, what happens differently with IKEv2? I was telling you before the on Strongswan, IKEv2 and AH is a no-no for the moment, ESP with null encryption does a weird thinggie that vmp was so kind to point it out for me (while I was feeling actually quite happy about myself being able to do an IPComp test via IKEv1).</span></div>
<div><span style="font-style: normal; font-weight: normal;">The thing is that, unlike the (correct) way of doing IPComp in IKEv1 (see the aboe a. to e. steps), IKEv2 implementation of Strongswan does a weird thing: </span></div>
<div><span style="font-style: normal; font-weight: normal;">a. get the Data ..blah-blah</span></div>
<div><span style="font-style: normal; font-weight: normal;">b. compress the Data with whatever compression algorithm and put on the IPComp header with CPI value and all</span></div>
<div><span style="font-style: normal; font-weight: normal;">* c. put on another IP header (the internal one, in case of a tunnel mode scenario)</span></div>
<div><span style="font-style: normal; font-weight: normal;">d. put on the ESP header</span></div>
<div><span style="font-style: normal; font-weight: normal;">e. wrap everything up</span></div>
<div><span style="font-style: normal; font-weight: normal;"><br />
</span></div>
<div><span style="font-style: normal; font-weight: normal;">&#8212; Unfortunately, you CANNOT admire the ESP of IKEV2 in a screenshot, because my current wireshark has no idea on how to do decompression of this type of packet. Once it does, I will update <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></div>
<p></em></strong></p>
<p></span></div>
<p></em></strong></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2010/02/05/to-ipcomp-or-not-to-ipcomp-and-which-vendor.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>IPsec and ALMOST CheckPoint</title>
		<link>http://www.imacandi.net/windancer/2010/01/26/ipsec-and-almost-checkpoint.html</link>
		<comments>http://www.imacandi.net/windancer/2010/01/26/ipsec-and-almost-checkpoint.html#comments</comments>
		<pubDate>Tue, 26 Jan 2010 10:18:24 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[checkpoint]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[clavister]]></category>
		<category><![CDATA[DPD]]></category>
		<category><![CDATA[HybridInitRSA]]></category>
		<category><![CDATA[IETF draft]]></category>
		<category><![CDATA[IKEv1]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[mode-config]]></category>
		<category><![CDATA[NAT-T]]></category>
		<category><![CDATA[netscreen]]></category>
		<category><![CDATA[NGX R65]]></category>
		<category><![CDATA[office mode]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[Remote-Access]]></category>
		<category><![CDATA[sonicwall]]></category>
		<category><![CDATA[stoke]]></category>
		<category><![CDATA[techie]]></category>
		<category><![CDATA[X.509]]></category>
		<category><![CDATA[xauth]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=1557</guid>
		<description><![CDATA[Recently I&#8217;ve had the opportunity of playing a bit with a CheckPoint UTM NGX R65 &#8211; ze mighty solution from the CheckPoint guys. Ignoring the obvious impediments (Romanian posts) I had when configuring the device from GUI, it left me a nice impression. These guys are not quite the interop gurus ever, but they strive to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve had the opportunity of playing a bit with a <strong><a href="http://www.checkpoint.com/products/endpoint_security/index.html#5">CheckPoint UTM NGX R65</a></strong> &#8211; ze mighty solution from the <a href="http://www.checkpoint.com/"><strong>CheckPoint</strong></a><strong> </strong>guys. Ignoring the obvious <a href="http://www.imacandi.net/windancer/?s=checkpoint">impediments</a> (Romanian posts) I had when configuring the device from GUI, it left me a nice impression.</p>
<p>These guys are not quite the interop gurus ever, but they strive to implement the crankiest drafts that ever appeared from IETF. Running this on my own, the interop even with this device worked well, but trying to make it work with <strong><a href="http://www.strongswan.org/">Strongswan</a></strong>I&#8217;ve got into big trouble.</p>
<p>Why? Well, let&#8217;s take a look at the most common IPsec &#8211; IKEv1 implementations. They usually pick one/more of the following standards:</p>
<p><strong>- RFC 2407</strong></p>
<p><strong>- RFC 2408</strong></p>
<p><strong>- RFC 2409</strong></p>
<p><strong>- RFC 3706 &#8211; should you like DPD &#8211; Dead Peer Detection</strong></p>
<p><strong>- RFC 3947 and RFC 3948 for NAT-T</strong></p>
<p>- <a href="http://tools.ietf.org/html/draft-dukes-ike-mode-cfg-02"><strong>mode-cfg-02 draft</strong></a> &#8211; for the most common Mode-Configuration operations (perfectly inter-operable by Cisco, Juniper&#8217;s ScreenOS, Strongswan, Sonicwall, Stoke and Clavister) &#8211; as you may have guessed, NO, NOT with CheckPoint</p>
<p>- <a title="http://www.drizzle.com/~aboba/IEEE/draft-beaulieu-ike-xauth-02.txt" href="http://www.drizzle.com/~aboba/IEEE/draft-beaulieu-ike-xauth-02.txt" rel="nofollow"><strong>draft-beaulieu-ike-xauth-02</strong></a> &#8211; for xAuth authentication of clients &#8211; inter-operable on Cisco, NetScreen, Stoke and Sonicwall (not sure about Clavister &#8211; haven&#8217;t tried it yet) &#8211; and, yes, not on CheckPoint</p>
<p>As a nice old guy would say: <strong><em>&#8220;Security through obscurity&#8221; </em><span style="font-weight: normal;">, not quite my favorite idea of _security_. Still, a good to follow idea for CheckPoint. Why? Because, even though they implement the RFC 2407, 2408 and 2409, they have decided not to implement the most common xAuth draft (presented above), feeling that symmetrical authentication is just too lame, so they have implemented <strong><a href="http://tools.ietf.org/html/draft-zegman-ike-hybrid-auth-01">draft-zegman-ike-hybrid-auth-01</a><span style="font-weight: normal;">, which defines how to do uni-directional independent authentication on the remote-access scenarios &#8211; procedure enforced by the CheckPoint VPN Client (only, if you ask me, though I haven&#8217;t tried too many others). </span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">Once you bypass this authentication procedure, configuring the UTM to authenticate the clients using X.509 certificates, you end up in yet another dead-end: the so-called </span>Office-Mode<span style="font-weight: normal;">, which is the CheckPoint way of saying &#8220;Mode-Configuration&#8221;, with a significant difference: the actual packet exchange is not standard. We have tried, me and my programmer fellows (by the way: thanks for enduring this by my side), to &#8220;reverse-engineer&#8221; this mighty exchange, but even with the CheckPoint debug and hacking into our friend </span><em>pluto</em><span style="font-weight: normal;">, we didn&#8217;t manage to get it right.</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">I have talked to a tech-support guy from CKP, a very nice person, still incapable of saying anything about their solution without first asking for permission from his PM/Management/whatever. So, up until today, I haven&#8217;t been able to pull this through. This is why the things I&#8217;m going to describe below are only ALMOST CheckPoint IPsec&#8230;</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><span id="more-1557"></span></span></strong></span></strong></p>
<p>So, once you have installed NGX R65 (of course, I only  had a trial version), define a main interface, generate a self-signed certificate for the UTM, and allow GUI clients to administer the device via SmartDashboard:</p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">1. Open SmartDashboard &gt; Network Objects &gt; CheckPoint &gt; double-click the name you gave to the current UTM (mine is CKP-R65) &gt; General Properties &gt; check the VPN box under &#8220;Check Point Products&#8221;</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">still on CKP-R65- &gt; under Topology tab, Edit the networks there as to identify as &#8220;This network&#8221; the main IP address, the one you bound to the RSA, and put the secondary one (of course, you&#8217;ve defined a secondary one) as &#8220;External&#8221;</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">still on CKP-R65- &gt; under VPN tab, Add &#8220;Remote Access&#8221; to the upper Area, stating that &#8220;This module participates in the following VPN Communities&#8221;</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">still on CKP-R65- &gt; under Remote Access &gt; under Office Mode I have checked the &#8220;Do not offer Office Mode&#8221; option</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">Hit OK, then go to Menu &gt; Policy &gt; Install Database&#8230; and install it on the UTM.</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">2. In the main Dashboard window &gt; Network Objects &gt; right-click on Networks &gt; Create new network, give it a name and then configure it. This shall be the Remote-Access pool for Office Mode (which we won&#8217;t do, cuz we don&#8217;t get till there with pluto)</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">3. In the main Dashboard window &gt; (fifth tab) Users &gt; right-click Users Group, create a new group, then right-click on Users and create a new user, assigning it to the previously created Remote-Access group</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">4. Now would be a good moment to save everything on the UTM &gt; Install Policies.</span></strong></span></strong></p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">5 &#8211; version 1. What I&#8217;ve done next is to create a new (external) CA (which is a 2003 Server CA I had at hand), enroll the CheckPoint to this CA and try to create a user certificate for my CheckPoint user. I thought of exporting this user certificate on my Strongswan and authenticate it to the gateway. Unfortunately, I&#8217;ve seen no way of indicating to which CA the user certificate gets enrolled &#8211; the user certificate I have created from the user page always got enrolled to the CheckPoint&#8217;s self-signed CA &#8211; not exactly what I had in mind</span></strong></span></strong></p>
<p>5 &#8211; version 2. I have done some more reading on the <a href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk30423">Internet</a>, and found a procedure of actually exporting the CheckPoint&#8217;s self-signed cert from the UTM, to a p12 file. God-like! I have exported the CKP-R65&#8242;s certificate, then put it under the &#8230;/ipsec.d/cacerts directory on debian. This way, it seems that strongswan passes the authentication stage &#8211; still not hybrid, but still authentication <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; line-height: 12px; font-size: 12px; color: #333333;">
<div class="ngg-galleryoverview" id="ngg-gallery-25-1557">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.imacandi.net/windancer/2010/01/26/ipsec-and-almost-checkpoint.html?show=slide">
			[Show as slideshow]		</a>
	</div>

	
	<!-- Thumbnails -->
		
	<div id="ngg-image-417" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/1.jpg" title=" " class="thickbox" rel="set_25" >
								<img title="1" alt="1" src="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/thumbs/thumbs_1.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-418" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/2.jpg" title=" " class="thickbox" rel="set_25" >
								<img title="2" alt="2" src="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/thumbs/thumbs_2.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-419" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/3.jpg" title=" " class="thickbox" rel="set_25" >
								<img title="3" alt="3" src="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/thumbs/thumbs_3.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-420" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/4.jpg" title=" " class="thickbox" rel="set_25" >
								<img title="4" alt="4" src="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/thumbs/thumbs_4.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-421" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/5.jpg" title=" " class="thickbox" rel="set_25" >
								<img title="5" alt="5" src="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/thumbs/thumbs_5.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-422" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/6.jpg" title=" " class="thickbox" rel="set_25" >
								<img title="6" alt="6" src="http://www.imacandi.net/windancer/wp-content/gallery/ckp-r65/thumbs/thumbs_6.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>

</span></p>
<p>My Strongswan machine has an IP address (20.0.0.2) and tries to do Remote-Access to the CheckPoint. The Strongswan config looks like this:</p>
<div id="_mcePaste"><em>conn %default</em></div>
<div id="_mcePaste"><em>keyingtries=1</em></div>
<div id="_mcePaste"><em>keyexchange=ikev1</em></div>
<div id="_mcePaste"><em>mobike=no</em></div>
<div id="_mcePaste"><em>pfs=no</em></div>
<div id="_mcePaste"><em>type=tunnel</em></div>
<div id="_mcePaste"><em>auto=add</em></div>
<div id="_mcePaste"><em>ike=aes256-sha1-modp1024</em></div>
<div id="_mcePaste"><em>esp=aes256-sha1</em></div>
<div id="_mcePaste"><em>leftfirewall=yes</em></div>
<div id="_mcePaste"><em>authby=rsasig</em></div>
<div id="_mcePaste"><em>conn ra1</em></div>
<div id="_mcePaste"><em>left=20.0.0.2</em></div>
<div id="_mcePaste"><em>right=20.0.0.1</em></div>
<div id="_mcePaste"><em>rightsubnet=10.205.17.0/24</em></div>
<div id="_mcePaste"><em>leftcert=user1.pem</em></div>
<div id="_mcePaste"><em>rightcert=CKP-R65.pem</em></div>
<div id="_mcePaste"><em>leftrsasigkey=user1_key.pem</em></div>
<div id="_mcePaste"><em>leftid=user1</em></div>
<div id="_mcePaste"><em>rightid=10.205.17.251</em></div>
<p>having ipsec.secrets:</p>
<p><em>: RSA /usr/local/etc/ipsec.d/private/user1_key.pem &#8220;password&#8221;</em></p>
<div>And when I do</div>
<div><em>ipsec up ra1</em></div>
<div>I get this:</div>
<div>
<div><em>/usr/local/etc# ipsec up ra1</em></div>
<div><em>002 &#8220;ra1&#8243; #1: initiating Main Mode</em></div>
<div><em>104 &#8220;ra1&#8243; #1: STATE_MAIN_I1: initiate</em></div>
<div><em>106 &#8220;ra1&#8243; #1: STATE_MAIN_I2: sent MI2, expecting MR2</em></div>
<div><em>002 &#8220;ra1&#8243; #1: we have a cert and are sending it upon request</em></div>
<div><em>108 &#8220;ra1&#8243; #1: STATE_MAIN_I3: sent MI3, expecting MR3</em></div>
<div><em>002 &#8220;ra1&#8243; #1: Peer ID is ID_IPV4_ADDR: &#8217;10.205.17.251&#8242;</em></div>
<div><em>002 &#8220;ra1&#8243; #1: crl not found</em></div>
<div><em>002 &#8220;ra1&#8243; #1: certificate status unknown</em></div>
<div><em>003 &#8220;ra1&#8243; #1: no public key known for &#8217;10.205.17.251&#8242;</em></div>
<div><em>217 &#8220;ra1&#8243; #1: STATE_MAIN_I3: INVALID_KEY_INFORMATION</em></div>
<div><em>002 &#8220;ra1&#8243; #1: sending encrypted notification INVALID_KEY_INFORMATION to 20.0.0.1:500</em></div>
</div>
<p>Now, the solution may seem simple, BUUUT:</p>
<p>a. CheckPoint does not want to use its DNS name as Identification Payload for IKEv1 for the Remote-Access scenarios</p>
<p>b. Also, the certificate cannot be generated for external networks, so there has to be 10.205.17.251.</p>
<p>c. ALSO, although not recommended for security purposes, even if I configure Strongswan to identify the DUT per its 10.205.17.251 IP address, still I get the INVALID_KEY_INFORMATION error.</p>
<p>*** Now, should any one of you nice readers have solved this scenario and actually get a CheckPoint device to work with another solution (not necessarily open-source), please have mercy on my poor soul and let me know <img src='http://www.imacandi.net/windancer/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2010/01/26/ipsec-and-almost-checkpoint.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>manual …keying</title>
		<link>http://www.imacandi.net/windancer/2010/01/06/manual-keying.html</link>
		<comments>http://www.imacandi.net/windancer/2010/01/06/manual-keying.html#comments</comments>
		<pubDate>Wed, 06 Jan 2010 11:53:14 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[manual key]]></category>
		<category><![CDATA[netscreen]]></category>
		<category><![CDATA[sad]]></category>
		<category><![CDATA[spd]]></category>
		<category><![CDATA[techie]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=1492</guid>
		<description><![CDATA[Everybody loves IPsec. It does a lot of cool stuff protecting our traffic from one side to another, it is fairly easy to understand the general concept, but quite difficult to actually implement in real-life, mostly because a lot of vendors have their own idea of usability and each one has its own idea of [...]]]></description>
			<content:encoded><![CDATA[<p>Everybody loves IPsec. It does a lot of cool stuff protecting our traffic from one side to another, it is fairly easy to understand the general concept, but quite difficult to actually implement in real-life, mostly because a lot of vendors have their own idea of usability and each one has its own idea of actually implementing those numerous standards. Some of them decide to implement drafts (see Cisco, see CheckPoint) and some of them implement their own &#8220;drafts&#8221; &#8211; which makes things even more interesting.</p>
<p>Some other vendors decide to overcome the entire negotiation fuss and use predefined keys for the IPsec traffic, bypassing all the IKE negotiation and using manual keying. Here we have Cisco, Juniper, Sonicwall or our lovely Linux solutions.</p>
<p>In order to manually configure IPsec, the admin alters the <strong>SAD </strong>(Security Association Database)<strong> </strong>and <strong>SPD</strong>(Security Policy Database)<strong> </strong>databases of the device/kernel. The SAD contains specific traffic transformations, like the encryption/authentication algorithms, while the SPD indicates the traffic selectors/proxy-ids for the traffic that is to be transformed by the stuff described in SAD and indexed by an <strong>SPI</strong>.</p>
<p>An SAD entry would include:</p>
<ul>
<li>Dest IP address</li>
<li>Ipsec proto (SA or ESP)</li>
<li>SPI (cookie)</li>
<li>Sequnce counter</li>
<li>Seq O/F flag</li>
<li>anti-replay window info</li>
<li>AH type and info</li>
<li>ESP type and info</li>
<li>Lifetime info</li>
<li>tunnel/transport mode flags</li>
<li>PATH MTU info</li>
</ul>
<p>An SPD entry would contain:</p>
<ul>
<li>pointer to active SAs</li>
<li>Selector fields</li>
</ul>
<p>***Let&#8217;s take a simple site-to-site tunnel mode case, where the security gateways are 2001::1 (local gateway) and 2001::2 (remote gateway) and the subnet behind the local gateway is 2002::/112 and the one behind the remote gateway is 2003::/112. As you can imagine, I want to encrypt traffic between 2002::/112 and 2003::/112 with aes-cbc, let&#8217;s say and authenticate it with hmac-md5.</p>
<p>In order to configure manual keying on linux, we need to have:</p>
<p>- xfrm modules in ze kernel:</p>
<p><strong>xfrm4_mode_transport     1792  0</strong></p>
<div id="_mcePaste"><strong>xfrm6_mode_transport     1792  0</strong></div>
<div id="_mcePaste"><strong>xfrm6_mode_tunnel       2208  0</strong></div>
<div id="_mcePaste"><strong>xfrm4_mode_tunnel       2304  0</strong></div>
<div id="_mcePaste"><strong>xfrm_user              17856  0</strong></div>
<div id="_mcePaste"><strong>xfrm4_tunnel            2304  0</strong></div>
<div id="_mcePaste"><strong>tunnel4                 3016  1 xfrm4_tunnel</strong></div>
<div id="_mcePaste"><strong>ipv6                  235396  33 ah6,esp6,xfrm6_mode_tunnel</strong></div>
<p>- and a small script that instructs the kernel on how to populate those two databases:</p>
<p><strong>ip xfrm state add src 2001:0::2 dst 2001:0::1 proto esp spi 0&#215;1000 enc &#8220;cbc(aes)&#8221;  0x12345678abcdef12f4f71dbccd2c1b07bce4e63b4c315414  auth &#8220;hmac(md5)&#8221; 0x012345abd9abcdeff1e0d3c2b5a4909a</strong></p>
<p><strong>ip xfrm state add src 2001:0::1 dst 2001:0::2 proto esp spi 0&#215;2000 enc &#8220;cbc(aes)&#8221; 0xf4f71123452c1b07bce4e63b4c31541d12345678abcdef12  auth &#8220;hmac(md5)&#8221; 0x912345abd9abcdeff1e0d3c2b5a49080</strong></p>
<p><strong>ip xfrm policy add dir in src 2003::/112 dst 2002::/112 tmpl src 2001:0::2 dst 2001:0::1 proto esp mode tunnel</strong></p>
<p><strong>ip xfrm policy add dir out src 2002::/112 dst 2003::/112 tmpl src 2001:0::1 dst 2001:0::2 proto esp mode tunnel</strong></p>
<p><strong>ip xfrm policy add dir fwd src 2003::/112 dst 2002::/112 tmpl src 2001:0::2 dst 2001:0::1 proto esp mode tunnel</strong></p>
<div>&#8212;&#8211; Now we should be able to see that:</div>
<div>
<div><strong># ip xfrm state</strong></div>
<div><strong>src 2001::2 dst 2001::1</strong></div>
<div><strong>proto esp spi 0&#215;00001000 reqid 0 mode transport</strong></div>
<div><strong>replay-window 0</strong></div>
<div><strong>auth hmac(md5) 0x012345abd9abcdeff1e0d3c2b5a4909a</strong></div>
<div><strong>enc cbc(aes) 0x12345678abcdef12f4f71dbccd2c1b07bce4e63b4c315414</strong></div>
<div><strong>sel src ::/0 dst ::/0</strong></div>
<div><strong>src 2001::1 dst 2001::2</strong></div>
<div><strong>proto esp spi 0&#215;00002000 reqid 0 mode transport</strong></div>
<div><strong>replay-window 0</strong></div>
<div><strong>auth hmac(md5) 0x912345abd9abcdeff1e0d3c2b5a49080</strong></div>
<div><strong>enc cbc(aes) 0xf4f71123452c1b07bce4e63b4c31541d12345678abcdef12</strong></div>
<div><strong>sel src ::/0 dst ::/0</strong></div>
<div>&#8212;&#8211;and</div>
<div>
<div><strong># ip xfrm policy</strong></div>
<div><strong>src 2003::/112 dst 2002::/112</strong></div>
<div><strong>dir in priority 0</strong></div>
<div><strong>tmpl src 2001::2 dst 2001::1</strong></div>
<div><strong>proto esp reqid 0 mode tunnel</strong></div>
<div><strong>src 2002::/112 dst 2003::/112</strong></div>
<div><strong>dir out priority 0</strong></div>
<div><strong>tmpl src 2001::1 dst 2001::2</strong></div>
<div><strong>proto esp reqid 0 mode tunnel</strong></div>
<div><strong>src 2003::/112 dst 2002::/112</strong></div>
<div><strong>dir fwd priority 0</strong></div>
<div><strong>tmpl src 2001::2 dst 2001::1</strong></div>
<div><strong>proto esp reqid 0 mode tunnel</strong></div>
<div><strong>&#8212;&#8211;to delete the rules simply run:</strong></div>
<div>
<div><strong>ip xfrm state flush</strong></div>
<div>
<div><strong>ip xfrm policy flush</strong></div>
<div><strong><br />
</strong></div>
<div>When trying to do interop with&#8230;NetScreen, let&#8217;s say, bare in mind that this device only permits one key per connection, not as linux xfrm, which lets you select a key per direction. A NetScreen config would look something like this&#8230;</div>
<div>I have defined a tunnel.1 interface in the Untrust zone of the device and configured the &#8216;vpn&#8217; objects like it follows (as you can see, no need for any &#8216;ike&#8217; objects, as there is no IKE going on in there):</div>
<div>
<div><strong>set vpn &#8220;IPv6_manual&#8221; id 0x1c1e manual 2000 2000 gateway 2001::10 outgoing-interface &#8220;ethernet2/2&#8243;  local-address &#8220;2001::1&#8243;  ah md5 key 0101010101010101,0101010101010101</strong></div>
<div>&#8212;this populates the SAD of the NetScreen device, while this:</div>
<div><strong><br />
</strong></div>
<div>
<div><strong>set policy id 7155 name &#8220;IPv6_TU_man&#8221; from &#8220;Trust&#8221; to &#8220;Untrust&#8221;  &#8221;IPv6_Man2&#8243; &#8220;IPv6_Man1&#8243; &#8220;ANY&#8221; tunnel vpn &#8220;IPv6_manual&#8221;</strong></div>
<div><strong>set policy id 7155</strong></div>
<div><strong>exit</strong></div>
<div><strong>set policy id 15155 name &#8220;IPv6_UT_man&#8221; from &#8220;Untrust&#8221; to &#8220;Trust&#8221;  &#8221;IPv6_Man1&#8243; &#8220;IPv6_Man2&#8243; &#8220;ANY&#8221; tunnel vpn &#8220;IPv6_manual&#8221;</strong></div>
<div><strong>set policy id 15155</strong></div>
<div><strong>exit</strong></div>
<div>&#8212;populates the SPD of the device; of course, the IPv6_Man1 and IPv6_Man2 are names of the IPv6 interfaces (public and private, respectively)</div>
</div>
<div>And, as the keys are already into the device&#8217;s kernel, I can simply list them with a fairly nice command:</div>
<div><strong>-&gt; get sa active</strong></div>
<div>
<div><strong>00001c1e&lt;        2001::10  500  ah:null/md5  00002000   n/a   n/a M/- 15155 0</strong></div>
<div><strong>00001c1e&gt;        2001::10  500  ah:null/md5  00002000   n/a   n/a M/-  7155 0</strong></div>
</div>
<div>Voila!</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2010/01/06/manual-keying.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Slayer – Cult</title>
		<link>http://www.imacandi.net/windancer/2009/12/07/slayer-cult.html</link>
		<comments>http://www.imacandi.net/windancer/2009/12/07/slayer-cult.html#comments</comments>
		<pubDate>Mon, 07 Dec 2009 11:21:57 +0000</pubDate>
		<dc:creator>cristina_crow</dc:creator>
				<category><![CDATA[media-culture]]></category>
		<category><![CDATA[muzica]]></category>

		<guid isPermaLink="false">http://www.imacandi.net/windancer/?p=1429</guid>
		<description><![CDATA[Cred ca de la CheckPoint mi se trage&#8230;si de la al lui &#8220;smart&#8221;dashboard: [youtube]http://www.youtube.com/watch?v=GZSbIwE_BKM&#38;feature=related[/youtube] Tot raul spre bine, am re-inceput sa ascult Slayer! Oppression is the holy law In God I distrust In time His monuments will fall Like ashes to dust Is war and greed the masters plan? The bible&#8217;s where it all began [...]]]></description>
			<content:encoded><![CDATA[<p>Cred ca de la CheckPoint mi se trage&#8230;si de la al lui &#8220;smart&#8221;dashboard:</p>
<p>[youtube]http://www.youtube.com/watch?v=GZSbIwE_BKM&amp;feature=related[/youtube]</p>
<p>Tot raul spre bine, am re-inceput sa ascult <strong>Slayer</strong>!</p>
<p><span style="font-family: Verdana; color: #444433; font-size: x-small;">Oppression is the holy law<br />
In God I distrust<br />
In time His monuments will fall<br />
Like ashes to dust<br />
Is war and greed the masters plan?<br />
The bible&#8217;s where it all began<br />
Its propaganda sells despair<br />
And spreads the virus everywhere</p>
<p>Religion is hate<br />
Religion is fear<br />
Religion is war<br />
Religion is rape<br />
Religion&#8217;s obscure<br />
Religion&#8217;s a whore</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacandi.net/windancer/2009/12/07/slayer-cult.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

