Comments (15)
I will have a look. Does work without the Python script?
from kadnode.
If KadNode does not work with authorization, then I would suspect that libsodium has changed some API semantics for its 1.0 release...
from kadnode.
The thing is that it worked once a few days ago and after that it stopped
working. Can you please give me all the versions of the modules needed to
make it work. Also if you have time please try my python script to tell me
if it works with your setup.
On Dec 17, 2014 4:26 AM, "Moritz Warning" [email protected] wrote:
If KadNode does not work with authorization, then I would suspect that
libsodium has changed some API semantics for its 1.0 release...—
Reply to this email directly or view it on GitHub
#28 (comment).
from kadnode.
The script just runs the commands. So it doesn't work even if I run the commands on the console.
I am now trying libsodium 0.7.1 and will get back to you.
from kadnode.
I tried libsodium 0.7.1 and it doesn't work either. Can you give a p2p domain with its public key that is online this moment so I can test if it doesnt work because all of my nodes are on the same public ip?
from kadnode.
I need some more time to debug this. :-)
from kadnode.
You can try this to lookup mwarning.p2p
--auth-add-pkey mwarning.p2p:bd31b72d867606cf4924fd020867a0f39247906b4471ad2a6e4fffcc1ee2cdb1
from kadnode.
Ok, the basic DHT lookup succeeds for me, but the other side does not respond to my challenges to prove that it has the secret key. That is why lookup won't show any results.
from kadnode.
It works on a local network. More tomorrow.
from kadnode.
Ok, as it turns out. My server was behind a NAT. Which won't work. Another server with a public IP address worked.
I've looked at your script and it kills kadnode on every start which is bad because it takes some time for a node to bootstrap into the network. You also do not need to append .p2p anywhere in your script. It is ignored by KadNode anyway. I hope that helps. :-)
from kadnode.
I have added a patch so that kadnode will remove unsuccessful searches when they are done - rather then timeout. This will make KadNode more responsive when starting a new search.
from kadnode.
It worked with mwarning.p2p and it was fast!!! :) I have to put raspberry's in different internet connections to test it properly.
Can I ignore ".p2p" on "--auth-add-skey "node1.p2p:" --value-id node1.p2p"?
Also is it possible to have more than one tld?
To add an skey node or a pkey node it needs to restart. That's why I kill kadnode and restart. Is there a better way?
Thank you
from kadnode.
I am glad mwarning.p2p worked for you as well. :-)
Let me know how your setup is doing!
Can I ignore ".p2p" on "--auth-add-skey "node1.p2p:" --value-id node1.p2p"?
Yes, you don't need .p2p, it is ignored. It is used only in the DNS and NSS code part to decide if to accept a query. You can change the TLD using the --query-tld option. But currently only one tld is supported. This may change in the future.
Adding keys at runtime is a bit troublesome to implemented and I do not feel that it is an important feature. Anyway, I've fixed a bug today that caused KadNode not export all good peers. Restarting KadNode should work better now.
from kadnode.
Great..Nice work anyway.
Here is the project that uses kadnode: https://github.com/PeerBay/peerNode
from kadnode.
I will try to implement a common authentication scheme, the current one is not really satisfying - this should make it possible to add keys add runtime.
from kadnode.
Related Issues (20)
- can not start on windows HOT 8
- daemon crashes on resovle HOT 11
- keeps trying to uninstall debian package HOT 2
- can not build in cygwin HOT 3
- Publishing addresses for other nodes HOT 4
- here's an example address you can use HOT 10
- natpmp upnp features ? HOT 3
- Cannot build on Cygwin64. HOT 1
- Upgrade ideas HOT 3
- An odd bug HOT 4
- Upgrade idea HOT 2
- Announce with own CA certs HOT 4
- Ubuntu 22.04: unmet dependencies when installing deb HOT 2
- onion like domain with ed25519 HOT 9
- MX records? HOT 1
- Domain authorization HOT 4
- can't build with mbedtls 3.x HOT 8
- Can this work on a local mesh network HOT 5
- Can this work on a local mesh network
- Cannot compile in cygwin HOT 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 kadnode.