<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Problems with Check Point, NAT, and SIP</title>
	<atom:link href="http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/feed" rel="self" type="application/rss+xml" />
	<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip</link>
	<description>grep understanding</description>
	<lastBuildDate>Fri, 19 Mar 2010 22:30:03 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: TabTwo</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-241928</link>
		<dc:creator>TabTwo</dc:creator>
		<pubDate>Sun, 22 Feb 2009 01:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-241928</guid>
		<description>&lt;p&gt;The basic issue here: SIP just sucks with NAT&lt;br&gt;&lt;br&gt;Why should a NAT-device user the same source port? What if a second connection uses the same?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The basic issue here: SIP just sucks with NAT<br /><br />Why should a NAT-device user the same source port? What if a second connection uses the same?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: TabTwo</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240714</link>
		<dc:creator>TabTwo</dc:creator>
		<pubDate>Sat, 21 Feb 2009 20:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240714</guid>
		<description>&lt;p&gt;The basic issue here: SIP just sucks with NAT&lt;br&gt;&lt;br&gt;Why should a NAT-device user the same source port? What if a second connection uses the same?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The basic issue here: SIP just sucks with NAT<br /><br />Why should a NAT-device user the same source port? What if a second connection uses the same?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Check Point and Streaming Video</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240687</link>
		<dc:creator>Check Point and Streaming Video</dc:creator>
		<pubDate>Wed, 18 Feb 2009 19:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240687</guid>
		<description>&lt;p&gt;[...] Apparently Check Point breaks SIP. Daniel Miessler describes an issue Check Point has with an Asterisk VOIP server. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Apparently Check Point breaks SIP. Daniel Miessler describes an issue Check Point has with an Asterisk VOIP server. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Miessler</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240686</link>
		<dc:creator>Daniel Miessler</dc:creator>
		<pubDate>Wed, 18 Feb 2009 19:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240686</guid>
		<description>&lt;p&gt;Ok, I tried this and it looks like it&#039;s solved most of my problem. Awesome.&lt;br&gt;&lt;br&gt;I did, however, get a failed call after placing an outgoing call, and received a bunch of unreachables like before. I wonder if it&#039;s because during the call I didn&#039;t have any outgoing registrations occurring (I haven&#039;t tested that yet), which would possibly cause the existing session to time out. If that&#039;s the case then it&#039;s going to be highly annoying to have to accept that I&#039;ll miss some calls if they happen to fall within a certain window.&lt;br&gt;&lt;br&gt;Any thoughts on how to handle that? Should I increase my virtual session window even more to try and account for that? I want to avoid getting too extreme with it, and would rather implement a real solution than some sort of hack to get around this.&lt;br&gt;&lt;br&gt;Thanks very much for the virtual session timeout tip, though--that seems to have have solved most of my unreachable issue.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ok, I tried this and it looks like it&#39;s solved most of my problem. Awesome.<br /><br />I did, however, get a failed call after placing an outgoing call, and received a bunch of unreachables like before. I wonder if it&#39;s because during the call I didn&#39;t have any outgoing registrations occurring (I haven&#39;t tested that yet), which would possibly cause the existing session to time out. If that&#39;s the case then it&#39;s going to be highly annoying to have to accept that I&#39;ll miss some calls if they happen to fall within a certain window.<br /><br />Any thoughts on how to handle that? Should I increase my virtual session window even more to try and account for that? I want to avoid getting too extreme with it, and would rather implement a real solution than some sort of hack to get around this.<br /><br />Thanks very much for the virtual session timeout tip, though&#8211;that seems to have have solved most of my unreachable issue.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Miessler</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240685</link>
		<dc:creator>Daniel Miessler</dc:creator>
		<pubDate>Wed, 18 Feb 2009 17:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240685</guid>
		<description>&lt;p&gt;The problem isn&#039;t the incoming port mapping; it&#039;s the outgoing SIP connection coming from the Asterisk system. The Check Point system doesn&#039;t give the packets back to port 5060 on the Asterisk box (the original source port); instead it gives it to the Asterisk box as the high level port IT created, which of course isn&#039;t accepting traffic--hence the ICMP unreachables.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The problem isn&#39;t the incoming port mapping; it&#39;s the outgoing SIP connection coming from the Asterisk system. The Check Point system doesn&#39;t give the packets back to port 5060 on the Asterisk box (the original source port); instead it gives it to the Asterisk box as the high level port IT created, which of course isn&#39;t accepting traffic&#8211;hence the ICMP unreachables.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: RafalWeglarz</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240684</link>
		<dc:creator>RafalWeglarz</dc:creator>
		<pubDate>Wed, 18 Feb 2009 16:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240684</guid>
		<description>&lt;p&gt;I think I get the problem now ;). I&#039;m not the VOIP guy, but isn&#039;t there any setting in Asterisk that says how external servers should reach it? So that you could do a mapping of extip:port-&gt;intip:port?&lt;br&gt;Besides it seems that VOIP is broken in the first place ;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think I get the problem now ;). I&#39;m not the VOIP guy, but isn&#39;t there any setting in Asterisk that says how external servers should reach it? So that you could do a mapping of extip:port-&gt;intip:port?<br />Besides it seems that VOIP is broken in the first place ;)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Augusto Paes de Barros</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240683</link>
		<dc:creator>Augusto Paes de Barros</dc:creator>
		<pubDate>Wed, 18 Feb 2009 16:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240683</guid>
		<description>&lt;p&gt;It should be handled by the &quot;UDP virtual session&quot; concept. The problem would be if the interval between UDP packets is too big, as the firewall will clean the state tables and will not understand the incoming packet as part of a previous &quot;virtual session&quot;. If the communication is something regular it can be solved by increasing the UDP virtual session timeout, but if the packet flow is not constant (i.e. there are long time intervals between each UDP packet) it won&#039;t help at all.&lt;br&gt;&lt;br&gt;For some stuff like this one, Check Point should have more granular controls, like UDP virtual session timeouts per protocol and/or rule.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It should be handled by the &#8220;UDP virtual session&#8221; concept. The problem would be if the interval between UDP packets is too big, as the firewall will clean the state tables and will not understand the incoming packet as part of a previous &#8220;virtual session&#8221;. If the communication is something regular it can be solved by increasing the UDP virtual session timeout, but if the packet flow is not constant (i.e. there are long time intervals between each UDP packet) it won&#39;t help at all.<br /><br />For some stuff like this one, Check Point should have more granular controls, like UDP virtual session timeouts per protocol and/or rule.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: RafalWeglarz</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240682</link>
		<dc:creator>RafalWeglarz</dc:creator>
		<pubDate>Wed, 18 Feb 2009 14:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240682</guid>
		<description>&lt;p&gt;Hi,&lt;br&gt;I have tested it. And although CheckPoint does change the source port, it does properly handle messages coming back. It properly changes the ports. &lt;br&gt;You mentioned that it is during the initial phase. If it not be during initial phase than I would guest that the problem might be that the UDP session times out. But it should be alive for at least 40 seconds (which is default). Could you provide me with pcap dumps? I do not want to install the whole asterisk thing :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,<br />I have tested it. And although CheckPoint does change the source port, it does properly handle messages coming back. It properly changes the ports. <br />You mentioned that it is during the initial phase. If it not be during initial phase than I would guest that the problem might be that the UDP session times out. But it should be alive for at least 40 seconds (which is default). Could you provide me with pcap dumps? I do not want to install the whole asterisk thing :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ghost16825</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240681</link>
		<dc:creator>ghost16825</dc:creator>
		<pubDate>Wed, 18 Feb 2009 13:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240681</guid>
		<description>&lt;p&gt;Er....are you serious?&lt;br&gt;So you mean you can&#039;t create an inbound port forwarding rule? (which on most devices implies that the outbound source ports will be preserved)&lt;br&gt;Also are you sure the device doesn&#039;t have any SIP Application Layer Gateway functionality enabled?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Er&#8230;.are you serious?<br />So you mean you can&#39;t create an inbound port forwarding rule? (which on most devices implies that the outbound source ports will be preserved)<br />Also are you sure the device doesn&#39;t have any SIP Application Layer Gateway functionality enabled?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Miessler</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240680</link>
		<dc:creator>Daniel Miessler</dc:creator>
		<pubDate>Wed, 18 Feb 2009 12:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240680</guid>
		<description>&lt;p&gt;Nope, that&#039;s the protocol handler trick I mentioned I already tried. Didn&#039;t work. But thanks for the link; I appreciate the effort.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nope, that&#39;s the protocol handler trick I mentioned I already tried. Didn&#39;t work. But thanks for the link; I appreciate the effort.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: RafalWeglarz</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240679</link>
		<dc:creator>RafalWeglarz</dc:creator>
		<pubDate>Wed, 18 Feb 2009 08:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240679</guid>
		<description>&lt;p&gt;Hi,&lt;br&gt;maybe this will help&lt;br&gt;&lt;a href=&quot;http://blog.sekiur.com/2008/12/checkpoint-firewall-1-and-the-sip-protocol/&quot; rel=&quot;nofollow&quot;&gt;http://blog.sekiur.com/2008/12/checkpoint-firew...&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,<br />maybe this will help<br /><a href="http://blog.sekiur.com/2008/12/checkpoint-firewall-1-and-the-sip-protocol/" rel="nofollow"></a><a href="http://blog.sekiur.com/2008/12/checkpoint-firew.." rel="nofollow">http://blog.sekiur.com/2008/12/checkpoint-firew..</a>.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Miessler</title>
		<link>http://danielmiessler.com/blog/problems-with-check-point-nat-and-sip/comment-page-1#comment-240676</link>
		<dc:creator>Daniel Miessler</dc:creator>
		<pubDate>Wed, 18 Feb 2009 05:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/blog/problems-with-check-point-nat-and-sip#comment-240676</guid>
		<description>&lt;p&gt;Hopefully I missed something. If anyone knows a solution for this I&#039;d love to hear about it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hopefully I missed something. If anyone knows a solution for this I&#39;d love to hear about it.</p>]]></content:encoded>
	</item>
</channel>
</rss>
