mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21930cf667
* initial relay side lns * fix typo * add reserved names and refactor test for dns * lns name decryption * all wired up (allegedly) * refact to use service::EncryptedName for LNS responses to include nonce with ciphertext * fully rwemove tag_lookup_job * replace lns cache with DecayingHashTable * check for lns name validity against the following rules: * not localhost.loki, loki.loki, or snode.loki * if it contains no dash then max 32 characters long, not including the .loki tld (and also assuming a leading subdomain has been stripped) * These are from general DNS requirements, and also enforced in registrations: * Must be all [A-Za-z0-9-]. (A-Z will be lower-cased by the RPC call). * cannot start or end with a - * max 63 characters long if it does contain a dash * cannot contain -- in the third and fourth characters unless it starts with xn-- * handle timeout in name lookup job by calling the right handler with std::nullopt |
4 years ago | |
---|---|---|
.. | ||
dns.hpp | 4 years ago | |
message.cpp | 4 years ago | |
message.hpp | 4 years ago | |
name.cpp | 4 years ago | |
name.hpp | 4 years ago | |
query.hpp | 6 years ago | |
question.cpp | 4 years ago | |
question.hpp | 4 years ago | |
rr.cpp | 5 years ago | |
rr.hpp | 5 years ago | |
serialize.cpp | 5 years ago | |
serialize.hpp | 5 years ago | |
server.cpp | 4 years ago | |
server.hpp | 4 years ago | |
srv_data.cpp | 4 years ago | |
srv_data.hpp | 4 years ago | |
string.hpp | 6 years ago | |
unbound_resolver.cpp | 4 years ago | |
unbound_resolver.hpp | 4 years ago |