<?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>ItsyourIP.com &#187; juniper</title>
	<atom:link href="http://www.itsyourip.com/category/juniper/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itsyourip.com</link>
	<description>Your gateway to Internet</description>
	<lastBuildDate>Sat, 24 Jan 2009 16:48:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://www.itsyourip.com</link>
<url>http://www.itsyourip.com/wp-content/mbp-favicon/Internet-Alt.ico</url>
<title>ItsyourIP.com</title>
</image>
		<item>
		<title>How to capture text, backup configuration (Cisco,Juniper or anything)with Putty</title>
		<link>http://www.itsyourip.com/cisco/how-to-capture-text-backup-configuration-ciscojuniper-or-anythingwith-putty/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-capture-text-backup-configuration-ciscojuniper-or-anythingwith-putty</link>
		<comments>http://www.itsyourip.com/cisco/how-to-capture-text-backup-configuration-ciscojuniper-or-anythingwith-putty/#comments</comments>
		<pubDate>Wed, 07 May 2008 22:05:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[juniper]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[hyperterminal]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[netscreen]]></category>
		<category><![CDATA[Putty]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/cisco/how-to-capture-text-backup-configuration-ciscojuniper-or-anythingwith-putty/</guid>
		<description><![CDATA[I dont think we need an introduction to the most widely used Remote console utility, PUTTY. Putty support SSH, Telnet, RLogin &#38; RAW connections. If you telnet or SSH to your Cisco IOS routers or switches or Juniper Firewalls and ofcourse anything that support CLI and SSH or Telnet then one of the things you [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>I dont think we need an introduction to the most widely used Remote console utility, <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank" title="Putty SSH Telnet Rlogin RAW console download">PUTTY</a>. Putty support SSH, Telnet, RLogin &amp; RAW connections.</p>
<p>If you telnet or SSH to your Cisco IOS routers or switches or Juniper Firewalls and ofcourse anything that support CLI and SSH or Telnet then one of the things you would prefer to do is to take a backup of the config (Running or Startup) or even capture session text including logs tech information etc. We discussed <a href="http://www.itsyourip.com/cisco/how-to-backup-restore-config-in-cisco-routers-and-switches-using-hyperterminal/" target="_blank" title="Backup &amp; Restore config in Cisco IOS using HyperTerminal">here</a> about using Hypereterminal to capture text and hence backup and restore config on Cisco IOS Routers and Switches.</p>
<p><span id="more-196"></span></p>
<p><strong><u>Capture Text in Putty</u></strong></p>
<p>When you have established a remote session with a device like a Cisco Router and you want to capture text from the session as with any other remote consoles like Hyper terminal then</p>
<p>1. Right-click on the menubar and select &quot;change Settings&quot;</p>
<p><img src="http://www.itsyourip.com/wp-content/uploads/putty_change_settings.PNG" border="0" alt="Change Settings in Current Session of Putty" title="Change Settings in Current Session of Putty" width="217" height="272" /></p>
<p>2. Click logging under Session.</p>
<p>3. Select &quot;Log all session output&quot;</p>
<p>4. Select the location (default is your desktop) using the browse button and enter the file name (default is putty.log) and click Apply</p>
<p><img src="http://www.itsyourip.com/wp-content/uploads/putty_logging_current.PNG" border="0" alt="Logging session in Putty" title="Logging session in Putty" width="456" height="440" /></p>
<p>This should create the file in the location you choose and start loggin everyting from the session.</p>
<p>If you want to make this a default for any saved session in your putty, then choose the session and click load and then follow the above procedure.</p>
<p><strong><u>Backup config from Cisco IOS Routers &amp; Switches</u></strong></p>
<p>Now, to backup configuration from a Cisco IOS Based routers and switches, do the following:</p>
<blockquote><p><strong>ciscorouter# term len 0</strong></p>
<p><strong>ciscorouter# sh running-config</strong></p>
</blockquote>
<p><strong><em>For Startup Configuration</em></strong></p>
<blockquote><p><strong>ciscorouter# sh startup-config</strong></p>
</blockquote>
<p>The above will show the running config and will in turn be loggedd to the file.</p>
<p><strong><u>Backup config from Juniper Netscreen Firewalls</u></strong></p>
<p>In case of Juniper Netscreen based Firewalls,login via SSH or Telnet and run the following command:</p>
<blockquote><p><strong>admin&gt; get config</strong></p>
</blockquote>
<p>As I said earlier, any device that allows you to sh config in the CLI then they all can certainly be backed up this way. </p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fcisco%2Fhow-to-capture-text-backup-configuration-ciscojuniper-or-anythingwith-putty%2F';
  addthis_title  = 'How+to+capture+text%2C+backup+configuration+%28Cisco%2CJuniper+or+anything%29with+Putty';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/cisco/how-to-capture-text-backup-configuration-ciscojuniper-or-anythingwith-putty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to fix Exchange &amp; Outlook connection issues over IPSec VPN</title>
		<link>http://www.itsyourip.com/Windows/how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn</link>
		<comments>http://www.itsyourip.com/Windows/how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 13:01:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[juniper]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[fragmentation]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[MSS]]></category>
		<category><![CDATA[mtu]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[screenos]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/Windows/how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn/</guid>
		<description><![CDATA[Recently we had this problem with this problem with an Exchange 2003 server in the HQ and Outlook Clients in a particular branch office. The Branch office connects into the HQ through a site to site IPSec VPN using Juniper Netscreen SSG20 firewalls on either end of tunnels. The Problem The Outlook clients would connect [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>Recently we had this problem with this problem with an Exchange 2003 server in the HQ and Outlook Clients in a particular branch office. The Branch office connects into the HQ through a site to site IPSec VPN using Juniper Netscreen SSG20 firewalls on either end of tunnels.</p>
<p> <u><strong>The Problem</strong></u><br /> The Outlook clients would connect OK but suddenly loose connection to the Exchange server and never connect back. The Outlook Client status will say &quot;Disconnected&quot;. The client PCs will however be able to ping the server and network connections look OK. This happened in random times and sometimes when sending large emails.</p>
<p><span id="more-159"></span> </p>
<p><u><strong>Investigation</strong></u></p>
<p>A deeper investigation revealed that every time the client(s) failed to make a connection there is an error event on the Exchange server with the error &quot;MaxObjExceeded&quot;. This started pointing us in the right direction. Yes, a google did show a lot similar issues all pointing to connections over VPN.</p>
<p><u><strong>Cause</strong></u></p>
<p>The exchange server sends large packets with the DF bit set (Don&#39;t Fragment). This when added with the IPSec headers goes beyond the MTU of the Firewalls. The Juniper firewalls by default ignore the DF bits and fragments the packets and forwards it onto the VPN tunnel. Although, these are re-assembled at the client side, this caused problems with the Outlook Clients and they keep re-initiating connections until they run out of connection objects on the Exchange server. That&#39;s when they can no longer connect to the Exchange server and the server reports Error events with <em><strong>&quot;MaxObjExceeded&quot;</strong></em> message. Also, from Junipers Knowledge Base, most of the Microsoft applications which heavily rely on <em><strong>&quot;NetBIOS over TCP/IP&quot;</strong></em> are bound to have this problem as these send large packets with DF bit set.</p>
<p><u><strong>Resolution</strong></u></p>
<p>So where do we go from here?? Yes, the only possible resolution was to tune and tweak the <em><strong>Maximum Segment Size (MSS)</strong></em> of all the packets that traverses through the VPN Tunnel. We were to set the MSS on all the TCP packets to 1350. This is sufficiently low enough (as well good enough not to degrade too much of performance) to ensure that the packets never exceeds the MTU of the firewall which is 1500 bytes even after the Encryption overheads.</p>
<p><font color="#0000ff"><strong>NOTE: All the following changes should be done on VPN firewalls on both ends</strong></font></p>
<p>To do this on Juniper Firewalls</p>
<blockquote><p><strong>vpn-firewall&gt; set flow tcp-mss 1350</strong></p>
</blockquote>
<p>This simply replaces the MSS value on all TCP packets for the VPN with the value 1350</p>
<p>To set for all TCP packets</p>
<blockquote><p><strong>vpn-firewall&gt; set flow all-tcp-mss 1350</strong></p>
</blockquote>
<p>However, the previous command for VPN overrides this (for TCP packets destined to the VPN).</p>
<p>Also, added the <em><strong>Path MTU Discovery</strong></em> support on the Juniper Firewalls. This when set makes the firewall to drop any packet set which is more than its MTU (1500 bytes) with DF bit and send an <em><strong>ICMP error messages &quot;Destination not recheable. Packet too big&quot; (ICMP Type3 Code 4)</strong></em> message back to the source along with its MTU value. The source then adjusts its assumed <em><strong>Path MTU</strong></em> so the packet size is less than the MTU and hence there is no fragmentation necessary.</p>
<p>To do this on a Juniper</p>
<blockquote><p><strong>vpn-firewall&gt; set flow path-mtu</strong></p>
</blockquote>
<p>Another option setting that you can try would be to set the Maximum Fragment Size on the firewalls for the generated Fragment size if it is more than the MTU.</p>
<p>To do this on a Juniper</p>
<p><u><strong>Screen OS 5.4</strong></u></p>
<blockquote><p><strong>vpn-firewall&gt; set flow max-frag-pkt-size</strong></p>
</blockquote>
<p><u><strong>Previous versions of Screen OS </strong></u></p>
<blockquote><p><strong>vpn-firewall&gt; set flow max</strong></p>
</blockquote>
<p>Also, you can disable the TCP SYN check before the session is created for the tunneled packets.</p>
<p>To do this on a Juniper</p>
<blockquote><p><strong>vpn-firewall&gt; unset flow tcp-syn-check-in-tunnel</strong> </p>
</blockquote>
<p>To check TCP syn before creating any TCP session</p>
<blockquote><p><strong>vpn-firewall&gt; unset flow tcp-syn-check</strong> </p></blockquote>
<p> Save the configuration</p>
<blockquote><p><strong>vpn-firewall&gt; save</strong> </p></blockquote>
<p> This resolved the problem for us and should resolve the Outlook &amp; Exchange connectivity issues over VPN even if it is a different VPN device like Cisco ASAs but ofcourse use appropriate commands for those device.</p>
<p> If you have any more thoughts on this or any comments and more pointers, please take a moment to add a comment so should help other users who face similar issue.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2FWindows%2Fhow-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn%2F';
  addthis_title  = 'How+to+fix+Exchange+%26%23038%3B+Outlook+connection+issues+over+IPSec+VPN';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/Windows/how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to enable Path MTU Discovery in Juniper Netscreen Firewalls (ScreenOS)</title>
		<link>http://www.itsyourip.com/Security/how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos</link>
		<comments>http://www.itsyourip.com/Security/how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 23:08:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[juniper]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[Discovery]]></category>
		<category><![CDATA[encapsulation]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[mtu]]></category>
		<category><![CDATA[netscreen]]></category>
		<category><![CDATA[Path MTU]]></category>
		<category><![CDATA[screenos]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/Security/how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos/</guid>
		<description><![CDATA[If you have site to site IPSec VPNs configured between two network with your Juniper Netscreen or SSG firewalls and clients from one network access servers or services from the other network then it is advisable to enable Path MTU Discovery support on the Juniper firewalls. Juniper Netscreen or SSG firewalls running Screen OS by [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>If you have site to site IPSec VPNs configured between two network with your Juniper Netscreen or SSG firewalls and clients from one network access servers or services from the other network then it is advisable to enable Path MTU Discovery support on the Juniper firewalls.</p>
<p>Juniper Netscreen or SSG firewalls running Screen OS by default disable the Path MTU Discovery support. This means, when an IP Packet with DF bit set (&quot;1&quot;) in the ip Header and its size after IPSec Encapsulation is more the MTU of the Juniper VPN Firewall arrives at the VPN Firewall, the firewall will ignore the &quot;DF&quot; bit and simply fragments the packets and forwards it to the appropriate tunnel interface. This can cause serious problems with some applications. A classic example is the Microsoft Applications that rely on NetBIOS over TCP/IP which wouldn&#39;t prefer the packets being fragmented (and hence DF set).</p>
<p><span id="more-158"></span></p>
<p>It is advisable that the Path MTU Discovery support is enabled on the Juniper VPN Firewalls. When enabled in the above scenario, the Firewall will drop the packet instead and send an &quot;ICMP Destination Unreachable (Datagram Too Big)&quot; message (ICMP Type 3 Code 4 message) back to the host with its MTU value. The source host then adjusts its assumed Path MTU value appropriately and sends the packet accordingly so the packet size is well within the MTU of the firewall and hence the packet is not fragmented and is forwarded as such.</p>
<p>To enable Path MTU Discovery in Juniper firewalls running Screen OS logon as an admin user and run the following commands:</p>
<p><strong><u>Set Path MTU</u></strong></p>
<blockquote><p><strong>SSG20&gt; set flow path-mtu</strong></p>
<p><strong>SSG20&gt; save</strong></p>
</blockquote>
<p>To verify the change</p>
<blockquote><p><strong>SSG20&gt; get config | incl path</strong></p>
</blockquote>
<p>Remember, this needs to be enabled on the other VPN Peer as well.</p>
<p>This change should make users on either side a happy bunny!!!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2FSecurity%2Fhow-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos%2F';
  addthis_title  = 'How+to+enable+Path+MTU+Discovery+in+Juniper+Netscreen+Firewalls+%28ScreenOS%29';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/Security/how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

