Comments (2)
And I found that the listening address changes every restart,
that means let's say if A side client restart, B side needs to renew the forwarding address to re-establish connection.
follow up:
I found a way to make listening address fixed, which is to get a seed/addr pair on nsh.nkn.org then fill -s parameter.
Is it supposed that the nTunnel client itself have this option natively built-in?
from nkn-tunnel.
And I found that the listening address changes every restart, that means let's say if A side client restart, B side needs to renew the forwarding address to re-establish connection.
Yes that's expected. If you pass a secret seed in, the address will be fixed. Otherwise a random one is generated on each start.
follow up: I found a way to make listening address fixed, which is to get a seed/addr pair on nsh.nkn.org then fill -s parameter. Is it supposed that the nTunnel client itself have this option natively built-in?
A secret seed is just an arbitrary 32-byte array (64 hex characters), you can use any ways to generate one. A few examples:
- You can use
nknc
to generate a wallet and get secret seed - You can generate a wallet at
wallet.nkn.org
and get it usingshow secret seed
. - You can even generate it at something like https://www.browserling.com/tools/random-hex
If we have such feature built-in into nkn tunnel, it will probably print out secret seed in stdout and will be recorded in bash history, which makes it not that secure... We will probably add it if we can think of a better way to handle the wallet I/O part.
from nkn-tunnel.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nkn-tunnel.