-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OnionCat4 discussion notebook #34
Comments
I don't know the exact state of the v3 lookup mechanism. random 3 digit pin (simple cluster passphrase guessing avoidance) + custom passphrase -> seed bytes -> hiarchial deterministic ed25519 key -> node try to connect to (n) nodes at bootstrap, if any connection succeeeded -> join cluster, otherwise -> create new -> onion services are created adhoc via the tor control port this represents a lightweight p2p application (as control app/discovery/registrar) used technologies: |
I think I got your idea. But how would you find the "initial contact"? By distributing the master key to your set of OnionCat nodes? I'm already working on an article describing what I'm working on with this V3 lookup mechanism ;) |
By providing the passphrase for every node on-site once while the node bootstrap phase. It is used to generate the pubkeys at m/*. Then it try to access the cluster by resolving the first n nodes and connect to one of them. When it has connected to any of them my current node is part of the tor P2P network. (my node receives: all online nodes (index list) + the last ever used node index. the next higher one is my nodes index). Now the bootstrap generates the private key for that index from the generated master key - a ed25519 prv key which is my onion address, and discard the master key for security reasons. (with the master key I could impersonate every node in the network - so one bad node can do anything) As improvement theoretically the node cluster can ensure that a node at m/0 is always available. If not just publish that one, don't care if it get republished. m/0 could be an cluster entry node or just a DHT that provides indexes of online nodes (for example beyond 10, when the first 10 are offline). Though that improvement goes pretty far...
Okey cool, I am curious! |
Sounds good. Although it also sounds like a lot of work which I do not have any more, at least at the moment. |
This is a collection of open questions for OnionCat4, to remind me that I do not forget. And of course, open for discussion!
OnionCat4 is developed in the branch hsv3lookup.
$sysconfdir/etc/tor/onioncat.hosts
a good location for the hosts file? (or better/etc/onioncat/hosts
, or/etc/onioncat.hosts
, or...)The text was updated successfully, but these errors were encountered: