<?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>StoneBlog.stonesoft.com &#187; Hints and Tips</title>
	<atom:link href="http://stoneblog.stonesoft.com/category/hints-and-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://stoneblog.stonesoft.com</link>
	<description>Share knowledge about StoneGate</description>
	<lastBuildDate>Fri, 20 Jan 2012 11:06:13 +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>Variables in SSL VPN startup command path</title>
		<link>http://stoneblog.stonesoft.com/2012/01/variables-in-ssl-vpn-startup-command-path/</link>
		<comments>http://stoneblog.stonesoft.com/2012/01/variables-in-ssl-vpn-startup-command-path/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 12:29:18 +0000</pubDate>
		<dc:creator>RoarinPenguin</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[SSL VPN]]></category>
		<category><![CDATA[Tunnel Resource]]></category>
		<category><![CDATA[Tunnel Set]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/?p=3555</guid>
		<description><![CDATA[Let&#8217;s start this 2012 with a technical tip about variables usage in Stonesoft SSL VPN. More specifically, the variables described in this article are used when configuring a startup command in a Tunnel Set definition to allow TCP/UDP based applications to be used inside a SSL tunnel. A sample use case is a user that [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s start this 2012 with a technical tip about variables usage in Stonesoft SSL VPN.</p>
<p>More specifically, the variables described in this article are used when configuring a startup command in a Tunnel Set definition to allow TCP/UDP based applications to be used inside a SSL tunnel.<br />
A sample use case is a user that needs to access to his home directory and we do not want to create as many tunnel set as users in the system.<br />
The Startup Command in a Tunnel Set is executed as soon as the tunnel has been successfully established, to automate the launch of a given application.<br />
In this example, the Startup Command content in SSL VPN Tunnel Set configuration could contain something like:</p>
<p>\\192.168.100.1\<span style="color: #3366ff;">[$uid]</span></p>
<p>This particular <em>$uid</em> variable will be replaced with the user ID when the startup command will be invoked by the system.</p>
<p>I report below the other useful variables that can be used in the same context:</p>
<p>[<em>$ehost</em>]  =   the access point server name including port number</p>
<p>[<em>$eprot</em>]  =   HTTP or HTTPS</p>
<p>[<em>$uid</em>]  =   The external user name</p>
<p>[<em>$iuid</em>]  =   The internal user name (usually the same of $uid)</p>
<div>I hope this information is useful to simplify your configuration.</div>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2012/01/variables-in-ssl-vpn-startup-command-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Hat 2010 Security Tip #3</title>
		<link>http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-3/</link>
		<comments>http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-3/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 16:55:26 +0000</pubDate>
		<dc:creator>markb</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Live from Field]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-3/</guid>
		<description><![CDATA[If you&#8217;re headed to Black Hat 2010 this year as we are, be sure to follow our security tips to avoid placement on the Wall of Sheep. Our third security tip post is actually a collection of some miscellaneous things. Join us at Booth 33 to learn more about these tips, try your hand at [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re headed to Black Hat 2010 this year as we are, be sure to follow our security tips to avoid placement on the Wall of Sheep. Our third security tip post is actually a collection of some miscellaneous things. Join us at Booth 33 to learn more about these tips, try your hand at Hack The Lab, and see what other things are going on at Stonesoft and the new StoneGate 5.2 release.</p>
<p>As many YouTube videos demonstrate, you never know when someone may be watching. A good thing to keep in mind at Black Hat as well, particularly when you are using a laptop or other mobile device. Be mindful of the fact that hackers may be watching your screen and your fingers as you type. From this they can capture information off your screen and capture your logins and passwords for use later on. Often this hack is accomplished by using a video camera on a cell phone or by pretending to take a picture of a nearby attraction. So keep your fingers covered as much as possible, and be prepared to change your passwords often. If you can avoid using your laptop or smartphone in open areas, do so and reserve the work for after you return to your hotel room or other private location.</p>
<p>Black Hat has also been famous in the use of social engineering and ATM hacks. There&#8217;s a presentation on ATMs at this year&#8217;s conference. Be sure to avoid any stand-alone or third party ATMs within the casinos, or any ATM that is not at a bank branch office. These stand alone ATMs can be cheap copies, or purchased off eBay or other sites, and reconfigured to capture your account data, while providing no money.</p>
<p>Just one more quick review: turn off wireless and Bluetooth on all devices whenever possible. Avoid wireless if at all possible, and use a 3G cellular modem instead. Be careful typing in passwords, and also what you work on while in open areas. Don&#8217;t trust ATMs or storage devices of any kind. Keep your mobile devices up to date with the latest software updates and patches, and use encryption and firewalls whenever and wherever possible.</p>
<p>Remember to enjoy the conference and have a great time knowing you won&#8217;t be joining others on the Wall of Sheep!</p>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Hat 2010 Security Tip #2</title>
		<link>http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-2/</link>
		<comments>http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-2/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 17:47:15 +0000</pubDate>
		<dc:creator>markb</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Live from Field]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[stonegate]]></category>
		<category><![CDATA[stonesoft]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-2/</guid>
		<description><![CDATA[If you&#8217;re headed to Black Hat like we are, there&#8217;s more to security than being cautious about the networks you connect to. Data at rest can also be a concern, both for the data on your devices as well as the data you may receive while there. Here&#8217;s our second security tip, to deal with [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re headed to Black Hat like we are, there&#8217;s more to security than being cautious about the networks you connect to. Data at rest can also be a concern, both for the data on your devices as well as the data you may receive while there. Here&#8217;s our second security tip, to deal with the protection of that data.</p>
<p>The X-Files principle of Trust No One holds true in this case as well. We all love schwag, whether it&#8217;s simple things like stress balls, to more advanced things like iPad giveaways. In between everyone loves to pick up those USB sticks, which can be plain and simple or disguised as cute animals. But be careful, those animals can turn on you. In general, for a safer computing experience at Black Hat, do not trust any storage device handed to you by others. Whether it&#8217;s a USB drive or CD, or anything else (even that iPod you just won), they can contain viruses, Trojans or malware of any form. Even the ones that look professional can be dangerous. At best it&#8217;s good to discard them; if not at least scan them on a separate, up-to-date, sacrificial system first.</p>
<p>Second, if you are bringing a laptop, install and verify the operation of full-disk encryption software. Use AES-256 bit encryption or better. If the hard drive has a hardware encryption option as some external ones do, use that instead. And while you&#8217;re at the conference, be sure to power off or hibernate your laptop whenever it isn&#8217;t in use to maximize the effect of the encryption software. Free disk encryption programs exist, and modern Windows and OS X systems include encryption technologies built-in.</p>
<p>To learn more about computing safely, to try your hand at Hack The Lab, and to learn about Stonesoft&#8217;s award-winning network security solutions, be sure to stop by Booth 33!</p>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Hat 2010 Security Tip #1</title>
		<link>http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-1/</link>
		<comments>http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-1/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 18:57:26 +0000</pubDate>
		<dc:creator>markb</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Live from Field]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-1/</guid>
		<description><![CDATA[Black Hat 2010 is coming up soon, and Stonesoft will be there. Join us at Booth 33 to learn more about our solutions, see demos in action, and try your hand in Hack The Lab. Our first security tip for a safer Black Hat computing experience is about network security. We&#8217;re starting with this one [...]]]></description>
			<content:encoded><![CDATA[<p>Black Hat 2010 is coming up soon, and Stonesoft will be there. Join us at Booth 33 to learn more about our solutions, see demos in action, and try your hand in Hack The Lab. </p>
<p>Our first security tip for a safer Black Hat computing experience is about network security. We&#8217;re starting with this one since it&#8217;s the heart of our StoneGate network security solutions as well. While at Black Hat, try to avoid connecting to any networks, including wired and wireless ones. For wireless networks especially, don&#8217;t connect if you can help it, even if the SSID of the network looks trustworthy (for example, it looks like a network operated by the casino&#8230;it may not be). If it&#8217;s possible to use a cellular modem instead, it is recommended to do so. If you do need a network, remember that any communications can potentially be intercepted, and passwords and logins should not be sent in clear text. </p>
<p>If you do connect, be sure you are using a VPN with strong encryption and that your laptop or mobile device is up-to-date with the latest patches and updates, and that a firewall and virus scanner are installed, updated and operational. If you don&#8217;t need it, be sure to turn off wireless and Bluetooth. If the devices you have use a hardware switch to disable these functions, use it instead of the software option. Whenever you are not using the networks, be sure to disconnect and disable the functionality on your device to reduce your risk exposure.</p>
<p>More tips for a safer experience at Black Hat will follow, so stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2010/07/black-hat-2010-security-tip-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSL VPN and EndPoint Security&#8230; if Windows says ok&#8230;</title>
		<link>http://stoneblog.stonesoft.com/2010/03/ssl-vpn-and-endpoint-security-if-windows-says-ok/</link>
		<comments>http://stoneblog.stonesoft.com/2010/03/ssl-vpn-and-endpoint-security-if-windows-says-ok/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 06:55:00 +0000</pubDate>
		<dc:creator>RoarinPenguin</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[SSL VPN]]></category>
		<category><![CDATA[assessment]]></category>
		<category><![CDATA[End Point Security]]></category>
		<category><![CDATA[eps]]></category>
		<category><![CDATA[Windows Security Center]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/2010/03/ssl-vpn-and-endpoint-security-if-windows-says-ok/</guid>
		<description><![CDATA[…you can believe it or not. This is exactly the power that new StoneGate SSL VPN version 1.4 gives when assessing a Windows workstation trying to access corporate applications. You can decide to verify case by case antivirus, age of pattern file, etc for a number of Antivirus engines (and customize parameters if you need [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://stoneblog.stonesoft.com/wp-content/uploads/2010/03/auditing_stonegate.png"><img style="display: inline; margin-left: 0px; margin-right: 0px; border: 0px;" title="auditing_stonegate" src="http://stoneblog.stonesoft.com/wp-content/uploads/2010/03/auditing_stonegate_thumb.png" border="0" alt="auditing_stonegate" width="63" height="63" align="right" /></a></p>
<p>…you can believe it or not.</p>
<p>This is exactly the power that <a href="http://www.stonesoft.com/en/products_and_solutions/products/ssl_vpn/" target="_blank">new StoneGate SSL VPN</a> version 1.4 gives when assessing a Windows workstation trying to access corporate applications.</p>
<p>You can decide to verify case by case antivirus, age of pattern file, etc for a number of Antivirus engines (and customize parameters if you need to) such as McAfee, Trend Micro, Sophos, Panda Software, Norman, Grisoft, CA eTrust and others.</p>
<p>You can event check for running processes, registry paths, listening ports… or you can simply trust Windows Security Center when it says <em>I’m OK!</em> since quite often this means:</p>
<ul>
<li>Windows is updated from patch perspective</li>
<li>Windows Firewall (or equivalent) is properly operational</li>
<li>Antivirus is running and updated</li>
</ul>
<p>Here’s how to do that.</p>
<p><span id="more-2236"></span>Access Administrator’s interface, then click on <em>Manage Resource Access – Access Rules</em> and create a new access rule based on <a href="http://www.stonesoft.com/en/products_and_solutions/products/ssl_vpn/end_point_integrity/" target="_blank">Assessment</a>.</p>
<p>From Plugin list, select Security Center as shown below:</p>
<p><a href="http://stoneblog.stonesoft.com/wp-content/uploads/2010/03/image1.png"><img style="display: inline; border: 0px;" title="image" src="http://stoneblog.stonesoft.com/wp-content/uploads/2010/03/image_thumb1.png" border="0" alt="image" width="454" height="336" /></a></p>
<p>Click <em>Next</em></p>
<p>Decide which options to enable in the check as shown below:</p>
<p><a href="http://stoneblog.stonesoft.com/wp-content/uploads/2010/03/image2.png"><img style="display: inline; border: 0px;" title="image" src="http://stoneblog.stonesoft.com/wp-content/uploads/2010/03/image_thumb2.png" border="0" alt="image" width="454" height="236" /></a></p>
<p>Click <em>Next – Next – Next – Finish</em></p>
<p>Apply, in logical AND or logical OR, the access rule to protect the resources you are interested in.</p>
<p>Easy, right?</p>
<p>StoneGate SSL VPN provides similar techniques to assess also Mac OS X for checking files, directories and related has values.</p>
<p>Assessing mobile users. Simplified.</p>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2010/03/ssl-vpn-and-endpoint-security-if-windows-says-ok/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPN, RDP, MTU and StoneGate debugging</title>
		<link>http://stoneblog.stonesoft.com/2010/03/vpn-rdp-mtu-and-stonegate-debugging/</link>
		<comments>http://stoneblog.stonesoft.com/2010/03/vpn-rdp-mtu-and-stonegate-debugging/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 15:52:09 +0000</pubDate>
		<dc:creator>jebATpop-i</dc:creator>
				<category><![CDATA[Firewall Engine]]></category>
		<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Live from Field]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[stonegate firewall]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/?p=2205</guid>
		<description><![CDATA[One of the features I use often, and especially in cases when there is some sort of trouble, is the ability to actually see what traffic passes the firewall. Most admins don&#8217;t feel comfortable using the console (over ssh), and ofcourse it is not as trivial as it seems &#8211; especially remembering the exact commands. [...]]]></description>
			<content:encoded><![CDATA[<p>One of the features I use often, and especially in cases when there is some sort of trouble, is the ability to actually see what traffic passes the firewall.</p>
<p>Most admins don&#8217;t feel comfortable using the console (over ssh), and ofcourse it is not as trivial as it seems &#8211; especially remembering the exact commands. So, for the community, and for my own personal use, I&#8217;ll document a small issue I just had, and how I &#8220;solved&#8221; it.</p>
<p>A customer called, saying: <strong>&#8220;</strong>I use the StoneGate VPN to connect to my server with RDP, and all I get is a <strong>black screen&#8221;</strong>.  Now, that&#8217;s something that&#8217;s (unfortunately) not too uncommon. Google for &#8220;MTU&#8221;, &#8220;Path MTU Discovery&#8221; and &#8220;Black Hole Detection&#8221;, and you&#8217;ll get tons of info, which all come down to:</p>
<p>Single packets in ethernet networks have a maximum size of 1500 bytes (<a title="RFC 879 from Dec 1983" href="http://www.faqs.org/rfcs/rfc879.html" target="_blank">RFC 879</a>). 1460 bytes of data + 40 bytes header (ip-addresses, ports, settings etc.). All tunneling protocols (VPN, PPTP,PPPoE, etc.) add some bytes to the header part. This means less room for the data part.</p>
<p>Both &#8220;client&#8221; and &#8220;server&#8221;  agree to send packets with max. 1460 bytes of data. The first few packets of the connection aren&#8217;t large, perhaps 1000 bytes max, and fit through perfectly. Client and server agree to communicate, draw a frame of the correct size, etc. Then however, comes the <strong>Windows Logo</strong>, a picture that is over 3000 bytes of size.  That means,  2  large packets are sent.  Somewhere on the connection from server to client, these packets do not fit. So, the picture the server sent, does not reach the client. A black screen of the wanted size just sits there, and waits&#8230; and waits&#8230;. and waits&#8230;..</p>
<p>Since I do not want to discuss what causes this,  but just want to know if it IS an MTU issue, I do following:</p>
<ul>
<li>check if both sides agree to use 1460 bytes of data</li>
<li>reduce the packet size on either client or server side to 1310 bytes of data</li>
<li>test whether RDP works again</li>
</ul>
<p><span id="more-2205"></span>So, lets see what happens (this is where we get technical, sorry non techies).</p>
<p>I&#8217;ll explain what the commands do later on. I start my Putty SSH Client, and logon to the firewall with root/mypassword. Since I want to see the traffic going from firewall to the server, I put in the server-interface, filter for the server and the RDP port 3389, as well as not to show my own IP:</p>
<p>root@fw-zentrale1:~# tcpdump -i eth1 host 192.168.101.103 and tcp port 3389 and not host 259.79.49.139</p>
<p>I tell the customer to connect, and the first 3 lines show:</p>
<p><em>14:23:36.348613</em> IP 192.168.101.142.1326 &gt; 192.168.101.103.3389: S 1913531291:1913531291(0) win 65535 &lt;<strong>mss 1460</strong>,nop,wscale 1,nop,nop,sackOK&gt;<br />
<em>14:23:36.348803</em> IP 192.168.101.103.3389 &gt; 192.168.101.142.1326: S 2569746333:2569746333(0) ack 1913531292 win 16384 &lt;<strong>mss 1460</strong>,nop,wscale 0,nop,nop,sackOK&gt;<br />
<em>14:23:36.517536</em> IP 192.168.101.142.1326 &gt; 192.168.101.103.3389: . ack 1 win 65535</p>
<p>Yes, dear readers, that&#8217;s what packets actually look like. I highligted the part where the data size is set. It seems both sides agree to send 1460 bytes of data. I ask the customer to lower the MTU on his laptop from 1500 to 1350 bytes, using &#8220;drtcp021.exe&#8221;, one of the ancient tools in my toolbox. You can get it from serious sources easily. The customer reboots his laptop for the MTU to be set, I press &#8220;enter&#8221; a few times, to get a few newlines and ask the customer to connect once more.</p>
<p><em>14:32:58.634817</em> IP 192.168.101.142.1114 &gt; 192.168.101.103.3389: S 720573675:720573675(0) win 65535 &lt;<strong>mss 1310</strong>,nop,wscale 1,nop,nop,sackOK&gt;<br />
<em>14:32:58.634903</em> IP 192.168.101.103.3389 &gt; 192.168.101.142.1114: S 858372081:858372081(0) ack 720573676 win 16384 &lt;<strong>mss 1460</strong>,nop,wscale 0,nop,nop,sackOK&gt;<br />
<em>14:32:58.825297</em> IP 192.168.101.142.1114 &gt; 192.168.101.103.3389: . ack 1 win 65535</p>
<p>Aha! The client now want to send a maximum of 1310 bytes per packet, the server still wants to send 1460 bytes per packet. Ofcourse, both agree to use the lower value, so they can speak together. the Windows image is now sent in slightly smaller portions, and arrives at the client. The logo appears, the customer can login, and is astonished.</p>
<p>Now starts the long discussion as of why this happens, what can be done against it, and why the heck this problem bugs him alone! (it doesn&#8217;t). That has been discussed a lot on lots of sites and platforms, but does not belong here. I will just end it here with a short explanation of the command, and some nice tips to further explore the possibilities of actually looking at the packets themselves.</p>
<ul>
<li><strong>tcpdump</strong> : available on virtually all unix/linux based environments</li>
<li><strong>-i eth1</strong> : show packets on ethernet port 1. use &#8220;<strong>ip addr</strong>&#8221; as a command for an overview of interfaces and ip&#8217;s</li>
<li><strong>host 192.168.101.103</strong> : show packets going to or coming from this ip-address</li>
<li><strong>and tcp port 3389</strong> : but only packets on the RDP (Remote Desktop) port</li>
<li><strong>and not host 259.79.49.139</strong> : but not the packets from my own session to the server</li>
</ul>
<p>you can also use &#8220;<strong>and not icmp</strong>&#8221; or &#8220;<strong>and not udp port 23</strong>&#8221; instead of showing tcp packets. If you like your filter, but things go too fast for your eyes, use &#8220;<strong>-w jebdump1.dmp</strong>&#8221; to write the packets on the firewall, where you can get them using scp or sftp (hint: winscp and root/password). On windows, you can then use &#8220;wireshark&#8221; or &#8220;packetyzer&#8221; to have a (colorized) view at your own speed. Sometimes you&#8217;ll want to add &#8220;-<strong>s 0</strong>&#8220;(that&#8217;s zero) to get the full 1460 (or 1310) bytes of the packets that pass by. By default tcpdump doesn&#8217;t record the full data part of the packets, but just the start of it.</p>
<p>Try not to be scared of the console, it can really help you out sometimes!</p>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2010/03/vpn-rdp-mtu-and-stonegate-debugging/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I have my certificate, do I need anything else?</title>
		<link>http://stoneblog.stonesoft.com/2010/02/i-have-my-certificate-do-i-need-anything-else/</link>
		<comments>http://stoneblog.stonesoft.com/2010/02/i-have-my-certificate-do-i-need-anything-else/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 12:46:52 +0000</pubDate>
		<dc:creator>RoarinPenguin</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[SSL VPN]]></category>
		<category><![CDATA[Tech dives]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[certificate]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/2010/02/i-have-my-certificate-do-i-need-anything-else/</guid>
		<description><![CDATA[Few days ago I described a technique using certificate based authentication in StoneGate SSL VPN to match a certificate attribute to user attribute, in order to uniquely identify a user in Directory Service and allow login, perform Single Sign-On (SSO), etc. In this article I’m taking it one step further, since StoneGate SSL VPN can [...]]]></description>
			<content:encoded><![CDATA[<p>Few days ago I <a href="http://stoneblog.stonesoft.com/2010/02/advanced-certificate-to-user-attributes-mapping-in-sso/" target="_blank">described a technique</a> using certificate based authentication in <a href="http://www.stonesoft.com/en/products_and_solutions/products/ssl_vpn/" target="_blank">StoneGate SSL VPN</a> to match a certificate attribute to user attribute, in order to uniquely identify a user in Directory Service and allow login, perform Single Sign-On (SSO), etc.</p>
<p>In this article I’m taking it one step further, since StoneGate SSL VPN can authenticate a user presenting a valid certificate without even knowing who the user is, and use then whatever field of the certificate to perform <span class="acronym" title="Single Sign-On">SSO</span> to protected resources.</p>
<p> <span id="more-2162"></span>
<p>The idea of testing and verifying this came, as usual, from a customer case discussed earlier this week in a webinar.</p>
<p>The customer wanted to have their users presenting a valid certificate, having the SSL VPN system validating them and granting the direct access to a backend application.</p>
<p>To minimize the usage of passwords, they wanted that SSL VPN extracts from the validated certificate a <em>whatever</em> field and uses this to SSO to backend application.</p>
<p>Here’s how to configure it.</p>
<p>First, access to StoneGate SSL VPN Administrator interface and click on <strong>Manage System </strong>– <strong>Authentication Methods</strong>.</p>
<p>Select the <strong>Certificate Authentication </strong>method you have defined (if you did not define, refer to previous article linked in first sentence).</p>
<p>Select <strong>Extended Properties</strong> tab.</p>
<p>Add two extended properties if they are not there:</p>
<ul>
<li><strong>Allow user not listed in any user storage </strong>set to <strong>true</strong> </li>
<li><strong>Certificate Attribute</strong> set to the certificate field you are interested to use as a User ID (for instance <strong>CN</strong>, <strong>OU</strong>, <strong>O</strong>, etc) </li>
</ul>
<p>Documentation reports that this field should be only used in conjunction with User Attribute to execute the match as described previously, but the reality is that if you reference this alone, then StoneGate SSL VPN will use this as the user ID of the authenticated user as shown below (I referenced the attribute <strong>O</strong> to get the organization’s name):     <br /><a href="http://stoneblog.stonesoft.com/wp-content/uploads/2010/02/image5.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://stoneblog.stonesoft.com/wp-content/uploads/2010/02/image_thumb5.png" width="454" height="192" /></a> </p>
<p>Soon I’ll publish another article about how to use this credential in Form Based SSO to an application, but for instance you can already configure the system to pass this information to backend application within the HTTP Header as a cookie: click on <strong>Manage Resource Access</strong>,&#160; <strong>Global Resource Settings</strong>, <strong>Advanced</strong> and mark the checkbox <strong>User ID</strong>.</p>
<p>Save and publish and now the system is configured to add the User ID in a cookie within the HTTP request to backend resource.</p>
<p>Certificate based authentication. Simplified!</p>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2010/02/i-have-my-certificate-do-i-need-anything-else/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User Storage in StoneGate SSL VPN</title>
		<link>http://stoneblog.stonesoft.com/2010/02/user-storage-in-stonegate-ssl-vpn/</link>
		<comments>http://stoneblog.stonesoft.com/2010/02/user-storage-in-stonegate-ssl-vpn/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 06:25:00 +0000</pubDate>
		<dc:creator>RoarinPenguin</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[SSL VPN]]></category>
		<category><![CDATA[user storage]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/?p=2155</guid>
		<description><![CDATA[When thinking to a system to allow secure, authenticated access to corporate application, major questions (headaches?) are: how to access to existing user repositories? what if I need a new one aside? what if I need access to multiple repositories? which information can I use? what about grouping? StoneGate SSL VPN provides a very flexible [...]]]></description>
			<content:encoded><![CDATA[<p>When thinking to a system to allow secure, authenticated access to corporate application, major questions (headaches?) are:</p>
<ul>
<li>how to access to existing user repositories? </li>
<li>what if I need a new one aside? </li>
<li>what if I need access to multiple repositories? </li>
<li>which information can I use? </li>
<li>what about grouping? </li>
</ul>
<p><a href="http://www.stonesoft.com/en/products_and_solutions/products/ssl_vpn/virtual_ssl_vpn/" target="_blank">StoneGate SSL VPN</a> provides a very flexible and powerful answer to these questions, and this article will provide some useful details.</p>
<p> <span id="more-2155"></span>First, let’s deepen the concept of a user storage and why it is useful.  <br />The user storage is the external location where users are stored and it is used by the Policy Service as part of the authorization process.
</p>
<p>In StoneGate SSL VPN you can define multiple user storages, of different types, using the predefined supported types (MS Active Directory, OpenLDAP, Novell eDirectory, IBM RACF) or configuring a customized one.</p>
<p>This article will show you how easy, quick and flexible is to define an external OpenLDAP as a user storage.</p>
<p>Once defined, a user storage allows you to link user profiles, to define group membership based access rules, to use user attributes for Single Sign On purposes and numerous other operations in StoneGate SSL VPN.</p>
<p>After defining an OpenLDAP instance on Ubuntu 8.10 system, I realized the video reported below to show you the “less than two minutes” process.</p>

    <div id="swfobj_0">
      
    </div>

<p>The video is also available at higher resolution <a href="http://stoneblog.stonesoft.com/wp-content/uploads/2010/02/defining%20user%20storage%20in%20SSL%20VPN/defining%20user%20storage%20in%20SSL%20VPN.avi" target="_blank">here</a>.</p>
<p>Now, let’s see some examples about how can I use the information in a user storage.</p>
<ul>
<li>Define <a href="http://stoneblog.stonesoft.com/2009/12/grouping-in-ssl-vpn-user-location-and-user-property-user-storage-location/" target="_blank">user properties location</a> groups, and reference them as access rules </li>
<li>Define <a href="http://stoneblog.stonesoft.com/2009/12/grouping-in-ssl-vpn-user-location-and-user-property-user-storage-location/" target="_blank">user location groups</a>, and reference them as access rules </li>
<li>Configure user profile attributes in Federated ID assertions </li>
<li>Use user attributes as <a href="http://stoneblog.stonesoft.com/2008/12/usage-of-variables-in-ssl-vpn-notifications/" target="_blank">variables in notifications channels</a> definitions, for example mail address and sms based messages </li>
<li>Define user profile attributes (for example, <em>samaccountname</em>) in Single Sign On domain configuration </li>
<li>Automatic user definition through linking process (in Administrator interface, click on Manage Accounts and Storage, then User Linking in left hand menu) </li>
</ul>
<p>User storage definition is a great idea to reference existing user repositories to leverage them as basis for flexible and powerful secure access to corporate applications.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2010/02/user-storage-in-stonegate-ssl-vpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://stoneblog.stonesoft.com/wp-content/uploads/2010/02/defining%20user%20storage%20in%20SSL%20VPN/defining%20user%20storage%20in%20SSL%20VPN.avi" length="8467510" type="video/x-msvideo" />
		</item>
		<item>
		<title>Importing DROP-list from Spamhaus.org</title>
		<link>http://stoneblog.stonesoft.com/2009/12/importing-drop-list-from-spamhaus-org/</link>
		<comments>http://stoneblog.stonesoft.com/2009/12/importing-drop-list-from-spamhaus-org/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 07:42:10 +0000</pubDate>
		<dc:creator>olli</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Live from Field]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[DROP-list]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Spamhaus]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/?p=1906</guid>
		<description><![CDATA[Finnish CERT (CERT-FI) recommends to pay special attention to certain address blocks.  They mention the DROP-list by the Spamhaus project as the most up-to-date list of malicious addresses. It is always boring and time consuming to type long lists of addresses, so I made a quick-and-dirty script, which converts the DROP-list into StoneGate elements, and [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://stoneblog.stonesoft.com/wp-content/uploads/2009/12/spamhaus_to_smc.png" alt="spamhaus_to_smc" title="spamhaus_to_smc" width="500" height="130" class="alignnone size-full wp-image-1918" /></p>
<p><a href="http://cert.fi/" target="_blank">Finnish CERT (CERT-FI)</a> recommends to <a href="http://cert.fi/tietoturvanyt/2009/11/ttn200911261440.html" target="_blank">pay special attention to certain address blocks</a>.  They mention the <a href="http://www.spamhaus.org/drop/" target="_blank">DROP-list</a> by the <a href="http://www.spamhaus.org/" target="_blank">Spamhaus project</a> as the most up-to-date list of malicious addresses.</p>
<p>It is always boring and time consuming to type long lists of addresses, so I made a quick-and-dirty script, which converts the DROP-list into StoneGate elements, and creates a group of them.  You can feed the DROP-list to this script, zip the result and import it into SMC.</p>
<p>Being an oldtimer, I wrote this with an ancient tool called awk, which you can find in most unix-based systems, including linux.  The most common variant is the GNU awk, gawk.  Someone would probably write this in 2 lines of Perl&#8230;</p>
<p>I provide this script as is, with no expressed or implied guarantees of any kind.  Use this at your own risk.  If you manage to break something with this, you have been warned and you assume full responsibility.  I have tested this on one system (Fedora Core 9) with one input, today&#8217;s DROP list from Spamhaus.org.</p>
<p>So, take a look at the <a href="/wp-filez/scripts/DROP2XML.awk" target="_blank">code</a> and decide yourself if you trust this.  Especially see the comment in the beginning.  Change the element naming convention to suit your needs and enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2009/12/importing-drop-list-from-spamhaus-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMC tips: Visualize log data</title>
		<link>http://stoneblog.stonesoft.com/2009/11/smc-tips-visualize-log-data/</link>
		<comments>http://stoneblog.stonesoft.com/2009/11/smc-tips-visualize-log-data/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 13:23:15 +0000</pubDate>
		<dc:creator>Tero Jantunen</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[SMC]]></category>
		<category><![CDATA[Log Statistics]]></category>
		<category><![CDATA[logs]]></category>
		<category><![CDATA[Shortcuts]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://stoneblog.stonesoft.com/?p=1896</guid>
		<description><![CDATA[As you know there are multiple ways how to visualize the log data with StoneGate Management Client. You have probably noticed the &#8220;Statistics&#8221; shortcuts in the Log Browser&#8217;s toolbar already. Here is another convenient way to find more log statistics shortcuts: Just right-click any column header in the Log Browser and select some of the [...]]]></description>
			<content:encoded><![CDATA[<p>As you know there are multiple ways how to visualize the log data with StoneGate Management Client. You have probably noticed the &#8220;Statistics&#8221; shortcuts in the Log Browser&#8217;s toolbar already. Here is another convenient way to find more log statistics shortcuts:</p>
<p><img title="Related log statistics" src="http://stoneblog.stonesoft.com/wp-content/uploads/2009/11/log_statistics_shortcuts2.png" alt="Related log statistics" width="480" height="346" /></p>
<p>Just right-click any column header in the Log Browser and select some of the log statistics shortcuts from the menu that opens. Note that these shortcuts are all related to the column you originally selected.</p>
<p>A picture is worth a thousand words! Log Statistics provide you efficient tools to drill in to the relevant pieces of log data.</p>
]]></content:encoded>
			<wfw:commentRss>http://stoneblog.stonesoft.com/2009/11/smc-tips-visualize-log-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

