nat traversal extension for kad

Kad Traverse

NAT traversal extension for Kad.


Install kad-traverse with NPM.

npm install kad-traverse --save

Register the desired traversal strategy plugins in the order you wish to attempt them. If one succeeds, then strategies registered after will not execute.

const kad = require('kad');
const traverse = require('kad-traverse');
const node = kad({ /* options */ });

  new traverse.UPNPStrategy(/* options */),
  new traverse.NATPMPStrategy(/* options */),
  new traverse.ReverseTunnelStrategy(/* options */)

node.listen(8080); // will try strategies after binding



Kad Traverse - NAT traversal plugins for Kad
Copyright (C) 2017 Gordon Hall

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.







  • yields-traverse

    low level traverse function, inspired by $.dir. traverse low level traverse function, inspired...

    1 年前
  • xtraverse

    Wrapper for simplifying XML traversal. xtraverse Simplified traversal and building of an XML DOM....

    1 年前
  • txt-ast-traverse

    TxtNode traverse library txtasttraverse txtasttraverse provide traversal functions for TxtAST(htt...

    2 年前
  • traverser

    lib for traversing trees and graphs Traverser search through a complex object (nearly) as easily ...

    2 年前
  • traverse-directory

    Clone directories using copy/symlink traversedirectory =============== Build Status(https://travis...

    13 天前
  • traverse-chain

    A simple asynchronous tool traversechain A simple asynchronous tool Installation Example ...

    2 年前
  • traverse

    traverse and transform objects by visiting every node on a recursive walk traverse CDN ...

    2 年前
  • pikaday

    A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS Pikaday ======== NP...

    2 年前
  • pickadate.js

    pickadate.js是什么 什么是pickadate.js,The mobilefriendly, responsive, and lightweight jQuery date & ...

    2 年前
  • pickadate

    The composable date & time picker. pickadate.js The composable date & time picker 🕰 (ht...

    1 个月前


扫码加入 JavaScript 社区