<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6839434102454838128</id><updated>2012-01-28T03:53:00.185-08:00</updated><category term='SNMP'/><category term='Hunt Groups'/><category term='boundaries'/><category term='WBM'/><category term='FAQ'/><category term='Signal Transmission'/><category term='Port Circuit Card Microcontrollers'/><category term='strategy'/><category term='SIP'/><category term='Pulse Code Modulation'/><category term='Protocols'/><category term='scaling'/><category term='WLL Operation'/><category term='service'/><category term='Avaya'/><category term='Voice Terminal'/><category term='WPA2'/><category term='Skinny'/><category term='ANSI'/><category term='noise issues'/><category term='Video Communications'/><category term='TCP'/><category term='Time Slot Availability'/><category term='sylantro systems'/><category term='configuration'/><category term='Operations'/><category term='Spread-Spectrum LANs'/><category term='PBX Switch'/><category term='ToIP'/><category term='local controllers'/><category term='Switch Network Redundancy'/><category term='local network design'/><category term='Real Time Transport Control Protocol'/><category term='Spread Spectrum LANs'/><category term='ACD Systems'/><category term='Video'/><category term='training'/><category term='Digital Desktop'/><category term='concern'/><category term='Guidelines'/><category term='IBM'/><category term='Telephony Call Server'/><category term='PSTN'/><category term='system'/><category term='Administration Sequence'/><category term='Implementation'/><category term='vendor'/><category term='Distributed'/><category term='advantages'/><category term='Control Cards'/><category term='example'/><category term='Infrared LANs'/><category term='Interception'/><category term='government'/><category term='IFTN'/><category term='Time Slot Access'/><category term='Q.931'/><category term='802.1x'/><category term='Call Centers'/><category term='H.225'/><category term='Private Networks'/><category term='Attendant Consoles'/><category term='Traditional'/><category term='Transmission'/><category term='Public Key Cryptography'/><category term='Private Networking'/><category term='VoIP'/><category term='multilocation'/><category term='PSTN Architecture'/><category term='Session Initiation Protocol'/><category term='SID'/><category term='SIP Call Process'/><category term='network'/><category term='content'/><category term='Protocol Security'/><category term='Call Hijacking'/><category term='Auto Attendants'/><category term='Legacy PBX'/><category term='Cabletron Systems'/><category term='approximations'/><category term='PCM'/><category term='Trunk Circuit'/><category term='Responses'/><category term='technology'/><category term='support'/><category term='softswitch'/><category term='PBX'/><category term='list'/><category term='client'/><category term='TFTP'/><category term='WAN'/><category term='IP Trunk Ports'/><category term='Time Division Multiplexing'/><category term='Mitel Networks'/><category term='Solutions'/><category term='Network Issues'/><category term='H.235'/><category term='Printed Circuit Boards'/><category term='latency'/><category term='cisco systems'/><category term='EIA 569'/><category term='application'/><category term='gov'/><category term='LDDS WorldCom'/><category term='wireless pbx'/><category term='ip phone'/><category term='EAP'/><category term='site'/><category term='LAN'/><category term='Types'/><category term='blocking'/><category term='Computer Telephony Integration'/><category term='UM Reporting'/><category term='dial plan'/><category term='Local Processors'/><category term='System Management'/><category term='Segmentation'/><category term='Local Access Facilities'/><category term='planning'/><category term='PBX Alternatives'/><category term='UM'/><category term='Media Control'/><category term='PBX Circuit Switching'/><category term='Session Description Protocol'/><category term='Cabinet Power System'/><category term='ericsson'/><category term='VoIP Telephony'/><category term='Applications'/><category term='Components'/><category term='firewall'/><category term='manufacturer'/><category term='Communications Systems'/><category term='ISDN'/><category term='PBX Systems'/><category term='Service Disruption'/><category term='operation'/><category term='Bay Networks'/><category term='Wireless LANs'/><category term='Operating Environments'/><category term='TIA'/><category term='GoS'/><category term='Wireless Capabilities'/><category term='Performance Management'/><category term='deployment'/><category term='Controls'/><category term='remote'/><category term='System Design'/><category term='Adjunct Servers'/><category term='PCB'/><category term='Systems'/><category term='Maintenance'/><category term='Functions'/><category term='Hewlett-Packard'/><category term='Cabling'/><category term='IP-pbx'/><category term='limitation'/><category term='infrastructure'/><category term='alcatel'/><category term='Installing'/><category term='lucent technologies'/><category term='equipment'/><category term='Protocol Specification'/><category term='server'/><category term='Authentication'/><category term='Hardware'/><category term='DoS'/><category term='Verizon'/><category term='CBCSS'/><category term='sccp'/><category term='cpe'/><category term='Hybrid System'/><category term='Public Key Infrastructure'/><category term='Siemens ICN'/><category term='WLL'/><category term='ip telephony'/><category term='Telephone Sets'/><category term='RTCP'/><category term='Carrier Types'/><category term='DNS'/><category term='Multiple TDM Bus Design'/><category term='Standards'/><category term='Voice'/><category term='DiffServ'/><category term='Extended Ethernet'/><category term='H.323'/><category term='Defining PBX Traffic'/><category term='purpose'/><category term='System Cabinets'/><category term='cabinet'/><category term='buy'/><category term='IP Station Ports'/><category term='predictive dialers'/><category term='Voice Messaging System'/><category term='Center Stage Switch Complex'/><category term='Procedures'/><category term='Multiple'/><category term='MEGACO'/><category term='PBX Trunks'/><category term='Regulatory Issues'/><category term='ocs'/><category term='Administration'/><category term='Cabinet Backplane'/><category term='HTTP'/><category term='Digital Switching'/><category term='cisco'/><category term='Overview'/><category term='cost'/><category term='Program Control'/><category term='Call Answering Rules'/><category term='Switch Network Designs'/><category term='Unified Messaging'/><category term='Dispersed'/><category term='PBX Switch Network Topologies'/><category term='Outside Plant'/><category term='tips'/><category term='PBX Firewalls'/><category term='Networking'/><category term='Automatic Route Selection'/><category term='Denial-of-Service'/><category term='centrex'/><category term='Function Enhancements'/><category term='Messages'/><category term='nortel networks'/><category term='Attendant Features'/><category term='Circuit Switch Matrix'/><category term='MGCP'/><category term='direct sequence'/><category term='Public Networking'/><category term='Fundamentals'/><category term='reporting'/><category term='Integrated Services'/><category term='ss7'/><category term='Main System Memory'/><category term='System Features'/><category term='System Components'/><category term='Cable Modems'/><category term='Privacy Considerations'/><category term='MS-CHAPv2'/><category term='capabilities'/><category term='ip-centrex'/><category term='language'/><category term='SNMP Research'/><category term='Contact Center'/><category term='System Diagnostics'/><category term='SIP Components'/><category term='pilot'/><category term='Requirements'/><category term='ip centrex'/><category term='Broadband TDM Bus'/><category term='Modular Design'/><category term='Grade of Service'/><category term='Enterprise'/><category term='trials'/><category term='Call Control'/><category term='integration'/><category term='fax'/><category term='Application Service Providers'/><category term='speech'/><category term='Circuit Card Provisioning'/><category term='centrex advantages'/><category term='RAS'/><category term='testing'/><category term='RTP'/><category term='KTS'/><category term='Strategies'/><category term='Basic'/><category term='DHCP'/><category term='Interoperability'/><category term='Operational'/><category term='Call Processing'/><category term='Architecture'/><category term='Trunk Traffic Engineering'/><category term='Service Level Agreements'/><category term='interference'/><category term='Messaging'/><category term='CTI'/><category term='organization'/><category term='RSVP'/><category term='PBX Circuit Switching Design'/><category term='SIP Architecture'/><category term='qos'/><category term='ANI'/><category term='CCS Rating'/><category term='telecom'/><category term='Main System Processor'/><category term='Frontier Software Development'/><category term='Mobile Communications'/><category term='Management'/><category term='JMAPI'/><category term='converged'/><category term='Security'/><category term='User'/><category term='Real Time Transport Protocol'/><category term='Wireless Infrastructure'/><category term='Categories'/><category term='evolution'/><category term='switch'/><category term='Wireless Local Loop'/><category term='Redundancy'/><category term='Frequently Asked Questions'/><category term='Circuit Switching'/><category term='Switching and Signaling'/><category term='SIMPLE'/><category term='internet protocol'/><category term='PBX Features'/><category term='Web-Based Management'/><category term='analysis'/><category term='Telephony Gateways'/><category term='Siemens'/><category term='IP PBX'/><category term='centalized'/><category term='Cost Containment'/><category term='Regulation'/><category term='3Com Corp'/><category term='Network management'/><category term='Qsig'/><category term='PBX Lines'/><category term='H.248'/><category term='Servers'/><category term='ACD Call Centers'/><category term='call routing'/><category term='Outsourcing'/><category term='Concepts'/><category term='Requests'/><category term='telephone'/><category term='recommendation'/><category term='Frequency hopping'/><category term='Computer Stored'/><category term='Call Signaling'/><category term='packet loss'/><category term='mailboxes'/><category term='IP Gateways'/><category term='Benefits'/><category term='Broadband'/><category term='H.225.0'/><category term='Compatibility'/><category term='Wireless Centrex'/><category term='Office Communication Server'/><category term='H.245'/><category term='Financial Analyses'/><category term='consideration'/><category term='Wireless Local Loop. WLL'/><category term='NEC'/><category term='Intelligent Feature Transparent Network'/><category term='microwave'/><category term='single'/><category term='Call Flow'/><category term='owa'/><category term='Local Loop Interfaces'/><category term='Java'/><category term='instant messaging'/><category term='SLA'/><category term='Modular System Design'/><category term='options'/><category term='Basic Voice Call Station'/><category term='Groups'/><category term='Architectures'/><category term='802.11i'/><category term='network confidguration'/><category term='CW'/><category term='carrier'/><category term='ARS'/><category term='Carrier Expansion'/><category term='Data Communications'/><category term='digital PBX'/><category term='Managed Networks'/><category term='Availability'/><category term='features'/><category term='SDP'/><category term='consoles'/><category term='Specifications'/><category term='Legacy PBX Switch Network Design'/><category term='ToS'/><category term='Issues'/><title type='text'>Centrex or PBX</title><subtitle type='html'>"Centrex versus PBX" issue is not new, the introduction of IP Telephony raises this question again, since all organizations should reconsider their Centrex or PBX deployment, with the prospect of migrating voice and video services onto their data networks. The case for outsourcing of telecom services is extensively developed, with attention to application, financial and management considerations. So what you need? Centrex or PBX?</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default?start-index=101&amp;max-results=100'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>295</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-2976557784367116865</id><published>2012-01-26T01:58:00.000-08:00</published><updated>2012-01-26T01:58:01.024-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Public Key Infrastructure'/><category scheme='http://www.blogger.com/atom/ns#' term='Concepts'/><category scheme='http://www.blogger.com/atom/ns#' term='Public Key Cryptography'/><title type='text'>Public Key Cryptography Concepts</title><content type='html'>&lt;br /&gt;&lt;h3 class="sect3-title" id="462-1" style="background-color: white; color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em; text-align: left;"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="first-para" id="463-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;Within the PKI framework, who you are is defined by the private keys you possess. From the point-of-view of PKI authentication authorities, you are your private key. In order to understand PKI, you will first have to understand some basic cryptological concepts. In&amp;nbsp;Figure 1&amp;nbsp;the concept of a secret key is presented. Alice and Bob often are used as examples of the two parties engaged in a secure communications channel, and we will use them here. In this case, Alice and Bob both possess the same secret key. This can be a password, a token, or some other form of secret. Alice encrypts the plaintext that she wishes to send to Bob using her secret key. After Bob receives the ciphertext, he decrypts it using the same secret. The fact that&amp;nbsp;&lt;i class="emphasis"&gt;the same key&lt;/i&gt;&amp;nbsp;is used for both encryption and decryption determines that this is a symmetric exchange.&lt;/div&gt;&lt;div class="first-para" id="463-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-KQgRpoaUpC4/TyAYXKPpEZI/AAAAAAAAEVg/kVG_v680LYY/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-KQgRpoaUpC4/TyAYXKPpEZI/AAAAAAAAEVg/kVG_v680LYY/s320/a.jpg" width="249" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch06fig08" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;a href="" id="464" name="464" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="464-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;Symmetric Key Cryptography&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="464-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;PKI relies on a public/private key combination. The public and private keys are mathematical entities that are related. One key is used to encrypt information and only the related key can decrypt that same information; however, if you know one of the keys, it is computationally unfeasible to calculate the other. Your public key is something that you make public. It is freely distributed and can be accessed by everyone. A corresponding (and unique) private key is something that you keep secret. It is not shared with anyone. Your private key enables you to prove, unequivocally, that you are who you claim to be.&lt;span class="beginpage" pagenum="177"&gt;&lt;a href="" id="465" name="465" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-177" name="IDX-177" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="465-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;In&amp;nbsp;Figure 2, Alice uses public key cryptography to send a ciphertext to Bob. She first locates Bob’s public key (normally from some type of directory service or from a previous secured document that Bob has sent to her) and encrypts the plaintext with Bob’s public key. She sends the encrypted text to Bob. Only Bob has the corresponding private key that can be used to decode the ciphertext.&lt;/div&gt;&lt;div class="para" id="465-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-yIUV6AmM3kw/TyAYfHyS2NI/AAAAAAAAEVo/Uh7G-6mzpJE/s1600/b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-yIUV6AmM3kw/TyAYfHyS2NI/AAAAAAAAEVo/Uh7G-6mzpJE/s320/b.jpg" width="291" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch06fig09" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;a href="" id="466" name="466" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06fig09" name="ch06fig09" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="466-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 2:&amp;nbsp;&lt;/span&gt;Public Key Cryptography&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="466-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Note that in normal practice, for performance reasons, the actual ciphertext is encrypted using a secret key algorithm as shown in&amp;nbsp;Figure 1. Symmetric algorithms are much faster than public/private key algorithms (asymmetric cryptography). A random key (the session key) is generated, and it is used with the symmetric algorithm to encrypt the information. The public key is then used to encrypt that key and both are sent to the recipient. The private key is then used to decrypt the session key, and the resulting session key is used to decrypt the actual data.&lt;/div&gt;&lt;div class="para" id="466-3" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;The developers of public key cryptography were economical with keys. Both the public and private key are used for more than just encrypting and decrypting data or session keys. The private key also is used to digitally sign the sent message so that the sender’s identity is guaranteed. If the sender wishes to prove to a recipient that they are the source of the information (perhaps they accept legal responsibility for it), the sender uses his or her (or its) private key to digitally sign a message (a digital signature). Unlike a handwritten signature, a digital signature is different every time it is created. To create the digital signature, a hash of&amp;nbsp;&lt;span class="beginpage" pagenum="178"&gt;&lt;a href="" id="467" name="467" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-178" name="IDX-178" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;the message is signed (encrypted) with the sender’s private key The encrypted value either is attached to the end of the message or is sent as a separate file together with the message. The sender’s public key that corresponds to this private key may also be sent with the message, either on its own or as part of a certificate.&lt;/div&gt;&lt;div class="para" id="467-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;The receiver uses the sender’s public key to verify that the message hash calculated by the receiver (when certificates are used, the type of hashing algorithm will be included in the public key certificate sent with the message) is the same as the original hash. If the values match, the receiver is reasonably assured that the sender (the individual or device that owns the private key that corresponds with the public key) sent the information. The receiver also is reasonably assured that the information has not been altered since it was signed. This exchange forms the basis for two key security principles: nonrepudiation (the identity of the sender is verified) and message integrity (the contents of the message have not been altered in transit).&amp;nbsp;Table 1&amp;nbsp;summarizes the intended use and owner of both public and private keys in public key cryptography.&lt;/div&gt;&lt;a href="" id="468" name="468" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; outline-color: initial; outline-style: none; outline-width: initial; text-align: left; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06table04" name="ch06table04" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; outline-color: initial; outline-style: none; outline-width: initial; text-align: left; text-decoration: none;"&gt;&lt;/a&gt;&lt;span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small; text-align: left;"&gt;&lt;/span&gt;&lt;table border="1" class="table" id="ch06table04" linktabletoexcel="yes" style="background-color: white; color: black; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; margin-bottom: 1em; margin-top: 1em; text-align: left;"&gt;&lt;caption class="table-title" id="468-1" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold; margin-top: 0.3em; text-align: left;"&gt;&lt;span class="table-title" style="margin-top: 0.3em;"&gt;&lt;span class="table-titlelabel"&gt;Table 1:&amp;nbsp;&lt;/span&gt;Key Usage in Public Key Cryptography&lt;/span&gt;&amp;nbsp;&lt;/caption&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="468-2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Function&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="468-3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Key Type&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="468-4" style="margin-left: 0.3em; margin-right: 1em;"&gt;Key Owner&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-5" style="margin-left: 0.3em; margin-right: 1em;"&gt;Encrypt Data&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-6" style="margin-left: 0.3em; margin-right: 1em;"&gt;Public Key&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-7" style="margin-left: 0.3em; margin-right: 1em;"&gt;Bob (Receiver)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-8" style="margin-left: 0.3em; margin-right: 1em;"&gt;Sign Data&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-9" style="margin-left: 0.3em; margin-right: 1em;"&gt;Private Key&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-10" style="margin-left: 0.3em; margin-right: 1em;"&gt;Alice (Sender)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-11" style="margin-left: 0.3em; margin-right: 1em;"&gt;Decrypt Data&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-12" style="margin-left: 0.3em; margin-right: 1em;"&gt;Private Key&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-13" style="margin-left: 0.3em; margin-right: 1em;"&gt;Bob (Receiver)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-14" style="margin-left: 0.3em; margin-right: 1em;"&gt;Verify Data Integrity&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-15" style="margin-left: 0.3em; margin-right: 1em;"&gt;Public Key&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="468-16" style="margin-left: 0.3em; margin-right: 1em;"&gt;Alice (Sender)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-2976557784367116865?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/2976557784367116865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=2976557784367116865' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/2976557784367116865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/2976557784367116865'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2012/01/public-key-cryptography-concepts.html' title='Public Key Cryptography Concepts'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-KQgRpoaUpC4/TyAYXKPpEZI/AAAAAAAAEVg/kVG_v680LYY/s72-c/a.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-8206186770240137006</id><published>2012-01-15T07:24:00.000-08:00</published><updated>2012-01-15T07:24:00.450-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-CHAPv2'/><title type='text'>MS-CHAPv2</title><content type='html'>&lt;br /&gt;&lt;div class="section" id="ch06lev4sec173" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h5 class="sect5-title" id="annotationlabel-12" style="color: navy; font-size: small; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/h5&gt;&lt;div class="first-para" id="452-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;MS-CHAP v2 is a one-way encrypted password, two-way authentication process that provides mutual authentication between peers (see&amp;nbsp;Figure 1). It differs from MS-CHAP-V1 because it piggybacks an additional peer challenge (PCS) on the Response packet and an additional authenticator response on the Success packet. Both the authenticating server and the client challenge and authenticate each other. The message flow is as follows:&lt;/div&gt;&lt;ol class="orderedlist" style="margin-bottom: 0px; margin-left: 3em; margin-top: 0.4em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="452-2" style="margin-bottom: 0em; margin-top: 0em;"&gt;Authenticator sends a challenge consisting of a Session ID and random authenticator challenge string (ACS).&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="452-3" style="margin-bottom: 0em; margin-top: 0em;"&gt;Client (peer) sends a response containing an encrypted one-way hash of the session ID, username, a peer challenge string (PCS), the peer response (PR), and the user password (secret).&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="452-4" style="margin-bottom: 0em; margin-top: 0em;"&gt;Authenticator responds with another one-way hash (based on the client response) of a success/failure code, the authenticator response (AR), and the user’s password (secret).&lt;span class="beginpage" pagenum="174"&gt;&lt;a href="" id="453" name="453" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-174" name="IDX-174" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="453-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;The peer verifies the authenticator response and begins communications if the response is successful. It disconnects on failure.&lt;/div&gt;&lt;div class="first-para" id="453-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-A5Mc10q7WWA/TwXAeu-lnQI/AAAAAAAAERI/eITeYHBzuPY/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="183" src="http://3.bp.blogspot.com/-A5Mc10q7WWA/TwXAeu-lnQI/AAAAAAAAERI/eITeYHBzuPY/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch06fig07" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="454" name="454" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06fig07" name="ch06fig07" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="454-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;MS-CHAP-V2&lt;/span&gt;&lt;/div&gt;&lt;div class="last-para" id="454-2" style="margin-top: 0.9em;"&gt;This authentication method depends upon a secret (password) known only to the authenticator and the peer. The secret is not sent over the link. A one-way hash function, also known as a message digest, is a mathematical function that takes a variable-length input string and converts it into a fixed-length binary sequence that is computationally difficult to invert—that is, generate the original string from the hash.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev4sec174" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h5 class="sect5-title" id="annotationlabel-13" style="color: navy; font-size: small; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="455" name="455" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev4sec174" name="ch06lev4sec174" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;CHAP and MS-CHAP&lt;/h5&gt;&lt;div class="first-para" id="455-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;CHAP was defined in RFC1994: PPP Challenge Handshake Authentication Protocol. CHAP (Challenge-Handshake Authentication Protocol) was initially used to verify client identity on PPP links using a three-way handshake. The handshake begins with the authenticator issuing a challenge to the client. The client responds with a digest calculated using a hashing function. The authenticator then verifies the response and acknowledges the connection if the match is successful, otherwise it terminates the connection. CHAP depends upon a secret known only to the authenticator and the client. The secret is not sent over the link.&lt;/div&gt;&lt;div class="last-para" id="455-2" style="margin-top: 0.9em;"&gt;MS-CHAP differs from CHAP in that MS-CHAP does not require that the shared secret be stored in cleartext at both ends of the link. The Microsoft client knows the hash method used by the server so it can reproduce it, effectively creating a “matching” password on both ends. The client proves its identity based on the fact that it can reproduce the hashed value of the password.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev4sec175" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h5 class="sect5-title" id="annotationlabel-14" style="color: navy; font-size: small; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="456" name="456" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev4sec175" name="ch06lev4sec175" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;PAP&lt;/h5&gt;&lt;div class="first-para" id="456-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;PAP (Password Authentication Protocol) is described in RFC1334. PAP provides a simple method for the peer to establish its identity using a two-way handshake. PAP is not a strong authentication method. Passwords are sent over the connection in cleartext and there is no protection from playback or repeated trial and error attacks.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev4sec176" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h5 class="sect5-title" id="annotationlabel-15" style="color: navy; font-size: small; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="457" name="457" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev4sec176" name="ch06lev4sec176" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;MD5&lt;/h5&gt;&lt;div class="first-para" id="457-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;MD5 (Message-Digest algorithm 5) is a widely used cryptographic hash function that results in a 128-bit hash value. The 128-bit (16-byte) MD5 hashes (also termed message digests) typically are represented as 32-digit hexadecimal numbers (for example, ec55d3e698d289f2afd663725127bace). EAP-MD-5 typically is not recommended for wireless LAN implementations because it may expose the user’s password, and because several collision-based weaknesses have been demonstrated. It provides for only one way authentication—there is no mutual authentication of wireless client and the network. And very importantly it does not provide a means to derive dynamic, per-session wired equivalent privacy (WEP) keys.&lt;span class="beginpage" pagenum="175"&gt;&lt;a href="" id="458" name="458" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-175" name="IDX-175" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev4sec177" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h5 class="sect5-title" id="annotationlabel-16" style="color: navy; font-size: small; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="459" name="459" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev4sec177" name="ch06lev4sec177" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;GTC&lt;/h5&gt;&lt;div class="first-para" id="459-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Typically, password (PIN) information is read by a user from a token card device and entered as ASCII text into the client. GTC is similar to PAP in that passwords are sent in the clear.&lt;/div&gt;&lt;div class="example" id="ch06list07" style="margin-top: 1em;"&gt;&lt;span class="example-title" id="459-2" style="color: maroon; font-weight: bold; margin-top: 0.3em;"&gt;Notes from the Underground—Dictionary Attacks&lt;/span&gt;&lt;a href="" id="460" name="460" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06list07" name="ch06list07" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;div class="formalbody" id="ch06list07" style="margin-left: 0px;"&gt;&lt;hr class="blueline" style="color: #010100; margin-bottom: 0px; margin-top: 0px;" /&gt;&lt;div class="first-para" id="460-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Passwords can be broken in real-time (active) and offline (passive) modes. The premise of a dictionary attack is that by trying every possible combination or words (or tokens), an attacker ultimately will succeed in discovering user secret passwords. A dictionary attack relies on the fact that d. password is often a common word, name, or concatenation of words or names with a minor modification such as a trailing digit or two, Longer passwords with a variety of characters (such as ^Y2o4uEA16r3-2e64A12EFing!) offer the greatest protection against dictionary attacks.&lt;/div&gt;&lt;div class="last-para" id="460-2" style="margin-top: 0.9em;"&gt;During an online dictionary attack, an attacker tries to actively gain network access by trying many possible combinations of passwords for a specific user. Online dic-tionary attacks can be prevented using password lockout mechanisms that lock out the user account after a certain number of invalid login attempts. Online attacks also generally show up in logs, which can indicate that this type of “loud” hacking activity occurred or is occurring. Offline attacks rely on the attacker’s ability to capture and record data from the datastream usually by using a sniffer such as tcpdump or ethereal. These captured data can then be compared at leisure against tables of hashes until a password ‘s discovered or the attacker gives up, The offline attacks can be thwarted by changing passwords regularly and limiting attackers’ access to the datastream.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-8206186770240137006?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/8206186770240137006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=8206186770240137006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/8206186770240137006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/8206186770240137006'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2012/01/ms-chapv2.html' title='MS-CHAPv2'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-A5Mc10q7WWA/TwXAeu-lnQI/AAAAAAAAERI/eITeYHBzuPY/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-7413119580798317612</id><published>2012-01-12T07:22:00.000-08:00</published><updated>2012-01-12T07:22:00.610-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Authentication'/><category scheme='http://www.blogger.com/atom/ns#' term='Types'/><category scheme='http://www.blogger.com/atom/ns#' term='EAP'/><title type='text'>EAP Authentication Types</title><content type='html'>&lt;br /&gt;&lt;h3 class="sect3-title" id="432-2" style="background-color: white; color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em; text-align: left;"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="first-para" id="433-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;Most of the more recent EAP types are made up of two components: an outer and an inner authentication type, separated by a forward slash—such as PEAPv0/EAP-MSCHAPv2. The outer type defines the method used to establish an encrypted channel between the client (peer) and the Authentication Server.&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="note" style="background-color: white; color: black; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-weight: bold;" valign="top"&gt;Note&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="433-2" style="font-family: Arial, Arial, Helvetica, sans-serif; vertical-align: top;"&gt;The primary goal of the Transport Level Security (TLS) Protocol is to provide privacy and data integrity between two communicating applications. TLS is based on the Netscape SSL 3.0 Protocol Specification, although they are not interoperable. The protocol is composed of two layers: the TLS Record Protocol and the TLS Handshake Protocol, and is situated between ISO layers 3 and 4. Symmetric cryptography is used for data encryption (e.g., DES, RC4, AES, etc). The keys for this symmetric encryption are generated uniquely for each connection. Message transport includes a message integrity check using a keyed MAC (SHA, MD5). These two elements ensure data confidentiality and integrity for each connection.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span class="beginpage" pagenum="168" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small; text-align: left;"&gt;&lt;a href="" id="434" name="434" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-168" name="IDX-168" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small; text-align: left;"&gt;&lt;/span&gt;&lt;div class="para" id="434-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;In&amp;nbsp;Figure 1&amp;nbsp;an outer authentication method, PEAP, is negotiated between a client such as an IP phone or a workstation and a RADIUS authentication server. The intermediate NAS proxies the first several exchanges and then serves to passively mediate traffic in both directions. The NAS does not have knowledge of the keys used to instantiate the TLS tunnel, and thus, cannot be used to snoop on the encrypted traffic passing through it.&lt;/div&gt;&lt;div class="para" id="434-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-YjOWGmkEsPM/TwW_6VRcO6I/AAAAAAAAEQw/XcJCVPYJCsU/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/-YjOWGmkEsPM/TwW_6VRcO6I/AAAAAAAAEQw/XcJCVPYJCsU/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch06fig05" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;a href="" id="435" name="435" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06fig05" name="ch06fig05" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="435-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;EAP Part I Outer Tunnel&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="435-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;This outer tunnel verifies the server to the client using digital certificates.&lt;/div&gt;&lt;div class="para" id="435-3" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Once the outer channel is established, the inner authentication type passes the user’s credentials to the Authentication Server over this TLS encrypted tunnel for additional authentication of, typically, user credentials. Passing user credentials through the TLS encrypted tunnel protects them from exposure (see&amp;nbsp;Figure 2).&lt;/div&gt;&lt;div class="para" id="435-4" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;One of EAP’s potential security vulnerabilities is that data exchanged as part of some of the outer authentication types, such as identity data, and the results of parameter negotiations are sent in the clear. This can result in a Denial-of-Service (DoS) condition since an attacker, for example, can flood the connection with different types of EAP notification messages.&lt;span class="beginpage" pagenum="169"&gt;&lt;a href="" id="436" name="436" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-169" name="IDX-169" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="435-4" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-bFLONVa57qc/TwXABPHH46I/AAAAAAAAEQ8/LFppS6Ls3vw/s1600/b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="246" src="http://4.bp.blogspot.com/-bFLONVa57qc/TwXABPHH46I/AAAAAAAAEQ8/LFppS6Ls3vw/s320/b.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch06fig06" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;a href="" id="437" name="437" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06fig06" name="ch06fig06" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="437-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 2:&amp;nbsp;&lt;/span&gt;EAP Part II Inner Tunnel&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="437-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;In&amp;nbsp;Table 1some of the characteristics for the different types are summarized. In the last two fields more plus signs (&amp;amp;) equals greater difficulty and more strength, respectively.&lt;/div&gt;&lt;div class="para" id="437-3" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Most of the newer EAP types defined by the Wi-Fi Alliance (those with the forward slash and EAP-SIM) are derived from this EAP type. EAP-PEAP and PEAPv0/EAP-MSCHAPv2 are the same thing. PEAPv1/EAP-GTC is a Cisco invention.&lt;/div&gt;&lt;div class="section" id="ch06lev3sec165" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-4" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="438" name="438" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec165" name="ch06lev3sec165" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;EAP-TLS&lt;/h4&gt;&lt;div class="first-para" id="438-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;EAP-TLS (Extensible Authentication Protocol—Transport Layer Security) provides for certificate-based and mutual authentication of the client and the network. EAP-TLS is the most secure of the common EAP types, but requires a PKI (public key infrastructure) to manage and distribute client certificates. The TLS protocol has its roots in the Netscape SSL protocol, which was originally intended to secure HTTP. It provides either one-way or mutual authentication of client and server based on certificates. In its most typical use in HTTP, the client authenticates the server based on the server’s certificate and establishes a tunnel through which HTTP traffic is passed. Username and password management in this scheme is irrelevant as identity is based upon possession of the appropriate private key. The obligatory overhead of a certificate management infrastructure normally precludes use of this EAP type.&lt;span class="beginpage" pagenum="170"&gt;&lt;a href="" id="439" name="439" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-170" name="IDX-170" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href="" id="440" name="440" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06table03" name="ch06table03" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;table border="1" class="table" id="ch06table03" linktabletoexcel="yes" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; margin-bottom: 1em; margin-top: 1em;"&gt;&lt;caption class="table-title" id="440-1" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold; margin-top: 0.3em; text-align: left;"&gt;&lt;span class="table-title" style="margin-top: 0.3em;"&gt;&lt;span class="table-titlelabel"&gt;Table 1:&amp;nbsp;&lt;/span&gt;EAP Types Summary&lt;/span&gt;&amp;nbsp;&lt;/caption&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="440-2" style="margin-left: 0.3em; margin-right: 1em;"&gt;EAP Type&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="440-3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Server Authentication&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="440-4" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Authentication&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="440-5" style="margin-left: 0.3em; margin-right: 1em;"&gt;Native Windows 2003 Support&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="440-6" style="margin-left: 0.3em; margin-right: 1em;"&gt;Confidentiality&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="440-7" style="margin-left: 0.3em; margin-right: 1em;"&gt;Integrity&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="440-8" style="margin-left: 0.3em; margin-right: 1em;"&gt;Deployment Difficulty&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="440-9" style="margin-left: 0.3em; margin-right: 1em;"&gt;Security Strength&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-10" style="margin-left: 0.3em; margin-right: 1em;"&gt;EAP-TLS&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-11" style="margin-left: 0.3em; margin-right: 1em;"&gt;Certificate&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-12" style="margin-left: 0.3em; margin-right: 1em;"&gt;Certificate&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-13" style="margin-left: 0.3em; margin-right: 1em;"&gt;Yes&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-14" style="margin-left: 0.3em; margin-right: 1em;"&gt;TLS&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-15" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-16" style="margin-left: 0.3em; margin-right: 1em;"&gt;+++++&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-17" style="margin-left: 0.3em; margin-right: 1em;"&gt;+++++&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-18" style="margin-left: 0.3em; margin-right: 1em;"&gt;EAP-PEAP&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-19" style="margin-left: 0.3em; margin-right: 1em;"&gt;Certificate&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-20" style="margin-left: 0.3em; margin-right: 1em;"&gt;Certificate, Smartcard, MS-CHAP-V2&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-21" style="margin-left: 0.3em; margin-right: 1em;"&gt;Yes&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-22" style="margin-left: 0.3em; margin-right: 1em;"&gt;TLS&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-23" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-24" style="margin-left: 0.3em; margin-right: 1em;"&gt;++&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-25" style="margin-left: 0.3em; margin-right: 1em;"&gt;++++&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-26" style="margin-left: 0.3em; margin-right: 1em;"&gt;PEAPv0/ EAP-MS CHAPv2&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-27" style="margin-left: 0.3em; margin-right: 1em;"&gt;Certificate&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-28" style="margin-left: 0.3em; margin-right: 1em;"&gt;Certificate, Smartcard, MS-CHAP-V2&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-29" style="margin-left: 0.3em; margin-right: 1em;"&gt;Yes&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-30" style="margin-left: 0.3em; margin-right: 1em;"&gt;TLS&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-31" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-32" style="margin-left: 0.3em; margin-right: 1em;"&gt;++&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-33" style="margin-left: 0.3em; margin-right: 1em;"&gt;++++&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-34" style="margin-left: 0.3em; margin-right: 1em;"&gt;EAP-TTLS&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-35" style="margin-left: 0.3em; margin-right: 1em;"&gt;Certificate&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-36" style="margin-left: 0.3em; margin-right: 1em;"&gt;PAP, CHAP, EAP, MS-CHAP-V2, Certificate&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-37" style="margin-left: 0.3em; margin-right: 1em;"&gt;No&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-38" style="margin-left: 0.3em; margin-right: 1em;"&gt;TLS&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-39" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-40" style="margin-left: 0.3em; margin-right: 1em;"&gt;+++&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-41" style="margin-left: 0.3em; margin-right: 1em;"&gt;++++&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-42" style="margin-left: 0.3em; margin-right: 1em;"&gt;PEAPv1/ EAP-GTC&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-43" style="margin-left: 0.3em; margin-right: 1em;"&gt;Password hash&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-44" style="margin-left: 0.3em; margin-right: 1em;"&gt;Password hash (Token)&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-45" style="margin-left: 0.3em; margin-right: 1em;"&gt;No&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-46" style="margin-left: 0.3em; margin-right: 1em;"&gt;No&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-47" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-48" style="margin-left: 0.3em; margin-right: 1em;"&gt;???&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-49" style="margin-left: 0.3em; margin-right: 1em;"&gt;+++&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-50" style="margin-left: 0.3em; margin-right: 1em;"&gt;EAP-SIM&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-51" style="margin-left: 0.3em; margin-right: 1em;"&gt;128-bit secret&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-52" style="margin-left: 0.3em; margin-right: 1em;"&gt;SIM secret&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-53" style="margin-left: 0.3em; margin-right: 1em;"&gt;No&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-54" style="margin-left: 0.3em; margin-right: 1em;"&gt;+/&lt;span class="unicode" style="font-family: 'Lucida Sans Unicode', Arial, Helvetica, sans-serif;"&gt;−&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-55" style="margin-left: 0.3em; margin-right: 1em;"&gt;+/&lt;span class="unicode" style="font-family: 'Lucida Sans Unicode', Arial, Helvetica, sans-serif;"&gt;−&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-56" style="margin-left: 0.3em; margin-right: 1em;"&gt;+++&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-57" style="margin-left: 0.3em; margin-right: 1em;"&gt;++&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-58" style="margin-left: 0.3em; margin-right: 1em;"&gt;EAP-FAST&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-59" style="margin-left: 0.3em; margin-right: 1em;"&gt;Optional (PAC) password&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-60" style="margin-left: 0.3em; margin-right: 1em;"&gt;Password (PAC)&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-61" style="margin-left: 0.3em; margin-right: 1em;"&gt;No&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-62" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-63" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-64" style="margin-left: 0.3em; margin-right: 1em;"&gt;+++&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-65" style="margin-left: 0.3em; margin-right: 1em;"&gt;+++&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-66" style="margin-left: 0.3em; margin-right: 1em;"&gt;LEAP&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-67" style="margin-left: 0.3em; margin-right: 1em;"&gt;Password&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-68" style="margin-left: 0.3em; margin-right: 1em;"&gt;Password&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-69" style="margin-left: 0.3em; margin-right: 1em;"&gt;No&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-70" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-71" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-72" style="margin-left: 0.3em; margin-right: 1em;"&gt;+++&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-73" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-74" style="margin-left: 0.3em; margin-right: 1em;"&gt;MD5&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-75" style="margin-left: 0.3em; margin-right: 1em;"&gt;None&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-76" style="margin-left: 0.3em; margin-right: 1em;"&gt;None&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-77" style="margin-left: 0.3em; margin-right: 1em;"&gt;Yes&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-78" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;span class="unicode" style="font-family: 'Lucida Sans Unicode', Arial, Helvetica, sans-serif;"&gt;−&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-79" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;span class="unicode" style="font-family: 'Lucida Sans Unicode', Arial, Helvetica, sans-serif;"&gt;−&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-80" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="440-81" style="margin-left: 0.3em; margin-right: 1em;"&gt;+&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span class="beginpage" pagenum="171"&gt;&lt;a href="" id="441" name="441" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-171" name="IDX-171" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev3sec166" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-5" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="442" name="442" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec166" name="ch06lev3sec166" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;EAP-PEAP&lt;/h4&gt;&lt;div class="first-para" id="442-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;EAP-PEAP (Extensible Authentication Protocol-Protected Extensible Authentication Protocol) provides a method to transport secure authentication data, including legacy pass-word-based protocols. PEAP accomplishes this by tunneling user credentials over a TLS tunnel between PEAP clients and an authentication server. EAP-PEAP is the best combination of security and ease of deployment in Windows environments today. EAP-PEAP requires only a server certificate (which is simple enough to create for testing using the native MS Certification Authority) and client side username/password combinations. EAP-PEAP is natively supported on Windows XP and Windows 2000 SP4 and above client platforms and IAS (Internet Authentication server). PEAPvO/EAP-MSCHAPv2 is the same thing as EAP-PEAP.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev3sec167" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-6" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="443" name="443" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec167" name="ch06lev3sec167" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;EAP-TTLS&lt;/h4&gt;&lt;div class="first-para" id="443-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;EAP-TTLS (Extensible Authentication Protocol-Tunneled Transport Layer Security) is supported primarily by the Funk RADIUS people. EAP-TTLS, like PEAP, is also relatively easy to deploy (it requires only a server-side certificate) and quite secure since it tunnels user credentials inside of a TLS tunnel; however, this Funk Software invention has not been supported by Microsoft on clients or IAS server. Thus, EAP-TTLS requires the use of an additional software. TTLS and PEAP are similar in other ways, but there are differences: TTLS supports other EAP authentication methods and also supports inner authentication methods, PAP, CHAP, MS-CHAP, and MS-CHAPv2; whereas PEAP can tunnel only EAP-type protocols such as EAP-TLS, EAP-MS-CHAPv2, and EAP-SIM.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev3sec168" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-7" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="444" name="444" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec168" name="ch06lev3sec168" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;PEAPv1/EAP-GTC&lt;/h4&gt;&lt;div class="first-para" id="444-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;PEAPv1/EAP-GTC (Extensible Authentication Protocol-Generic Token Card) was defined in RFC2284 along with one-time passwords, and MD5 was one of the initial set of EAP Types used in Request/Response exchanges. Cisco supports this type of PEAP (v1 vs. v0) and Microsoft supports only PEAPv0.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev3sec169" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-8" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="445" name="445" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec169" name="ch06lev3sec169" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;EAP-FAST&lt;/h4&gt;&lt;div class="first-para" id="445-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;EAP-FAST (Extensible Authentication Protocol-Flexible Authentication via Secure Tunneling) was developed by Cisco. EAP-FAST authenticates both the client and the authentication server using a preshared secret known as the Protected Access Credential (PAC). EAP-FAST is a certificate-free replacement for LEAP EAP-FAST is easy to implement in Windows/Cisco mixed environments, but this method is vulnerable to MITM (man in the middle) attacks in which an attacker can acquire the MS-CHAPv2 hash of the user’s passwords, which can then be subjected to off-line dictionary attacks.&lt;span class="beginpage" pagenum="172"&gt;&lt;a href="" id="446" name="446" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-172" name="IDX-172" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev3sec170" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-9" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="447" name="447" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec170" name="ch06lev3sec170" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;LEAP&lt;/h4&gt;&lt;div class="first-para" id="447-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;LEAP (Lightweight Extensible Authentication Protocol) is an EAP authentication type used primarily in Cisco Aironet WLANs. LEAP supports strong mutual authentication, based upon a modified MS-CHAPv2 challenge/response, between the client and a RADIUS server using a logon password as the shared secret. It provides dynamic per-user, per-session WEP encryption keys. LEAP has been superseded by EAP-FAST due to the public availability of LEAP hash cracking tools such as ASLEAP. There is some disagreement regarding the value of complex password enforcement when using LEAP. When in doubt, use the longest, most complicated passwords that your userbase will agree to.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev3sec171" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-10" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="448" name="448" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec171" name="ch06lev3sec171" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;EAP-MD-5&lt;/h4&gt;&lt;div class="first-para" id="448-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;EAP-MD-5 (Extensible Authentication Protocol-Message Digest) is an EAP authentication type that provides base-level EAP support. EAP-MD5-Tunneled is an EAP protocol designed for use as an inner authentication protocol within a tunneling protocol such as EAP- TTLS or EAP-PEAP. This has additional security features, but has not been widely deployed.&lt;/div&gt;&lt;div class="example" id="ch06list06" style="margin-top: 1em;"&gt;&lt;span class="example-title" id="448-2" style="color: maroon; font-weight: bold; margin-top: 0.3em;"&gt;Notes from the Underground—RainbowCrack&lt;/span&gt;&lt;a href="" id="449" name="449" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06list06" name="ch06list06" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;div class="formalbody" id="ch06list06" style="margin-left: 0px;"&gt;&lt;hr class="blueline" style="color: #010100; margin-bottom: 0px; margin-top: 0px;" /&gt;&lt;div class="first-para" id="449-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Passwords are the most common form of computer authentication today. Password encryption is done using a one-way hashing algorithm such as MD5 or SHA-1. A one-way hash function, also known as a message digest, is a mathematical function that takes a variable-length input string and converts it into a f ixed-length binary sequence that is computationally difficult to invert—that is, generate the original string from the hash. Conventional password crackers grab a word or string of wordlike tokens and run it though the hash algorithm. It then compares its generated hash with the target password hash. If they match, then the password has been discovered. The computationally expensive part of this process is the hash generation preceding the hash comparison, not the actual comparison process itself.&lt;/div&gt;&lt;div class="last-para" id="449-2" style="margin-top: 0.9em;"&gt;RainbowCrack is a general-purpose implementation of Philippe Oechslin’s faster time-memory trade-off technique. In short, the RainbowCrack tool is an extremely fast and effective hash cracker The simple but brilliant idea of time-memory trade-off is to do all the hash generation computation in advance and store the result in chains of files called “rainbow tables.” It does take a long time to precompute the tables (it takes 2–3 days to generate the rainbow tables necessary to crack a lowercase-letters-only Windows (LM hash) password that’s between 1 and 7 characters in length), but after this one-time computation is finished, a time-memory trade off crarker can crack passwords hundreds or thousands of times faster than a brute force cracker.&lt;/div&gt;&lt;hr class="blueline" style="color: #010100; margin-bottom: 0px; margin-top: 0px;" /&gt;&lt;div class="blankspace"&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="beginpage" pagenum="173"&gt;&lt;a href="" id="450" name="450" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-173" name="IDX-173" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev3sec172"&gt;&lt;h4 class="sect4-title" id="annotationlabel-11" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="451" name="451" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec172" name="ch06lev3sec172" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Inner Authentication Types&lt;/h4&gt;&lt;div class="first-para" id="451-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;A number of inner authentication methods exist. The most commonly used is MS-CHAP-V2 because it is relatively secure and it is supported natively on all recent Microsoft clients. Additionally, PAP, CHAP, MD5, GTC, and other inner authentication methods exist but are not nearly as commonly used. Interestingly, even EAP itself can be tunneled within EAP.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-7413119580798317612?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/7413119580798317612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=7413119580798317612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/7413119580798317612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/7413119580798317612'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2012/01/eap-authentication-types.html' title='EAP Authentication Types'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-YjOWGmkEsPM/TwW_6VRcO6I/AAAAAAAAEQw/XcJCVPYJCsU/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-2945702320242884149</id><published>2012-01-08T09:09:00.000-08:00</published><updated>2012-01-08T09:09:00.151-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Authentication'/><category scheme='http://www.blogger.com/atom/ns#' term='802.1x'/><category scheme='http://www.blogger.com/atom/ns#' term='EAP'/><title type='text'>802.1x/EAP Authentication</title><content type='html'>&lt;br /&gt;&lt;h3 class="sect3-title" id="422-24" style="background-color: white; color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em; text-align: left;"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="first-para" id="423-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;Now we’ll define the terms associated with 802.1x/EAP authentication.&lt;/div&gt;&lt;div class="section" id="ch06lev3sec161" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="424" name="424" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec161" name="ch06lev3sec161" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Supplicant (Peer)&lt;/h4&gt;&lt;div class="first-para" id="424-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;This is the other end of the point-to-point link; the end that is being authenticated by the authenticator. Generally this term refers to the client in an EAP exchange.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev3sec162" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-2" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="425" name="425" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec162" name="ch06lev3sec162" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Authenticator&lt;/h4&gt;&lt;div class="first-para" id="425-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Authenticator is a wireless access point (AP) or switch (NAS—Network Access Server). The authenticator maintains the network (WLAN or LAN) in closed state to all unauthenticated traffic. It does not do authentication directly, but instead tunnels the extensible authentication protocol (EAP) to an authentication server.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch06lev3sec163" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h4 class="sect4-title" id="annotationlabel-3" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="426" name="426" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06lev3sec163" name="ch06lev3sec163" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Authentication Server&lt;/h4&gt;&lt;div class="first-para" id="426-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;The authentication server performs the actual client authentication and instructs the authenticator to allow or reject the supplicants traffic. The authentication server is typically a RADIUS server.&lt;span class="beginpage" pagenum="165"&gt;&lt;a href="" id="427" name="427" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-165" name="IDX-165" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="427-1" style="margin-top: 0.9em;"&gt;Figure 1&amp;nbsp;illustrates the basic message flow in an 802.1x/EAP authentication scenario. This is an example of the most common 802.1x/EAP model —a Full/Pass-Through state machine, which allows an NAS (network access server) or edge device to pass EAP Response messages to an Authentication Server where the authentication method resides. The NAS does not have to understand the request type and must be able to simply act as a passthrough agent for a back-end server. The NAS need look only for the success/failure code from the Authentication Server to terminate the authentication phase.&lt;/div&gt;&lt;div class="para" id="427-1" style="margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-FO3OGDOHCtM/TwW_UDip2tI/AAAAAAAAEQY/lB3-rsqqFhM/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-FO3OGDOHCtM/TwW_UDip2tI/AAAAAAAAEQY/lB3-rsqqFhM/s320/a.jpg" width="313" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch06fig03" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="428" name="428" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06fig03" name="ch06fig03" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="428-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;Generic EAP Authentication&lt;/span&gt;&lt;/div&gt;&lt;div class="sidebar" id="sidebar.D7691A8A-ADB9-41D1-876E-132E69F8C0ED" style="margin-bottom: 1em; margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="429" name="429" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="sidebar.D7691A8A-ADB9-41D1-876E-132E69F8C0ED" name="sidebar.D7691A8A-ADB9-41D1-876E-132E69F8C0ED" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;hr class="blueline" style="color: #010100; margin-bottom: 0px; margin-top: 0px;" /&gt;&lt;span class="sidebar-title" style="color: maroon; font-weight: bold; margin-bottom: 0.4em; text-align: center;"&gt;&lt;b&gt;&lt;center&gt;Tools &amp;amp; Traps—AAA, RADIUS, and DIAMETER&lt;/center&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="first-para" id="429-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;RADIUS (Remote Authentication Dial In User Service) is an AAA (authentication, authorizaticm, and accounting) protocol for applications such as network access or IP mobility, AAA is a term for a framework that allows methods to intelligently control access to computer resources, enforce policies, audit usage, and provide information necessary to bill for services. Because AAA services often are used to authenticate remote system administrators, availability is critical, and should always be provided by at least a pair of physically separated, dedicated AAA servers that serve as master and backup.&lt;/div&gt;&lt;div class="last-para" id="429-2" style="margin-top: 0.9em;"&gt;DIAMETER is a new extended AAA protocol that is designed to replace RADIUS, DIAMETER {a play on words, since diameter is twice the radius of a circle) is designed to enhance RADIUS functions and to fix several security problems (such as unencrypted CHAP response) that have plagued RADIUS in recent years.&lt;/div&gt;&lt;hr class="blueline" style="color: #010100; margin-bottom: 0px; margin-top: 0px;" /&gt;&lt;/div&gt;&lt;div class="blankspace"&gt;&lt;span class="beginpage" pagenum="166"&gt;&lt;a href="" id="430" name="430" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-166" name="IDX-166" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="para" id="430-1" style="margin-top: 0.9em;"&gt;In step 1, the supplicant (a workstation, wireless access point, IP phone, etc.) sends one or more requests to the NAS petitioning for access to the network. The NAS (step 2) passes the EAP message to the Authentication Server, which is almost always a RADIUS server. In step 3, the Authentication Server requests the credentials of the supplicant and specifies the type of credentials required to confirm the supplicant’s identity. (Note here that the arrows between the RADIUS server and the client indicate logical, not physical, connectivity. All traffic between the two passes through the NAS.) The Authentication Server makes its decision to grant or deny access based upon Native RADIUS credentials. In step 4, the supplicant sends its credentials to the RADIUS server. Upon validating the supplicant’s credentials, the Authentication Server transmits a success/failure message to the NAS (step 5). In step 6, if access is granted, the NAS opens the port to all traffic (as opposed to just EAPOL traffic) and data exchange between the authenticated LAN device and the LAN is allowed. If access is granted, then (step 7) the supplicant is able to access network resources.&lt;/div&gt;&lt;div class="para" id="430-2" style="margin-top: 0.9em;"&gt;You will notice that after access is approved, the supplicant has unrestricted access to network resources. Only the device identity has been authenticated. No authorization has been performed, nor has the user of the device been authenticated.&lt;/div&gt;&lt;div class="para" id="430-3" style="margin-top: 0.9em;"&gt;Figure 2&amp;nbsp;illustrates a more typical generic 802.1x transaction. The first several steps in this scenario are similar to the scenario we just described. In step 1, the supplicant (a workstation, wireless access point, IP phone, etc) sends one or more requests to the NAS petitioning for access to the network. The NAS (Step 2) passes the EAP message to the Authentication Server, which is almost always a RADIUS server. In step 3, The Authentication Server requests the credentials of the supplicant and specifies the type of credentials required to confirm the supplicant’s identity. (Note here that the arrows between the RADIUS server and the client indicate logical, not physical, connectivity. All traffic between the two passes through the NAS.)&lt;/div&gt;&lt;div class="para" id="430-3" style="margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-aZuWZtEn9Is/TwW_cy6jWzI/AAAAAAAAEQk/6lSvfoFoJGo/s1600/b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="311" src="http://2.bp.blogspot.com/-aZuWZtEn9Is/TwW_cy6jWzI/AAAAAAAAEQk/6lSvfoFoJGo/s320/b.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch06fig04" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="431" name="431" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06fig04" name="ch06fig04" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="431-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 2:&amp;nbsp;&lt;/span&gt;EAP Authentication with Authorization&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="431-2" style="margin-top: 0.9em;"&gt;In step 5 the Authentication Server (RADIUS) forwards the access request to the AD server. The AD server responds with a success or failure message, and if successful, also forwards the client’s AD domain credentials in step 6. Upon validating the supplicant’s credentials, the Authentication Server transmits a success/failure message to the NAS (step 7). In step 8, if access is granted, the NAS opens the port to all traffic. If access is granted, then (step 9) the supplicant is able to access authorized network resources.&lt;span class="beginpage" pagenum="167"&gt;&lt;a href="" id="432" name="432" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-167" name="IDX-167" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="last-para" id="432-1" style="margin-top: 0.9em;"&gt;In this scenario, administrators can limit user access to specific VLANs, and via Windows permissions, to most network resources. The specifics of authentication and authorization depend upon the type of EAP policy chosen.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-2945702320242884149?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/2945702320242884149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=2945702320242884149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/2945702320242884149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/2945702320242884149'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2012/01/8021xeap-authentication.html' title='802.1x/EAP Authentication'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-FO3OGDOHCtM/TwW_UDip2tI/AAAAAAAAEQY/lB3-rsqqFhM/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-4888804962914182548</id><published>2012-01-04T07:17:00.000-08:00</published><updated>2012-01-05T07:17:38.968-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='802.1x'/><category scheme='http://www.blogger.com/atom/ns#' term='802.11i'/><category scheme='http://www.blogger.com/atom/ns#' term='WPA2'/><title type='text'>802.1x and 802.11i (WPA2)</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;span class="beginpage" pagenum="163" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small; text-align: left;"&gt;&lt;a href="" id="419" name="419" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-163" name="IDX-163" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small; text-align: left;"&gt;&lt;/span&gt;&lt;div class="para" id="419-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;The 802.1x protocol defines port-based, network access control that is used to provide authenticated network access (see&amp;nbsp;Figure 1). Although this standard is designed for wired Ethernet networks, it has been adapted for use on 802.11 WLANs. It is simply a standard for passing EAP over a wired or wireless LAN.&lt;/div&gt;&lt;div class="para" id="419-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-NKxXv0dQl1c/TwW-44mutkI/AAAAAAAAEQM/QONv-rr8SxM/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="274" src="http://1.bp.blogspot.com/-NKxXv0dQl1c/TwW-44mutkI/AAAAAAAAEQM/QONv-rr8SxM/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch06fig02" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;a href="" id="420" name="420" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06fig02" name="ch06fig02" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="420-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;EAPOL&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="420-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;802.1x restricts unauthorized clients from connecting to a LAN. The client must first authenticate with an Authentication server, typically a RADIUS server, before the switch port is made available and the network can be accessed. EAP (Extensible Authentication Protocol) is a general authentication protocol that provides a framework for multiple authentication methods, including traditional passwords, token cards, Kerberos, Digital Certificates, and public-key authentication.&lt;/div&gt;&lt;div class="para" id="420-3" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;WEP (Wireless Equivalent Privacy) has famously been shown to be insecure (Anton Rager’s wepcrack was the first publicly available tool for this—&lt;a class="url" href="http://wepcrack.source-forge.net/" style="color: maroon; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;http://wepcrack.source-forge.net/&lt;/a&gt;); however WEP protection of wireless connections is still better than no encryption at all. The Wi-Fi Alliance (a consortium of major vendors—&lt;a class="url" href="http://wi-fi.org/" style="color: maroon; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;http://wi-fi.org/&lt;/a&gt;) is responsible for drafting both the WPA (Wi-Fi Protected Access) and WPA2 standards. The Wi-Fi alliance also formed a VoWLAN (Voice over Wireless LAN) working group tasked with developing WMM (Wi-Fi Multimedia) QoS standards for VoIP and other multimedia over wireless networks.&lt;/div&gt;&lt;div class="para" id="420-4" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;WPA implements a subset of IEEE802.11i, and differs from WEP mainly in that it utilizes TKIP (Temporal Key Integrity protocol) and the EAP framework for authentication. 802.11i is a draft IEEE standard for 802.11 wireless network security. 802.11i, also known as&amp;nbsp;&lt;span class="beginpage" pagenum="164"&gt;&lt;a href="" id="421" name="421" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-164" name="IDX-164" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;WPA2, uses 802.1x as the authentication mechanism and the Advanced Encryption Standard (AES) block cipher for encryption. WEP and WPA use the RC4 stream cipher.&amp;nbsp;Table 1&amp;nbsp;shows some of the key features of these three security standards.&lt;/div&gt;&lt;a href="" id="422" name="422" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; outline-color: initial; outline-style: none; outline-width: initial; text-align: left; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06table02" name="ch06table02" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; outline-color: initial; outline-style: none; outline-width: initial; text-align: left; text-decoration: none;"&gt;&lt;/a&gt;&lt;span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small; text-align: left;"&gt;&lt;/span&gt;&lt;table border="1" class="table" id="ch06table02" linktabletoexcel="yes" style="background-color: white; color: black; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; margin-bottom: 1em; margin-top: 1em; text-align: left;"&gt;&lt;caption class="table-title" id="422-1" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold; margin-top: 0.3em; text-align: left;"&gt;&lt;span class="table-title" style="margin-top: 0.3em;"&gt;&lt;span class="table-titlelabel"&gt;Table 1:&amp;nbsp;&lt;/span&gt;Security Standard Features&lt;/span&gt;&amp;nbsp;&lt;/caption&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="422-2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Protocol&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="422-3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Authentication&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="422-4" style="margin-left: 0.3em; margin-right: 1em;"&gt;Cipher&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="422-5" style="margin-left: 0.3em; margin-right: 1em;"&gt;Key Length&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="422-6" style="margin-left: 0.3em; margin-right: 1em;"&gt;Key Management&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-7" style="margin-left: 0.3em; margin-right: 1em;"&gt;WEP&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-8" style="margin-left: 0.3em; margin-right: 1em;"&gt;None&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-9" style="margin-left: 0.3em; margin-right: 1em;"&gt;RC-4&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-10" style="margin-left: 0.3em; margin-right: 1em;"&gt;40/104&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-11" style="margin-left: 0.3em; margin-right: 1em;"&gt;None&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-12" style="margin-left: 0.3em; margin-right: 1em;"&gt;WPA&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-13" style="margin-left: 0.3em; margin-right: 1em;"&gt;802.1x/EAP&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-14" style="margin-left: 0.3em; margin-right: 1em;"&gt;RC-4&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-15" style="margin-left: 0.3em; margin-right: 1em;"&gt;128&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-16" style="margin-left: 0.3em; margin-right: 1em;"&gt;802.1x/EAP&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-17" style="margin-left: 0.3em; margin-right: 1em;"&gt;WPA2&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-18" style="margin-left: 0.3em; margin-right: 1em;"&gt;802.1x/EAP&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-19" style="margin-left: 0.3em; margin-right: 1em;"&gt;AES&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-20" style="margin-left: 0.3em; margin-right: 1em;"&gt;128&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="422-21" style="margin-left: 0.3em; margin-right: 1em;"&gt;802.1x/EAP&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="para" id="422-22" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;It is helpful to think of 802.1x not as a single protocol but rather as a security frame-work using existing, and proven security standards that serves two critical security func-tions—authentication (PSK or PKI, for example) and encryption (TLS or AES, for example). Note that 802.1x does not define either authentication or encryption methods (in fact 802.1x can be used without encryption); rather these are defined largely through this choice of an EAP type.&lt;/div&gt;&lt;div class="para" id="422-23" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Until the client is authenticated via 802.1x/EAP access control, the only protocol allowed through the port to which the client is connected is Extensible Authentication Protocol traffic. After authentication is successful, traffic can pass through the port.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-4888804962914182548?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/4888804962914182548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=4888804962914182548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4888804962914182548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4888804962914182548'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2012/01/8021x-and-80211i-wpa2.html' title='802.1x and 802.11i (WPA2)'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-NKxXv0dQl1c/TwW-44mutkI/AAAAAAAAEQM/QONv-rr8SxM/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-5488722318176801884</id><published>2011-12-27T06:30:00.000-08:00</published><updated>2011-12-27T06:30:00.174-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Authentication'/><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><title type='text'>Confirm User Identity | Authentication</title><content type='html'>&lt;br /&gt;&lt;h1 class="chapter-title" id="annotationlabel-first" style="background-color: white; color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: large; margin-bottom: 0.5em; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;&lt;/h1&gt;&lt;div class="section" id="ch06lev1sec158" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;div class="first-para" id="413-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Authentication is a measure of trust. The point of this chapter is to illustrate trust complexities and to cover authentication of both user identity and device identity. These two identities are not equal. Authentication in the networking world, in general, is based either on using a shared secret (you are authenticated if you know the secret) or on public key-based methods with certificates (you prove your identity by possessing the correct private key). Authentication establishes the identities of devices and users to a degree that is in accord with your security policies. Authorization, on the other hand, establishes the amount and type of network and application resources authorized individuals and devices are able to access.&lt;/div&gt;&lt;div class="para" id="413-2" style="margin-top: 0.9em;"&gt;Device authentication can be automated and made transparent to the user based upon assigning and verifying a unique profile for the device. This profile may include attributes such as model, serial number, MAC address, IP address, physical location, time-of-day, and so on, and may include a shared secret or a certificate. Device authentication literally blocks rogue endpoints from accessing any network resources, In a VoIP environment, this prevents malicious endpoints from placing unauthorized calls or causing other mischief. Some of the 802.1x and 802.11i standards described later in this chapter can be used as part of an automated device authentication process.&lt;/div&gt;&lt;div class="para" id="413-3" style="margin-top: 0.9em;"&gt;Everyone who has logged on to a computer is familiar with user authentication. Users identify themselves to an authenticator by presenting credentials. The most common of these is a username/password combination, although user authentication can also be accomplished using other means including biometric or token-based methods. Common network-based authentication methods include Windows domain authentication, NIS+, and Kerberos. Windows 2000 and later platforms offer two default authentication mechanisms: MS Kerberos and NTLM. Most users believe that logging on to an account in a Windows domain gives them access to the network. That is not true. When the Kerberos protocol (the default) is used for network authentication, the user’s first access is to the domain’s authentication service, which ultimately provides access to network resources.&lt;/div&gt;&lt;div class="para" id="413-4" style="margin-top: 0.9em;"&gt;In order to secure VoIP networks, the identity of both the user and the device must be verified. This can be accomplished in a number of ways. Network-based authentication methods such as those mentioned earlier in this chapter often are used, and in many environments, this user authentication is considered sufficient for virtually unrestricted access to network resources. However, network boundaries are disappearing, network users are increasingly mobile, more types and quantities of devices are registering with the network, and devices no longer even require a physical link to access network resources. The addition of VoIP resources to the existing infrastructure only adds to this complexity. The aforementioned mechanisms are not sufficient to cope with these new sophisticated technologies.&lt;/div&gt;&lt;div class="para" id="413-5" style="margin-top: 0.9em;"&gt;Some simple fixes are available. User identity can be confirmed using a method as simple as HTTP Digest authentication, and devices can simply be filtered by MAC address lists.&amp;nbsp;&lt;span class="beginpage" pagenum="161"&gt;&lt;a href="" id="414" name="414" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-161" name="IDX-161" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;These point solutions have their drawbacks. Both can be circumvented by attackers with minimal skills, and neither scale well. In order to confirm user and device identity on enterprise VoIP networks, system administrators will ultimately turn to 802.1x/EAP, a certificate infrastructure, or a combination of these. The remainder of this chapter discusses these two technologies.&lt;/div&gt;&lt;div class="para" id="414-1" style="margin-top: 0.9em;"&gt;Figure 1&amp;nbsp;shows the generic components involved in a model authentication scheme. The static beginning and end states are the device and user identities, and internal network access, respectively. The processes are access control and authorization.Exploring these mechanisms.&lt;/div&gt;&lt;div class="para" id="414-1" style="margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-UYPbZ3YXOE0/Tt13fIQRZ7I/AAAAAAAAEHA/7Mk3G0gicyc/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="279" src="http://2.bp.blogspot.com/-UYPbZ3YXOE0/Tt13fIQRZ7I/AAAAAAAAEHA/7Mk3G0gicyc/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch06fig01" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="415" name="415" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06fig01" name="ch06fig01" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="415-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;General Authentication—Authorization Framework&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="415-2" style="margin-top: 0.9em;"&gt;In H.323 environments the basis for authentication (trust) is defined by the endpoints of the communications channel. For a connection establishment channel, this may be between the caller (such as a gateway or IP telephone endpoint) and a hosting network component (a gateway or gatekeeper). For example, a telephone “trusts” that the gatekeeper will connect it with the telephone whose number has been dialed. The result of trusting an element is the confidence to reveal the privacy mechanism (algorithm and key) to that element. Given the aforementioned information, all participants in the communications path should authenticate any and all trusted elements.&amp;nbsp;&lt;/div&gt;&lt;div class="para" id="415-3" style="margin-top: 0.9em;"&gt;The SIP draft does not explicitly define authentication mechanisms. In contrast, SIP developers chose a modular approach—reusing the same headers, error codes, and encoding rules as HTTP. From RFC 3261:&lt;span class="beginpage" pagenum="162"&gt;&lt;a href="" id="416" name="416" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-162" name="IDX-162" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote class="blockquote"&gt;&lt;div class="first-para" id="416-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;The fundamental security services required for the SIP protocol are: preserving the confidentiality and integrity of messaging, preventing replay attacks or message spoofing, providing for the authentication and privacy of the participants in a session, and preventing denial-of-service attacks. Bodies within SIP messages separately require the security services of confidentiality, integrity, and authentication. Rather than defining new security mechanisms specific to SIP, SIP reuses wherever possible existing security models derived from the HTTP and SMTP space.&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="para" id="416-2" style="margin-top: 0.9em;"&gt;SIP defines a set of security mechanisms that can be used by any SIP client or server to share authentication data (see&amp;nbsp;Table 1).&lt;/div&gt;&lt;div class="blankspace"&gt;&lt;hr class="blueline" style="color: #010100; margin-bottom: 0px; margin-top: 0px;" /&gt;&lt;a href="" id="417" name="417" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch06table01" name="ch06table01" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;table border="0" class="table" id="ch06table01" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; margin-bottom: 1em; margin-top: 0px;"&gt;&lt;caption class="table-title" id="417-1" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold; margin-top: 0.3em; text-align: left;"&gt;&lt;span class="table-title" style="margin-top: 0.3em;"&gt;&lt;span class="table-titlelabel"&gt;Table 1:&amp;nbsp;&lt;/span&gt;SIP Security Mechanisms&lt;/span&gt;&lt;/caption&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-MIeFSxoPOuE/Tt13rjAr12I/AAAAAAAAEHI/ZueyMfCr7-8/s1600/b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="228" src="http://1.bp.blogspot.com/-MIeFSxoPOuE/Tt13rjAr12I/AAAAAAAAEHI/ZueyMfCr7-8/s320/b.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="table-para" id="417-2" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;span class="inlinemediaobject"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;hr class="blueline" style="color: #010100; margin-bottom: 0px; margin-top: 0px;" /&gt;&lt;div class="para" id="417-3" style="margin-top: 0.9em;"&gt;Since SIP’s syntax is based on HTTP, it reuses HTTP Digest Authentication to authenticate endpoints. S/MIME, TLS, and IPSec can also be used to protect components of the SIP infrastructure. SIP can use TLS for signaling security between routing elements (hop by hop), as well as S/MIME for security of signaling end to end. TLS security is visible to users and other elements by using the “sips:” URI scheme, similar to “https:”.&lt;/div&gt;&lt;div class="last-para" id="417-4" style="margin-top: 0.9em;"&gt;The threats in this category rely on the absence of cryptographic assurance of a request’s originator. Attacks in this category seek to compromise the message integrity of a conversation and interfere with nonrepudiation. Oftentimes the goal of these attacks is economic or data theft. These threats demonstrate the need for security services that enable entities to authenticate the originators of requests and to verify that the contents of the message and control streams have not been altered in transit.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-5488722318176801884?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/5488722318176801884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=5488722318176801884' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/5488722318176801884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/5488722318176801884'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/12/confirm-user-identity-authentication.html' title='Confirm User Identity | Authentication'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-UYPbZ3YXOE0/Tt13fIQRZ7I/AAAAAAAAEHA/7Mk3G0gicyc/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-2267793616839361348</id><published>2011-12-23T05:58:00.000-08:00</published><updated>2011-12-23T05:58:00.090-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Communications Systems'/><category scheme='http://www.blogger.com/atom/ns#' term='VoIP Telephony'/><title type='text'>VoIP Communications Systems Security</title><content type='html'>&lt;br /&gt;&lt;div class="para" id="408-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;DoS attacks, whether they are intentional or unintended, are the most difficult VoIP-related threat to defend against. The packet switching nature of data networks allows multiple connections to share the same transport medium. Therefore, unlike telephones in circuitswitched networks, an IP terminal endpoint can receive and potentially participate in multiple calls at once. Thus, an endpoint can be used to amplify attacks. On VoIP networks, resources such as bandwidth must be allocated efficiently and fairly to accommodate the maximum number of callers. This property can be violated by attackers who aggressively and abusively obtain an unnecessarily large amount of resources. Alternatively, the attacker simply can flood the network with large number of packets so that resources are unavailable to all other callers.&lt;/div&gt;&lt;div class="para" id="408-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;In addition, viruses and worms create DoS conditions due to the network traffic generated by these agents as they replicate and seek out other hosts to infect. These agents are proven to wreak havoc with even relatively well-secured data networks. VoIP networks, by their nature, are exquisitely sensitive to these types of attacks. Remedies for DoS include logical network partitioning at layers 2 and 3, stateful firewalls with application inspection capabilities, policy enforcement to limit flooded packets, and out-of-band management. Out-of-band management is required so that in the event of a DoS event, system administrators are still able to monitor the network and respond to additional events.&lt;/div&gt;&lt;div class="para" id="408-3" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Theft of services and information is also problematic on VoIP networks. These threats are almost always due to active attack. Many of these attacks can be thwarted by implementing additional security controls at layer 2. This includes layer 2 security features such as DHCP Snooping, Dynamic ARP Inspection, IP Source Guard, Port Security, and VLAN ACLs. The fundamental basis for this class of attacks is that the identity of one or more of the devices that participate is not legitimate.&lt;/div&gt;&lt;div class="para" id="408-4" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Endpoints must be authenticated, and end users must be validated in order to ensure legitimacy Hijacking and call interception revolves around the concept of fooling and manipulating weak or nonexistent authentication measures. We are all familiar with different forms of authentication, from the password used to login to your computer to the key that unlocks the front door. The conceptual framework for authentication is made up of three factors: “something you have” (a key or token), “something you know” (a password or secret handshake), or “something you are” (fingerprint or iris pattern). Authentication mechanisms validate users by one or a combination of these. Any type of unauthenticated access, particularly to key infrastructure components such as the IP PBX or DNS server, for example, can result in disagreeable consequences for both users and administrators.&lt;/div&gt;&lt;div class="para" id="408-5" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;VoIP relies upon a number of ancillary services as part of the configuration process, as a means to locate users, manage servers and phones, and to ensure favorable transport, among others. DNS, DHCP, HTTP, HTTPS, SNMP, SSH, RSVP, and TFTP services all have been the subject of successful exploitation by attackers. Potential VoIP users may defer transi&lt;span class="beginpage" pagenum="158"&gt;&lt;a href="" id="409" name="409" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-158" name="IDX-158" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;tioning to IP Telephony if they believe it will reduce overall network security by creating new vulnerabilities that could be used to compromise non-VoIP systems and services within the same network. Effective mitigation of these threats to common data networks and services could be considered a security baseline upon which a successful VoIP deployment depends. Firewalls, network and system intrusion detection, authentication systems, anti-virus scanners, and other security controls, which should already be in place, are required to counter attacks that might debilitate any or all IP-based services (including VoIP services).&lt;/div&gt;&lt;div class="last-para" id="409-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;H.323 and SIP suffer security vulnerabilities based simply upon their encoding schemes, albeit for different reasons. Because SIP is an unstructured text-based protocol, it is impossibly to test all permutations of SIP messages during development for security vulnerabilities. Its fairly straightforward to construct a malformed SIP message or message sequence that results in a DoS for a particular SIP device. This may not be significant for a single UA endpoint, but if this “packet of death” can render all the carrier-class media gateway controllers in a network useless, then this becomes a significant problem. H.323 on the other hand is encoded according to ASN.1 PER encoding rules. The implementation of H.323 message parsers, rather than the encoding rules themselves, results in security vulnerabilities in the H.323 suite.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-2267793616839361348?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/2267793616839361348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=2267793616839361348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/2267793616839361348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/2267793616839361348'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/12/voip-communications-systems-security.html' title='VoIP Communications Systems Security'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-4968397235604492930</id><published>2011-12-20T13:58:00.000-08:00</published><updated>2011-12-20T13:58:00.065-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIP'/><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><title type='text'>SIP-Specific Attacks</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="first-para" id="406-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;Multiple vendors have confirmed vulnerabilities in their respective SIP (Session Initiation Protocol) implementations. The vulnerabilities have been identified in the INVITE message used by two SIP endpoints during the initial call setup. The impact of successful exploitation of the vulnerabilities has not been disclosed but potentially could result in a compromise of a vulnerable device. (CERT: CA-2003–06.) In addition, many recent examples of SIP Denial of Service attacks have been reported.&lt;/div&gt;&lt;div class="last-para" id="406-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Recent issues that affect Cisco SIP Proxy Server (SPS) [Bug ID CSCec31901] demonstrate the problems SIP implementers may experience due to the highly modular architecture or this protocol. The SSL implementation in SPS (used to secure SIP sessions) is vulnerable to an ASN.1 BER decoding error similar to the one described for H.323 and other protocols. This example illustrates a general concern with SIP: As the SIP protocol links existing protocols and services together, all the classic vulnerabilities in services such as SSL, HTTP, and SMTP may resurface in the VoIP environment.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-4968397235604492930?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/4968397235604492930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=4968397235604492930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4968397235604492930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4968397235604492930'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/12/sip-specific-attacks.html' title='SIP-Specific Attacks'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-94085357225785301</id><published>2011-12-17T17:57:00.000-08:00</published><updated>2011-12-17T17:57:00.078-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='H.323'/><title type='text'>H.323-Specific Attacks</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="first-para" id="404-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;The only existing vulnerabilities that we are aware of at this time take advantage of ASN.1 parsing defects in the first phase of H.225 data exchange. More vulnerabilities can be expected for several reasons: the large number of differing vendor implementations, the complex nature of this collection of protocols, problems with the various implementations of ASN.1/PER encoding/decoding, and the fact that these protocols—alone and in concert—have not endured the same level of scrutiny that other more common protocols have been subjected to. For example, we have unpublished data that shows that flooding a&amp;nbsp;&lt;span class="beginpage" pagenum="156"&gt;&lt;a href="" id="405" name="405" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-156" name="IDX-156" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;gateway or media server with GRQ request packets (RAS registration request packets) results in a DoS against certain vendor gateway implementations—basically the phones deregister.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-94085357225785301?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/94085357225785301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=94085357225785301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/94085357225785301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/94085357225785301'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/12/h323-specific-attacks.html' title='H.323-Specific Attacks'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-4273697994950775613</id><published>2011-12-14T07:53:00.000-08:00</published><updated>2011-12-14T07:53:00.365-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Interception'/><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Call Hijacking'/><title type='text'>Call Hijacking and Interception</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="first-para" id="390-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;Call interception and eavesdropping are other major concerns on VoIP networks. The VOIPSA threat taxonomy (&lt;a class="url" href="http://www.voipsa.org/Activities/taxonomy-wiki.php" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;www.voipsa.org/Activities/taxonomy-wiki.php&lt;/a&gt;) defines eavesdropping as “a method by which an attacker is able to monitor the entire signaling and/or data stream between two or more VoIP endpoints, but cannot or does not alter the data itself.” Successful call interception is akin to wiretapping in that conversations of others can be stolen, recorded, and replayed without their knowledge. Obviously, an attacker who can intercept and store these data can make use of the data in other ways as well.&lt;/div&gt;&lt;div class="sidebar" id="sidebar.3F347EAC-5A10-4CDA-B5CC-458F9247CEFD" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 1em; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;a href="" id="391" name="391" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="sidebar.3F347EAC-5A10-4CDA-B5CC-458F9247CEFD" name="sidebar.3F347EAC-5A10-4CDA-B5CC-458F9247CEFD" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="sidebar-title" style="color: maroon; font-weight: bold; margin-bottom: 0.4em; text-align: center;"&gt;&lt;b&gt;&lt;center&gt;Tools &amp;amp; Traps—DNS Poisoning&lt;/center&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="first-para" id="391-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;A DNS A (or address) record is used for storing a domain or hostname mapping to an IP address. SIP makes extensive use of SRV records to locate SIP services such as SIP proxies and registrars. SRV (service) records normally begin with an underscore (&lt;a class="url" href="http://www._sip.tcpserver.udp.domain.com/" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;_sip.tcpserver.udp.domain.com&lt;/a&gt;) and consist of information describing service, transport, host, and other information. SRV records allow administrators to use several servers for a single domain, to move services from host to host with little fuss, and to designate some hosts as primary servers for a service and others as backups.&lt;/div&gt;&lt;div class="para" id="391-2" style="margin-top: 0.9em;"&gt;An attacker’s goal, when attempting a DNS Poisoning or spoofing attack, is to replace valid cached DNS A, SRV, or NS records with records that point to the attacker’s server(s). This can be accomplished in a number of fairly trivial ways—the easiest being to initiate a zone transfer from the attacker’s DNS server to the victim’s misconfigured DNS server, by asking the victim’s DNS server to resolve a networked device within the attacker’s domain, The victim’s DNS server accepts not only the requested record from the attacker’s server, but it also accepts and caches any other records that the attacker’s server includes.&lt;/div&gt;&lt;div class="last-para" id="391-3" style="margin-top: 0.9em;"&gt;Thus, in addition to the A record for&amp;nbsp;&lt;a class="url" href="http://www.attacker.com/" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;www.attacker.com&lt;/a&gt;, the victim DNS server may receive a bogus record for&amp;nbsp;&lt;a class="url" href="http://www.yourbank.com/" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;www.yourbank.com&lt;/a&gt;. The innocent victim will then be redirected to the&amp;nbsp;&lt;a class="url" href="http://www.attacker.com/" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;attacker.com&lt;/a&gt;&amp;nbsp;Web site anytime be or she attempts to browse to the&amp;nbsp;&lt;a class="url" href="http://www.yourbank.com/" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;yourbank.com&lt;/a&gt;&amp;nbsp;Web site, as long as the bogus records are cached, Substitute a SIP URL for a Web site address, and the same scenario can be repeated in a VoIP environment.&lt;/div&gt;&lt;/div&gt;&lt;div class="blankspace" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;div class="para" id="392-1" style="margin-top: 0.9em;"&gt;This family of threats relies on the absence of cryptographic assurance of a request’s originator. Attacks in this category seek to compromise the message integrity of a conversation. This threat demonstrates the need for security services that enable entities to authenticate the originators of requests and to verify that the contents of the message and control streams have not been altered in transit.&lt;/div&gt;&lt;div class="para" id="392-2" style="margin-top: 0.9em;"&gt;In the past several years, as host PCs have improved their processing power and their ability to process networked information, network administrators have instituted a hierarchical access structure that consists of a single, dedicated switched link for each host PC to distribution or backbone devices. Each networked user benefits from a more reliable, secure connection with guaranteed bandwidth. The use of a switched infrastructure limits the effectiveness of packet capture tools or protocol analyzers as a means to collect VoIP traffic streams. Networks that are switched to the desktop allow normal users’ computers to monitor only broadcast and unicast traffic that is destined to their particular MAC address. A user’s NIC (network interface card) literally does not see unicast traffic destined for other computers on the network.&lt;/div&gt;&lt;div class="para" id="392-3" style="margin-top: 0.9em;"&gt;The address resolution protocol (ARP) is a method used on IPv4 Ethernet networks to map the IP address (layer 3) to the hardware or MAC (Media Access Control) layer 2 address. (Note that ARP has been replaced in IPv6 by Neighbor Discovery [ND] protocol. The ND protocol is a hybrid of ARP and ICMP) Two classes of hardware addresses exist: the broadcast address of all ones, and a unique 6 byte identifier that is burned into the PROM of every NIC (Network Interface Card).&lt;/div&gt;&lt;div class="para" id="392-4" style="margin-top: 0.9em;"&gt;Figure 1&amp;nbsp;illustrates a typical ARP address resolution scheme. A host PC (10.1.1.1) that wishes to contact another host (10.1.1.2) on the same subnet issues an ARP broadcast packet (ARPs for the host) containing its own hardware and IP addresses. NICs contain filters that allow them to drop all packets not destined for their unique hardware address or the broadcast address, so all NICs but the query target silently discard the ARP broadcast. The target NIC responds to the query request by unicasting its IP and hardware address, completing the physical to logical mapping, and allowing communications to proceed at layer 3.&lt;span class="beginpage" pagenum="150"&gt;&lt;a href="" id="393" name="393" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-150" name="IDX-150" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="392-4" style="margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-MQb8h81rd28/Tt11tG5DAkI/AAAAAAAAEGo/5SDZfdx_12k/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="314" src="http://2.bp.blogspot.com/-MQb8h81rd28/Tt11tG5DAkI/AAAAAAAAEGo/5SDZfdx_12k/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch05fig04" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="394" name="394" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch05fig04" name="ch05fig04" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="394-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;Typical ARP Request/Reply&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="394-2" style="margin-top: 0.9em;"&gt;To minimize broadcast traffic, many devices cache ARP addresses for a varying amount of tirne:The default ARP cache timeout for Linux is one minute; for Windows NT, two minutes, and for Cisco routers, four hours. This value can be trivially modified in most sys-tems. The ARP cache is a table structure that contains IP address, hardware address, and oftentimes, the name of the interface the MAC address is discovered on, the type of media, and the type of ARP response. Depending upon the operating system, the ARP cache may or may not contain an entry for its own addresses.&lt;/div&gt;&lt;div class="para" id="394-3" style="margin-top: 0.9em;"&gt;In&amp;nbsp;Figure 2, Sams ARP cache contains one entry prior to the ARP request/response:&lt;/div&gt;&lt;div class="informaltable" id="N99" style="margin-top: 0.9em; width: 995px;"&gt;&lt;table border="1" id="nr-N99" linktabletoexcel="yes" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="394-4" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Internet Address&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="394-5" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Physical Address&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&amp;nbsp;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="394-6" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;10.1.1.1&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="394-7" style="margin-left: 0.3em; margin-right: 1em;"&gt;AA:BB:CC:DD:EE:FF&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="394-8" style="margin-left: 0.3em; margin-right: 1em;"&gt;int0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="para" id="394-9" style="margin-top: 0.9em;"&gt;After the ARP request/response completes, Sam’s ARP cache now contains two entries:&lt;/div&gt;&lt;div class="informaltable" id="N161" style="margin-top: 0.9em; width: 995px;"&gt;&lt;table border="1" id="nr-N161" linktabletoexcel="yes" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="394-10" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Internet Address&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="394-11" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Physical Address&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&amp;nbsp;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="394-12" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;10.1.1.1&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="394-13" style="margin-left: 0.3em; margin-right: 1em;"&gt;AA:BB:CC:DD:EE:FF&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="394-14" style="margin-left: 0.3em; margin-right: 1em;"&gt;int0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="394-15" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;10.1.1.2&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="394-16" style="margin-left: 0.3em; margin-right: 1em;"&gt;AA:BB:CC:DD:EE:00&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="394-17" style="margin-left: 0.3em; margin-right: 1em;"&gt;int0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="para" id="394-18" style="margin-top: 0.9em;"&gt;Note that Sally’s ARP cache, as a result of the request/response communications, is updated with the hardware:IP mappings for both workstations as well.&lt;span class="beginpage" pagenum="151"&gt;&lt;a href="" id="395" name="395" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-151" name="IDX-151" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="394-18" style="margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="section" id="ch05lev2sec154"&gt;&lt;h3 class="sect3-title" id="395-1" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="396" name="396" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch05lev2sec154" name="ch05lev2sec154" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;ARP Spoofing&lt;/h3&gt;&lt;div class="first-para" id="396-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;ARP is a fundamental Ethernet protocol. Perhaps for this reason, manipulation of ARP packets is a potent and frequent attack mechanism on VoIP networks. Most network administrators assume that deploying a fully switched network to the desktop prevents the ability of network users to sniff network traffic and potentially capture sensitive information traversing the network. Unfortunately several techniques and tools exist that allow any user to sniff traffic on a switched network because ARP has no provision for authenticating queries or query replies. Additionally, because ARP is a stateless protocol, most operating systems (Solaris is an exception) update their cache when receiving ARP reply, regardless of whether they have sent out an actual request.&lt;/div&gt;&lt;div class="para" id="396-2" style="margin-top: 0.9em;"&gt;Among these techniques, ARP redirection, ARP spoofing, ARP hijacking, and ARP cache poisoning are related methods for disrupting the normal ARP process. These terms frequently are interchanged and confused. For the purpose of this section, we’ll refer to ARP cache poisoning and ARP spoofing as the same process. Using freely available tools such as ettercap, Cain, and dsniff, an evil IP device can spoof a normal IP device by sending unsolicited ARP replies to a target host. The bogus ARP reply contains the hardware address of the normal device and the IP address of the malicious device. This “poisons” the host’s ARP cache (see&amp;nbsp;Figure 2).&lt;/div&gt;&lt;div class="para" id="396-2" style="margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Lckd5ROqhXg/Tt114tEjt-I/AAAAAAAAEGw/JT5wul7yCVQ/s1600/b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="256" src="http://4.bp.blogspot.com/-Lckd5ROqhXg/Tt114tEjt-I/AAAAAAAAEGw/JT5wul7yCVQ/s320/b.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch05fig05" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="397" name="397" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch05fig05" name="ch05fig05" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="397-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 2:&amp;nbsp;&lt;/span&gt;ARP Spoofing (Cache Poisoning)&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="397-2" style="margin-top: 0.9em;"&gt;In&amp;nbsp;Figure 2, Ned is the attacking computer. When SAM broadcasts an ARP query for Sally’s IP address, Ned, the attacker, responds to the query stating that the IP address&lt;span class="beginpage" pagenum="152"&gt;&lt;a href="" id="398" name="398" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-152" name="IDX-152" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;(10.1.1.2) belongs to Ned’s MAC address, BA:DB:AD:BA:DB:AD. Packets sent from Sam supposedly to Sally will be sent to Ned instead. Sam will mistakenly assume that Ned’s MAC address corresponds to Sally’s IP address and will direct all traffic destined for that IP address to Ned’s MAC. In fact, Ned can poison Sam’s ARP cache without waiting for an ARP query since on Windows systems (9x/NT/2K), static ARP entries are overwritten whenever a query response is received regardless of whether or not a query was issued.&lt;/div&gt;&lt;div class="para" id="398-1" style="margin-top: 0.9em;"&gt;Sam’s ARP cache now looks like this:&lt;/div&gt;&lt;div class="informaltable" id="N296" style="margin-top: 0.9em; width: 995px;"&gt;&lt;table border="1" id="nr-N296" linktabletoexcel="yes" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="398-2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Internet Address&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="398-3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Physical Address&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&amp;nbsp;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="398-4" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;10.1.1.1&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="398-5" style="margin-left: 0.3em; margin-right: 1em;"&gt;AA:BB:CC:DD:EE:FF&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="398-6" style="margin-left: 0.3em; margin-right: 1em;"&gt;int0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="398-7" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;10.1.1.2&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="398-8" style="margin-left: 0.3em; margin-right: 1em;"&gt;BA:DB:AD:BA:DB:AD&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="398-9" style="margin-left: 0.3em; margin-right: 1em;"&gt;int0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="para" id="398-10" style="margin-top: 0.9em;"&gt;This entry will remain until it ages out or a new entry replaces it.&lt;/div&gt;&lt;div class="para" id="398-11" style="margin-top: 0.9em;"&gt;ARP redirection can work bidirectionally, and a spoofing device can insert itself in the middle of a conversation between two IP devices on a switched network (see&amp;nbsp;Figure 3). This is probably the most insidious ARP-related attack. By routing packets on to the devices that should truly be receiving the packets, this insertion (known as a Man/Monkey/Moron in the Middle attack) can remain undetected for some time. An attacker can route packets to /dev/null (nowhere) as well, resulting in a DoS attack.&lt;span class="beginpage" pagenum="153"&gt;&lt;a href="" id="399" name="399" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-153" name="IDX-153" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="398-11" style="margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-z5WiSOJA7aU/Tt12EHYRW7I/AAAAAAAAEG4/I6rMScwUA_8/s1600/c.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="277" src="http://1.bp.blogspot.com/-z5WiSOJA7aU/Tt12EHYRW7I/AAAAAAAAEG4/I6rMScwUA_8/s320/c.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch05fig06" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="400" name="400" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch05fig06" name="ch05fig06" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="400-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 3:&amp;nbsp;&lt;/span&gt;An ARP MITM Attack&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="400-2" style="margin-top: 0.9em;"&gt;Sam’s ARP cache:&lt;/div&gt;&lt;div class="informaltable" id="N409" style="margin-top: 0.9em; width: 995px;"&gt;&lt;table border="1" id="nr-N409" linktabletoexcel="yes" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="400-3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Internet Address&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="400-4" style="margin-left: 0.3em; margin-right: 1em;"&gt;Physical Address&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&amp;nbsp;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-5" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;10.1.1.1&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-6" style="margin-left: 0.3em; margin-right: 1em;"&gt;AA:BB:CC:DD:EE:FF&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-7" style="margin-left: 0.3em; margin-right: 1em;"&gt;int0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-8" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;10.1.1.2&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-9" style="margin-left: 0.3em; margin-right: 1em;"&gt;BA:DB:AD:BA:DB:AD&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-10" style="margin-left: 0.3em; margin-right: 1em;"&gt;int0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="para" id="400-11" style="margin-top: 0.9em;"&gt;Sally’s ARP cache:&lt;/div&gt;&lt;div class="informaltable" id="N488" style="margin-top: 0.9em; width: 995px;"&gt;&lt;table border="1" id="nr-N488" linktabletoexcel="yes" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="400-12" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Internet Address&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="400-13" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Physical Address&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&amp;nbsp;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-14" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;10.1.1.1&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-15" style="margin-left: 0.3em; margin-right: 1em;"&gt;BA:DB:AD:BA:DB:AD&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-16" style="margin-left: 0.3em; margin-right: 1em;"&gt;int0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-17" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;10.1.1.2&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-18" style="margin-left: 0.3em; margin-right: 1em;"&gt;AA:BB:CC:DD:EE:00&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="400-19" style="margin-left: 0.3em; margin-right: 1em;"&gt;int0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="para" id="400-20" style="margin-top: 0.9em;"&gt;As all IP traffic between the true sender and receiver now passes through the attacker’s device, it is trivial for the attacker to sniff that traffic using freely available tools such as Ethereal or tcpdump. Any unencrypted information (including e-mails, usernames and passwords, and web traffic) can be intercepted and viewed.&lt;/div&gt;&lt;div class="para" id="400-21" style="margin-top: 0.9em;"&gt;This interception has potentially drastic implications for VoIP traffic. Freely available tools such as vomit and rtpsniff, as well as private tools such as VoipCrack, allow for the interception and decoding of VoIP traffic. Captured content can include speech, signaling and billing information, multimedia, and PIN numbers. Voice conversations traversing the internal IP network can be intercepted and recorded using this technique.&lt;/div&gt;&lt;div class="para" id="400-22" style="margin-top: 0.9em;"&gt;There are a number of variations of the aforementioned techniques. Instead of imitating a host, the attacker can emulate a gateway. This enables the attacker to intercept numerous packet streams. However, most ARP redirection techniques rely on stealth. The attacker in these scenarios hopes to remain undetected by the users being impersonated. Posing as a gateway may result in alerting users to the attacker’s presence due to unanticipated glitches in the network, because frequently switches behave in unexpected ways when attackers manipulate ARP processes. One unintended (much of the time) consequence of these attacks, particularly when switches are heavily loaded, is that the switch CAM (Content-Addressable Memory) table—a finite-sized IP address to MAC address lookup table—becomes disrupted. This leads to the switch forwarding unicast packets out many ports in unpredictable fashion. Penetration testers may want to keep this in mind when using these techniques on production networks.&lt;/div&gt;&lt;div class="para" id="400-23" style="margin-top: 0.9em;"&gt;In order to limit damage due to ARP manipulation, administrators should implement software tools that monitor MAC to IP address mappings. The freeware tool, Arpwatch, monitors these pairings. At the network level, MAC/IP address mappings can be statically coded on the switch; however, this is often administratively untenable. Dynamic ARP Inspection (DAI) is available on newer Cisco Catalyst 6500 switches. DAI is part of Cisco’s Integrated Security (CIS) functionality and is designed to prevent several layer two and layer&amp;nbsp;&lt;span class="beginpage" pagenum="154"&gt;&lt;a href="" id="401" name="401" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-154" name="IDX-154" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;three spoofing attacks, including ARP redirection attacks. Note that DAI and CIS are available only on Catalyst switches using native mode (Cisco IOS).&lt;/div&gt;&lt;div class="para" id="401-1" style="margin-top: 0.9em;"&gt;The potential risks of decoding intercepted VoIP traffic can be eliminated by implementing encryption. Avaya’s Media Encryption feature is an example of this. Using Media Encryption, VoIP conversations between two IP endpoints are encrypted using AES encryption. In highly secure environments, organizations should ensure that Media Encryption is enabled on all IP codec sets in use.&lt;/div&gt;&lt;div class="para" id="401-2" style="margin-top: 0.9em;"&gt;DAI enforces authorized MAC-to-IP address mappings. Media Encryption renders traffic, even if intercepted, unintelligible to an attacker.&lt;/div&gt;&lt;div class="para" id="401-3" style="margin-top: 0.9em;"&gt;The following are some additional examples of call or signal interception and hijacking. This class of threats, though typically more difficult to accomplish than DoS, can result in significant loss or alteration of data. DoS attacks, whether caused by active methods or inadvertently, although important in terms of quality of service, are more often than not irritating to users and administrators. Interception and hijacking attacks, on the other hand, are almost always active attacks with theft of service, information, or money as the goal. Note that this list is not exhaustive but illustrates some attack scenarios.&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.6C332D2F-A64F-4793-916D-92118CC3861D" style="margin-top: 0.9em;"&gt;&lt;b&gt;Rogue VoIP Endpoint Attack&lt;/b&gt;&amp;nbsp;Rogue IP endpoint contacts VoIP server by leveraging stolen or guessed identities, credentials, and network access. For example, a rogue endpoint can use an unprotected wall jack and auto-registration of VOIP phones to get onto the network. RAS password guessing can be used to masquerade as a legitimate endpoint. Lax account maintenance (expired user accounts left active) increases risk of exploitation.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.9551756F-39BC-457E-B90B-4413E2E73EA3" style="margin-top: 0.9em;"&gt;&lt;b&gt;Registration Hijacking&lt;/b&gt;&amp;nbsp;Registration hijacking occurs when an attacker imper-sonates a valid UA to a registrar and replaces the registration with its own address. This attack causes all incoming calls to be sent to the attacker.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.8E812F83-E8BA-4DAE-9208-05FCA36C0E45" style="margin-top: 0.9em;"&gt;&lt;b&gt;Proxy Impersonation&lt;/b&gt;&amp;nbsp;Proxy impersonation occurs when an attacker tricks a SIP UA or proxy into communicating with a rogue proxy. If an attacker successfully impersonates a proxy, he or she has access to all SIP messages.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.B321F226-EF9F-414C-A7CA-BDDE30662BA2" style="margin-top: 0.9em;"&gt;&lt;b&gt;Toll Fraud&lt;/b&gt;&amp;nbsp;Rogue or legitimate VoIP endpoint uses a VoIP server to place unauthorized toll calls over the PSTN. For example, inadequate access controls can let rogue devices place toll calls by sending VoIP requests to call processing applications. VoIP servers can be hacked into in order to make free calls to outside destinations. Social engineering can be used to obtain outside line prefixes.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.D1E15504-A321-4578-A894-D851B74D04B5" style="margin-top: 0.9em;"&gt;&lt;b&gt;Message Tampering&lt;/b&gt;&amp;nbsp;Capture, modify, and relay unauthenticated VoIP packets to/from endpoints. For example, a rogue 802.11 AP can exchange frames sent or received by wireless endpoints if no payload integrity check (e.g., WPA MIC, SRTP) is used. Alternatively, these attacks can occur through registration hijacking, proxy impersonation, or an attack on any component trusted to process SIP or&amp;nbsp;&lt;span class="beginpage" pagenum="155"&gt;&lt;a href="" id="402" name="402" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-155" name="IDX-155" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;H.323 messages, such as the proxy, registration servers, media gateways, or firewalls. These represent non-ARP-based MITM attacks.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.C769DA96-DC3E-486C-8786-BF9D290E2EC1" style="margin-top: 0.9em;"&gt;&lt;b&gt;VoIP Protocol Implementation Attacks&lt;/b&gt;&amp;nbsp;Send VoIP servers or endpoints invalid packets to exploit VoIP protocol implementation CVEs. Such attacks can lead to escalation of privileges, installation and operation of malicious programs, and system compromise. For example, CAN-2004–0054 exploits Cisco IOS H.323 implementation CVEs to execute arbitrary code. CSCed33037 uses unsecured IBM Director agent ports to gain administrative control over IBM servers running Cisco VoIP products.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="example" id="ch05list05" style="margin-top: 1em;"&gt;&lt;span class="example-title" id="402-1" style="color: maroon; font-weight: bold; margin-top: 0.3em;"&gt;Notes from the Underground—ANI/Caller-ID Spoofing&lt;/span&gt;&lt;a href="" id="403" name="403" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch05list05" name="ch05list05" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;div class="formalbody" id="ch05list05" style="margin-left: 0px;"&gt;&lt;hr class="blueline" style="color: #010100; margin-bottom: 0px; margin-top: 0px;" /&gt;&lt;div class="first-para" id="403-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Caller ID is a service provided by most telephone companies (for a monthly cost) that will tell you the name and number of an incoming call. Automatic Number Identification (ANI) is a system used by the telephone company to determine the number of the calling party. To spoof Caller-ID, an attacker sends modem tones over a POTS lines between rings 1 and 2. ANI spoofing is setting the ANI so as to send incorrect ANI information to the PSTN so that the resulting Caller-ID is misleading. Traditionally this has been a complicated process either requiring the assistance of a cooperative phone company operator or an expensive company PBX system.&lt;/div&gt;&lt;div class="last-para" id="403-2" style="margin-top: 0.9em;"&gt;In ANI/Caller-ID spoofing, an evildoer hijacks phone number and the identity of a trusted party, such as a bank or a government office. The identity appears on the caller ID box of an unsuspecting victim, with the caller hoping to co-opt valuable information, such as account numbers, or otherwise engage in malicious mischief. This is not a VoIP issue, per se. In fact, one of the big drawbacks about VoIP trunks is their inability to send ANI properly because of incomplete standards.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-4273697994950775613?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/4273697994950775613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=4273697994950775613' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4273697994950775613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4273697994950775613'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/12/call-hijacking-and-interception.html' title='Call Hijacking and Interception'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-MQb8h81rd28/Tt11tG5DAkI/AAAAAAAAEGo/5SDZfdx_12k/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-3875185893960984924</id><published>2011-12-10T09:49:00.000-08:00</published><updated>2011-12-10T09:49:00.329-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Service Disruption'/><category scheme='http://www.blogger.com/atom/ns#' term='VoIP'/><category scheme='http://www.blogger.com/atom/ns#' term='DoS'/><category scheme='http://www.blogger.com/atom/ns#' term='Denial-of-Service'/><title type='text'>Denial-of-Service or VoIP Service Disruption</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="first-para" id="380-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;Denial-of-service (DoS) attacks can affect any IP-based network service. The impact of a DoS attack can range from mild service degradation to complete loss of service. There are several classes of DoS attacks. One type of attack in which packets can simply be flooded into or at the target network from multiple external sources is called a distributed denial-ofservice (DDoS) attack (see Figures 1&amp;nbsp;and&amp;nbsp;2).&lt;/div&gt;&lt;div class="first-para" id="380-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-byDhBTyqTlU/Tt102ULrLtI/AAAAAAAAEGQ/ulfi9yhESmQ/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="284" src="http://3.bp.blogspot.com/-byDhBTyqTlU/Tt102ULrLtI/AAAAAAAAEGQ/ulfi9yhESmQ/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch05fig01" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;a href="" id="381" name="381" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch05fig01" name="ch05fig01" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="381-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;Typical Internet Access&lt;/span&gt;&lt;/div&gt;&lt;div class="figure" id="ch05fig01" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;span class="figure-title" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-2KFTYjvk938/Tt109auoPCI/AAAAAAAAEGY/KjdotayChnk/s1600/b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-2KFTYjvk938/Tt109auoPCI/AAAAAAAAEGY/KjdotayChnk/s320/b.jpg" width="291" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch05fig02" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;a href="" id="382" name="382" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch05fig02" name="ch05fig02" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="382-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 2:&amp;nbsp;&lt;/span&gt;A Distributed Denial-of-Service Attack&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="382-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;In this figure, traffic flows normally between internal and external hosts and servers. In&amp;nbsp;Figure 2, a network of computers (e.g., a botnet) directs IP traffic at the interface of the firewall.&lt;span class="beginpage" pagenum="143"&gt;&lt;a href="" id="383" name="383" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-143" name="IDX-143" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="beginpage" pagenum="144"&gt;&lt;a href="" id="384" name="384" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-144" name="IDX-144" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="384-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;The second large class of Denial of Service (DoS) conditions occurs when devices within the internal network are targeted by a flood of packets so that they fail—taking out related parts of the infrastructure with them. As in the DdoS scenarios described earlier in this chapter, service disruption occurs to resource depletion—primarily bandwidth and CPU resource starvation (see&amp;nbsp;Figure 3). For example, some IP telephones will stop working if they receive a UDP packet larger than 65534 bytes on port 5060.&lt;/div&gt;&lt;div class="para" id="384-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Q3oWYtQygeE/Tt11Es0heaI/AAAAAAAAEGg/bYCiE7u5DZ0/s1600/c.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="284" src="http://3.bp.blogspot.com/-Q3oWYtQygeE/Tt11Es0heaI/AAAAAAAAEGg/bYCiE7u5DZ0/s320/c.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch05fig03" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-left: 2em; margin-top: 1em; text-align: left;"&gt;&lt;a href="" id="385" name="385" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch05fig03" name="ch05fig03" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="385-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 3:&amp;nbsp;&lt;/span&gt;An Internal Denial-of-Service Attack&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="385-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Neither integrity checks nor encryption can prevent these attacks. DoS or DDoS attacks are characterized simply by the volume of packets sent toward the victim computer; whether those packets are signed by a server, contain real or spoofed source IP addresses, or are encrypted with a fictitious key—none of these are relevant to the attack.&lt;/div&gt;&lt;div class="para" id="385-3" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;DoS attacks are difficult to defend against, and because VoIP is just another IP network service, it is just as susceptible to DoS attack as any other IP network services. Additionally, DoS attacks are particularly effective against services such as VoIP and other real-time services, because these services are most sensitive to adverse network status. Viruses and worms are included in this category as they often cause DoS or DDoS due to the increased network traffic that they generate as part of their efforts to replicate and propagate.&lt;span class="beginpage" pagenum="145"&gt;&lt;a href="" id="386" name="386" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-145" name="IDX-145" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="386-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;How do we defend against these DoS conditions (we won’t use the term attack here because some DoS conditions are simply the unintended result of other unrelated actions)? Let’s begin with internal DoS. Note in&amp;nbsp;Figure 3&amp;nbsp;that VLAN 10 on the right is not affected by the service disruption on the left in VLAN 2. This illustrates one critical weapon the security administrator has in thwarting DoS conditions—logical segregation of network domains in separate compartments. Each compartment can be configured to be relatively immune to the results of DoS in the others.&lt;/div&gt;&lt;div class="para" id="386-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Point solutions will also be effective in limiting the consequences of DoS conditions. For example, because strong authentication is seldom used in VoIP environments, the message processing components must trust and process messages from possible attackers. The additional processing of bogus messages exhausts server resources and leads to a DoS. SIP or H.323 Registration Flooding is an example of this, described in the list of DoS threats, later. In that case, message processing servers can mitigate this specific threat by limiting the number of registrations it will accept per minute for a particular address (and/or from a specific IP address). An intrusion prevention system (IPS) may be useful in fending off certain types of DoS attacks. These devices sit on the datapath and monitor passing traffic. When anomalous traffic is detected (either by matching against a database of attack signatures or by matching the results of an anomaly-detection algorithm) the IPS blocks the suspicious traffic. One problem I have seen with these devices—particularly in environments with high availability requirements—is that they sometimes block normal traffic, thus creating their own type of DoS.&lt;/div&gt;&lt;div class="para" id="386-3" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Additionally, security administrators can minimize the chances of DoS by ensuring that IP telephones and servers are updated to the latest stable version and release. Typically, when a DoS warning is announced by bugtraq, the vendor quickly responds by fixing the offending software.&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="note" style="background-color: white; color: black; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-weight: bold;" valign="top"&gt;Note&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="386-4" style="font-family: Arial, Arial, Helvetica, sans-serif; vertical-align: top;"&gt;VoIP endpoints can be infected with new VoIP device or protocol-specific viruses. WinCE, PalmOS, SymbianOS, and POSIX-based softphones are especially vulnerable because they typically do not run antivirus software and have less robust operating systems. Several Symbian worms already have been detected in the wild. Infected VoIP devices then create a new “weak link” vector for attacking other network resources.&lt;/div&gt;&lt;div class="last-para" id="386-5" style="font-family: Arial, Arial, Helvetica, sans-serif; margin-top: 0.9em; vertical-align: top;"&gt;Compromised devices can be used to launch attacks against other systems in the same network, particularly if the compromised device is trusted (i.e., inside the firewall). Malicious programs installed by an attacker on compromised devices can capture user input, capture traffic, and relay user data over a “back channel” to the attacker. This is especially worrisome for softphone users.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span class="beginpage" pagenum="146" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small; text-align: left;"&gt;&lt;a href="" id="387" name="387" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-146" name="IDX-146" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="para" id="387-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;VoIP systems must meet stringent service availability requirements. Following are some example DoS threats can cause the VoIP service to be partially or entirely unavailable by preventing successful call placement (including emergency/911), disconnecting existing calls, or preventing use of related services like voicemail. Note that this list is not exhaustive but illustrates some attack scenarios.&lt;/div&gt;&lt;ul class="itemizedlist" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em; text-align: left;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.D16EAF8B-C4F6-4C52-A547-D4D94627AA8D" style="margin-top: 0.9em;"&gt;&lt;b&gt;TLS Connection Reset&lt;/b&gt;&amp;nbsp;It’s not hard to force a connection reset on a TLS connection (often used for signaling security between phones and gateways)—just send the right kind of junk packet and the TLS connection will be reset, interrupting the signaling channel between the phone and call server.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.16E6CB8A-0460-4973-AB20-5B64648216AB" style="margin-top: 0.9em;"&gt;&lt;b&gt;VoIP Packet Replay Attack&lt;/b&gt;&amp;nbsp;Capture and resend out-of-sequence VoIP packets (e.g., RTP SSRC—SSRC is an RTP header field that stands for Synchronization Source) to endpoints, adding delay to call in progress and degrading call quality.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.87F1C54F-6068-4D5A-8600-D2CFDF30DD2A" style="margin-top: 0.9em;"&gt;&lt;b&gt;Data Tunneling&lt;/b&gt;&amp;nbsp;Not exactly an attack; rather tunneling data through voice calls creates, essentially, a new form of unauthorized modem. By transporting modem signals through a packet network by using pulse code modulation (PCM) encoded packets or by residing within header information, VoIP can be used to support a modem call over an IP network. This technique may be used to bypass or undermine a desktop modem policy and hide the existence of unauthorized data connections. This is similar in concept to the so-called “IP over HTTP” threat (i.e., “Firewall Enhancement Protocol” RFC 3093)—a classic problem for any ports opened on a firewall from internal sources.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.56728AB2-0E99-4F9D-AB53-C7487E00E2F0" style="margin-top: 0.9em;"&gt;&lt;b&gt;QoS Modification Attack&lt;/b&gt;&amp;nbsp;Modify non-VoIP-specific protocol control information fields in VoIP data packets to and from endpoints to degrade or deny voice service. For example, if an attacker were to change 802.1Q VLAN tag or IP packet ToS bits, either as a man-in-the-middle or by compromising endpoint device configuration, the attacker could disrupt the quality of service “engineered” for a VoIP network. By subordinating voice traffic to data traffic, for example, the attacker might substantially delay delivery of voice packets.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.73FCD071-CCFB-4507-BB66-352B60BBA9FC" style="margin-top: 0.9em;"&gt;&lt;b&gt;VoIP Packet Injection&lt;/b&gt;&amp;nbsp;Send forged VoIP packets to endpoints, injecting speech or noise or gaps into active call. For example, when RTP is used without authentication of RTCP packets (and without SSRC sampling), an attacker can inject RTCP packets into a multicast group, each with a different SSRC, which can grow the group size exponentially.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.C69EDF00-7383-4808-AAE8-269E259D3075" style="margin-top: 0.9em;"&gt;&lt;b&gt;DoS against Supplementary Services&lt;/b&gt;&amp;nbsp;Initiate a DoS attack against other network services upon which the VoIP service depends (e.g., DHCP, DNS, BOOTP). For example, in networks where VoIP endpoints rely on DHCP-assigned addresses, disabling the DHCP server prevents endpoints (soft- and hardphones) from&lt;span class="beginpage" pagenum="147"&gt;&lt;a href="" id="388" name="388" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-147" name="IDX-147" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;acquiring addressing and routing information they need to make use of the VoIP service.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.AC1DC922-E427-4DCE-9D44-00BDB1473D8A" style="margin-top: 0.9em;"&gt;&lt;b&gt;Control Packet Flood&lt;/b&gt;&amp;nbsp;Flood VoIP servers or endpoints with unauthenticated call control packets, (e.g., H.323 GRQ, RRQ, URQ packets sent to UDP/1719). The attacker’s intent is to deplete/exhaust device, system, or network resources to the extent that VoIP service is unusable. Any open administrative and maintenance port on call processing and VoIP-related servers can be a target for this DoS attack.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.E53C4DF4-0C53-48A7-ACAC-E107DA8045EF" style="margin-top: 0.9em;"&gt;&lt;b&gt;Wireless DoS&lt;/b&gt;&amp;nbsp;Initiate a DoS attack against wireless VoIP endpoints by sending 802.11 or 802.1X frames that cause network disconnection (e.g., 802.11 Deauthenticate flood, 802. 1X EAP-Failure, WPA MIC attack, radio spectrum jam-ming). For example, a Message Integrity Code attack exploits a standard countermeasure whereby a wireless access point disassociates stations when it receives two invalid frames within 60 seconds, causing loss of network connectivity for 60 seconds. In a VoIP environment, a 60-second service interruption is rather extreme.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.45CAF488-2398-468B-A483-27BC9F2285A2" style="margin-top: 0.9em;"&gt;&lt;b&gt;Bogus Message DoS&lt;/b&gt;&amp;nbsp;Send VoIP servers or endpoints valid-but-forged VoIP protocol packets to cause call disconnection or busy condition (e.g., RTP SSRC collision, forged RTCP BYE, forged CCMS, spoofed endpoint button push). Such attacks cause the phone to process a bogus message and incorrectly terminate a call, or mislead a calling party into believing the called party’s line is busy.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.6E4F78A9-D56E-42DC-846E-32527700F670" style="margin-top: 0.9em;"&gt;&lt;b&gt;Invalid Packet DoS&lt;/b&gt;&amp;nbsp;Send VoIP servers or endpoints invalid packets that exploit device OS and TCP/IP implementation denial-of-service CVEs. For example, the exploit described in CAN-2002–0880 crashes Cisco IP phones using jolt,jolt2, and other common fragmentation-based DoS attack methods. CAN-2002–0835 crashes certain VoIP phones by exploiting DHCP DoS CVEs. Avaya IP phones may be vulnerable to port zero attacks.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.02A73D34-CBAB-4880-9966-6E9842F54945" style="margin-top: 0.9em;"&gt;&lt;b&gt;Immature Software DoS&lt;/b&gt;&amp;nbsp;PDA/handheld softphones and first generation VoIP hardphones are especially vulnerable because they are not as mature or intensely scrutinized. VoIP call servers and IP PBXs also run on OS platforms with many known CVEs. Any open administrative/maintenance port (e.g., HTTP, SNMP, Telnet) or vulnerable interface (e.g., XML, Java) can become an attack vector.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.5FA42430-995C-4F98-81F7-FA5B5F8F1A65" style="margin-top: 0.9em;"&gt;&lt;b&gt;VoIP Protocol Implementation DoS&lt;/b&gt;&amp;nbsp;Send VoIP servers or endpoints invalid packets to exploit a VoIP protocol implementation vulnerability to a DoS attack. Several such exploits are identified in the MITRE CVE database (&lt;a class="url" href="http://cve.mitre.org/" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;http://cve.mitre.org&lt;/a&gt;). For example, CVE-2001–00546 uses malformed H.323 packets to exploit Windows ISA memory leak and exhaust resources. CAN-2004–0056 uses malformed H.323 packets to exploit Nortel BCM DoS vulnerabilities. Lax software update practices (failure to install CVE patches) exacerbate risk.&lt;span class="beginpage" pagenum="148"&gt;&lt;a href="" id="389" name="389" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-148" name="IDX-148" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.DF0B581D-18EB-4F6C-AF76-2AA229C557D1" style="margin-top: 0.9em;"&gt;&lt;b&gt;Packet of Death DoS&lt;/b&gt;&amp;nbsp;Flood VoIP servers or endpoints with random TCP, UDP, or ICMP packets or fragments to exhaust device CPU, bandwidth, TCP sessions, and so on. For example, an attacker can initiate a TCP Out of Band DoS attack by sending a large volume of TCP packets marked “priority delivery” (the TCP Urgent flag). During any flood, increased processing load interferes with the receiving system’s ability to process real traffic, initially delaying voice traffic processing but ultimately disrupting service entirely.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.0C10536C-EE86-4CC3-8024-CDA5896EFD5C" style="margin-top: 0.9em;"&gt;&lt;b&gt;IP Phone Flood DoS&lt;/b&gt;&amp;nbsp;Send a very large volume of call data toward a single VoIP endpoint to exhaust that device’s CPU, bandwidth, TCP sessions, and so on. Interactive voice response systems, telephony gateways, conferencing servers, and voicemail systems are able to generate more call data than a single endpoint can handle and so could be leveraged to flood an endpoint.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-3875185893960984924?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/3875185893960984924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=3875185893960984924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/3875185893960984924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/3875185893960984924'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/12/denial-of-service-or-voip-service.html' title='Denial-of-Service or VoIP Service Disruption'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-byDhBTyqTlU/Tt102ULrLtI/AAAAAAAAEGQ/ulfi9yhESmQ/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-9173091742471074108</id><published>2011-12-07T00:00:00.000-08:00</published><updated>2011-12-07T00:00:00.704-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Communications Systems'/><category scheme='http://www.blogger.com/atom/ns#' term='VoIP Telephony'/><title type='text'>Threats to VoIP Communications Systems</title><content type='html'>&lt;br /&gt;&lt;div class="first-para" id="378-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;Converging voice and data on the same wire, regardless of the protocols used, ups the ante for network security engineers and managers. One consequence of this convergence is that in the event of a major network attack, the organizations entire telecommunications infrastructure can be at risk. Securing the whole VoIP infrastructure requires planning, analysis, and detailed knowledge about the specifics of the implementation you choose to use.&lt;/div&gt;&lt;div class="para" id="378-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;Table 1&amp;nbsp;describes the general levels that can be attacked in a VoIP infrastructure.&lt;/div&gt;&lt;a href="" id="379" name="379" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; outline-color: initial; outline-style: none; outline-width: initial; text-align: left; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch05table01" name="ch05table01" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; outline-color: initial; outline-style: none; outline-width: initial; text-align: left; text-decoration: none;"&gt;&lt;/a&gt;&lt;table border="1" class="table" id="ch05table01" linktabletoexcel="yes" style="background-color: white; color: black; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; margin-bottom: 1em; margin-top: 1em; text-align: left;"&gt;&lt;caption class="table-title" id="379-1" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold; margin-top: 0.3em; text-align: left;"&gt;&lt;span class="table-title" style="margin-top: 0.3em;"&gt;&lt;span class="table-titlelabel"&gt;Table 1:&amp;nbsp;&lt;/span&gt;VoIP Vulnerabilities&lt;/span&gt;&amp;nbsp;&lt;/caption&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="379-2" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Vulnerability&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" rowspan="1" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small;" valign="top"&gt;&lt;div class="table-para" id="379-3" style="margin-left: 0.3em; margin-right: 1em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Description&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="379-4" style="margin-left: 0.3em; margin-right: 1em;"&gt;IP infrastructure&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="379-5" style="margin-left: 0.3em; margin-right: 1em;"&gt;Vulnerabilities on related non-VoIP systems can lead to compromise of VoIP infrastructure.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="379-6" style="margin-left: 0.3em; margin-right: 1em;"&gt;Underlying operating system&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="379-7" style="margin-left: 0.3em; margin-right: 1em;"&gt;VoIP devices inherit the same vulnerabilities as the operating system or firmware they run on. Operating systems are Windows and Linux.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="379-8" style="margin-left: 0.3em; margin-right: 1em;"&gt;Configuration&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="379-9" style="margin-left: 0.3em; margin-right: 1em;"&gt;In their default configuration most VoIP devices ship with a surfeit of open services. The default services running on the open ports may be vulnerable to DoS attacks, buffer overflows, or authentication bypass.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="379-10" style="margin-left: 0.3em; margin-right: 1em;"&gt;Application level&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" rowspan="1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" valign="top"&gt;&lt;div class="table-para" id="379-11" style="margin-left: 0.3em; margin-right: 1em;"&gt;Immature technologies can be attacked to disrupt or manipulate service. Legacy applications (DNS, for example) have known problems.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-9173091742471074108?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/9173091742471074108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=9173091742471074108' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/9173091742471074108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/9173091742471074108'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/12/threats-to-voip-communications-systems.html' title='Threats to VoIP Communications Systems'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-8398996043592590854</id><published>2011-11-27T07:59:00.000-08:00</published><updated>2011-11-27T07:59:00.135-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sccp'/><category scheme='http://www.blogger.com/atom/ns#' term='Skinny'/><category scheme='http://www.blogger.com/atom/ns#' term='Protocols'/><title type='text'>Skinny/SCCP</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="first-para" id="364-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;The Skinny protocol is the casual name for a complex, lightweight VoIP protocol signaling scheme owned by Cisco Systems, Inc., and is in use for all VoIP telephones that Cisco produces. The formal name is SCCP, for Skinny Client Control Protocol, and was originally designed by the Selsius Corporation, which Cisco acquired. Skinny is a proprietary protocol that allows “skinny clients”, such as Cisco IP telephones, to communicate with each other via Cisco CallManager (CCM). The Skinny clients are small, user-friendly devices that work in conjunction with a CCM. The CCM also acts as a proxy to relay communications to H.323 clients and the PSTN.&lt;/div&gt;&lt;div class="section" id="ch04lev2sec147" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="364-2" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="365" name="365" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec147" name="ch04lev2sec147" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Skinny Specifications&lt;/h3&gt;&lt;div class="first-para" id="365-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Skinny (SCCP) is the exclusive protocol used by Cisco brand IP telephones, as well as some phones developed by other manufacturers. Using the Skinny protocol, an IP phone will use normal TCP/IP to communicate with the Cisco CallManager. If the Cisco phone needs to communicate with a non-Skinny client, then the CCM acts as a proxy gateway, allowing the two to communicate, at which time the phones will start using UDP. However, when a Skinny phone wishes to communicate with another Skinny phone, the two will use RTP/UDP packets for communication.&lt;/div&gt;&lt;div class="section" id="ch04lev3sec148"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="366" name="366" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev3sec148" name="ch04lev3sec148" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Skinny Operation&lt;/h4&gt;&lt;div class="first-para" id="366-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;The ability for Skinny clients to communicate with each other is governed by the Cisco CallManager (CCM) on the same network. When an IP phone wishes to dial another on the same network, the user takes the phone off-hook and begins dialing the necessary numbers. As the numbers are entered, they are transmitted to the CCM over TCP packets. The CCM performs a “digit analysis” to determine if they match another phone number in the database. If so, the CCM communicates with the receiving phone, causing it to start ringing and to send a ring back to the calling phone. Once the second phone goes off-hook, the CCM sends packets to both phones requesting their IP address and open UDP port on which to accept the RTP media. The CCM also checks the media capabilities of each phone to determine if they can directly communicate with each other, or if a transcoder is&amp;nbsp;&lt;span class="beginpage" pagenum="136"&gt;&lt;a href="" id="367" name="367" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-136" name="IDX-136" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;required to allow the communication. Once the CCM has received the connection information from each phone, it proceeds to transmit the information to the other phone, so that each phone has the connection information of its peer. At this point, the CCM creates an RTP/UDP channel for the phones to pass data through for communication. Once either of the phones goes on-hook and disconnects the line, the CCM terminates the channel. An example of this connection process is shown in&amp;nbsp;Figure 1.&lt;/div&gt;&lt;div class="first-para" id="366-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-SVHrn79vALI/Trv1Az7B3-I/AAAAAAAAD-A/2DDOdRJE0MY/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="113" src="http://4.bp.blogspot.com/-SVHrn79vALI/Trv1Az7B3-I/AAAAAAAAD-A/2DDOdRJE0MY/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch04fig08" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="368" name="368" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04fig08" name="ch04fig08" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="368-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;The Skinny Client Communication Process&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec149" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="368-2" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="369" name="369" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec149" name="ch04lev2sec149" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Security Implications for Skinny&lt;/h3&gt;&lt;div class="first-para" id="369-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Similar in implications to the other protocols discussed previously, the largest problem with the Skinny (SCCP) protocol is the fact that all traffic that uses it is sent in the clear, with no encryption taking place unless the device is capable and configured to support Transport Layer Security (TLS). Ultimately, this means that people with malicious intent on the same network segment are able to capture the traffic using a network sniffer. This allows such people to store recorded conversations, or to even capture the numbers that a particular phone dials during a time period.&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="note" style="font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-weight: bold;" valign="top"&gt;Note&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="369-2" style="font-family: Arial, Arial, Helvetica, sans-serif; vertical-align: top;"&gt;While the SCCP/Skinny protocol was not designed for the transfer of secure data, some protocols are. Cisco CallManager 4.0 introduced Secure SCCP, or simply “Secure Skinny” to add beefier security to a Cisco VoIP network. Secure SCCP encrypts all data between IP telephones and the Cisco CallManager using TLS.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span class="beginpage" pagenum="137"&gt;&lt;a href="" id="370" name="370" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-137" name="IDX-137" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="last-para" id="370-1" style="margin-top: 0.9em;"&gt;Certain Cisco CallManager versions also suffer from a known vulnerability. This vulnerability takes advantage of malformed SCCP packets sent to a vulnerable Cisco IOS (internal operating system). If successful, the exploit is able to cause devices, or the entire CCM, to reboot. The issue is documented as Cisco bug ID CSCee08584, and can be fixed by upgrading or migrating the IOS of the affected hardware.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-8398996043592590854?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/8398996043592590854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=8398996043592590854' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/8398996043592590854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/8398996043592590854'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/11/skinnysccp.html' title='Skinny/SCCP'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-SVHrn79vALI/Trv1Az7B3-I/AAAAAAAAD-A/2DDOdRJE0MY/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-3931127281438232565</id><published>2011-11-23T04:32:00.000-08:00</published><updated>2011-11-23T04:32:00.508-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SDP'/><category scheme='http://www.blogger.com/atom/ns#' term='Session Description Protocol'/><category scheme='http://www.blogger.com/atom/ns#' term='Protocols'/><title type='text'>Session Description Protocol</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;SDP&lt;/h2&gt;&lt;div class="first-para" id="357-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;SDP, short for Session Description Protocol, is a simple protocol that allows clients to share information about a multimedia stream to clients wishing to connect. Further extensions on the protocol also allow clients to share their multimedia abilities with other devices. As its name denotes, it is used primarily to describe a client’s session abilities. It plays an integral part in VoIP communications to share the fact that a communication session is taking place, and to provide information to other clients so that they have the ability to join and interact with the session, such as with a group teleconference.&lt;/div&gt;&lt;div class="para" id="357-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;SDP was first described in RFC 2327 in April 1998, and the original RFC still defines the protocol’s basic abilities today. There are updates, though, to the RFC, such as RFC 3266, which adds IPv6 support to SDP. Other associated RFCs include the RTCP attribute in SDP (RFC 3605), TCP-Based Media Transport in SDP (RFC 4145) and PSTN/Internet Interworking (PINT), a set of extensions to SIP and SDP for IP Access to Telephone Call Services (RFC 2848). A fairly recent RFC, RFC 3407, allowed the clients the ability to share their multimedia abilities to other devices.&lt;/div&gt;&lt;div class="section" id="ch04lev2sec143" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="357-3" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="358" name="358" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec143" name="ch04lev2sec143" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;SDP Specifications&lt;/h3&gt;&lt;div class="first-para" id="358-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;SDP is used as a specification protocol, not as an actual transport protocol (or even a session negotiation protocol, although higher-level protocols like SIP may add that capability above it). In other words, SDP does not actually transfer data between clients, it just establishes a structure for communicating the attributes for those data streams. The data must be transferred using another transport protocol, such as SAP, SIP, RTSP, or HTTP. The information contained within an SDP packet is in ASCII text, and although it was not designed for human readability, it is easy to decipher. An SDP packet is broken into multiple lines of text, where each line represents a single field and its corresponding value. Common data fields include&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.B6024410-C5E1-4FB1-BB16-8B1D547BD4D2" style="margin-top: 0.9em;"&gt;&lt;b&gt;v&lt;/b&gt;&amp;nbsp;(Protocol Version)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.463CB2ED-58A6-4C71-9F00-A157A0C435B6" style="margin-top: 0.9em;"&gt;&lt;b&gt;o&lt;/b&gt;&amp;nbsp;(Owner of session, Session ID, Session Version, Network Type, Address type, and Owner’s IP Address)&lt;span class="beginpage" pagenum="133"&gt;&lt;a href="" id="359" name="359" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-133" name="IDX-133" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.BDC06C6F-AC8D-4CD2-8AC3-4CC070049657" style="margin-top: 0.9em;"&gt;&lt;b&gt;s&lt;/b&gt;&amp;nbsp;(Session name)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.062F012D-7335-4869-BBAB-B294DF4F0226" style="margin-top: 0.9em;"&gt;&lt;b&gt;i&lt;/b&gt;&amp;nbsp;(Session description)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.A32E29E2-D5D3-4781-8CF9-7DCB234DA1BC" style="margin-top: 0.9em;"&gt;&lt;b&gt;u&lt;/b&gt;&amp;nbsp;(URI of subject material)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.DFF8273C-8C70-47BD-A9FB-12E3DD68E4FA" style="margin-top: 0.9em;"&gt;&lt;b&gt;e&lt;/b&gt;&amp;nbsp;(E-mail address of Session Point of Contact)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.217DB7AA-0DCF-4F6A-A5A0-E072FC9A65D5" style="margin-top: 0.9em;"&gt;&lt;b&gt;p&lt;/b&gt;&amp;nbsp;(Phone number of Session Point of Contact)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.4FA5EF52-1041-48CE-A0E0-D3A93D22FA38" style="margin-top: 0.9em;"&gt;&lt;b&gt;c&lt;/b&gt;&amp;nbsp;(Connection information: IP version and CIDR IP address)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.19C12363-75FA-43F7-896E-00BCC1E2F795" style="margin-top: 0.9em;"&gt;&lt;b&gt;e&lt;/b&gt;&amp;nbsp;(Encryption key as clear text, base64, uri, or prompt)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.96119713-BDCF-4FD7-9076-6BB4566221CD" style="margin-top: 0.9em;"&gt;&lt;b&gt;m&lt;/b&gt;&amp;nbsp;(Media type, connection port, transport method, and format list)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.8C4C139F-5A1E-4485-8052-96DF7D29627B" style="margin-top: 0.9em;"&gt;&lt;b&gt;t&lt;/b&gt;&amp;nbsp;(Session begin and end times)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.B0622C96-F8FC-4DDB-B9BC-9ECD28842552" style="margin-top: 0.9em;"&gt;&lt;b&gt;a&lt;/b&gt;&amp;nbsp;(Attribute)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="para" id="359-1" style="margin-top: 0.9em;"&gt;The following is an example of SDP data for supplying capabilities:&lt;/div&gt;&lt;div class="informalexample" id="N116"&gt;&lt;pre class="programlisting" id="359-2" style="font-family: 'Courier New', Courier, mono; margin-top: 0.4em; max-width: 800px; overflow-x: auto;"&gt;v=0&lt;br /&gt;o=bsmith 2208988800 2208988800 IN IP4 68.33.152.147&lt;br /&gt;s=-&lt;br /&gt;e=bsmith@foo.com&lt;br /&gt;c=IN IP4 20.1.25.50&lt;br /&gt;t=0 0&lt;br /&gt;a=recvonly&lt;br /&gt;m=audio 0 RTP/AVP 0 1 101&lt;br /&gt;a=rtpmap:0 PCMU/8000&lt;br /&gt;a=rtpmap:1 GSM/8000&lt;br /&gt;a=rtpmap:101 telephone-event/8000&lt;/pre&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev3sec144"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="360" name="360" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev3sec144" name="ch04lev3sec144" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;SDP Operation&lt;/h4&gt;&lt;div class="para" id="nr-formalpara.66A382D0-3C1C-4DF0-A5A8-A7608BC8D3F8" style="margin-top: 0.9em;"&gt;&lt;b&gt;&lt;/b&gt;Once a device has been queried, usually by a client sending an SIP request, it forms an SDP packet to send back. This SDP packet supplies all of the critical information about the session capabilities that the device offers. In its simplest form, this data contains the owner information, the audio and video codecs supported, and which ports connections are accepted on. In queries for particular sessions, the reply contains the session name, the session description, connection ports, and the range of time when the session will be active. All time stamps in SDP data are formed using Network Time Protocol (NTP) values. Additionally, the session ID and session version, which must be unique values, are generally created using NTP values to signify the current date and time.&lt;/div&gt;&lt;div class="para" id="nr-formalpara.9029EDA6-5184-4A4F-91D4-DF6D0ABB3A17" style="margin-top: 0.9em;"&gt;&lt;b&gt;&lt;/b&gt;Much of the current SDP usage is documented in RFC 4317, which describes the SDP Offer/Answer model. In this model, when a client wishes to communicate with another, it&lt;span class="beginpage" pagenum="134"&gt;&lt;a href="" id="361" name="361" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-134" name="IDX-134" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;transmits an SDP offer packet. This packet is arranged in a structure similar to the following example, provided by RFC 4317:&lt;/div&gt;&lt;div class="informalexample" id="N141"&gt;&lt;div class="widecontent" id="N142"&gt;&lt;pre class="programlisting" id="361-1" style="font-family: 'Courier New', Courier, mono; margin-top: 0.4em; max-width: 800px; overflow-x: auto;"&gt;v=0&lt;br /&gt;o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com&lt;br /&gt;s=&lt;br /&gt;c=IN IP4 host.atlanta.example.com&lt;br /&gt;t=0 0&lt;br /&gt;m=audio 49170 RTP/AVP 0 8 97&lt;br /&gt;a=rtpmap:0 PCMU/8000&lt;br /&gt;a=rtpmap:8 PCMA/8000&lt;br /&gt;a=rtpmap:97 iLBC/8000&lt;br /&gt;m=video 51372 RTP/AVP 31 32&lt;br /&gt;a=rtpmap:31 H261/90000&lt;br /&gt;a=rtpmap:32 MPV/90000&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="para" id="361-2" style="margin-top: 0.9em;"&gt;Reading through this packet, you can see that the owner line describes that the packet sender is “alice” who is listening for connections on host.atlanta.example.com. his data is sent to the person with whom she wishes to communicate. Once the other person has received the data and wishes to continue the connection, an answer packet is returned. Here is an example of this answer:&lt;/div&gt;&lt;div class="informalexample" id="N149"&gt;&lt;pre class="programlisting" id="361-3" style="font-family: 'Courier New', Courier, mono; margin-top: 0.4em; max-width: 800px; overflow-x: auto;"&gt;v=0&lt;br /&gt;o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com&lt;br /&gt;s=&lt;br /&gt;c=IN IP4 host.biloxi.example.com&lt;br /&gt;t=0 0&lt;br /&gt;m=audio 49174 RTP/AVP 0&lt;br /&gt;a=rtpmap:0 PCMU/8000&lt;br /&gt;m=video 49170 RTP/AVP 32&lt;br /&gt;a=rtpmap:32 MPV/90000&lt;/pre&gt;&lt;/div&gt;&lt;div class="last-para" id="361-4" style="margin-top: 0.9em;"&gt;In this example, Alice is initiating a connection with Bob. Alice’s Offer packet identifies that she supports three types of audio connections (PCMU, PCMIA, and iLBC), as well as two types of video connections (H.261 and MPV). Once Bob’s client has received the invitation and parsed the values, it chooses a compatible audio and video format and responds back.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec145" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="361-5" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="362" name="362" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec145" name="ch04lev2sec145" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Security Implications for SDP&lt;/h3&gt;&lt;div class="first-para" id="362-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Similar to the security issues of RSVP, much of the security implications for SDP arise due to the fact that a person can easily read session IDs and connection information off of a net&lt;span class="beginpage" pagenum="135"&gt;&lt;a href="" id="363" name="363" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-135" name="IDX-135" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;work segment and then tamper with existing communications. In seeing existing connection offers, and their corresponding SDP replies, an eavesdropper could use the information to determine devices that are allowing VoIP communications, and also spoof his way into an existing communication. An attacker may also be able to collect SDP offers and replay them at a later time, overriding values for ongoing communications, with the potential to disable audio feeds. However, nearly all security issues with SDP can be solved by using protocols to handle user authentication, such as SIP.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-3931127281438232565?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/3931127281438232565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=3931127281438232565' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/3931127281438232565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/3931127281438232565'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/11/session-description-protocol.html' title='Session Description Protocol'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-4983378466087955619</id><published>2011-11-18T05:55:00.000-08:00</published><updated>2011-11-18T05:55:01.275-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RSVP'/><category scheme='http://www.blogger.com/atom/ns#' term='Protocols'/><title type='text'>RSVP | Support Protocols</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="first-para" id="349-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;RSVP, short for the&amp;nbsp;&lt;b class="bold" style="font-weight: bold;"&gt;R&lt;/b&gt;esource Re&lt;b class="bold" style="font-weight: bold;"&gt;S&lt;/b&gt;er&lt;b class="bold" style="font-weight: bold;"&gt;V&lt;/b&gt;ation&amp;nbsp;&lt;b class="bold" style="font-weight: bold;"&gt;P&lt;/b&gt;rotocol, is a protocol designed to allow clients on networks to negotiate bandwidth to provide and maintain a high Quality of Service (QoS) for a specific connection. Normally, TCP/IP will make a best effort to route packets from one machine to another as quickly as possible. However, due to the dynamic routing of internetworking, where packets take completely different routes each time they are transmitted, this cannot be guaranteed. This creates a special issue for VoIP communication, which requires a high QoS to maintain seamless and non-interruptive communication between two people. VoIP can be an especially demanding protocol that requires long periods of high bandwidth and low latency, and without RSVP, these conditions may fall below acceptable levels which could result in a loss of quality or disconnections. RSVP allows a dedicated path across a network between each client so that packets are routed randomly around, which retains a high level of bandwidth, and less latency RSVP is especially useful for WAN connections within a global organization to maintain these set paths inside a network, as many Internet routers do not support the protocol.&lt;/div&gt;&lt;div class="para" id="349-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;The RSVP protocol was first described in RFC 2205 in late 1997. Further modifications were made to this RFC, and the best current practices for the RSVP protocol are now discussed in RFC 3936, created in late 2004. There are also other RFCs that describe additional extensions and uses for the RSVP protocol. These include RSVP for LSP Tunnels (RFC 3209) and RSVP security properties (RFC 4230).&lt;span class="beginpage" pagenum="130"&gt;&lt;a href="" id="350" name="350" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-130" name="IDX-130" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec139" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="350-1" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="351" name="351" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec139" name="ch04lev2sec139" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;RSVP Protocol&lt;/h3&gt;&lt;div class="first-para" id="351-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;The RSVP protocol works by transferring UDP packets from the recipient of the data transfer to its sender. This allows the data recipient to control whether to use regular TCP/IP or to use a dedicated path of travel between the two clients. The connection recipient initiates this path by sending a constructed RSVP packet to the connection initiator. This packet will contain a specific Message Type that indicates the action that should be acted upon. The common Message Types for an RSVP protocol are&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-2" style="margin-bottom: 0em; margin-top: 0em;"&gt;Path&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-3" style="margin-bottom: 0em; margin-top: 0em;"&gt;Resv (Reservation Request)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-4" style="margin-bottom: 0em; margin-top: 0em;"&gt;PathErr (Path Error)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-5" style="margin-bottom: 0em; margin-top: 0em;"&gt;ResvErr (Reservation Error)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-6" style="margin-bottom: 0em; margin-top: 0em;"&gt;PathTear (Path Teardown)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-7" style="margin-bottom: 0em; margin-top: 0em;"&gt;ResvTear (Reservation Teardown)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-8" style="margin-bottom: 0em; margin-top: 0em;"&gt;ResvConf (Reservation Confirmation)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="para" id="351-9" style="margin-top: 0.9em;"&gt;The RSVP packet also carries a data payload containing specific information on how the path should be constructed. The payload contains information such as:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-10" style="margin-bottom: 0em; margin-top: 0em;"&gt;Session (Destination IP, Tunnel ID, Extended Tunnel ID)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-11" style="margin-bottom: 0em; margin-top: 0em;"&gt;Hop (the neighboring router’s IP)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-12" style="margin-bottom: 0em; margin-top: 0em;"&gt;Time Values (the refresh interval)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-13" style="margin-bottom: 0em; margin-top: 0em;"&gt;Explicit Route (a list of routers between the two devices that creates the data path)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="351-14" style="margin-bottom: 0em; margin-top: 0em;"&gt;Adspec (specifies the minimum path latency, MTU, and bandwidth requirements)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="section" id="ch04lev3sec140"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="352" name="352" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev3sec140" name="ch04lev3sec140" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;RSVP Operation&lt;/h4&gt;&lt;div class="first-para" id="352-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;To create a dedicated path of travel, the RSVP protocol relies heavily on its Path and Resv messages. The Path message packet is used to define the path of routers to be used for communication between the two clients. This packet is sent from the receiving end of the communication towards the sender. As it passes through each individual router, the router examines the packet to determine its neighboring IP addresses, to which it must route packets to. The Resv message, or Reservation request, is equally important. The Resv message is sent from each router to its neighboring router, one hop at a time. The Resv packet helps create the reservation on each router involved in the path. The transfer of Path and Resv packets is detailed in&amp;nbsp;Figure 1.&lt;span class="beginpage" pagenum="131"&gt;&lt;a href="" id="353" name="353" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-131" name="IDX-131" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="first-para" id="352-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-yMuKPaOUFkM/Trv0FRX4DEI/AAAAAAAAD94/wq0R8qjVfyA/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="79" src="http://3.bp.blogspot.com/-yMuKPaOUFkM/Trv0FRX4DEI/AAAAAAAAD94/wq0R8qjVfyA/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch04fig07" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="354" name="354" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04fig07" name="ch04fig07" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="354-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;Creating an RSVP Path&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="354-2" style="margin-top: 0.9em;"&gt;Once a path has been created, with each router maintaining a reservation for the data, it must be updated routinely to remain open. If a router has not received a Resv and Path packet before the refresh interval on the path has been exhausted, then the router will remove the reservation from itself. As Resv and Path packets arrive to maintain the reservation, they may also make changes to it. If the path between the clients is to change to substitute routers, the recipient just sends a new Path message with the updated path and it will become effective. Each router will continually update its stored information based on the packets it continually receives during the transmission.&lt;/div&gt;&lt;div class="last-para" id="354-3" style="margin-top: 0.9em;"&gt;Once the communication between the two devices has ended, they initiate a teardown of the path. Although, realistically they could just stop transmitting RSVP packets and eventually the reservations on the routers would expire, it is recommended that they formally tear down the path immediately after finishing the connection. The teardown may be initiated by either side of the communication, or from any of the routers within the communication. A PathTear packet may be sent downstream from the sender, or a ResvTear may be sent upstream from the receiver. As each router in the path receives a teardown packet, they will immediately remove the path reservation and forward the packet onto the next hop in the path.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec141" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="354-4" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="355" name="355" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec141" name="ch04lev2sec141" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Security Implications for RSVP&lt;/h3&gt;&lt;div class="first-para" id="355-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Many of the security issues with the RSVP protocol involve actions that a person with malicious intentions could take to either disrupt traffic or capture it. For one, as the Path and Resc packets are transmitted across the network, they each include a session ID that can be used to uniquely identify a particular RSVP session. This data is also sent as clear text, where anyone who is armed with a network sniffer can capture the data. Knowing the session ID, a person could then use the same session ID and send a Path message to one of the routers in the path. This new Path could alter the path of the network, leading the network transmission to a completely different client than intended. Or, it could be used to disrupt the communication completely, preventing an RSVP connection to take place between the two devices.&lt;span class="beginpage" pagenum="132"&gt;&lt;a href="" id="356" name="356" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-132" name="IDX-132" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="last-para" id="356-1" style="margin-top: 0.9em;"&gt;There are various solutions that have come about to resolve issues like this. For one, the Session ID could be encoded into a public key that will be included in each packet, as well as a timestamp that acts as a digital signature. If the two devices are within the same localized network, a third-party server could be used to establish the identities of each device. Many such security implications and solutions were drafted by various authors, including Hannes Tschofenig, in an Internet Draft located at&lt;a class="url" href="http://www.tschofenig.com/drafts/draft-ietf-nsis-rsvpsec-properties-06.txt" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;www.tschofenig.com/drafts/draft-ietf-nsis-rsvpsec-properties-06.txt&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-4983378466087955619?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/4983378466087955619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=4983378466087955619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4983378466087955619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4983378466087955619'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/11/rsvp-support-protocols.html' title='RSVP | Support Protocols'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-yMuKPaOUFkM/Trv0FRX4DEI/AAAAAAAAD94/wq0R8qjVfyA/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-9135746947509252848</id><published>2011-11-15T06:13:00.000-08:00</published><updated>2011-11-15T06:13:00.226-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DHCP'/><category scheme='http://www.blogger.com/atom/ns#' term='Protocols'/><title type='text'>DHCP | Support Protocols</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;span class="beginpage" pagenum="126" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small; text-align: left;"&gt;&lt;a href="" id="341" name="341" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-126" name="IDX-126" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="para" id="341-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;The Dynamic Host Configuration Protocol (DHCP) is a protocol that was designed to allow network configuration of clients and workstations. Every workstation and device that is making use of a network must be assigned a unique IP address, as well as assigned a subnet mask and gateway IP address. In a network environment where there are hundreds, or thousands, of workstations, this could become an administrative nightmare. DHCP is a popular answer to this problem, automatically assigning IP addresses and other relevant configuration information to each individual device as it comes online.&lt;/div&gt;&lt;div class="para" id="341-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;DHCP is a critical support protocol in the VoIP world because it allows VoIP phones and devices to be portable from one network to another. Instead of manually configuring the device after plugging it into each network, the device simply “pings” the network to find an existing DHCP server. The device then automatically receives an IP address and network details from the server and is then immediately useable on the network, without any interaction with the user.&lt;/div&gt;&lt;div class="para" id="341-3" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;The DHCP protocol was first discussed in RFC 1531 and RFC 1541 in 1993. Currently, RFC 2131 describes DHCP, and has made the previous RFCs obsolete. There are many RFCs that describe additional extensions and uses for DHCP, though—for example, DHCP for IEEE 1394 (RFC 2855) and DHCP for SIP servers (RFC 3361).&lt;/div&gt;&lt;div class="section" id="ch04lev2sec135" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="341-4" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="342" name="342" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec135" name="ch04lev2sec135" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;DHCP Protocol&lt;/h3&gt;&lt;div class="first-para" id="342-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;The primary function of DHCP is to supply critical network information to clients automatically, to reduce the effort of a network administrator in manually configuring various devices on a network. For DHCP to work, there must be a DHCP server (or relay) running on the network segment where clients will be connecting. The DHCP server listens con&lt;span class="beginpage" pagenum="127"&gt;&lt;a href="" id="343" name="343" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-127" name="IDX-127" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;stantly for incoming UDP packets on port 67, a port reserved for DHCP usage. When a new, DHCP-enabled device is connected to the network, it sends a broadcast packet to detect any running DHCP servers. The DHCP server then responds with a DHCP offer, which contains an assigned IP address.&lt;/div&gt;&lt;div class="para" id="343-1" style="margin-top: 0.9em;"&gt;Eight types of packets are used within the DHCP protocol:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="343-2" style="margin-bottom: 0em; margin-top: 0em;"&gt;Discover&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="343-3" style="margin-bottom: 0em; margin-top: 0em;"&gt;Offer&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="343-4" style="margin-bottom: 0em; margin-top: 0em;"&gt;Request&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="343-5" style="margin-bottom: 0em; margin-top: 0em;"&gt;Decline&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="343-6" style="margin-bottom: 0em; margin-top: 0em;"&gt;ACK&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="343-7" style="margin-bottom: 0em; margin-top: 0em;"&gt;NAK&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="343-8" style="margin-bottom: 0em; margin-top: 0em;"&gt;Release&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="343-9" style="margin-bottom: 0em; margin-top: 0em;"&gt;Inform&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="section" id="ch04lev3sec136"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="344" name="344" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev3sec136" name="ch04lev3sec136" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;DHCP Operation&lt;/h4&gt;&lt;div class="first-para" id="344-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;When a client first joins a network, either by being plugged into the network segment or by being powered on, it does not have an IP address assigned to it. In order to request one, it sends a DHCP Discover packet across the network. It does so by sending a packet from IP address 0.0.0.0 to the broadcast IP address 255.255.255.255, which allows the packet to reach every single device on the network segment. This packet may include information about the client itself, such as the network interface’s MAC address and the computer’s designated host name.&lt;/div&gt;&lt;div class="para" id="344-2" style="margin-top: 0.9em;"&gt;Once a server has received a DHCP Discover packet, it immediately checks its preset range (scope) of IP addresses to determine the next available number. Optionally, the DHCP server will also compare the requestor’s MAC address against a local table to determine if the client is allowed to receive an IP address. After an address has been chosen, a DHCP Offer packet is transmitted back to the requesting client, targeted by its MAC address. This packet includes the assigned IP address, the lease time of the IP address, subnet mask, gateway address, and chosen DNS servers, as well as other network information that is to be implemented into the client.&lt;/div&gt;&lt;div class="para" id="344-3" style="margin-top: 0.9em;"&gt;Once the client has received a DHCP Offer packet, it responds with a DHCP Request packet. This packet is similar to the original DHCP Discover packet in that it is sent from 0.0.0.0 to 255.255.255.255. This packet serves to notify the server that the client has accepted the assigned IP address, and also notifies all other clients on the network segment that the assigned IP address has been taken. Finally, the server responds back to the client with a DHCP Acknowledgement (ACK) to confirm the address has Request has been received. This communication between the client and DHCP server is detailed in&amp;nbsp;Figure 1.&lt;span class="beginpage" pagenum="128"&gt;&lt;a href="" id="345" name="345" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-128" name="IDX-128" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="344-3" style="margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-XnE7-BSVYi8/Trvzsc7RsQI/AAAAAAAAD9w/gdW8P5Hv0dc/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="160" src="http://1.bp.blogspot.com/-XnE7-BSVYi8/Trvzsc7RsQI/AAAAAAAAD9w/gdW8P5Hv0dc/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch04fig06" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="346" name="346" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04fig06" name="ch04fig06" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&lt;span class="figurespace" style="width: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="346-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;The DHCP Process&lt;/span&gt;&lt;/div&gt;&lt;div class="figure" id="ch04fig06" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;span class="figure-title" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec137" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="346-2" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="347" name="347" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec137" name="ch04lev2sec137" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Security Implications for DHCP&lt;/h3&gt;&lt;div class="first-para" id="347-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;A variety of security concerns come into play whenever DHCP is enabled on a network segment. These security issues don’t deal so much with leaked data such as passwords. Instead, they focus more on access into a network from unauthorized clients. A basic DHCP server runs under the assumption that any DHCP Discover and Request should be honored as an authorized client. In this setup, any device that requests network information will be able to receive it, no questions asked. However, this opens the door for any person with physical access to the network to be able to plug in unauthorized devices and receive network access.&lt;/div&gt;&lt;div class="para" id="347-2" style="margin-top: 0.9em;"&gt;A number of ways exist to reduce this network exposure, from modifying the network switches to modifying the DHCP configuration. Most of these security implementations involve verifying the MAC address of the client device before allowing it to receive an IP address. One of the more extensive fixes is to enable port security on the implemented network switches. With port security in place, the physical connection port can be locked to allow only a single MAC address access through it. This can help prevent employees, or contractors, from installing a small network hub or wireless router, and giving multiple devices access to the network.&lt;/div&gt;&lt;div class="para" id="347-3" style="margin-top: 0.9em;"&gt;However, an easier method is to provide DHCP addresses just to devices that have a particular MAC address assigned to them. All network devices have a MAC address coded into them, and these addresses follow a set structure. The first six bytes of the MAC address specifies the vendor ID, or the company that manufactured the device. If you wish to restrict DHCP to just particular VoIP phones or devices on your network, this is possible by identifying the vendor ID on the devices and configuring the DHCP server to provide addresses only to devices that have the same vendor ID. For example, Grandstream Networks VoIP phones all have a vendor ID of 00:0B:82.&lt;span class="beginpage" pagenum="129"&gt;&lt;a href="" id="348" name="348" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-129" name="IDX-129" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="348-1" style="margin-top: 0.9em;"&gt;Another security issue that can arise with DHCP is coupled with TFTP, and the security risks associated with it. If a network uses a TFTP server to transmit bootable disk images to computers, much of the configuration material to specify where these particular disk images are located is located within the DHCP responses. When clients receive a DHCP offer, they can choose to take advantage of this information, depending on their boot states. However, a malicious user could monitor these packets to determine the location of any TFTP servers, as well as the particular files used on these servers.&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="tip" style="font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-weight: bold;" valign="top"&gt;Tip&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="348-2" style="font-family: Arial, Arial, Helvetica, sans-serif; vertical-align: top;"&gt;To ease the installation of IP telephones, create a separate scope of IP addresses with a MAC filter to only allow IP telephones to lease an address. Collect the unique vendor IDs from the authorized telephones to create this filter.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-9135746947509252848?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/9135746947509252848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=9135746947509252848' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/9135746947509252848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/9135746947509252848'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/11/dhcp-support-protocols.html' title='DHCP | Support Protocols'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-XnE7-BSVYi8/Trvzsc7RsQI/AAAAAAAAD9w/gdW8P5Hv0dc/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-6069908944380694188</id><published>2011-11-11T00:00:00.000-08:00</published><updated>2011-11-11T00:00:05.281-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP'/><category scheme='http://www.blogger.com/atom/ns#' term='Protocols'/><title type='text'>SNMP | Support Protocols</title><content type='html'>&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="background-color: white; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0em; text-align: left;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="first-para" id="332-1" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em; text-align: left;"&gt;SNMP, short for Simple Network Management Protocol, is a high-level protocol and architecture that allows for the monitoring and maintenance of network devices to detect problems, and to fine-tune the network for performance. There are two key versions of SNMP in use today, SNMPv1 and SNMPv2. While the two share many commonalities, there are some very beneficial additions made to SNMPv2. However, as many people disagreed with the security profiles implemented into SNMPv2, it has remained less popular and less used than SNMPv1. Since that time, a newer version of SNMP was released: the Community-Based SNMP, or SNMPv2c. However, the current standard, adopted in 2004, is SNMPv3. SNMP plays a useful role in maintaining and administering VoIP networks by allowing a person the ability to easily monitor the bandwidth and performance of all the major components of a network.&lt;/div&gt;&lt;div class="para" id="332-2" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; text-align: left;"&gt;The SNMP protocol is defined under RFC 1157 as SNMPv1, and the characteristics of its immediate successor, SNMPv2, are defined in RFC 1902. SNMPv2c is officially detailed in RFC 1901 and in RFC 1908. SNMPv3 is defined in RFC 3411 and RFC 3418.&lt;span class="beginpage" pagenum="124"&gt;&lt;a href="" id="333" name="333" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-124" name="IDX-124" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec131" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="333-1" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="334" name="334" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec131" name="ch04lev2sec131" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;SNMP Architecture&lt;/h3&gt;&lt;div class="first-para" id="334-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;An SNMP implementation on a network involves three components to be integrated: the devices to be managed, agents, and Network Management Systems (NMSes). The devices to be managed are simply computers or devices on the network that reside on the network. These are the devices that an administrator would like to monitor on the network. Each device must have an agent installed on them, which is a software application that continually monitors the device for predefined events or errors and transmits them to a centralized management server, an NMS. The NMS collects all of the data that is routinely transferred from the various network devices and correlates it into useful information for an administrator to read and evaluate.&lt;/div&gt;&lt;div class="para" id="334-2" style="margin-top: 0.9em;"&gt;However, even with all of these components working together on a network, there still must be a structure to all of the individual data that can be gathered across a network by an NMS. This is implemented by the use of a Management Information Base (MIB). See&amp;nbsp;Figure 1&amp;nbsp;for a diagram on how these components work together.&lt;/div&gt;&lt;div class="para" id="334-2" style="margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-t1BmoIAkElE/TrvzHxI1JiI/AAAAAAAAD9o/OF50dfauhzA/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="264" src="http://4.bp.blogspot.com/-t1BmoIAkElE/TrvzHxI1JiI/AAAAAAAAD9o/OF50dfauhzA/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch04fig05" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="335" name="335" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04fig05" name="ch04fig05" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="335-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;SNMP Network Components&lt;/span&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev3sec132"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="336" name="336" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev3sec132" name="ch04lev3sec132" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;SNMP Operation&lt;/h4&gt;&lt;div class="first-para" id="336-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;The SNMP protocol works under a very simplified model of data collection and control of the managed devices. Only a few basic commands are used in the SNMP protocol, such as GETKEQUEST, GETNEXTREQUEST, SETREQUEST, and TRAP. An NMS invokes GETREQUEST to collect data from a device, and GETNEXTREQUEST to retrieve the&amp;nbsp;&lt;span class="beginpage" pagenum="125"&gt;&lt;a href="" id="337" name="337" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-125" name="IDX-125" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;next value in a set. An NMS can also invoke the SETREQUEST command to save data to a managed device. The TRAP command is the only one not initiated by the NMS; it is sent out by the client to report any unusual activity it has detected.&lt;/div&gt;&lt;div class="last-para" id="337-1" style="margin-top: 0.9em;"&gt;On the client side, the Management Information Base (MIB) acts as a tree that catalogs all of the various data components of the system or device. Each of these data components are known by their object identifiers (OIDs). The OID is made up of multiple sets of numbers, each separated by a period, in a structured order similar to that of an IP address. As a general rule, all OIDs begin with .1.3.6.1.2.1, except on many Cisco devices which use .1.3.6.1.4.1.9. To request a data value, an established OID must be specified. For example, to request the system up time, OID .1.3.6.1.2.1.1.2 is read.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec133" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;"&gt;&lt;h3 class="sect3-title" id="337-2" style="color: maroon; font-size: medium; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="338" name="338" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec133" name="ch04lev2sec133" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;SNMP Architecture&lt;/h3&gt;&lt;div class="first-para" id="338-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;The SNMP protocol has many areas that require careful attention and configuration simply due to the amount of information that could be leaked out to malicious users. Since all of this data is retrievable by anyone requesting it, there must be some safeguards put in place to prevent unauthorized users from being able to read data, or modify it. This is performed by the use of a community string. A community string acts as a password to group data into either read-only or read-write areas. By default, most software is setup to use a default community string of “public” for their read-only data. Likewise, many implementations use a default community string of “private” for their read-write data. It is particularly dangerous to leave such community strings in place, as they are well known to malicious users, and an unchanged read-write community string allows an attacker the ability to modify critical data on a device.&lt;/div&gt;&lt;div class="sidebar" id="sidebar.98460C4D-B6EF-41B9-A667-63E9423361CC" style="margin-bottom: 1em; margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="339" name="339" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="sidebar.98460C4D-B6EF-41B9-A667-63E9423361CC" name="sidebar.98460C4D-B6EF-41B9-A667-63E9423361CC" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;hr class="blueline" style="color: #010100; margin-bottom: 0px; margin-top: 0px;" /&gt;&lt;span class="sidebar-title" style="color: maroon; font-weight: bold; margin-bottom: 0.4em; text-align: center;"&gt;&lt;b&gt;&lt;center&gt;Are You Owned?—Are You Allowing Sensitive Data to Be Leaked?&lt;/center&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="first-para" id="339-1" style="margin-bottom: 0em; margin-top: 0em;"&gt;Due to the open nature of SNMP, allowing any person to easily request data, unique community strings should be defined for network components that you can administer. Proper care must also be taken in evaluating IP telephones to ensure that they do not have unsecured SNMP access available. Otherwise, all of your SNMP-enabled components, such as workstations, servers, routers, and phones, can disclose sensitive information to anyone who asks. Unless you are constantly monitoring network traffic, you may not even know that this information is being gathered by malicious people within your network environment—or, even worse, being modified to cover unauthorized actions.&lt;/div&gt;&lt;div class="para" id="339-2" style="margin-top: 0.9em;"&gt;This issue came to light recently when it was discovered that the Cisco 7920 Wireless IP Phone contained a fixed community string that allowed malicious users to gather and modify data on the devices. The vulnerability and its fix were given a Cisco bug ID of CSCsb75186. They can also be reviewed at&amp;nbsp;&lt;a class="url" href="http://securitytracker.com/id?1015232" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;http://securitytracker.com/id?1015232&lt;/a&gt;.&lt;/div&gt;&lt;div class="para" id="339-3" style="margin-top: 0.9em;"&gt;Likewise, similar SNMP vulnerabilities surfaced with the Hitachi IP5000 phone. These devices did not have a protected community string, which meant that any person could have full SNMP access to all of the data on the device, including the ability to alter and erase it.&lt;/div&gt;&lt;div class="last-para" id="339-4" style="margin-top: 0.9em;"&gt;On a lesser scale, the UTstarcom F1000 IP phone featured the default public community string, which allowed anyone to view data stored on the phone, some of which could be considered sensitive. Additionally, when using SNMP scanning software, the phone suffered from numerous SNMP issues that required a full reboot to fix.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-6069908944380694188?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/6069908944380694188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=6069908944380694188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/6069908944380694188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/6069908944380694188'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/11/snmp-support-protocols.html' title='SNMP | Support Protocols'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-t1BmoIAkElE/TrvzHxI1JiI/AAAAAAAAD9o/OF50dfauhzA/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-8387721993642254513</id><published>2011-10-27T01:30:00.000-07:00</published><updated>2011-10-27T01:30:01.645-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTTP'/><category scheme='http://www.blogger.com/atom/ns#' term='Protocols'/><title type='text'>HTTP | Support Protocols</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="color: navy; font-size: medium; font-weight: bold; margin-bottom: 0.5em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="first-para" id="324-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The Hyper Text Transfer Protocol (HTTP) is one of the most well known, and well used, protocols on the Internet. It is the protocol by which Web pages are transmitted from Web servers to clients, but it is also used by many other applications to send data between computers. For example, many peer-to-peer clients make use of the solid structure of HTTP to transfer data segments of shared files between peers. HTTP can be used to transmit both ASCII and binary data between computers.&lt;/div&gt;&lt;div class="para" id="324-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;HTTP is commonly used in the VoIP community as a way for administrators to remotely administer and configure devices. Many network management devices offer a Web-based administration panel by which the device can be altered and configured for a&amp;nbsp;&lt;span class="beginpage" pagenum="121"&gt;&lt;a href="" id="325" name="325" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-121" name="IDX-121" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;particular environment. Many such devices also require user authentication to be able to fully access the configuration data.&lt;/div&gt;&lt;div class="para" id="325-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;HTTP was first described in RFC 1945 at HTTP 1.0 by its founder, Tim Berners-Lee. Currently, RFC 2616 is used to describe the HTTP 1.1 protocol; however, various other RFCs describe additional extensions and uses for the HTTP protocol. These include HTTP Authentication (RFC 2617), Secure HTTP (RFC 2660), and CGI (RFC 3875).&lt;/div&gt;&lt;div class="section" id="ch04lev2sec126"&gt;&lt;h3 class="sect3-title" id="325-2" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="326" name="326" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec126" name="ch04lev2sec126" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;HTTP Protocol&lt;/h3&gt;&lt;div class="first-para" id="326-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The function of HTTP and its protocol was designed to be very straightforward and usable by many applications. When a client wishes to request a file from an HTTP server, it simply creates a TCP session with the server and transmits a GET command with the name of the requested file and the HTTP protocol version (for example, GET /index.html HTTP/1.1). The HTTP server then responds back with the appropriate data. The response from the server will be either the data requested by the client, or an error message describing why it cannot send the data. All of the commands within the HTTP protocol are sent in regular ASCII text, with each line followed by a carriage return/line feed (CR/LF). In network logs, the CR/LF appear as hexadecimal 0x0D0A.&lt;/div&gt;&lt;div class="section" id="ch04lev3sec127"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="327" name="327" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev3sec127" name="ch04lev3sec127" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;HTTP Client Request&lt;/h4&gt;&lt;div class="first-para" id="327-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;For a client to retrieve data from an HTTP server, it must know the exact filename and location to construct an appropriate file request. For most purposes, this information is supplied in the form of a uniform resource locator (URL), which specifies a particular HTTP server, directory path, and file name (for example,&amp;nbsp;&lt;a class="url" href="http://www.digg.com/faq/index.php" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;www.digg.com/faq/index.php&lt;/a&gt;). When a client wishes to view this specific page, index.php, it must first make a connection to&amp;nbsp;&lt;a class="url" href="http://www.digg.com/" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;www.digg.com&lt;/a&gt;. This is performed by resolving the domain name to an IP through DNS, which results in the IP address of 64.191.203.30. The client then initiates a TCP connection to 64.191.203.30 and makes a request of GET /faq/index.php HTTP/1.1. This request also includes other information about the client, some of which may be required for HTTP 1.1, such as the host value. An example of a full HTTP GET request is shown next:&lt;/div&gt;&lt;div class="informalexample" id="N46"&gt;&lt;div class="widecontent" id="N47"&gt;&lt;pre class="programlisting" id="327-2" style="font-family: 'Courier New', Courier, mono; font-size: small; margin-top: 0.4em; max-width: 800px; overflow-x: auto;"&gt;GET /download.html HTTP/1.1&lt;br /&gt;Host: www.ethereal.com&lt;br /&gt;User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113&lt;br /&gt;Accept: \&lt;br /&gt;text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain; \&lt;br /&gt;q=0.8,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1&lt;br /&gt;Accept-Language: en-us,en;q=0.5&lt;br /&gt;Accept-Encoding: gzip, deflate&lt;br /&gt;Accept-Charset: ISO-8859–1,utf-8;q=0.7,*;q=0.7&lt;br /&gt;Keep-Alive: 300&lt;br /&gt;Connection: keep-alive&lt;br /&gt;Referer: http://www.ethereal.com/development.html&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="beginpage" pagenum="122"&gt;&lt;a href="" id="328" name="328" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-122" name="IDX-122" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev3sec128"&gt;&lt;h4 class="sect4-title" id="annotationlabel-2" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="329" name="329" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev3sec128" name="ch04lev3sec128" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;HTTP Server Response&lt;/h4&gt;&lt;div class="first-para" id="329-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Upon receiving a GET request from a client, a server first ensures that the file requested does exist. If it does, the data is then sent back to the requesting client. If not, an error message is sent. Regardless of the action, a specific server response is sent back to the client that includes a status code. This status code informs the client of the response type. The most common is a 200 code, which informs the client that the file was found and will be sent. It is transmitted in the form of HTTP/1.1 200 OK, which specifies the HTTP protocol version, the status code, and a brief description of the code. Other common status codes include “404 Not Found,” which indicates that the requested file could not be located by the server, and “500 Internet Server Error” which indicates that there is a problem with the HTTP server. The following is an example of an HTTP response:&lt;/div&gt;&lt;div class="informalexample" id="N63"&gt;&lt;pre class="programlisting" id="329-2" style="font-family: 'Courier New', Courier, mono; font-size: small; margin-top: 0.4em; max-width: 800px; overflow-x: auto;"&gt;HTTP/1.1 200 OK&lt;br /&gt;Date: Thu, 13 May 2004 10:17:12 GMT&lt;br /&gt;Server: Apache&lt;br /&gt;Last-Modified: Tue, 20 Apr 2004 13:17:00 GMT&lt;br /&gt;Accept-Ranges: bytes&lt;br /&gt;Content-Length: 18070&lt;br /&gt;Keep-Alive: timeout=15, max=100&lt;br /&gt;Connection: Keep-Alive&lt;br /&gt;Content-Type: t ext/html; charset ++ ISO-8859–1&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec129"&gt;&lt;h3 class="sect3-title" id="329-3" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="330" name="330" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec129" name="ch04lev2sec129" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Security Implications for HTTP&lt;/h3&gt;&lt;div class="first-para" id="330-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Due to the simple design of HTTP, and the early state of the Internet when it was unveiled, security wasn’t a high priority in the protocol. All data sent through HTTP was sent as clear text, which allowed any person to be able to sniff the traffic flowing across the wire and parse out sensitive data, such as usernames, passwords, and network configuration data. This is particularly dangerous since many VoIP and network management devices use HTTP as a means to allow administrators to check the status of the device and to configure additional settings. A person with malicious intent on the same network segment as the device could pick out various usernames and passwords that may work on additional computers or devices.&lt;/div&gt;&lt;div class="para" id="330-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;HTTP also supports multiple forms of authentication, which is a means by which the HTTP server can verify a user’s identity. The two authentication forms currently used are basic and digest authentications. When a server supports authentication, it sends a 401 “Authentication Required” response to clients that request sensitive data. This response will&amp;nbsp;&lt;span class="beginpage" pagenum="123"&gt;&lt;a href="" id="331" name="331" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-123" name="IDX-123" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;also include a “realm” (a name associated with the Web site) that notifies the user what they are accessing. When a client receives such a response, it will provide a log-in window to the user to input a valid user name and password. These values will then be transmitted back to the requesting server for verification. Because of HTTP’s design, though, these credentials will have to be constantly transmitted to the server for every further data transmission. Each of these transactions will transmit the user name and password in the clear.&lt;/div&gt;&lt;div class="para" id="331-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Another form of authentication supported by modern HTTP clients and servers is digest authentication, which is described in depth in RFC 2617. Digest authentication has an advantage over basic authentication in that it does not send a clear password over the network. Instead, an MD5 (Message Digest) value of the password is transmitted to the requesting server. The server then uses this digest value for password comparisons. However, digest authentication is not fully supported in many older Web browsers. It also does not fully protect a user’s credentials. The user name and other information about the user are still transmitted in the clear. And, even though the password is obfuscated, a skilled, malicious user can still capture the MD5 value and use it for future transactions with that particular server to use another person’s account.&lt;/div&gt;&lt;div class="last-para" id="331-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Many devices have recently provided support for HTTPS to overcome the openness of the HTTP protocol. HTTPS is a modification of HTTP wherein all data between a client and server are encrypted using the Secure Sockets Layers (SSL). In order for HTTPS to function, both the server and the client must be able to support it, and it must be specifically chosen as the form of communication in the URL. For example, instead of&amp;nbsp;&lt;a class="url" href="http://www.foo.com/" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;http://www.foo.com&lt;/a&gt;, a secure connection would use&amp;nbsp;&lt;a class="url" href="http://https//www.foo.com" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;https://www.foo.com&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-8387721993642254513?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/8387721993642254513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=8387721993642254513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/8387721993642254513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/8387721993642254513'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/10/http-support-protocols.html' title='HTTP | Support Protocols'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-3886589011464773408</id><published>2011-10-23T09:50:00.000-07:00</published><updated>2011-10-23T09:50:00.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TFTP'/><category scheme='http://www.blogger.com/atom/ns#' term='Protocols'/><title type='text'>TFTP | Support Protocols</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="color: navy; font-size: medium; font-weight: bold; margin-bottom: 0.5em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;span class="beginpage" pagenum="118"&gt;&lt;a href="" id="317" name="317" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-118" name="IDX-118" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="para" id="317-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The Trivial File Transfer Protocol (TFTP) is a simplified protocol used to transfer files from a server to a client. Unlike more evolved file protocols, such as FTP, TFTP was designed to work in pure simplicity, requiring less overhead and interaction. Its primary usage today is in computers and devices that do not have storage devices, commonly known as “thin client PCs.” Without offline storage, especially one that can be updated, it is difficult to maintain how such devices can operate. Instead of booting off of a hard drive or flash ROM, these devices use TFTP to request data from a central server to boot from. Or, such devices can boot from internal ROM memory and use TFTP to request configuration data to use during their operation. Also, devices can use TFTP to request firmware updates which they can then flash to their ROM chips to update the built-in software code. This is especially useful since customized sets of data can be stored for individual user devices within a corporate environment.&lt;/div&gt;&lt;div class="para" id="317-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The role of TFTP in transferring data is well used throughout the computer industry. Virtually all modern computers support the ability to boot from the network. In this mode, the computer will attempt to locate a TFTP server on its network segment once it boots. In finding one, the client requests a bootable image from the server, usually in the form of a floppy disk image. Once it has received the data, the client will then proceed to boot from the image, as if it was an actual floppy disk or CD-ROM.&lt;/div&gt;&lt;div class="para" id="317-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;In the VoIP community, TFTP has a critical role in allowing VoIP devices and telephones to obtain configuration data from centralized servers. These devices are built with internal Flash ROM memory chips that contain simplified hardware architecture that does not allow for continual write access to memory. Instead, data is only written once to the device’s memory and read continuously by the internal operating system.&lt;/div&gt;&lt;div class="para" id="317-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The TFTP protocol was first described in 1980 as IEN (Internet Experiment Note) 133. Its first formal RFC was RFC 783, which was later updated in RFC 1350. However, there are various RFCs that also describe individual actions and abilities that TFTP could be used for. These include Bootstrap loading (RFC 906) and TFTP multicasting (RFC 2090). The next few sections of the chapter detail a high-level overview of the TFTP architecture and several related security threats associated with the protocol.&lt;/div&gt;&lt;div class="section" id="ch04lev2sec122"&gt;&lt;h3 class="sect3-title" id="317-5" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="318" name="318" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec122" name="ch04lev2sec122" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;TFTP Security Concerns&lt;/h3&gt;&lt;div class="first-para" id="318-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;In order to better understand and be able to address the security concerns associated with TFTP properly, it is important to have at least a high-level understanding of how TFTP works. Unlike most other file transfer protocols, TFTP operates by transmitting UDP packets. While connection-less UDP packets are generally frowned upon for reliable data transmissions, they allow for a simpler implementation into the protocol, as well as faster transfer speeds. The abilities of the protocol are also very limited, allowing only for the ability to read and write data. The protocol does not have any mechanism displaying information about&amp;nbsp;&lt;span class="beginpage" pagenum="119"&gt;&lt;a href="" id="319" name="319" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-119" name="IDX-119" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;available files and directories on a server. The client must know the name of the file that they wish to download when connecting.&lt;/div&gt;&lt;div class="para" id="319-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;There are very strict regulations on how data is sent between computers, which allows for client applications to be written easier. Similar to the FTP protocol, TFTP allows for data to be sent as either ASCII or binary. This data is sent in individual UDP packets between the two devices. Of these packets, five types can be transmitted, each one identified by an operation code in the header of the data.&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="319-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Read Request (RRQ)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="319-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Write Request (WRQ)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="319-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Data&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="319-5" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Acknowledgement (ACK)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="319-6" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Error&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="section" id="ch04lev3sec123"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="320" name="320" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev3sec123" name="ch04lev3sec123" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;TFTP File Transfer Operation&lt;/h4&gt;&lt;div class="first-para" id="320-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;When a client wishes to download a file from a TFTP server, it first sends a Read Request (RRQ) packet to the TFTP server. This packet identifies itself as an RRQ packet, and also specifies both the name of the file the client wishes to download and the data mode (binary or ASCII). Likewise, if the client wishes to upload a file to a TFTP server, it sends an identical Write Request (WRQ) packet, which also contains the file name and data mode. The sending computer then immediately starts sending data packets to the recipient computer. If the data is greater than 512 bytes in size, multiple packets will be sent. A packet that contains a data portion smaller than 512 bytes is seen as the last packet in the transfer. Following the receipt of each data packet, the receiving computer sends an acknowledgement (ACK) packet to the sender, notifying it that the transfer was successful.&amp;nbsp;Figure 1&amp;nbsp;details this transfer of data between two computers.&lt;/div&gt;&lt;div class="first-para" id="320-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Vwjz8MweTNc/Tp7_oyWKXFI/AAAAAAAAD6A/tIYo2MSdLBc/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="174" src="http://4.bp.blogspot.com/-Vwjz8MweTNc/Tp7_oyWKXFI/AAAAAAAAD6A/tIYo2MSdLBc/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch04fig04" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="321" name="321" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04fig04" name="ch04fig04" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;br style="line-height: 1;" /&gt;&lt;span class="figure-title" id="321-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;TFTP Data Transferral&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec124"&gt;&lt;h3 class="sect3-title" id="321-2" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="" id="322" name="322" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="ch04lev2sec124" name="ch04lev2sec124" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Security Implications for TFTP&lt;/h3&gt;&lt;div class="first-para" id="322-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Insomuch that TFTP was designed for simplicity and ease of use, any mechanisms normally used to secure data were not implemented into its protocol It was originally planned by engineers that usernames and passwords should not ever be required for TFTP access, but this has led to many security issues. This concern is also greater because all TFTP packets are sent in the clear across a network, with no data encryption. Given there is no authentication, and no encryption, TFTP is generally not recommended for the transfer of sensitive data. However, its role as a “bootstrap protocol” could allow usernames and passwords to be transferred in the clear across a network when these aren’t protected by higher-level mechanisms. Since TFTP is often used to download boot images from a remote server, and these images often contain sensitive data required to connect into various servers on the network, it is possible to retrieve&amp;nbsp;&lt;span class="beginpage" pagenum="120"&gt;&lt;a href="" id="323" name="323" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="IDX-120" name="IDX-120" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;stored account information from within these boot images. Any person who is capturing network traffic on the same network segment as the TFTP session could easily gather the transferred data and re-create the original file. If the file contains sensitive data, such as usernames and passwords, it would then be readily available to anyone capturing the traffic.&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="warning" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" valign="top"&gt;Warning&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="323-1" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; vertical-align: top;"&gt;The TFTP protocol sends all data in clear text across the network. As it is commonly used to transfer configuration data to devices and clients, it is important to verify that there is no sensitive data contained within transferred data. Otherwise, anyone sniffing the wire could have access to various usernames and passwords used by such devices.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-3886589011464773408?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/3886589011464773408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=3886589011464773408' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/3886589011464773408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/3886589011464773408'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/10/tftp-support-protocols.html' title='TFTP | Support Protocols'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-Vwjz8MweTNc/Tp7_oyWKXFI/AAAAAAAAD6A/tIYo2MSdLBc/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-5762256702267568591</id><published>2011-10-20T00:30:00.000-07:00</published><updated>2011-10-20T00:30:00.609-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DNS'/><category scheme='http://www.blogger.com/atom/ns#' term='Protocols'/><title type='text'>DNS | Support Protocols</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="color: navy; font-size: medium; font-weight: bold; margin-bottom: 0.5em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="first-para" id="302-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The Domain Name System (DNS) is a static hierarchical name resolution architecture that relies on client/server communication for operation. DNS is a protocol that many use every day and may not know it. Whenever someone browses the Internet, DNS is used in the background to translate host names into IP addresses so that the proper network destinations can be found. DNS is equally important in VoIP networks for its ability to resolve destination endpoint addresses or allow gateway registration to call servers and gatekeepers by host name.&lt;/div&gt;&lt;div class="para" id="302-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;DNS was created so that no one would be required to memorize the IP addresses of every host on a private network or the Internet. Most people have a hard enough time remembering one or two passwords, let alone several billion IP addresses. With the development of DNS, the only requirement is knowledge of the target Web page name that you wish to go to. DNS resolves the target Web page name entered into one or more server IP addresses. It has also been designed to allow the reverse or “inverse” resolution of IP addresses to host names.&lt;/div&gt;&lt;div class="para" id="302-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The DNS architecture was first discussed in detail in RFCs 881 through 883, and later updated in RFCs 1034 and 1035. Several of the newer RFCs include recommendations for how to secure the DNS architecture, including the addition of DNS security extensions&amp;nbsp;&lt;span class="beginpage" pagenum="113"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="303" name="303" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="IDX-113" name="IDX-113" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;(DNSSEC) beginning with RFC 4033. The next few sections detail a high-level overview of the DNS architecture and several security threats associated with DNS systems.&lt;/div&gt;&lt;div class="section" id="ch04lev2sec117"&gt;&lt;h3 class="sect3-title" id="303-1" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="304" name="304" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="ch04lev2sec117" name="ch04lev2sec117" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;DNS Architecture&lt;/h3&gt;&lt;div class="first-para" id="304-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;In order to better understand and be able to address the security concerns associated with DNS properly, it is important to have at least a high-level understanding of how DNS works. The hierarchy previously mentioned for DNS exists as a pyramid, with the highest level of the DNS architecture at the top. DNS is organized into myriad logical groupings called domains, which are further segmented into an endless number of subdomains.&amp;nbsp;Figure 1&amp;nbsp;illustrates a sample hierarchy of the DNS system and is by no means exhaustive. The intent is to show the structure of the hierarchy.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-c7Qp8dTaQlU/Tp7-wcdAR6I/AAAAAAAAD54/Q7gFGGoiwJg/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-c7Qp8dTaQlU/Tp7-wcdAR6I/AAAAAAAAD54/Q7gFGGoiwJg/s1600/a.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch04fig01" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="305" name="305" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="ch04fig01" name="ch04fig01" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="figure-title" id="305-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;Sample DNS Architecture&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="305-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Located at the top of the DNS hierarchy are the root DNS servers. The root DNS servers are located in the root DNS zone, annotated by a single “.”, and are responsible for maintaining the location of the top-level domain servers (TLD). ATLD DNS server is one that is responsible for the management of one of the commonly associated address suffix identifiers, such as .com, .net, .edu, or .org. The TLD DNS servers are assigned or “dele-gated” the responsibility by the root DNS servers. They are known as the authoritative server for that TLD. Likewise, the TLD DNS servers delegate the management of one of their many subdomains. The subdomain DNS servers for .brad.com would be responsible for any resource records (RR) for that subdomain as well as the location of any related subdomains (.hr.brad.com). The resource records are the entries for the host systems. This process of delegation distributes the load of the DNS system across many different servers.&lt;span class="beginpage" pagenum="114"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="306" name="306" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="IDX-114" name="IDX-114" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev3sec118"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="307" name="307" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="ch04lev3sec118" name="ch04lev3sec118" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Fully Qualified Domain Name&lt;/h4&gt;&lt;div class="first-para" id="307-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Each host has its own pointer for DNS, known as a fully qualified domain name (FQDN). The FQDN is used to identify the path taken through the DNS architecture to find the requested host.&amp;nbsp;Figure 2&amp;nbsp;illustrates what path is taken through the previously discussed DNS hierarchy from&amp;nbsp;Figure 1&amp;nbsp;to reach host pc1.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-4MTNgDyaFbs/Tp7-jtn0H7I/AAAAAAAAD5w/q9DuFxyoT0I/s1600/b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-4MTNgDyaFbs/Tp7-jtn0H7I/AAAAAAAAD5w/q9DuFxyoT0I/s1600/b.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch04fig02" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="308" name="308" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="ch04fig02" name="ch04fig02" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="figure-title" id="308-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 2:&amp;nbsp;&lt;/span&gt;Fully Qualified Domain Names&lt;/span&gt;&lt;/div&gt;&lt;div class="para" id="308-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;There are a couple of things to keep in mind about FQDNs. First of all, the explicit FQDN path from the top of the hierarchy (root) is read from right to left. Secondly, even though most FQDN illustrations do not include the final dot to represent the root domain, it is an implied part of the complete FQDN. Most applications, like IE, will not append a trailing “.” to the end of a requested Web resource. Followed from right to left, the host pc1 follows a path out of the root domain, through the TLD .com, to the .com subdomain .brad.com, and then finally into the .brad.com subdomain of .hr.brad.com.&lt;/div&gt;&lt;div class="para" id="308-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;FQDNs are entered into the DNS tables as one of several types of RRs:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.D000CD07-7D78-4BA0-B9E0-8CD9F65118C8" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b&gt;A&lt;/b&gt;&amp;nbsp;An A record is an address record, denoting a standard host entry in the DNS table. The key here is that it is used to resolve an FQDN to an IP address.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.08AC517A-8EC2-4E20-AB3B-4A5294745AE3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b&gt;PTR&lt;/b&gt;&amp;nbsp;PTR records are used by the inverse lookup zones in DNS. The PTR record resolves an IP address to an FQDN.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.A259AEC0-793C-4BA0-A27B-D9B7E312A382" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b&gt;SOA&lt;/b&gt;&amp;nbsp;The SOA record identifies zone information such as the zone name and serial number.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.350CEC4A-5D26-43A3-BA3E-420EA8049B11" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b&gt;MX&lt;/b&gt;&amp;nbsp;MX records identify mail servers for the zone.&lt;span class="beginpage" pagenum="115"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="309" name="309" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="IDX-115" name="IDX-115" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.181F112F-1C54-4FF4-A2EE-BBC67FA823BD" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b&gt;NS&lt;/b&gt;&amp;nbsp;NS records are used for name servers for the zone.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.F73B2E93-D5E0-418B-B2BA-BAC508A61E6D" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b&gt;CNAME&lt;/b&gt;&amp;nbsp;CNAME records act as alias records to allow for the translation of one host name into another.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.39D12E58-E396-478B-9BB2-45A99BAF5621" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b&gt;INFO&lt;/b&gt;&amp;nbsp;Provides information about hosts listed in the DNS table.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="para" id="nr-formalpara.1DAE2992-CD02-48B8-B381-677FEDDBB235" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b&gt;SRV&lt;/b&gt;&amp;nbsp;SRV records identify SIP servers for the zone.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev3sec119"&gt;&lt;h4 class="sect4-title" id="annotationlabel-2" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="310" name="310" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="ch04lev3sec119" name="ch04lev3sec119" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;DNS Client Operation&lt;/h4&gt;&lt;div class="first-para" id="310-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;In order to locate the IP address for a host, the client’s application will send a request to a resolver on the same client system. The resolver will then formulate and send out the DNS query. From a high level, the query will typically follow a path of trial and error known as a recursive lookup.&amp;nbsp;Figure 3&amp;nbsp;illustrates what a recursive lookup from a host, pc2, would look like to find the IP address for host pc1.&lt;/div&gt;&lt;div class="first-para" id="310-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-k8y2YNo31CM/Tp7-egdWDUI/AAAAAAAAD5o/K4CLxMauvqo/s1600/c.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="262" src="http://4.bp.blogspot.com/-k8y2YNo31CM/Tp7-egdWDUI/AAAAAAAAD5o/K4CLxMauvqo/s320/c.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="ch04fig03" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="311" name="311" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="ch04fig03" name="ch04fig03" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="figure-title" id="311-1" style="margin-left: 0em; margin-right: 8em; margin-top: 0.5em;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 3:&amp;nbsp;&lt;/span&gt;Recursive Lookups Using DNS&lt;/span&gt;&lt;/div&gt;&lt;ol class="orderedlist" style="margin-bottom: 0px; margin-left: 3em; margin-top: 0.4em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="311-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The client’s resolver sends its DNS query which will be sent to the root domain.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="311-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The root domain server does not have the RR for the host pc1, so the response is sent to redirect the resolver on pc2 to the TLD DNS server for .com since it knows where .com. is.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="311-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The resolver, in turn, sends a query to the TLD DNS server for .com.&lt;span class="beginpage" pagenum="116"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="312" name="312" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="IDX-116" name="IDX-116" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="312-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The TLD DNS server does not have the RR for the host pc1, so the response is sent to redirect the resolver on pc2 to the .brad.com. DNS server since it knows where .brad.com. is.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="312-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The resolver, in turn, sends a query to the DNS server for .brad.com.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="312-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The .brad.com. DNS server does not have the RR for the host pc1, so the response is sent to redirect the resolver on pc2 to the .hr.brad.com. DNS server since it knows where .hr.brad.com. is.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="312-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The resolver, in turn, sends a query to the DNS server for .hr.brad.com.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="312-5" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The authoritative DNS server for .hr.brad.com. has the RR for the host pc1 and sends back the information to pc2. pc2 now has the IP address information for pc1, and may use it accordingly.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="note" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" valign="top"&gt;Note&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="312-6" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; vertical-align: top;"&gt;It is not required to have a separate DNS server for each subdomain. A single DNS server may be the authoritative server for many, or all, of the subdomains in a corporation, although there are usually backup DNS servers configured for each primary DNS server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev3sec201"&gt;&lt;h4 class="sect4-title" id="annotationlabel-3" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="313" name="313" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="ch04lev3sec201" name="ch04lev3sec201" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;DNS Server Operation&lt;/h4&gt;&lt;div class="first-para" id="313-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The DNS server is responsible for cataloging all of the RRs that belong to any of the zones that it is the authoritative DNS server for. It is also responsible for keeping track of any of the DNS servers that it has delegated subdomain responsibility to. By keeping track of the subdomains, the DNS server is able to redirect client queries to the proper location in the event that the requested host RR does not reside on that server.&lt;/div&gt;&lt;div class="para" id="313-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;DNS servers may also be configured to maintain a cache of domain names, as well as their respective IP addresses, as they are requested by clients. This configuration allows a DNS server to retrieve an IP address only once and then store the value for any subsequent queries by the same client or any other client. These entries are cached for only a short period of time, equal to the Time To Live (ttl) value applied to the record. When a client requests a particular domain name resolution, the DNS server will first attempt to find the records in its local database. If this search fails, the DNS server will attempt to contact a root name server, if it’s been configured to do so, to request the value.&lt;/div&gt;&lt;div class="para" id="313-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Another important function that the DNS servers provide is the replication of the DNS table, also known as a zone transfer. The zone transfer insures that all entries for a given zone will be available on all DNS servers in that zone. This is necessary so that DNS can provide&amp;nbsp;&lt;span class="beginpage" pagenum="117"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="314" name="314" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="IDX-117" name="IDX-117" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/span&gt;a resilient operating architecture. Two types of zone transfers can be found between DNS servers: full and incremental. A full zone transfer is exactly as it sounds, a complete transfer of zone information between DNS servers. An incremental zone transfer, on the other hand, is one where only changed zone information is exchanged between DNS servers. Incremental zone transfers make more efficient use of bandwidth and network resources, but not all DNS server vendors support the newer implementation.&lt;/div&gt;&lt;div class="para" id="314-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Zone transfers are based on several items, including serial numbers and refresh intervals. The secondary DNS server will request a zone transfer from the primary DNS server and there is a serial number embedded in the response. If the secondary server receives the response and the serial number is lower than or equal to the serial number of its current table version, the response will not be used to update the server’s table. However, if the serial number is higher, the DNS table will be updated to what is enclosed in the response.&lt;/div&gt;&lt;div class="last-para" id="314-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The refresh interval is used to identify how often the secondary server should request a zone transfer from the primary server. It is used as a polling mechanism to help ensure that the secondary server remains up-to-date with the current DNS information. NOTIFY messages may also be used by the primary DNS server to tell the secondary DNS servers when changes have been made to the DNS table. When the secondary DNS server receives the NOTIFY, they can request a zone transfer to ensure table synchronization.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="ch04lev2sec120"&gt;&lt;h3 class="sect3-title" id="314-3" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="315" name="315" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=6839434102454838128" id="ch04lev2sec120" name="ch04lev2sec120" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Security Implications for DNS&lt;/h3&gt;&lt;div class="first-para" id="315-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;DNS is a core component of modern networking, and as such, is a rather attractive target for many attackers. When the DNS architecture was developed, security was not included as part of the design. There was nothing designed into the architecture for peer authentication, origin authentication, or data encryption. Some recent advancements in DNS have helped to alleviate some of the current security concerns, but they have not been able to remove them altogether.&lt;/div&gt;&lt;div class="para" id="315-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The dangers of DNS are well publicized and well documented, owing to its long life on the Internet. More information on these security threats, how they are performed, and how to protect your DNS servers can be found at&amp;nbsp;&lt;a class="url" href="http://www.dnssec.net/dns-threats.php" style="color: navy; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_top"&gt;&lt;i class="emphasis" style="font-style: italic;"&gt;www.dnssec.net/dns-threats.php&lt;/i&gt;&lt;/a&gt;&lt;i class="emphasis" style="font-style: italic;"&gt;.&amp;nbsp;&lt;/i&gt;There is also an RFC on DNS Threats, published as RFC 3833. Several types of attacks should be kept in mind regarding your DNS deployment, and some best practices can be employed to help lessen your exposure:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="315-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;DNS footprinting (using DNS zone data to learn host names, subdomains, and subnets)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="315-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Denial of Service (DoS)&lt;/div&gt;&lt;ol class="orderedlist" style="margin-bottom: 0px; margin-left: 3em; margin-top: 0.4em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="315-5" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;SYN flooding of DNS server&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="315-6" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Transfer of blank DNS table&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="315-7" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;DNS cache poisoning&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-5762256702267568591?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/5762256702267568591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=5762256702267568591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/5762256702267568591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/5762256702267568591'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/10/dns-support-protocols.html' title='DNS | Support Protocols'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-c7Qp8dTaQlU/Tp7-wcdAR6I/AAAAAAAAD54/Q7gFGGoiwJg/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-8345976935546299331</id><published>2011-09-29T04:53:00.000-07:00</published><updated>2011-09-29T04:53:00.218-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIP Architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='FAQ'/><category scheme='http://www.blogger.com/atom/ns#' term='Frequently Asked Questions'/><title type='text'>Frequently Asked Questions | SIP Architecture</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2 class="first-section-title" id="annotationlabel-first" style="color: navy; font-size: medium; font-weight: bold; margin-bottom: 0.5em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;a href="" id="431" name="431" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.E3E71B98-B502-4E23-B37B-27016588A5DA" name="beginpage.E3E71B98-B502-4E23-B37B-27016588A5DA" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;div class="para" id="nr-wbp07Chapter6P273" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="para" id="431-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Q:&lt;/b&gt;&amp;nbsp;I am used to seeing users that follow the scheme&amp;nbsp;&lt;i class="emphasis" style="font-style: italic;"&gt;SIP: username@domain.com&lt;/i&gt;, but I’ve also seen them with the scheme&amp;nbsp;&lt;i class="emphasis" style="font-style: italic;"&gt;SIPS: username@domain.com&lt;/i&gt;. What’s the difference?&lt;/div&gt;&lt;div class="para" id="431-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;A:&lt;/b&gt;&amp;nbsp;SIP uses Universal Resource Identifiers (URIs) for identifying users. A URI identifies resources on the Internet, and those used by SIP incorporate phone numbers or names in the username. At the beginning of this is SIP:, which indicates the protocol being used. This is similar to Web site addresses, which begin with HTTP: to indicate the protocol to use when accessing the site. When SIP: is at the beginning of the address, the transmission is not encrypted. Those beginning with SIPS: require encryption for the session.&lt;/div&gt;&lt;div class="para" id="431-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Q:&lt;/b&gt;&amp;nbsp;Why do all responses to a request in SIP begin with the numbers 1 through 6?&lt;/div&gt;&lt;div class="para" id="431-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;A:&lt;/b&gt;&amp;nbsp;This indicates the category to which the response belongs. There are six categories of responses that may be returned from a request: Informational, Success, Redirection, Client Error, Server Error, and Global Failure.&lt;/div&gt;&lt;div class="para" id="431-5" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Q:&lt;/b&gt;&amp;nbsp;I received a response that my request was met with a server error. Does this mean I can’t use this feature of my VoIP program?&lt;/div&gt;&lt;div class="para" id="431-6" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;A:&lt;/b&gt;&amp;nbsp;Not necessarily. When a request receives a Server Error response, it means that the server it was sent to met with the error. The request could still be forwarded to other servers. A Global Error meanns that it wouldn’t be forwarded because every other server would also have the same error.I need to use a different computer for VoIP. The software is the same as the one on my computer, but I’m concerned that others won’t be able to see that I’m online because I’m using a different machine.When you start the program and log onto your VoIP account, SIP makes a REGISTER request that provides your SIP address and IP address to a Registrar server. This allows multiple people to use multiple computers. No matter what your location, SIP allows others to find you with this mapping of your SIP-address to the current IP address.&lt;a href="" id="432" name="432" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.D24E838E-CC6E-419F-BA01-129E27330B61" name="beginpage.D24E838E-CC6E-419F-BA01-129E27330B61" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="para" id="432-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Q:&lt;/b&gt;&amp;nbsp;Should I always use encryption to protect the data that I’m transmitting over the Internet?&lt;/div&gt;&lt;div class="last-para" id="432-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;A:&lt;/b&gt;&amp;nbsp;Unless you expect to be discussing information or transferring files that require privacy, it shouldn’t matter whether your transmission is encrypted or not. After all, if someone did eavesdrop on an average conversation, would you really care that they heard your opinion on the last movie you watched? If, however, you were concerned that the content of your conversation or other data that was transmitted might be viewed by a third party, then encryption would be a viable solution to protecting your interests. As of this writing however, there are no interoperable, nonproprietary implementations of SIP that use encrypted signaling and media, so you will need to refer to the documentation of the application(s) being used to determine if this is available.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-8345976935546299331?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/8345976935546299331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=8345976935546299331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/8345976935546299331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/8345976935546299331'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/09/frequently-asked-questions-sip.html' title='Frequently Asked Questions | SIP Architecture'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-7270112807027063600</id><published>2011-09-26T09:30:00.000-07:00</published><updated>2011-09-26T09:30:00.822-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIP Architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='SIMPLE'/><title type='text'>SIMPLE | SIP Architecture</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 class="sect3-title" id="420-2" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P224" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;SIMPLE is an extension of SIP, which is used for maintaining presence information and managing the messages that are exchanged between the participants using instant messaging. Just as SIP registers users with a SIP server before they can begin a session, SIMPLE registers presence information. When a user registers through SIMPLE, those with this user in their Buddy List can access information that the user is online. When the people who have the user in their lists are alerted that the user is online, they can initiate a chat. If the user needs to do some work and changes their status to busy, or goes away from their desk and changes their status to being away, then this information is updated in the IM applications that have this person as a contact. Generally, the presence of a user is indicated in these programs through icons that change based on the user’s status.&lt;a href="" id="422" name="422" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.7E987BA6-D55B-4ED6-8EA8-0FCD18FFE8DA" name="beginpage.7E987BA6-D55B-4ED6-8EA8-0FCD18FFE8DA" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P225" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Because SIMPLE is an extension of SIP, it has the same features and methods of routing messages. The users are registered, and then send text-based requests to initiate a session. The messages are sent between user agents as individual requests between User agent clients and User agent servers. Because the messages are small, they can move between the two User agents quickly with minimal time lag even during peak Internet hours.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P226" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Although the IETF IM and Presence Protocol Working Group are still developing SIMPLE as a standard, it has been implemented by a number of IM applications. Windows XP was the first operating system to include SIMPLE, and is used by Microsoft Windows Messenger, and numerous other IM applications also are using SIMPLE as a standardized method for instant messaging.&lt;/div&gt;&lt;div class="sidebar" id="wbp07Chapter6P227" style="margin-bottom: 1em; margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="423" name="423" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P227" name="wbp07Chapter6P227" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="sidebar-title" style="color: maroon; font-weight: bold; margin-bottom: 0.4em; text-align: center;"&gt;&lt;b&gt;&lt;center&gt;Are You 0wned? Compromising Security with Instant Messaging&lt;/center&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P228" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Instant messaging has become a tool that not only is used by the public for pleasure, but also one that is used by companies for business. IM software can be used as an alternative method of communicating with salespeople, customers, suppliers, and others who need to be contacted quickly. Because it is an effective communication tool, businesses have found benefits implementing it as part of their communications systems.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P229" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Unfortunately, a drawback of IM applications is that it provides a potential gap in security. Although companies will monitor outgoing e-mail for illegal or inappropriate content, IM applications available to the public don’t provide a centralized method of logging conversations that can be locked down. IM applications routinely offer a method of logging conversations, but these settings can be toggled on and off by the person using the program. This means that someone could inadvertently or maliciously provide sensitive information in Instant messages without anyone at the company every realizing it.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P230" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Added to this problem is the fact that IM applications provide the ability to transfer other forms of media between participants. IM applications can be used for file sharing, where one person sends a file to another through the program.&lt;a href="" id="424" name="424" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.6770854D-5A87-4F4A-A9ED-D2880F14E69B" name="beginpage.6770854D-5A87-4F4A-A9ED-D2880F14E69B" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P231" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;This can result in activities like sharing music files at work, which albeit illegal is relatively harmless, but it could also cause major issues if sensitive corporate files were being sent. Imagine an employee at a hospital or doctor’s office sending patient files, or a disgruntled employee sending out a secret formula to the public or competition, and its impact becomes more apparent.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P232" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Because files may contain more than you bargained for, the possibility of spyware or viruses being disseminated through instant messaging must also be considered. Some applications that have supported instant messaging include additional software that is spyware, which can obtain information about your system or track activities on your system. Even if the IM software used on a machine doesn’t include spyware, the files sent between participants of a communication session can contain viruses or other malicious code. By opening these files, the person puts their computer and possibly their local network at risk.&lt;/div&gt;&lt;div class="last-para" id="nr-wbp07Chapter6P233" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;If a company wishes to allow IM software installed on their machines, and doesn’t want to block IM communications to the Internet, they need to educate users and install additional software on the computers. Just as employees should know what information should not be discussed on a telephone or sent by mail, they should know these same facts, and files should be off-limits in other communications. In addition to this, anti-virus software should be installed, and regularly updated and run. To determine if spyware is installed on the machines, they should either invest in anti-virus software that also looks for these programs or install additional software that searches for and removes them from the computer. In performing these steps, the risks associated with IM applications in a business can be decreased, making it safer for both the user and the company.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-7270112807027063600?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/7270112807027063600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=7270112807027063600' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/7270112807027063600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/7270112807027063600'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/09/simple-sip-architecture.html' title='SIMPLE | SIP Architecture'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-5316602792133112309</id><published>2011-09-23T09:29:00.000-07:00</published><updated>2011-09-23T09:29:00.110-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIP Architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='instant messaging'/><title type='text'>Instant Messaging | SIP Architecture</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 class="sect3-title" id="416-1" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P211" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;In different variations, instant messaging has been around longer than the Internet has been popular. In the 1970s, the TALK command was implemented on UNIX machines, which invoked a split screen that allowed users of the system to see the messages they typed in individual screens. In the 1980s, Bulletin Board Systems (BBSes) became popular, where people would use a modem to dial into another person’s computer to access various resources, such as message boards, games, and file downloads. On BBSes, the system operator (SYSOP) could invoke a chat feature that allowed the SYSOP to send messages back and forth with the caller on a similar split-screen. If the BBS had multiple phone lines, then the callers could Instant message with each other while they were online. As the Internet gained popularity, the ability to exchange messages with other users became a feature that was desired and expected.&lt;a href="" id="418" name="418" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.0AC64B45-A52F-4509-BF1A-E8776DDAC04B" name="beginpage.0AC64B45-A52F-4509-BF1A-E8776DDAC04B" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P212" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Today there are a large number of IM applications that can be used to exchange text messages over the Internet and other IP networks. Although this is nowhere near a complete list, some of the more popular ones include:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="418-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;AIM, America Online Instant Messenger&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="418-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;ICQ&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="418-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Yahoo Messenger&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="418-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;MSN Messenger&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="para" id="nr-wbp07Chapter6P219" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;In addition to these, there are also applications that allow communication using VoIP or other multimedia that also provide the ability to communicate using text messages. As seen in&amp;nbsp;Figure 1, Skype provides a chat feature that allows two or more users to communicate in a private chat room. Each message between the participants appears on a different line, indicating who submitted which line of text and optionally the time that each message was sent. This allows participants to scroll back in the conversation to identify previously mentioned statements or topics of discussion. Although the figure depicts instant messaging in Skype, it is a common format that is used in modern IM software.&lt;a href="" id="419" name="419" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.898CE8AA-0F94-4061-8E80-2ABEB2C4BB68" name="beginpage.898CE8AA-0F94-4061-8E80-2ABEB2C4BB68" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P219" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-yIRr1l8qSw8/TmT5Ct4FaiI/AAAAAAAAD0k/PFrEFwAHRIA/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="319" src="http://1.bp.blogspot.com/-yIRr1l8qSw8/TmT5Ct4FaiI/AAAAAAAAD0k/PFrEFwAHRIA/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="wbp07Chapter6P221" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="420" name="420" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P221" name="wbp07Chapter6P221" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;&lt;b class="bold" style="font-weight: bold;"&gt;&lt;/b&gt;Instant Messaging through Skype&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;div class="last-para" id="nr-wbp07Chapter6P222" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;One of the important features of any IM application is the ability to keep a contact list of those with whom you routinely communicate. In many programs the contact list is also known as a&amp;nbsp;&lt;i class="emphasis" style="font-style: italic;"&gt;Buddy List&lt;/i&gt;. However, even with this listing, it would be impossible to contact anyone if you didn’t know when each contact was available. If a person had a high-speed connection and was always connected to the Internet, then they might always appear online. As such, they would need a way of indicating that they were online but not available, or whether the person was available for one form of communication but not another. The ability to display each contact’s availability in a Buddy List when someone opens an IM application is called&amp;nbsp;&lt;i class="emphasis" style="font-style: italic;"&gt;presence&lt;/i&gt;.&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-5316602792133112309?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/5316602792133112309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=5316602792133112309' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/5316602792133112309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/5316602792133112309'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/09/instant-messaging-sip-architecture.html' title='Instant Messaging | SIP Architecture'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-yIRr1l8qSw8/TmT5Ct4FaiI/AAAAAAAAD0k/PFrEFwAHRIA/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-9046388027219599205</id><published>2011-09-20T05:25:00.000-07:00</published><updated>2011-09-20T05:25:00.625-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIP'/><category scheme='http://www.blogger.com/atom/ns#' term='SIP Architecture'/><title type='text'>Understanding SIP’s Architecture</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 class="sect3-title" id="402-2" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small; font-weight: normal;"&gt;Let’s look at how they work together to provide communication between two endpoints on a system. In doing so, we can see how the various elements come together to allow single and multimedia to be exchanged over a local network or the Internet.&lt;/span&gt;&lt;/h3&gt;&lt;div class="para" id="nr-wbp07Chapter6P188" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The User agents begin by communicating with various servers to find other User agents to exchange data with. Until they can establish a session with one another, they must work in a client/server architecture, and make requests of servers and wait for these requests to be serviced. Once a session is established between the User agents, the architecture changes. Because a User agent can act as either a client or a server in a session with another User agent, these components are part of what is called a peer-to-peer (P2P) architecture. In this architecture, the computers are equal to one another, and both make and service requests made by other machines. To understand how this occurs, let’s look at several actions that a User agent may make to establish such a session with another machine.&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="404" name="404" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="beginpage.D4C62C8E-2CE1-47BA-B7AA-EAA1ECF11E9E" name="beginpage.D4C62C8E-2CE1-47BA-B7AA-EAA1ECF11E9E" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P189"&gt;&lt;h4 class="sect4-title" id="annotationlabel-17" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="405" name="405" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="wbp07Chapter6P189" name="wbp07Chapter6P189" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;SIP Registration&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P190" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Before a User agent can even make a request to start communication with another client, each participant must register with a Registrar server. As seen in&amp;nbsp;Figure 1, the User agent sends a REGISTER request to the SIP server in the Registrar role. Once the request is accepted, the Registrar adds the SIP-address and IP address that the User agent provides to the location service. The location service can then use this information to provide SIP-address to IP-address mappings for name resolution.&lt;/div&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P190" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-oMWAESSbOVY/TmT3w7uPAAI/AAAAAAAAD0U/rC-khbDCdLM/s1600/a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="157" src="http://3.bp.blogspot.com/-oMWAESSbOVY/TmT3w7uPAAI/AAAAAAAAD0U/rC-khbDCdLM/s320/a.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="wbp07Chapter6P192" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="406" name="406" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="wbp07Chapter6P192" name="wbp07Chapter6P192" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 1:&amp;nbsp;&lt;/span&gt;&lt;b class="bold" style="font-weight: bold;"&gt;&lt;/b&gt;Registering with a SIP Registrar&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P193"&gt;&lt;h4 class="sect4-title" id="annotationlabel-18" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="407" name="407" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="wbp07Chapter6P193" name="wbp07Chapter6P193" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Requests through Proxy Servers&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P194" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;When a Proxy Server is used, requests and responses from user agents initially are made through the Proxy server. As seen in&amp;nbsp;Figure 2, User Agent A is attempting to invite User Agent B into a session. User Agent A begins by sending an INVITE request to User Agent B through a Proxy server, which checks with the location service to determine the IP address of the client being invited. The Proxy server then passes this request to User Agent B, who answers the request by sending its response back to the Proxy server, who in turn passes this response back to User Agent A. During this time, the two User agents and the Proxy server exchange these requests and responses using SDP. However, once these steps have been completed and the Proxy server sends acknowledgements to both clients, a session can be created between the two User agents. At this point, the two User agents can use RTP to transfer media between them and communicate directly.&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="408" name="408" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="beginpage.4F0B59E0-4B32-4628-A194-2988344557D3" name="beginpage.4F0B59E0-4B32-4628-A194-2988344557D3" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P194" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-vgezMIG2FQA/TmT3-A0n6vI/AAAAAAAAD0Y/gOE4FCRymb0/s1600/b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="160" src="http://3.bp.blogspot.com/-vgezMIG2FQA/TmT3-A0n6vI/AAAAAAAAD0Y/gOE4FCRymb0/s320/b.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="wbp07Chapter6P196" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="409" name="409" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="wbp07Chapter6P196" name="wbp07Chapter6P196" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 2:&amp;nbsp;&lt;/span&gt;&lt;b class="bold" style="font-weight: bold;"&gt;&lt;/b&gt;Request and Response Made through Proxy Server&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P197"&gt;&lt;h4 class="sect4-title" id="annotationlabel-19" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="410" name="410" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="wbp07Chapter6P197" name="wbp07Chapter6P197" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Requests through Redirect Servers&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P198" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;When a Redirect server is used, a request is made to the Redirect server, which returns the IP address of the User agent being contacted. As seen in&amp;nbsp;Figure 3, User Agent A sends an INVITE request for User Agent B to the Redirect server, which checks the location service for the IP address of the client being invited. The Redirect server then returns this information to User Agent A. Now that User Agent A has this information, it can now contact User Agent B directly. The INVITE request is now sent to User Agent B, which responds directly to User Agent A. Until this point, SDP is used to exchange information. If the invitation is accepted, then the two User agents would begin communicating and exchanging media using RTP.&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="411" name="411" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="beginpage.9B5E3D6B-F27D-4E1F-9F67-2E023A9F8691" name="beginpage.9B5E3D6B-F27D-4E1F-9F67-2E023A9F8691" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P198" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-6TNh2-iKKHE/TmT4HREKt2I/AAAAAAAAD0c/ONcGZwdppPo/s1600/c.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="175" src="http://2.bp.blogspot.com/-6TNh2-iKKHE/TmT4HREKt2I/AAAAAAAAD0c/ONcGZwdppPo/s320/c.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="wbp07Chapter6P200" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="412" name="412" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="wbp07Chapter6P200" name="wbp07Chapter6P200" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 3:&amp;nbsp;&lt;/span&gt;&lt;b class="bold" style="font-weight: bold;"&gt;&lt;/b&gt;Request Made through Redirect Server&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P201"&gt;&lt;h4 class="sect4-title" id="annotationlabel-20" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="413" name="413" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="wbp07Chapter6P201" name="wbp07Chapter6P201" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Peer to Peer&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P202" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Once the user agents have completed registering themselves, and making requests and receiving responses on the location of the user agent they wish to contact, the architecture changes from one of client/server to that of peer-to-peer (P2P). In a P2P architecture, user agents act as both clients who request resources, and servers that respond to those requests and provide resources. Because resources aren’t located on a single machine or a small group of machines acting as network servers, this type of network is also referred to as being&amp;nbsp;&lt;i class="emphasis" style="font-style: italic;"&gt;decentralized&lt;/i&gt;.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P203" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;When a network is decentralized P2P, it doesn’t rely on costly servers to provide resources. Each computer in the network is used to provide resources, meaning that if one becomes unavailable, the ability to access files or send messages to others in the network is unaffected. For example, if one person’s computer at an advertising firm crashed, you could use SIP to communicate with another person at that company, and talk to them and have files transferred to you. If one computer goes down, there are always others that can be accessed and the network remains stable.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P204" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;In the same way, when user agents have initiated a session with one another, they become User agent clients and User agent servers to one another, and have the ability to invite additional participants into the session. As seen in&amp;nbsp;&lt;a class="internaljump" href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" style="color: green; cursor: pointer; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;Figure 6.5&lt;/a&gt;, each of these User agents can communicate with one another in an audio or videoconference. If one of these participants ends the session, or is using a device that fails during the communication, the other participants can continue as if nothing happened. This architecture makes communication between User agents stable, without having to worry about the network failing if one computer or device suddenly becomes unavailable.&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="414" name="414" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="beginpage.2A6D08A8-ACD1-4E84-A21B-F05D51D0F2A1" name="beginpage.2A6D08A8-ACD1-4E84-A21B-F05D51D0F2A1" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P204" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-GAntexb2zbk/TmT4OkFJ-9I/AAAAAAAAD0g/thhQPCbfrmg/s1600/d.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="106" src="http://3.bp.blogspot.com/-GAntexb2zbk/TmT4OkFJ-9I/AAAAAAAAD0g/thhQPCbfrmg/s320/d.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="figure" id="wbp07Chapter6P206" style="margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="415" name="415" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6839434102454838128&amp;amp;postID=9046388027219599205" id="wbp07Chapter6P206" name="wbp07Chapter6P206" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="figuremediaobject"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="figure-titlelabel" style="font-weight: bold;"&gt;Figure 4:&amp;nbsp;&lt;/span&gt;&lt;b class="bold" style="font-weight: bold;"&gt;&lt;/b&gt;Once SIP Has Initiated a Session, a Peer-to-Peer Architecture Is Used&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-9046388027219599205?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/9046388027219599205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=9046388027219599205' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/9046388027219599205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/9046388027219599205'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/09/understanding-sips-architecture.html' title='Understanding SIP’s Architecture'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-oMWAESSbOVY/TmT3w7uPAAI/AAAAAAAAD0U/rC-khbDCdLM/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-7395296683233330656</id><published>2011-09-16T03:20:00.000-07:00</published><updated>2011-09-16T03:20:00.335-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIP'/><category scheme='http://www.blogger.com/atom/ns#' term='SIP Architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='Protocols'/><title type='text'>Protocols Used with SIP | SIP Architecture</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 class="sect3-title" id="385-2" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P132" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;a href="" id="387" name="387" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.F1D40ADF-F67A-4E24-AE14-8ED1741D0D79" name="beginpage.F1D40ADF-F67A-4E24-AE14-8ED1741D0D79" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Although SIP is a protocol in itself, it still needs to work with different protocols at different stages of communication to pass data between servers, devices, and participants. Without the use of these protocols, communication and the transport of certain types of media would either be impossible or insecure. In the sections that follow, we’ll discuss a number of the common protocols that are used with SIP, and the functions they provide during a session.&lt;/div&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P132" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P133"&gt;&lt;h4 class="sect4-title" id="annotationlabel-10" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="388" name="388" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P133" name="wbp07Chapter6P133" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;UDP&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P134" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The User Datagram Protocol (UDP) is part of the TCP/IP suite of protocols, and is used to transport units of data called&amp;nbsp;&lt;i class="emphasis" style="font-style: italic;"&gt;datagrams&lt;/i&gt;&amp;nbsp;over an IP network. It is similar to the Transmission Control Protocol (TCP), except that it doesn’t divide messages into packets and reassembles them at the end. Because the datagrams don’t support sequencing of the packets as the data arrives at the endpoint, it is up to the application to ensure that the data has arrived in the right order and has arrived completely. This may sound less beneficial than using TCP for transporting data, but it makes UDP faster because there is less processing of data. It often is used when messages with small amounts of data (which requires less reassembling) are being sent across the network, or with data that will be unaffected overall by a few units of missing data.&lt;a href="" id="389" name="389" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.C5048E20-0904-4507-92B8-774D95B4F30B" name="beginpage.C5048E20-0904-4507-92B8-774D95B4F30B" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P135" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Although an application may have features that ensure that datagrams haven’t gone missing or arrived out of order, many simply accept the potential of data loss, duplication, or errors. In the case of Voice over IP, streaming video, or interactive games, a minor loss of data or error will be a minor glitch that generally won’t affect the overall quality or performance. In these cases, it is more important that the data is passed quickly from one endpoint to another. If reliability were a major issue, then the use of TCP as a transport protocol would be a better choice over hindering the application with features that check for the reliability of the data it receives.&lt;/div&gt;&lt;div class="sidebar" id="wbp07Chapter6P136" style="margin-bottom: 1em; margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="390" name="390" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P136" name="wbp07Chapter6P136" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="sidebar-title" style="color: maroon; font-weight: bold; margin-bottom: 0.4em; text-align: center;"&gt;&lt;b&gt;&lt;center&gt;Notes from the Underground…UDP Denial-of-Service Attacks&lt;/center&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P137" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Although denial-of-service (DoS) attacks are less common using UDP, data sent over this protocol can be used to bog down or even shut down a system that’s victim to it. Because UDP is a connectionless protocol, it doesn’t need to have a connection with another system before it transfers data. In a UDP Flood Attack, the attacker will send UDP packets to random ports on another system. When the remote host receives the UDP packets, it will do the following:&lt;/div&gt;&lt;ol class="orderedlist" style="margin-bottom: 0px; margin-left: 3em; margin-top: 0.4em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="390-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Determine which application is listening to the port.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="390-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Find that no application is waiting on that port.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="390-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Reply to the sender of the data (which may be a forged source address) with an ICMP packet of DESTINATION UNREACHABLE.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="para" id="nr-wbp07Chapter6P141" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Although this may be a minor issue if the remote host has to send only a few of these ICMP packets, it will cause major problems if enough UDP packets are sent to the host’s ports. A large number of UDP packets sent to the victim will cause the remote host to repeat these steps over and over. The victim’s ports are monopolized by receiving data that isn’t used by any application on the system, and ICMP packets are sent out to relay this fact to the attacker. Although other clients will find the remote host unreachable, eventually the system could even go down if enough UDP packets are sent.&lt;/div&gt;&lt;div class="last-para" id="nr-wbp07Chapter6P142" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;To reduce the chances of falling victim to this type of attack, a number of measures can be taken. Proxy servers and firewalls can be implemented on a network to prevent UDP from being used maliciously and filter unwanted traffic. For example, if an attack appeared to come from one source previously, you could set up a rule on the firewall that blocks UDP traffic from that IP address. In addition to this, chargen and echo services, as well as other unused UDP services, could be either disabled or filtered. Once these measures are taken, however, you should determine which applications on your network are using UDP, and monitor for signs of a UDP Flood Attack or other signs of misuse.&lt;a href="" id="391" name="391" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.0B35F043-9CDF-4414-B105-19B9E41FF7C9" name="beginpage.0B35F043-9CDF-4414-B105-19B9E41FF7C9" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P143"&gt;&lt;h4 class="sect4-title" id="annotationlabel-11" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4 class="sect4-title" id="annotationlabel-11" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;Transport Layer Security&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P144" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Transport Layer Security (TLS) is a protocol that can be used with other protocols like UDP to provide security between applications communicating over an IP network. TLS uses encryption to ensure privacy, so that other parties can’t eavesdrop or tamper with the messages being sent. Using TLS, a secure connection is established by authenticating the client and server, or User Agent Client and User Agent Server, and then encrypting the connection between them.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P145" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Transport Layer Security is a successor to Secure Sockets Layer (SSL), which was developed by Netscape. Even though it is based on SSL 3.0, TLS is a standard that has been defined in RFC 2246, and is designed to be its replacement. In this standard, TLS is designed as a multilayer protocol that consists of:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="392-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;TLS Handshake Protocol&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="392-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;TLS Record Protocol&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="para" id="nr-wbp07Chapter6P150" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The TLS Handshake Protocol is used to authenticate the participants of the communication and negotiate an encryption algorithm. This allows the client and server to agree upon an encryption method and prove who they are using cryptographic keys before any data is sent between them. Once this has been done successfully, a secure channel is established between them.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P151" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;After the TLS Handshake Protocol is used, the TLS Record Protocol ensures that the data exchanged between the parties isn’t altered en route. This protocol can be used with or without encryption, but TLS Record Protocol provides enhanced security using encryption methods like the Data Encryption Standard (DES). In doing so, it provides the security of ensuring data isn’t modified, and others can’t access the data while in transit.&lt;a href="" id="393" name="393" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.B6038391-2445-48EC-9FA6-1757D3E51BDF" name="beginpage.B6038391-2445-48EC-9FA6-1757D3E51BDF" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="tip" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" valign="top"&gt;Tip&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="393-1" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; vertical-align: top;"&gt;The Transport Layer Security Protocol isn’t a requirement for using SIP, and generally isn’t needed for standard communications. For example, if you’re using VoIP or other communication software to trade recipes or talk about movies with a friend, then using encryption might be overkill. However, in the case of companies that use VoIP for business calls or to exchange information that requires privacy, then using TLS is a viable solution for ensuring that information and data files exchanged over the Internet are secure.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="sidebar" id="wbp07Chapter6P153" style="margin-bottom: 1em; margin-left: 2em; margin-top: 1em;"&gt;&lt;a href="" id="394" name="394" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P153" name="wbp07Chapter6P153" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="sidebar-title" style="color: maroon; font-weight: bold; margin-bottom: 0.4em; text-align: center;"&gt;&lt;b&gt;&lt;center&gt;Tools &amp;amp; Traps…Encryption versus Nonencrypted Data&lt;/center&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P154" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;When sessions are initiated using SIP, the data passed between the servers and other users is sent using UDP. As it is sent across the Internet, it can go through a number of servers and routers, and may be passed through a local network on your end or the other participant’s end. During any point in this trip, it is possible that the data may be intercepted by a third party, meaning that any confidential information you transmit may be less private than you expected.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P155" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;One method that third parties might use to access this data is with a&amp;nbsp;&lt;i class="emphasis" style="font-style: italic;"&gt;packet sniffer&lt;/i&gt;. A packet sniffer is a tool that intercepts the traffic passed across a network. They are also known as&amp;nbsp;&lt;i class="emphasis" style="font-style: italic;"&gt;network analyzers&lt;/i&gt;&amp;nbsp;and&amp;nbsp;&lt;i class="emphasis" style="font-style: italic;"&gt;Ethernet sniffers&lt;/i&gt;, and can be either software or hardware that captures the packets of data so they can be analyzed. It is a tool that can be used to identify network problems, but it is also used to eavesdrop on network users, and view the data sent to and from a specific source. This allows someone to grab the data you’re sending, decode it, and view what you’ve sent and received.&lt;/div&gt;&lt;div class="last-para" id="nr-wbp07Chapter6P156" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;To avoid this problem, sensitive communications should always be encrypted. When data is encrypted, the data becomes unreadable to anyone who isn’t intended to receive it. If a person accessed encrypted packets of data with a packet sniffer, it would be seen as gibberish and completely unusable to them. It makes the transmission secure, preventing the wrong people from viewing what you’ve sent.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P157"&gt;&lt;h4 class="sect4-title" id="annotationlabel-12" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4 class="sect4-title" id="annotationlabel-12" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;Other Protocols Used by SIP&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P158" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;As mentioned, SIP does not provide the functionality required for sending single-media or multimedia across a network, or many of the services that are found in communications programs. Instead, it is a component that works with other protocols to transport data, control streaming media, and access various services like caller-ID or connecting to the Public Switched Telephone Network (PSTN). These protocols include:&lt;a href="" id="396" name="396" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.483A6F35-0102-4A9F-B1DC-6F0FF60FBE94" name="beginpage.483A6F35-0102-4A9F-B1DC-6F0FF60FBE94" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="396-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Session Description Protocol, which sends information to effectively transmit data&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="396-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Real-Time Transport Protocol, which is used to transport data&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="396-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Media Gateway Control Protocol, which is used to connect to the PSTN&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="396-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Real-time Streaming Protocol, which controls the delivery of streaming media&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="para" id="nr-wbp07Chapter6P165" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The Session Description Protocol (SDP) and Real-time Transport Protocol (RTP) are protocols that commonly are used by SIP during a session. SDP is required to send information needed during a session where multimedia is exchanged between user agents, and RTP is to transport this data. The Media Gateway Control Protocol (MGCP) and Real-time Streaming Protocol (RTSP) commonly are used by systems that support SIP, and are discussed later for that reason.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P165" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P166"&gt;&lt;h5 class="sect5-title" id="annotationlabel-13" style="color: navy; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="397" name="397" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P166" name="wbp07Chapter6P166" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Session Description Protocol&lt;/h5&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P167" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The Session Description Protocol (SDP) is used to send description information that is necessary when sending multimedia data across the network. During the initiation of a session, SDP provides information on what multimedia a user agent is requesting to be used, and other information that is necessary in setting up the transfer of this data.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P168" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;SDP is a text-based protocol that provides information in messages that are sent in UDP packets. The text information sent in these packets is the session description, and contains such information as:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="397-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The name and purpose of the session&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="397-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The time that the session is active&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="397-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;A description of the media exchanged during the session&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="397-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Connection information (such as addresses, phone number, etc.) required to receive media&lt;a href="" id="398" name="398" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.903378DE-6FFD-4E44-93C5-C73C8A1CDCCD" name="beginpage.903378DE-6FFD-4E44-93C5-C73C8A1CDCCD" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="note" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" valign="top"&gt;Note&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="398-1" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; vertical-align: top;"&gt;SDP is a standard that was designed by the IETF under RFC 2327.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P176"&gt;&lt;h5 class="sect5-title" id="annotationlabel-14" style="color: navy; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/h5&gt;&lt;h5 class="sect5-title" id="annotationlabel-14" style="color: navy; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="399" name="399" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Real-Time Transport Protocol&lt;/h5&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P177" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The Real-Time Transport Protocol (RTP) is used to transport real-time data across a network. It manages the transmission of multimedia over an IP network, such as when it is used for audio communication or videoconferencing with SIP. Information in the header of the packets sent over RTP tells the receiving user agent how the data should be reconstructed and also provides information on the codec bit streams.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P178" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Although RTP runs on top of UDP, which doesn’t ensure reliability of data, RTP does provide some reliability in the data sent between user agents. The protocol uses the Real-time Control Protocol to monitor the delivery of data that’s sent between participants. This allows the user agent receiving the data to detect if there is packet loss, and allows it to compensate for any delays that might occur as data is transported across the network.&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="note" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" valign="top"&gt;Note&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="399-1" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; vertical-align: top;"&gt;RTP was designed by the IETF Audio-Video Transport Working Group, and originally was specified as a standard under RFC 1889. Since then, this RFC has become obsolete, but RTP remains a standard and is defined under RFC 3550. In RFC 2509, Compressed Real-time Transport Protocol (CRTP) was specified as a standard, allowing the data sent between participants to be compressed, so that the size was smaller and data could be transferred quicker. However, since CRTP doesn’t function well in situations without reliable, fast connections, RTP is still commonly used for communications like VoIP applications.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P180"&gt;&lt;h5 class="sect5-title" id="annotationlabel-15" style="color: navy; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/h5&gt;&lt;h5 class="sect5-title" id="annotationlabel-15" style="color: navy; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="400" name="400" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P180" name="wbp07Chapter6P180" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Media Gateway Control Protocol&lt;/h5&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P181" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The Media Gateway Control Protocol (MGCP) is used to control gateways that provide access to the Public Switched Telephone Network (PSTN), and vice versa. In doing so, this protocol provides a method for communication on a network to go out onto a normal telephone system, and for communications from the PSTN to reach computers and other devices on IP networks. A media gateway is used to convert the data from a format that’s used on PSTN to one that’s used by IP networks that use packets to transport data; MGCP is used to set up, manage, and tear down the calls between these endpoints.&lt;a href="" id="401" name="401" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.C150EF9A-2723-4669-9C23-0518E7ED4E3C" name="beginpage.C150EF9A-2723-4669-9C23-0518E7ED4E3C" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="note" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" valign="top"&gt;Note&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="401-1" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; vertical-align: top;"&gt;MGCP was defined in RFC 2705 as an Internet standard by the IETF. However, the Media Gateway Control Protocol is also known as H.248 and Megaco. The IETF defined Megaco as a standard in RFC 3015, and the Telecommunication Standardization Sector of the International Telecommunications Union endorsed the standard as Recommendation H.248.&lt;/div&gt;&lt;div class="first-para" id="401-1" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; vertical-align: top;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P183"&gt;&lt;h5 class="sect5-title" id="annotationlabel-16" style="color: navy; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="402" name="402" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P183" name="wbp07Chapter6P183" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Real-Time Streaming Protocol&lt;/h5&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P184" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The Real-Time Streaming Protocol (RTSP) is used to control the delivery of streaming media across the network. RTSP provides the ability to control streaming media much as you would control video running on a VCR or DVD player. Through this protocol, an application can issue commands to play, pause, or perform other actions that effect the playing of media being transferred to the application.&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="note" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" valign="top"&gt;Note&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="402-1" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; vertical-align: top;"&gt;IETF defined RTSP as a standard in RFC 2326, allowing clients to control streaming media sent to them over protocols like RTP.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-7395296683233330656?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/7395296683233330656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=7395296683233330656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/7395296683233330656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/7395296683233330656'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/09/protocols-used-with-sip-sip.html' title='Protocols Used with SIP | SIP Architecture'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-567915194114997602</id><published>2011-09-12T04:48:00.000-07:00</published><updated>2011-09-12T04:48:00.116-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIP'/><category scheme='http://www.blogger.com/atom/ns#' term='SIP Architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='Requests'/><category scheme='http://www.blogger.com/atom/ns#' term='Responses'/><title type='text'>SIP Requests and Responses | SIP Architecture</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 class="sect3-title" id="381-1" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P108" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Because SIP is a text-based protocol like HTTP, it is used to send information between clients and servers, and User Agent clients and User Agent servers, as a series of requests and responses. When requests are made, there are a number of possible signaling commands that might be used:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="382-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;REGISTER&lt;/b&gt;&amp;nbsp;Used when a user agent first goes online and registers their SIP address and IP address with a Registrar server.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="382-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;INVITE&lt;/b&gt;&amp;nbsp;Used to invite another User agent to communicate, and then establish a SIP session between them.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="382-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;ACK&lt;/b&gt;&amp;nbsp;Used to accept a session and confirm reliable message exchanges.&lt;a href="" id="383" name="383" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.A2C53D72-FF25-49BF-86D8-E914228C54C6" name="beginpage.A2C53D72-FF25-49BF-86D8-E914228C54C6" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;OPTIONS&lt;/b&gt;&amp;nbsp;Used to obtain information on the capabilities of another user agent, so that a session can be established between them. When this information is provided a session isn’t automatically created as a result.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;SUBSCRIBE&lt;/b&gt;&amp;nbsp;Used to request updated presence information on another user agent’s status. This is used to acquire updated information on whether a User agent is online, busy, offline, and so on.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;NOTIFY&lt;/b&gt;&amp;nbsp;Used to send updated information on a User agent’s current status. This sends presence information on whether a User agent is online, busy, offline, and so on.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-4" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;CANCEL&lt;/b&gt;&amp;nbsp;Used to cancel a pending request without terminating the session.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-5" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;BYE&lt;/b&gt;&amp;nbsp;Used to terminate the session. Either the user agent who initiated the session, or the one being called can use the BYE command at any time to terminate the session.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="para" id="nr-wbp07Chapter6P119" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;When a request is made to a SIP server or another user agent, one of a number of possible responses may be sent back. These responses are grouped into six different categories, with a three-digit numerical response code that begins with a number relating to one of these categories. The various categories and their response code prefixes are as follows:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-6" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Informational (1xx)&lt;/b&gt;&amp;nbsp;The request has been received and is being processed.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-7" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Success (2xx)&lt;/b&gt;&amp;nbsp;The request was acknowledged and accepted.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-8" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Redirection (3xx)&lt;/b&gt;&amp;nbsp;The request can’t be completed and additional steps are required (such as redirecting the user agent to another IP address).&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-9" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Client error (4xx)&lt;/b&gt;&amp;nbsp;The request contained errors, so the server can’t process the request&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-10" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Server error (5xx)&lt;/b&gt;&amp;nbsp;The request was received, but the server can’t process it. Errors of this type refer to the server itself, and they don’t indicate that another server won’t be able to process the request.&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="383-11" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;&lt;b class="bold" style="font-weight: bold;"&gt;Global failure (6xx)&lt;/b&gt;&amp;nbsp;The request was received and the server is unable to process it. Errors of this type refer to errors that would occur on any server, so the request wouldn’t be forwarded to another server for processing.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="para" id="nr-wbp07Chapter6P128" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;There are a wide variety of responses that apply to each of the categories. The different responses, their categories, and codes are shown in&amp;nbsp;Table 1.&lt;a href="" id="384" name="384" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.76153AB0-2DBE-4D57-A38F-F1B74B2C1222" name="beginpage.76153AB0-2DBE-4D57-A38F-F1B74B2C1222" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="" id="385" name="385" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P129" name="wbp07Chapter6P129" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;table border="1" class="table" id="wbp07Chapter6P129" linktabletoexcel="yes" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; margin-bottom: 1em; margin-top: 1em;"&gt;&lt;caption class="table-title" id="385-1" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold; margin-top: 0.3em; text-align: left;"&gt;&lt;span class="table-title" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold; margin-top: 0.3em; text-align: left;"&gt;&lt;span class="table-titlelabel"&gt;Table 1:&amp;nbsp;&lt;/span&gt;Listing of Responses, Response Codes, and Their Meanings&lt;/span&gt;&amp;nbsp;&lt;/caption&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th align="left" class="th" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R1C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;Response Code&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R1C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Response Category&lt;/div&gt;&lt;/th&gt;&lt;th align="left" class="th" scope="col" style="color: maroon; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R1C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Response Description&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R2C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;100&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R2C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Informational&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R2C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Trying&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R3C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;180&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R3C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Informational&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R3C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Ringing&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R4C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;181&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R4C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Informational&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R4C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Call is being forwarded&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R5C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;182&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R5C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Informational&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R5C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Queued&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R6C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;200&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R6C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Success&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R6C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;OK&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R7C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;300&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R7C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Redirection&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R7C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Multiple choices&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R8C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;301&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R8C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Redirection&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R8C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Moved permanently&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R9C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;302&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R9C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Redirection&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R9C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Moved temporarily&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R10C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;303&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R10C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Redirection&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R10C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;See other&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R11C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;305&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R11C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Redirection&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R11C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Use proxy&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R12C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;380&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R12C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Redirection&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R12C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Alternative service&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R13C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;400&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R13C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R13C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Bad request&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R14C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;401&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R14C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R14C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Unauthorized&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R15C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;402&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R15C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R15C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Payment required&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R16C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;403&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R16C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R16C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Forbidden&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R17C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;404&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R17C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R17C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Not found&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R18C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;405&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R18C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R18C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Method not allowed&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R19C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;406&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R19C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R19C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Not acceptable&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R20C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;407&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R20C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R20C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Proxy authentication required&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R21C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;408&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R21C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R21C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Request timeout&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R22C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;409&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R22C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R22C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Conflict&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R23C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;410&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R23C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R23C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Gone&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R24C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;411&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R24C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R24C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Length required&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R25C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;413&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R25C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R25C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Request entity too large&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R26C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;414&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R26C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R26C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Request-URI too large&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R27C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;415&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R27C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R27C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Unsupported media type&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R28C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;420&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R28C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R28C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Bad extension&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R29C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;480&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R29C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R29C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Temporarily not available&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R30C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;481&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R30C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R30C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Call leg/transaction does not exist&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R31C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;482&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R31C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R31C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Loop detected&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R32C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;483&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R32C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R32C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Too many hops&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R33C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;484&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R33C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R33C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Address incomplete&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R34C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;485&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R34C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R34C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Ambiguous&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R35C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;486&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R35C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Client Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R35C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Busy here&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R36C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;500&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R36C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Server Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R36C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Internal server error&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R37C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;501&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R37C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Server Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R37C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Not implemented&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R38C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;502&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R38C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Server Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R38C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Bad gateway&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R39C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;503&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R39C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Server Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R39C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Service unavailable&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R40C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;504&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R40C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Server Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R40C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Gateway time-out&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R41C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;505&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R41C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Server Error&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R41C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;SIP version not supported&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R42C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;600&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R42C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Global Failures&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R42C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Busy everywhere&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R43C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;603&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R43C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Global Failures&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R43C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Decline&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R44C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;604&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R44C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Global Failures&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R44C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Does not exist anywhere&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R45C1" style="margin-left: 0.3em; margin-right: 1em;"&gt;606&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R45C2" style="margin-left: 0.3em; margin-right: 1em;"&gt;Global Failures&lt;/div&gt;&lt;/td&gt;&lt;td align="left" class="td" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px;" width="33%"&gt;&lt;div class="table-para" id="nr-wbp07Chapter6T2R45C3" style="margin-left: 0.3em; margin-right: 1em;"&gt;Not acceptable&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-567915194114997602?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/567915194114997602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=567915194114997602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/567915194114997602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/567915194114997602'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/09/sip-requests-and-responses-sip.html' title='SIP Requests and Responses | SIP Architecture'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-4537610069548743591</id><published>2011-09-08T00:12:00.000-07:00</published><updated>2011-09-08T00:12:00.711-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIP'/><category scheme='http://www.blogger.com/atom/ns#' term='SIP Architecture'/><title type='text'>Client/Server versus Peer-to-Peer Architecture</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 class="sect3-title" id="377-1" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P90" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;In looking at the components of SIP, you can see that requests are processed in different ways. When user agents communicate with one another, they send requests and responses to one another. In doing so, one acts as a User Agent Client, and the other fulfills the request acts as a User Agent Server. When dealing with SIP servers however, they simply send requests that are processed by a specific server. This reflects two different types of architectures used in network communications:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="378-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Client/Server&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="378-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Peer-to-peer&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="section" id="wbp07Chapter6P95"&gt;&lt;h4 class="sect4-title" id="annotationlabel-8" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="379" name="379" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P95" name="wbp07Chapter6P95" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Client/Server&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P96" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;In a client/server architecture, the relationship of the computers are separated into two roles:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="379-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The client, which requests specific services or resources&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="379-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The server, which is dedicated to fulfilling requests by responding (or attempting to respond) with requested services or resources&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="para" id="nr-wbp07Chapter6P101" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;An easy-to-understand example of a client/server relationship is seen when using the Internet. When using an Internet browser to access a Web site, the client would be the computer running the browser software, which would request a Web page from a Web server. The Web server receives this request and then responds to it by sending the Web page to the client computer. In VoIP, this same relationship can be seen when a client sends a request to register with a Registrar server, or makes a request to a Proxy Server or Redirect Server that allows it to connect with another user agent. In all these cases, the client’s role is to request services and resources, and the server’s role is to listen to the network and await requests that it can process or pass onto other servers.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P102" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The servers that are used on a network acquire their abilities to service requests by the programs installed on it. Because a server may run a number of services or have multiple server applications installed on it, a computer dedicated to the role of being a server may provide several functions on a network. For example, a Web server might also act as an e-mail server. In the same way, SIP servers also may provide different services. A Registrar can register clients and also run the location service that allows clients and other servers to locate other users who have registered on the network. In this way, a single server may provide diverse functionality to a network that would otherwise be unavailable.&lt;a href="" id="380" name="380" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.3C0C8387-5836-45FD-AC03-9C8FFCFD5F17" name="beginpage.3C0C8387-5836-45FD-AC03-9C8FFCFD5F17" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="last-para" id="nr-wbp07Chapter6P103" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Another important function of the server is that, unlike clients that may be disconnected from the Internet or shutdown on a network when the person using it is done, a server is generally active and awaiting client requests. Problems and maintenance aside, a dedicated server is up and running, so that it is accessible. The IP address of the server generally doesn’t change, meaning that clients can always find it on a network, making it important for such functions as finding other computers on the network.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P104"&gt;&lt;h4 class="sect4-title" id="annotationlabel-9" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="381" name="381" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P104" name="wbp07Chapter6P104" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Peer to Peer&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P105" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;A peer-to-peer (P2P) architecture is different from the client/server model, as the computers involved have similar capabilities, and can initiate sessions with one another to make and service requests from one another. Each computer provides services and resources, so if one becomes unavailable, another can be contacted to exchange messages or access resources. In this way, the user agents act as both client and server, and are considered peers.&lt;/div&gt;&lt;div class="last-para" id="nr-wbp07Chapter6P106" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Once a user agent is able to establish a communication session with another user agent, a P2P architecture is established where each machine makes requests and responds to the other. One machine acting as the User Agent client will make a request, while the other acting as the User Agent server will respond to it. Each machine can then swap roles, allowing them to interact as equals on the network. For example, if the applications being used allowed file sharing, a UAC could request a specific file from the UAS and download it. During this time, the peers could also be exchanging messages or talking using VoIP, and once these activities are completed, one could send a request to terminate the session to end the communications between them. As seen by this, the computers act in the roles of both client and server, but are always peers by having the same functionality of making and responding to requests.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-4537610069548743591?l=centrexorpbx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centrexorpbx.blogspot.com/feeds/4537610069548743591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6839434102454838128&amp;postID=4537610069548743591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4537610069548743591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839434102454838128/posts/default/4537610069548743591'/><link rel='alternate' type='text/html' href='http://centrexorpbx.blogspot.com/2011/09/clientserver-versus-peer-to-peer.html' title='Client/Server versus Peer-to-Peer Architecture'/><author><name>JohnJenin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://bp0.blogger.com/_tuOGu0JuGOE/R3c2-notmcI/AAAAAAAAABo/dd97grKT7wM/S220/pura_vida_final_logo-250x245.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6839434102454838128.post-5612774514043901147</id><published>2011-09-05T09:16:00.000-07:00</published><updated>2011-09-05T09:17:40.363-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIP'/><category scheme='http://www.blogger.com/atom/ns#' term='SIP Architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='SIP Components'/><title type='text'>SIP Components | SIP Architecture</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 class="sect3-title" id="366-1" style="color: maroon; font-size: medium; font-weight: bold; margin-bottom: 0.9em; margin-top: 1.3em;"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P59" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Although SIP works in conjunction with other technologies and protocols, there are two fundamental components that are used by the Session Initiation Protocol:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="367-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;User agents, which are endpoints of a call (i.e., each of the participants in a call)&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="367-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;SIP servers, which are computers on the network that service requests from clients, and send back responses&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="section" id="wbp07Chapter6P64"&gt;&lt;h4 class="sect4-title" id="annotationlabel-1" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="368" name="368" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P64" name="wbp07Chapter6P64" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;User Agents&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P65" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;User agents are both the computer that is being used to make a call, and the target computer that is being called. These make the two endpoints of the communication session. There are two components to a user agent: a client and a server. When a user agent makes a request (such as initiating a session), it is the User Agent Client (UAC), and the user agent responding to the request is the User Agent Server (UAS). Because the user agent will send a message, and then respond to another, it will switch back and forth between these roles throughout a session.&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P66" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Even though other devices that we’ll discuss are optional to various degrees, User Agents must exist for a SIP session to be established. Without them, it would be like trying to make a phone call without having another person to call. One UA will invite the other into a session, and SIP can then be used to manage and tear down the session when it is complete. During this time, the UAC will use SIP to send requests to the UAS, which will acknowledge the request and respond to it. Just as a conversation between two people on the phone consists of conveying a message or asking a question and then waiting for a response, the UAC and UAS will exchange messages and swap roles in a similar manner throughout the session. Without this interaction, communication couldn’t exist.&lt;/div&gt;&lt;div class="last-para" id="nr-wbp07Chapter6P67" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;Although a user agent is often a software application installed on a computer, it can also be a PDA, USB phone that connects to a computer, or a gateway that connects the network to the Public Switched Telephone Network. In any of these situations however, the user agent will continue to act as both a client and a server, as it sends and responds to messages.&lt;/div&gt;&lt;div class="last-para" id="nr-wbp07Chapter6P67" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P68"&gt;&lt;h4 class="sect4-title" id="annotationlabel-2" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="369" name="369" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P68" name="wbp07Chapter6P68" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;SIP Server&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P69" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The SIP server is used to resolve usernames to IP addresses, so that requests sent from one user agent to another can be directed properly. A user agent registers with the SIP server, providing it with their username and current IP address, thereby establishing their current location on the network. This also verifies that they are online, so that other user agents can see whether they’re available and invite them into a session. Because the user agent probably wouldn’t know the IP address of another user agent, a request is made to the SIP server to invite another user into a session. The SIP server then identifies whether the person is currently online, and if so, compares the username to their IP address to determine their location. If the user isn’t part of that domain, and thereby uses a different SIP server, it will also pass on requests to other servers.&lt;a href="" id="370" name="370" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.A26F3F15-D148-46EE-9578-3C68CE474AC0" name="beginpage.A26F3F15-D148-46EE-9578-3C68CE474AC0" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P70" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;In performing these various tasks of serving client requests, the SIP server will act in any of several different roles:&lt;/div&gt;&lt;ul class="itemizedlist" style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-left: 3em; margin-top: 0.9em;"&gt;&lt;li class="first-listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="370-1" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Registrar server&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="370-2" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Proxy server&lt;/div&gt;&lt;/li&gt;&lt;li class="listitem" style="margin-top: 0.9em;"&gt;&lt;div class="first-para" id="370-3" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Redirect server&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="section" id="wbp07Chapter6P76"&gt;&lt;h5 class="sect5-title" id="annotationlabel-3" style="color: navy; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="371" name="371" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P76" name="wbp07Chapter6P76" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Registrar Server&lt;/h5&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P77" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Registrar servers are used to register the location of a user agent who has logged onto the network. It obtains the IP address of the user and associates it with their username on the system. This creates a directory of all those who are currently logged onto the network, and where they are located. When someone wishes to establish a session with one of these users, the Registrar server’s information is referred to, thereby identifying the IP addresses of those involved in the session.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P78"&gt;&lt;h5 class="sect5-title" id="annotationlabel-4" style="color: navy; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="372" name="372" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P78" name="wbp07Chapter6P78" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Proxy Server&lt;/h5&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P79" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;Proxy servers are computers that are used to forward requests on behalf of other computers. If a SIP server receives a request from a client, it can forward the request onto another SIP server on the network. While functioning as a proxy server, the SIP server can provide such functions as network access control, security, authentication, and authorization.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P80"&gt;&lt;h5 class="sect5-title" id="annotationlabel-5" style="color: navy; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="373" name="373" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P80" name="wbp07Chapter6P80" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Redirect Server&lt;/h5&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P81" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The Redirect servers are used by SIP to redirect clients to the user agent they are attempting to contact. If a user agent makes a request, the Redirect server can respond with the IP address of the user agent being contacted. This is different from a Proxy server, which forwards the request on your behalf, as the Redirect server essentially tells you to contact them yourself.&lt;a href="" id="374" name="374" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="beginpage.DFD76605-B3D5-4B7B-BDD1-F9826C79E7DA" name="beginpage.DFD76605-B3D5-4B7B-BDD1-F9826C79E7DA" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="para" id="nr-wbp07Chapter6P82" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em;"&gt;The Redirect server also has the ability to “fork” a call, by splitting the call to several locations. If a call was made to a particular user, it could be split to a number of different locations, so that it rang at all of them at the same time. The first of these locations to answer the call would receive it, and the other locations would stop ringing.&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="note" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0px; margin-left: 2em; margin-top: 0.9em;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="admon-check" valign="top"&gt;&lt;/td&gt;&lt;td class="admon-title" style="color: navy; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold;" valign="top"&gt;Note&amp;nbsp;&lt;/td&gt;&lt;td class="admon-body" style="margin-bottom: 0px; margin-top: 0px;" valign="top"&gt;&lt;div class="first-para" id="374-1" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; vertical-align: top;"&gt;RFC 3261 defines the different types of SIP servers as logical devices, meaning that they can be implemented as separate servers or as part of a single application that resides on a single physical server. In other words, a single physical server may act in all or one of these roles.&lt;/div&gt;&lt;div class="last-para" id="nr-wbp07Chapter6P84" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: small; margin-top: 0.9em; vertical-align: top;"&gt;In addition to this, the SIP servers can interact with other servers and applications on your network to provide additional services, such as authentication or billing. The SIP servers could access Lightweight Directory Access Protocol (LDAP) servers, database applications, or other applications to access back-end services.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P85"&gt;&lt;h4 class="sect4-title" id="annotationlabel-6" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="375" name="375" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P85" name="wbp07Chapter6P85" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Stateful versus Stateless&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P86" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The servers used by SIP can run in one of two modes: stateful or stateless. When a server runs in stateful mode, it will keep track of all requests and responses it sends and receives. A server that operates in a stateless mode won’t remember this information, but will instead forget about what it has done once it has processed a request. A server running in stateful mode generally is found in a domain where the user agents resides, whereas stateless servers are often found as part of the backbone, receiving so many requests that it would be difficult to keep track of them.&lt;/div&gt;&lt;/div&gt;&lt;div class="section" id="wbp07Chapter6P87"&gt;&lt;h4 class="sect4-title" id="annotationlabel-7" style="color: #010100; font-size: small; font-weight: bold; margin-bottom: 0em; margin-top: 0.9em;"&gt;&lt;a href="" id="376" name="376" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;&lt;a href="" id="wbp07Chapter6P87" name="wbp07Chapter6P87" style="outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;&lt;/a&gt;Location Service&lt;/h4&gt;&lt;div class="first-para" id="nr-wbp07Chapter6P88" style="font-family: Arial, Helvetica, sans-serif; font-size: small; margin-bottom: 0em; margin-top: 0em;"&gt;The location service is used to keep a database of those who have registered through a SIP server, and where they are located. When a user agent registers with a Registrar server, a REGISTER request is made (which we’ll discuss in the later section). If the Registrar accepts the request, it will obtain the SIP-address and IP address of the user agent, and add it to the location service for its domain. This database provides an up-to-date catalog of everyone who is online, and where they are located, which Redirect servers and Proxy servers can then use to acquire information about user agents. This allows the servers to connect user agents together or forward requests to the proper location.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6839434102454838128-5612774514043901147?l=centrexorpbx.blogspot.com' alt='
