lokinet/llarp/dns
Jeff 21930cf667
LNS (#1342)
* 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
2020-09-17 15:18:08 -04:00
..
dns.hpp SRV Record handling for introsets (#1331) 2020-08-31 16:07:17 -04:00
message.cpp SRV Record handling for introsets (#1331) 2020-08-31 16:07:17 -04:00
message.hpp LNS (#1342) 2020-09-17 15:18:08 -04:00
name.cpp LNS (#1342) 2020-09-17 15:18:08 -04:00
name.hpp LNS (#1342) 2020-09-17 15:18:08 -04:00
query.hpp Move dns* to llarp/ 2018-12-12 02:53:01 +00:00
question.cpp SRV records fixes (#1332) 2020-08-31 19:25:58 -04:00
question.hpp SRV records fixes (#1332) 2020-08-31 19:25:58 -04:00
rr.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
rr.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
serialize.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
serialize.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
server.cpp std::vector instead of std::array 2020-06-15 18:32:57 -04:00
server.hpp std::vector instead of std::array 2020-06-15 18:32:57 -04:00
srv_data.cpp SRV Record handling for introsets (#1331) 2020-08-31 16:07:17 -04:00
srv_data.hpp SRV Record handling for introsets (#1331) 2020-08-31 16:07:17 -04:00
string.hpp Add .cpp files for all .hpp files 2018-12-15 16:21:52 +00:00
unbound_resolver.cpp attempt fix for libunbound on win32 2020-08-04 10:53:32 -04:00
unbound_resolver.hpp attempt fix for libunbound on win32 2020-08-04 10:53:32 -04:00