GithubHelp home page GithubHelp logo

nattools's Introduction

Code has moved and no longer maintained

Please visit:

for updated and maintaned code

NATtool is a package that contains several stand alone submodules.

-* Compiling *- run ./bootstrap.sh to crate the ./configure script. This requires that autotools and autoconfigure is intalled

Then do a ./configure and make to compile

For OSX the following ./configure command can be used: ./configure --with-check --enable-gcov CFLAGS="-I/opt/local/include" LDFLAGS=-"L/opt/local/lib"

This will build the three libraries sockaddrutillib, stunlib and icelib. They are all standalone libs and can be build seperately if you want to.

For osx it is recomended to build with a gcc version from port (MacPorts) Before running the configure script make sure:

  • Xcode commnd line tols are installed (xcode-select --install)
  • gcc is installed. (port install gcc49)
  • automake and libtool is installed
  • check is installed (port install check)

** samplecode ** Module containing sample code of library usage. Note that this directory is not part of the distribution if you do a "make dist". To build you ned to cd into the directory and do the ./configure && make dance.

** ICElib ** A implementation of RFC 5245 Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocols

** STUNlib ** A implementation of RFC 5766 Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN).

It also has support for RFC 6156 Traversal Using Relays around NAT (TURN) Extension for IPv6.

Please note that this library currently is a bit client focused. But all message parsing is the same so it is still useful for a server implementation. The client side has some of the necessary state machines implemented to make usage of the library very simple for the client side.

** Sockaddr Util ** Convenience library to make it easier to work with sockaddr structs.

nattools's People

Contributors

palerikm avatar clux avatar fluffy avatar trondand avatar oeichenwei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.