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.
lokinet/test
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
4 years ago
..
Catch2@81d52c4a5f Revert "bump submodules" 4 years ago
config Don't use std::optional::value() because f u macos 4 years ago
crypto LNS (#1342) 4 years ago
dht
dns LNS (#1342) 4 years ago
exit change assert to throw an exception instead when service node has no peer stats enable. 4 years ago
hive only stop router hive from fixture when router hive is not None 4 years ago
iwp proper route poking (#1330) 4 years ago
net * rework exit codepath to allow multiple exits 4 years ago
nodedb use lokimq workers instead of llarp:🧵:ThreadPool 4 years ago
path
peerstats fix serialize order of dict in peer stats and make the unit tests match this change 4 years ago
regress Remove ambguity WRT loading and passing of Config 4 years ago
router
routing
service LNS (#1342) 4 years ago
util Use lokimq's hex/base32z encoding/decoding 4 years ago
win32
CMakeLists.txt LNS (#1342) 4 years ago
check_main.cpp
llarp_test.cpp
llarp_test.hpp
main.cpp use llarp::LogSilencer to shut up loging in unit tests 4 years ago
test_llarp_encrypted_frame.cpp
test_llarp_router_contact.cpp disable exits in RCs 4 years ago
test_util.cpp
test_util.hpp