Commit Graph

180 Commits (7c8c11a42aa7a56ef1e83f6fa1f5a4eaad5bec21)

Author SHA1 Message Date
Jeff 0f777d822b Merge branch 'staging' of ssh://github.com/majestrate/loki-network into staging 5 years ago
Jeff ba8313e57e limit replies on introset lookup, pick newest 5 years ago
Michael 729cd045f1
Convert llarp::Router into an abstract base class 5 years ago
Michael 1ba6507a2f
Tests for dht::ServiceAddressLookup 5 years ago
Michael b1213c7a7c
Tests for dht::TagLookup 5 years ago
Ryan Tharp 4bf4faa956 make format 6 years ago
Michael f3b0af9d2f
Create CopyableBuffer type 6 years ago
Michael 2de621b0ad
Disable copy constructing llarp_buffer_t 6 years ago
Ryan Tharp c3bf68b502
Merge branch 'staging' into dht_tests 6 years ago
Michael f24f554a01
Convert llarp::Crypto into an abstract base class 6 years ago
Michael 1f95f1e78f
More unit tests of dht internals 6 years ago
Michael 3f320009d7
Introduce abstract class for dht::Context 6 years ago
Michael 40449df0f1
Split classes out of dht::Context 6 years ago
Michael ccb5f6b696
Add tests for dht::TXOwnere 6 years ago
Michael 2d395cc3f9
Move code to correct home 6 years ago
Michael 550669e318
Fix typo in class name 6 years ago
Michael 80bd41916e
More tidying of dht code 6 years ago
Michael 03d56c1591
Add test suites for dht bucket, kademlia and key 6 years ago
Michael 7296ebcbe8
Tidy dht code 6 years ago
Michael da6cdfc0b2
More refactoring to continue to make dependency graph acylic 6 years ago
Michael 6e38e85a79
Produce hierarchy of 'libraries' inside libllarp 6 years ago
Michael 79157414f3
Split crypto.hpp into 3 different files 6 years ago
Michael 04e0fe3ad7
Move crypto code to a subdirectory 6 years ago
Michael 081d4dfa32
Reorganise source into more folders 6 years ago
Michael e5eda0fb8f
Move lokinet unspecific components to a util/ library 6 years ago
Michael 167d5aca6d
Add test suite for bencode 6 years ago
Michael 516466f5be
Mark more AlignedBuffer constructors as explicit 6 years ago
Michael ea19093a20
Remove const byte* conversion operators from llarp::AlignedBuffer 6 years ago
Michael 58364a01c8
Remove array conversion operators from llarp::AlignedBuffer 6 years ago
Michael 334161c9bb
Remove data() conversions from llarp::AlignedBuffer 6 years ago
Michael 8f053106e6
Add tests for llarp::dht::Key_t 6 years ago
Jeff Becker 49c898ed92
Merge remote-tracking branch 'origin/master' into staging 6 years ago
Jeff 4b2a1ea9f3 make format and attempt to fix #158 6 years ago
Jeff Becker 8c8172aeb1
Merge remote-tracking branch 'origin/master' into dev 6 years ago
Jeff Becker 3e37165749
Merge remote-tracking branch 'origin/master' 6 years ago
Jeff Becker e7f5eeff51
use fewer allocations 6 years ago
Michael 037cb87523
Convert llarp::AlignedBuffer to be backed by std::array 6 years ago
Jeff Becker 6fc42dc7ad
fixes 6 years ago
Jeff Becker cca19290de
session renegotiation, RC expiration, more utp unit tests, network isolation. 6 years ago
Ryan Tharp 46d488d9ab improve logging explanation for testnets 6 years ago
Jeff Becker 3115636024
try fixing crash 6 years ago
Michael 4257b62e88
Add .cpp files for all .hpp files 6 years ago
Jeff Becker be234e4b6e
* make format
* snode to snode direct traffic

