Git Product home page Git Product logo

nat-discovery's Introduction

Cross-platform NAT behavior discovery (algorithms defined in RFC 3489)

When it is useful?

Features

  • Ready to use on your platform, no requirements, no installing, no administrative privileges
  • Discovers following types:
    • Full Cone
    • Restricted Cone
    • Port Restricted Cone
    • Symmetric
    • No NAT (Open Internet, Blocked, Symmetric UDP Firewall)

NAT Behavior Discovery Using Classic STUN (RFC 3489)

  • Test II checks the presence of a NAT or symmetric UDP firewall, and discovers a full cone NAT
  • Test I' discovers a symmetric NAT
  • Test III discovers a restricted con NAT or port restricted cone NAT

Configuration

> nat-discovery --help

usage: nat-discovery [-h] [-d] [-j] [-e] [-H STUN_HOST] [-P STUN_PORT] [-i SOURCE_IP] [-p SOURCE_PORT] [--version]

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           enable debug logging (default: False)
  -j, --json            JSON output (default: False)
  -e, --exit            exit on complete (by default sleep) (default: False)
  -H STUN_HOST, --stun-host STUN_HOST
                        STUN host to use (default: None)
  -P STUN_PORT, --stun-port STUN_PORT
                        STUN host port to use (default: 3478)
  -i SOURCE_IP, --source-ip SOURCE_IP
                        network interface for client (default: 0.0.0.0)
  -p SOURCE_PORT, --source-port SOURCE_PORT
                        port to listen on for client (default: 54320)
  --version             show program's version number and exit

nat-discovery's People

Contributors

automation-stack avatar

Watchers

James Cloos avatar  avatar

Forkers

l2dy

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.