node-stun | Session Traversal Utilities NAT client

 by   summerwind JavaScript Version: Current License: No License

kandi X-RAY | node-stun Summary

kandi X-RAY | node-stun Summary

node-stun is a JavaScript library. node-stun has no bugs, it has no vulnerabilities and it has low support. You can install using 'npm i megastun' or download it from GitHub, npm.

Session Traversal Utilities for NAT (STUN) client for Node.js.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              node-stun has a low active ecosystem.
              It has 43 star(s) with 10 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 3 have been closed. On average issues are closed in 3 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of node-stun is current.

            kandi-Quality Quality

              node-stun has 0 bugs and 0 code smells.

            kandi-Security Security

              node-stun has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              node-stun code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              node-stun does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              node-stun releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of node-stun
            Get all kandi verified functions for this library.

            node-stun Key Features

            No Key Features are available at this moment for node-stun.

            node-stun Examples and Code Snippets

            No Code Snippets are available at this moment for node-stun.

            Community Discussions

            QUESTION

            What should the primary and secondary IP address be when setting up STUN server for Node.js?
            Asked 2020-Nov-16 at 21:51

            I'm attempting to set up a STUN server using STUN server for Node.js:

            https://github.com/enobufs/stun

            The readme has the following guidance:

            Place a config file named as node-stun.ini in your current directory. The config file should look like following. (These local loopback addresses should be routable public IP addresses in the real settings, of course)

            [primary] host = 127.0.0.1

            [secondary] host = 127.0.0.2

            Does anyone know what the primary and secondary IPs should be? Should the primary be the IP address of my STUN server machine? What should the secondary be?

            Could I set them as localhost and route requests to the server with nginx?

            Finally, why does the software need to refer to these IP addresses?

            ...

            ANSWER

            Answered 2020-Nov-16 at 21:51

            Technically, STUN requires two unique public IP addresses on the server. But most client implementations only need one and don't use the alternate/secondary address. And the server code needs to know what these addresses are for two reasons:

            1. So that the server knows which address to bind the sockets to. (It would need the local ip addresses for each)

            2. So that the server can advertise the alternate IP address when a binding request hits the primary IP. (It needs to know the public IP addresses of the host if its behind a NAT with port forwarding).

            If you don't have a secondary IP address to offer, then give in any address that allows the server to run. This will break STUN behavior and filtering tests, but rarely do clients need this.

            Source https://stackoverflow.com/questions/64693769

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install node-stun

            You can install using 'npm i megastun' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/summerwind/node-stun.git

          • CLI

            gh repo clone summerwind/node-stun

          • sshUrl

            git@github.com:summerwind/node-stun.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular JavaScript Libraries

            freeCodeCamp

            by freeCodeCamp

            vue

            by vuejs

            react

            by facebook

            bootstrap

            by twbs

            Try Top Libraries by summerwind

            h2spec

            by summerwindGo

            h2a

            by summerwindGo

            whitebox-controller

            by summerwindGo

            sasazka

            by summerwindJavaScript