* wire up dns on service node tun
6 years ago
Michael 85dde7b6b0
Move remaining include/llarp headers to llarp/ 6 years ago
Michael e887b4e9c7
Move service* to llarp/ 6 years ago
Michael 5aa7f49470
Move routing* to llarp/ 6 years ago
Michael b92ea0521b
Move router_contact.hpp to llarp/ 6 years ago
Michael fddc8734d2
Move dht* to llarp/ 6 years ago
Michael 7be452092c
Convert llarp_crypto to be a true C++ class 6 years ago
Michael 6358b25db0
Convert llarp_nodedb to be a true C++ class 6 years ago
Michael f0fce5b68a
Convert llarp_router to be a true C++ class 6 years ago
Jeff Becker fad734a5ce
strict types for pubkey, secretkey and routerid 6 years ago
Michael 30e9dca2e5
Convert llarp_logic to be a C++ class 6 years ago
Jeff Becker 622ed8d12e
fix crash on premature close of event loop (also make format) 6 years ago
Jeff Becker e6037ff060
pack exit traffic 6 years ago
Jeff Becker d25d35c06e
dht 6 years ago
Jeff Becker 10c2d1552d
don't connect to explored routers 6 years ago
Jeff 067f6c7b26 make format and make it compile with clang 6 years ago
Jeff Becker cf57eca7c3
check keyspace distance and inform not found when next peer is not closer than previous peer 6 years ago
Jeff Becker 3dd466629b
check for nullptr 6 years ago
Jeff Becker e0f1d985c8
more dht tweaks 6 years ago
Jeff Becker 38a92cb1a8
fixes for testnet 6 years ago
Michael Thorpe 33bfaf7ecd
Enable -Wextra
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
6 years ago
Ryan Tharp 5d90cbe895 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Ryan Tharp 7af23dcaad format 6 years ago
Ryan Tharp 67390de0c2 merge 6 years ago
Jeff Becker 2d279e83fd
initial tcp connect for epoll 6 years ago
despair d425b5d308 implement tcp evloop on win32
(with its now-obsolete distinction between socketfd and fd)

sockets and file descriptors used to be distinct objects....back in the
16-bit Winsock 1.1 era, which needlessly complicated the 32-bit port
back then. these days one can use [Read|Write]File(2) to operate on
sockfds...which also have some of the semantics of [read|write]v(2)
i.e. the scatter-gather thing it's known for is done in async handler

-rick

variants are nice

added note to self

clang-format

link abyss properly

oops

shut up

*shrugs*

oops forgot to start winsock

moved our async io status flags to the base class

let derived classes override them as needed

this is probably a synchronous op _anyway_

fix typo

wtf
6 years ago
Jeff Becker dbd2c41909
use event loop for time 6 years ago
Jeff 678f9e30eb call cleanup timer 6 years ago
Jeff 390333c787 Merge remote-tracking branch 'origin/master' 6 years ago
Jeff 146fa13837 merge 6 years ago
Jeff Becker cc106ed37b
fix dht bug, probably, re-enable loopback testnet functionality 6 years ago
Jeff Becker d3278946f2
ipv4 bogon checking 6 years ago
Jeff 4158e422bb don't store introsets when forwarding a request 6 years ago
Jeff Becker 186a36cd4b
try fixing dht crash 6 years ago
Jeff Becker 4309ea3b97
better handling for introset propagation 6 years ago
Jeff Becker 5fb08c2139
check introset timestamps 6 years ago
Jeff Becker 29cf0c9ba5
don't propagate expired introsets 6 years ago
Jeff Becker df53e79aff
fix windows 6 years ago
Jeff Becker acc1b625b4
actually store introsets when found 6 years ago
Jeff Becker 44cea54dea
avoid stack overflow 6 years ago
Jeff Becker f5b8d552e1
path peer profiling
propagate introsets better
6 years ago
Jeff Becker 3af51cbe55
add path latency minimum checker
add min-latency option to hidden service config
6 years ago
Jeff Becker c0afc97d41
better explore logic 6 years ago
Jeff Becker 832b24ba93
delete don't abort when building paths failed to key exchange
try making dht less talky

check timestamps on intros
6 years ago
Jeff Becker 0c1dfa4a27
check nodedb for routers not just dht peer list 6 years ago
Jeff Becker c3a7f64344
expire introsets correctly and allow multiple tun if 6 years ago
Jeff Becker 96526058b2
update readme and make dht bootstrap work with low peer count 6 years ago
Jeff Becker b23dab09fb
don't overwrite our RC, hide parameter. 6 years ago
Jeff Becker ec143e11a4
explore via 1 router 6 years ago
Jeff Becker 5dfcd60df1
more 6 years ago
Jeff Becker c3c388b6aa
remove iwp and start on curvecp
does not compile
6 years ago
Jeff Becker 973f86c900
it compiles 6 years ago
Jeff Becker 5228a81bae
more refactor
get rid of C api
6 years ago
Jeff Becker b122fc59f8
refactor (not done) 6 years ago
Jeff Becker 199dad09dd
* kill dht feedback loop
* add dht exploration for discovering new routers

* tweak loopback testnet paramters to not be initially fully connected
6 years ago
Jeff Becker ba12f3e5e2
prevent crash? 6 years ago
Jeff Becker 3625313304
clear pending dht tx 6 years ago
Jeff Becker 4e3acd0277
persist sessions between routers 6 years ago