<?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: Why Microsoft use TPC instead of UDP for SIP ?</title>
	<atom:link href="http://blog.unifiedcommunications.eu/07/why-microsoft-use-tpc-instead-of-udp-for-sip/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.unifiedcommunications.eu/07/why-microsoft-use-tpc-instead-of-udp-for-sip/</link>
	<description>MS Office Communications,Lync,Exchange,VoIP,telephony</description>
	<lastBuildDate>Thu, 24 Mar 2011 14:23:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://blog.unifiedcommunications.eu/07/why-microsoft-use-tpc-instead-of-udp-for-sip/comment-page-1/#comment-1993</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 17 Sep 2009 07:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unifiedcommunications.eu/?p=865#comment-1993</guid>
		<description>Extract from Microsoft whitepaper : &quot;Integrating Enterprise Telephony with 
Office Communications Server 2007 R2&quot;

UDP as a SIP Transport

In IP telephony, the most fundamental level of interoperability is in the IP transport protocol used to convey SIP messages from one network element to another. Generically, SIP can use (at least) three types of transport: UDP, TCP and TLS (this is defined in the base SIP spec, RFC 3261). However, Office Communications Server only supports TCP and TLS, with the latter being the default (actually, TLS runs on TCP). If a third-party network element only supports UDP, there would be a fundamental disconnect with Office Communications Server. This is particularly problematic in the â€œSIP trunkingâ€ domain (see earlier discussion), where many service providers currently only support UDP as a SIP Transport.

The lack of support for UDP is not an oversight but rather a conscious engineering decision based on the suitability of UDP as a SIP transport. There are three issues with UDP:

1.It is not encrypted, so users cannot ensure end-to-end security of SIP messages over UDP. There is no shortage of opinions on the security, or the lack thereof, of SIP (e.g., CertÂ® Advisory). As a text-based protocol that is human-readable, there are privacy/security issues of sending SIP â€œin clear.â€ Furthermore, UDP allows for easier spoofing of packets since the connection state doesnâ€™t need to be maintained (remember SQL Slammer? [http://en.wikipedia.org/wiki/SQL_slammer]). This is why customers are strongly recommended to accept TLS over TCP as the default SIP transport within the Office Communications Server network.

2.UDP has a fundamental flaw for large SIP messages: the size of the UDP datagram is limited to 1,500 bytes, so a SIP message larger than that will be broken into two or more packets. The application layer (client or server) can receive the fragments out of order or a fragment could be lost (see the third issue, below). Since Office Communications Server SIP messages tend to contain various XML bodies, machine-generated unique IDs (e.g., GRUUs), ICE candidate attributes, etc., they will normally span multiple packets.

3.UDP is a &quot;fire and forget&quot; protocol: this is, the transport layer does not consider lost or delayed packets. The onus of tracking messages for which no response has been received (and the generation of new requests) is left to the application layer. This leaves the application (the client or the server) vulnerable to overload situations. In bad network conditions, the best case scenario is a call setup delay. The worst case scenario is that the SIP network can reach a tipping point where the session timers are tripping for every transaction because the network elements are busy generating, or responding to, &quot;retries&quot;â€”a &quot;retry storm.&quot;
UDP presents challenges in the areas of security, reliability and scalability and the SIP RFCs allow us to choose from alternative SIP transports. Within the Office Communications Server network, we use TLS; at the edge of the network, we can interoperate over TCP.</description>
		<content:encoded><![CDATA[<p>Extract from Microsoft whitepaper : &#8220;Integrating Enterprise Telephony with<br />
Office Communications Server 2007 R2&#8243;</p>
<p>UDP as a SIP Transport</p>
<p>In IP telephony, the most fundamental level of interoperability is in the IP transport protocol used to convey SIP messages from one network element to another. Generically, SIP can use (at least) three types of transport: UDP, TCP and TLS (this is defined in the base SIP spec, RFC 3261). However, Office Communications Server only supports TCP and TLS, with the latter being the default (actually, TLS runs on TCP). If a third-party network element only supports UDP, there would be a fundamental disconnect with Office Communications Server. This is particularly problematic in the â€œSIP trunkingâ€ domain (see earlier discussion), where many service providers currently only support UDP as a SIP Transport.</p>
<p>The lack of support for UDP is not an oversight but rather a conscious engineering decision based on the suitability of UDP as a SIP transport. There are three issues with UDP:</p>
<p>1.It is not encrypted, so users cannot ensure end-to-end security of SIP messages over UDP. There is no shortage of opinions on the security, or the lack thereof, of SIP (e.g., CertÂ® Advisory). As a text-based protocol that is human-readable, there are privacy/security issues of sending SIP â€œin clear.â€ Furthermore, UDP allows for easier spoofing of packets since the connection state doesnâ€™t need to be maintained (remember SQL Slammer? [http://en.wikipedia.org/wiki/SQL_slammer]). This is why customers are strongly recommended to accept TLS over TCP as the default SIP transport within the Office Communications Server network.</p>
<p>2.UDP has a fundamental flaw for large SIP messages: the size of the UDP datagram is limited to 1,500 bytes, so a SIP message larger than that will be broken into two or more packets. The application layer (client or server) can receive the fragments out of order or a fragment could be lost (see the third issue, below). Since Office Communications Server SIP messages tend to contain various XML bodies, machine-generated unique IDs (e.g., GRUUs), ICE candidate attributes, etc., they will normally span multiple packets.</p>
<p>3.UDP is a &#8220;fire and forget&#8221; protocol: this is, the transport layer does not consider lost or delayed packets. The onus of tracking messages for which no response has been received (and the generation of new requests) is left to the application layer. This leaves the application (the client or the server) vulnerable to overload situations. In bad network conditions, the best case scenario is a call setup delay. The worst case scenario is that the SIP network can reach a tipping point where the session timers are tripping for every transaction because the network elements are busy generating, or responding to, &#8220;retries&#8221;â€”a &#8220;retry storm.&#8221;<br />
UDP presents challenges in the areas of security, reliability and scalability and the SIP RFCs allow us to choose from alternative SIP transports. Within the Office Communications Server network, we use TLS; at the edge of the network, we can interoperate over TCP.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

