ReTurn Overview

From reSIProcate

Jump to: navigation, search

Contents

[edit] Overview

[edit] What is reTurn?

reTurn is an open-source, free STUN/TURN server and client library. It is an implementation of the latest STUN/TURN drafts: RFC5389 (STUN), and RFC5766 (TURN).


[edit] What is STUN?

taken from RFC5389

Session Traversal Utilities for NAT (STUN) is a protocol that serves as a tool for other protocols in dealing with Network Address Translator (NAT) traversal. It can be used by an endpoint to determine the IP address and port allocated to it by a NAT. It can also be used to check connectivity between two endpoints, and as a keep-alive protocol to maintain NAT bindings. STUN works with many existing NATs, and does not require any special behavior from them.


[edit] What is TURN?

taken from RFC5766

If a host is located behind a NAT, then in certain situations it can be impossible for that host to communicate directly with other hosts (peers) located behind other NATs. In these situations, it is necessary for the host to use the services of an intermediate node that acts as a communication relay. This specification defines a protocol, called TURN (Traversal Using Relays around NAT), that allows the host to control the operation of the relay and to exchange packets with its peers using the relay.

The TURN protocol can be used in isolation, but is more properly used as part of the ICE (Interactive Connectivity Establishment) approach to NAT traversal.


[edit] Initial Project Team


[edit] Key Features

[edit] Upcoming Features

[edit] How to Participate

[edit] Project Details

[edit] Working with reTurn


[edit] Current External Library Usage

Note:  Using boost 1.36.0 that includes ASIO 1.2.0 was considered, but this adds 
       an extra requirement to build the boost system library.  Use of boost 1.35.0 or 1.36.0 and
       a standalone ASIO 1.2.x release should work together fine.


[edit] Licensing

reTurn is distributed under a standard 3-clause BSD license:

/* ====================================================================

Copyright (c) 2007-2008, Plantronics, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are 
met:

1. Redistributions of source code must retain the above copyright 
   notice, this list of conditions and the following disclaimer. 

2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution. 

3. Neither the name of Plantronics nor the names of its contributors 
   may be used to endorse or promote products derived from this 
   software without specific prior written permission. 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

==================================================================== */
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox