Home > Networking Tips > Network Management > Managing streaming protocols on your network
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK MANAGEMENT

Managing streaming protocols on your network


David Jacobs
01.17.2007
Rating: -4.25- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Managing streaming protocols on your network can be a problem. You do not want your users to consume bandwidth watching replays from last night's game, but you know that an increasing number of useful applications also rely on these same protocols. To monitor activity on your network and detect undesired activity, you need to understand which protocols are used to deliver streaming media.

Too busy to read?
Listen to this tip in MP3 format, and find more podcasts on our Networking Audiocast page.
Most streaming media on the Web is available via Real Networks' RealPlayer, Apple QuickTime or Microsoft Media Player. Each application relies on multiple protocols to deliver the data packets and control the flow of data. Some of these protocols have been developed by the Internet Engineering Task Force (IETF), and specifications are publicly available. Other protocols are proprietary.

How protocols deliver streaming media

The Real-time Streaming Protocol (RTSP), Real-time Transport Protocol (RTP) and the Real-time Transport Control Protocol (RTCP) are used by several streaming applications. These protocols were developed by the IETF.

RTSP, defined by RFC 2326, controls the flow of audio or video data. It can be used to control access to both multicast and unicast streams. RTSP provides a set of commands that resemble the controls on a VCR. These commands include "play," "pause" and "teardown," which is equivalent to "stop." RTSP can run over either TCP or UDP. Its default port is 554.

When RTSP runs over TCP, it does not maintain a TCP connection for the duration of the stream. A client application may initiate and terminate many TCP connections over the course of a single session. To maintain a session between the client and server, RTSP uses a session identifier to specify the stream to which a command applies. The session identifier remains constant over the duration of the stream. The session identifier is used in the same way when RTSP runs over UDP.

RTSP is not used to carry the actual data packets that make up the audio or video stream. Instead, the "setup" command specifies which transport protocol will carry the stream. In many cases, RTP and its companion protocol RTCP are the transport protocols chosen.

RTP and RTCP are both defined by RFC 3550. RTP carries the data packets; RTCP provides feedback from the client to the server concerning the number of packets lost, round trip delay, and variations in the arrival rate of packets.

RTP and RTCP can run over TCP or any other transport layer protocol, but UDP is generally used. The delivery guarantees provided by TCP are not needed by audio and video streams. RTP and RTCP do not have default port numbers. The port numbers used by a session usually range from 16,384 to 32,767. RTP will use an even-numbered port in this range, and RTCP will use the next odd-numbered port.

The port numbers to use for a given stream are determined by RTSP when it initiates the session. For a unicast session, client RTSP specifies to the server the set of port numbers to use. For a multicast session, all of the participants must use the same ports, so RTSP on the server specifies the port numbers to the client.

Streaming applications and the protocols they prefer

Real Networks' RealPlayer uses RTSP to set up sessions. Earlier RealPlayer versions used a proprietary protocol called PNA for this function. The default port number for PNA is 1090. RealPlayer can use RTP and RTCP to carry stream data but can also use the proprietary RDT transport protocol. When using RTP and RTCP, and when using RDT, the RealPlayer application will attempt to use UDP, but will switch to TCP if UDP is blocked.

Apple uses only IETF protocols to implement QuickTime. RTSP is used to set up sessions, and RTP and RTCP carry the data.

Microsoft uses RTSP along with RTP and RTCP in its most recent releases of Media Player. Versions released prior to Windows XP Service Pack 2 used MSB, a proprietary protocol.

MSB provides the functions of RTSP, RTP and RTCP. It connects with the server using TCP port 1755 to set up connections. It then attempts to switch to UDP to transfer data. If UDP is blocked by a firewall, it switches to TCP.

Blocking access may not be enough

The number and variety of protocols used and their ability to switch to an alternative protocol when blocked adds to the difficulty of managing streaming media. Removing the applications from user workstations can block access to some media, but other media can be viewed directly in a Web browser.

Since it is difficult or impossible to block access to unwanted media, other methods must be used. Monitor network traffic carefully to spot excessive use by specific users. If necessary, configure your firewall to block access to sites that should not be accessed from the workplace. Finally, set a clear policy, and let your users know that you are monitoring network use.

About the author:
David B. Jacobs of The Jacobs Group has more than 20 years of networking industry experience. He has managed leading-edge software development projects and consulted to Fortune 500 companies, as well as software startups.

Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Network Management
Virtual machines present dynamic environment issues for network pros
Network architecture and capacity planning for server virtualization
Keeping it green: Design principles for efficient network architectures
How green is my network? -- A look at the cost-savings benefit of green IT
IEEE P802.3az Energy Efficient Ethernet: Small network power savings add up
Governance, compliance, security: How are these network problems?
Application delivery controllers: Moving toward the application-centric network
Server virtualization and the network: Site consolidation's impact on latency
Upgrade your network: Network evolution and roadmap
Server virtualization: FAQ for network pros

Applications Management
Network management frameworks: FCAPS and ITIL
Network Interception and Integration with Cisco WAAS
Cisco smartens up the wireless network with Motion platform
Akamai and Citrix marry cloud-based and appliance-based Web application acceleration
The evolving NOC and IT prestige: How to break down silos and prove your worth
With SOA and Web 2.0 apps, developers and network pros need to align their work
Networking pros can prove their value by building out the network for video
Application delivery controllers: Moving toward the application-centric network
Server virtualization creates a network configuration burden
Losing the war to lock down networks might help enterprises innovate
Applications Management Research

WAN Technologies
Next-generation wide area network services on the rise
Broadband bonding vendor offers SMBs affordable appliance
Upgrade your network: Network evolution and roadmap
How to design a redundant WAN architecture
Does WAN optimization work when compression's enabled on host devices?
How do I calculate the time taken for a file to be transferred over a WAN link?
MPLS implementation gotchas
Troubleshooting WAN performance issues
MPLS and Cisco CCIP certification
Cisco CCIP MPLS certification: Introduction

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
acceleration hardware  (SearchNetworking.com)
DCE  (SearchNetworking.com)
MBone  (SearchNetworking.com)
n-tier  (SearchNetworking.com)
Nagle's algorithm  (SearchNetworking.com)
NetBIOS  (SearchNetworking.com)
Network Job Entry  (SearchNetworking.com)
OpenNMS  (SearchNetworking.com)
Parlay  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts