<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>voip on The Official Wireshark Blog</title>
    <link>https://blog.wireshark.org/tags/voip/</link>
    <description>Recent content in voip on The Official Wireshark Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 28 Sep 2009 21:20:29 +0000</lastBuildDate><atom:link href="https://blog.wireshark.org/tags/voip/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Polycom IP Phone Boot Analysis</title>
      <link>https://blog.wireshark.org/2009/09/polycom-ip-phone-boot-analysis/</link>
      <pubDate>Mon, 28 Sep 2009 21:20:29 +0000</pubDate>
      
      <guid>https://blog.wireshark.org/2009/09/polycom-ip-phone-boot-analysis/</guid>
      <description>&lt;p&gt;We use Polycom SoundPoint IP phones here at the CACE Technologies World Domination Secret Lair. While troubleshooting a different problem recently I noticed that the phones do something funny. During the boot process they obtain an IP address via DHCP, similar to most PCs. A DHCP option tells the phones to fetch their configuration and firmware from an FTP server. The funny part is that some of the FTP transfers were failing even though the phones booted up just fine:&lt;/p&gt;
&lt;div id=&#34;attachment_143&#34; style=&#34;width: 468px&#34; class=&#34;wp-caption alignnone&#34;&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; aria-describedby=&#34;caption-attachment-143&#34; class=&#34;size-full wp-image-143&#34; title=&#34;SIP firmware failure&#34; src=&#34;https://blog.wireshark.org/wp-content/uploads/2009/09/SIP-firmware-failure.png&#34; alt=&#34;SIP firmware download failure&#34; width=&#34;458&#34; height=&#34;255&#34; /&gt;
  &lt;p id=&#34;caption-attachment-143&#34; class=&#34;wp-caption-text&#34;&gt;
    SIP firmware download failure
  &lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;At packet 175 the phone starts to download &lt;em&gt;sip.ld&lt;/em&gt;, the SIP firmware image. The transfer starts at packet 177, but the phone cuts the transfer short at packet 181. The phone then behaves as if nothing is wrong. What’s going on here?&lt;/p&gt;
&lt;p&gt;At this point the phone &lt;strong&gt;might&lt;/strong&gt; have an up-to-date copy of the SIP firmware. It would be nice if it could avoid downloading this file every time it booted up. The file is 15 MB, so in some environments this would be &lt;strong&gt;really&lt;/strong&gt; nice. (Imagine a thousand phones trying to download this file at the same time after a power outage. Over a fractional T1. That’s flapping.) Unfortunately methods for comparing files via FTP or HTTP to ones you already have are either &lt;a href=&#34;http://www.ietf.org/rfc/rfc1864.txt&#34;&gt;rarely used&lt;/a&gt; or &lt;a href=&#34;http://cwiki.apache.org/FTPSERVER/draft-twine-ftpmd5-00.html&#34;&gt;not supported at all&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Running the &lt;em&gt;strings&lt;/em&gt; command on the firmware turns up the following tidbit at the beginning of the file:&lt;/p&gt;
&lt;pre style=&#34;padding-left: 30px;&#34;&gt;Checksum=0x00008c5e&lt;/pre&gt;
&lt;p&gt;It looks like the phones look for the checksum in the firmware header and drop the connection once they’ve determined they already have an up-to-date copy.&lt;/p&gt;
&lt;p&gt;This is a very roundabout way of showing that sometimes error conditions on your network are not only normal but beneficial.&lt;/p&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments &lt;a href=&#34;#comments&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h2&gt;&lt;h3 id=&#34;comment-by-bperkic-on-2009-09-30-010736-0000&#34;&gt;Comment by bperkic on 2009-09-30 01:07:36 +0000 &lt;a href=&#34;#comment-by-bperkic-on-2009-09-30-010736-0000&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Good point! Thx&lt;/p&gt;
&lt;h3 id=&#34;comment-by-rogio-on-2009-10-23-091635-0000&#34;&gt;Comment by rogio on 2009-10-23 09:16:35 +0000 &lt;a href=&#34;#comment-by-rogio-on-2009-10-23-091635-0000&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Great Read.&lt;/p&gt;
&lt;h3 id=&#34;comment-by-oldcommguy-on-2009-11-05-110159-0000&#34;&gt;Comment by Oldcommguy on 2009-11-05 11:01:59 +0000 &lt;a href=&#34;#comment-by-oldcommguy-on-2009-11-05-110159-0000&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;It is no longer a secret…now we know where you are at!!!!&lt;/p&gt;
&lt;p&gt;Great article – Flapping indeed and an real OMG!&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
