Commit Graph

142 Commits (5233c09d4721abe502420a13338726d63a314b48)

Author SHA1 Message Date
Michael 70937ab503
Fix docker-compose isolated network 5 years ago
Michael 7cb1b525c9
Dump more info from router contact 5 years ago
Michael 777261cb20
Use ToString over ToHex 5 years ago
Michael 094b697b01
Replace StatusObject with underlying JSON type 5 years ago
Michael 4763888d2c
Add fail-able docker build for gcc trunk 5 years ago
Thomas Winget baf8019fe5 Refactor Router code into more classes
This commit refactors functionality from the Router class into separate,
dedicated classes.
There are a few behavior changes that came as a result of discussion on
what the correct behavior should be.
In addition, many things Router was previously doing can now be provided
callback functions to alert the calling point when the asynchronous
action completes, successfully or otherwise.
5 years ago
Jeff Becker 16e20a9e79
try fixing bootstrap 5 years ago
Jeff Becker 58005c5f81
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Michael a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
This reverts commit 2996a7f29c, reversing
changes made to 10df3bd4b3.
5 years ago
Thomas Winget d044d60101 Reverts #678 #677 and #669 with hashes:
10df3bd
766ece8
979f095

See those commits for further details
5 years ago
Michael b51f7d8015
Convert to load config in config loader 5 years ago
Jeff Becker ba6f9ed2d7
continue using llarp::openfilestream 5 years ago
Jeff Becker 54a098356d
continue using llarp::openfilestream 5 years ago
Jeff Becker 389c414ee3
add handover window to router contact updating 5 years ago
Jeff Becker 9ec41b8831
update RC expiration logic, lookup more often and remove stale entries 5 years ago
Jeff Becker c2803e3020
fix 5 years ago
Jeff Becker cacc73db7b
add rc expiration (again) 5 years ago
Michael 491fee206b
Port code to use CryptoManager over passing Crypto pointers 5 years ago
michael-loki 0195152e05 Allow builds on MSVC (#518)
* Import cxxopts to replace getopts usage

* Add visual studio build things

* Fixup abseil build parts

* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED

* Fixup minor windows build issues

* Replace getopts usage

* Temporarily fixup .rc files

* More minor windows fixes

* Get a working build

* Revert .rc files

* Revert changes to nodedb
6 years ago
Jeff Becker 20e398b684
fix exit info 6 years ago
Michael e4cf1f245c
Convert most of llarp to use Printer 6 years ago
Michael a00d6afc5e
Convert llarp_buffer_t to be a class with methods 6 years ago
Jeff Becker 62c200c6fa
disable rc expiration 6 years ago
Jeff Becker 46222df421
refactor 6 years ago
Jeff Becker e1522faeaa
add introspection rpc endpoint 6 years ago
Michael 24066ea9e0
Fix warning on macOS 6 years ago
Michael f3b0af9d2f
Create CopyableBuffer type 6 years ago
Michael 2de621b0ad
Disable copy constructing llarp_buffer_t 6 years ago
Ryan Tharp ac2c1ad434 another build fix 6 years ago
Jeff Becker 7bc0b5f82b
try addressing issue #233 6 years ago
Jeff Becker 1e0d82848f
revert to use u instead of t for timestamp in RC for backwards compat reasons 6 years ago
Rick V 828c5d36f7
remove extra braces 6 years ago
Jeff Becker 6064ff5a68
try fixing unit tests 6 years ago
Michael 04e0fe3ad7
Move crypto code to a subdirectory 6 years ago
Michael a3463120cc
Move net components into a distinct folder 6 years ago
Michael e5eda0fb8f
Move lokinet unspecific components to a util/ library 6 years ago
Michael 535c65ca52
Fix RCTest dependency ordering 6 years ago
Michael be2354663d
Fix RCTest.TestSignVerify 6 years ago
Michael ea19093a20
Remove const byte* conversion operators from llarp::AlignedBuffer 6 years ago
Michael 1410d0a0cf
Remove byte* conversion operators from llarp::AlignedBuffer 6 years ago
Michael 334161c9bb
Remove data() conversions from llarp::AlignedBuffer 6 years ago
Jeff Becker 180ca69d02
fix issue #185 6 years ago
Jeff Becker 0fd36d3b79
make netid configurable on runtime
bump version to 0.4.0

subscribe to pewdiepie
6 years ago
Jeff Becker 6fc42dc7ad
fixes 6 years ago
Jeff Becker c025755b99
make lifetime smaller for test networks 6 years ago
Jeff Becker cca19290de
session renegotiation, RC expiration, more utp unit tests, network isolation. 6 years ago
Jeff Becker b39c46fc03
!!! this breaks backwards compat :^) !!!
redo link protocol to use 2 session keys, add unit tests.
6 years ago
Michael 85dde7b6b0
Move remaining include/llarp headers to llarp/ 6 years ago
Michael b92ea0521b
Move router_contact.hpp to llarp/ 6 years ago
Michael 451bbedfaf
Move crypto.hpp to llarp/ 6 years ago
Michael 7be452092c
Convert llarp_crypto to be a true C++ class 6 years ago
Jeff Becker 38c9633ca2
make bootstrap happen only when we have very few nodes
add strict-connect option
6 years ago
Michael e39d02ddc2
Rename version.h 6 years ago
Michael 0b2ebc83e0
De-C-ify several .h headers 6 years ago
Jeff Becker d3278946f2
ipv4 bogon checking 6 years ago
Jeff a1d1518bc0 update logging to use human readable time 6 years ago
Jeff Becker b23dab09fb
don't overwrite our RC, hide parameter. 6 years ago
Jeff Becker 60d5277351
broken 6 years ago
Jeff Becker 4e693a2414
make signatures work again ;~; 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 b6ec1e94db
only write nickname if present in rc 6 years ago
Jeff Becker f8e3ef16b9 correct typo 6 years ago
Jeff Becker d511057b7d * logging updates
* nicknames in RC (yw kee)

* spec update

* more hidden service code
6 years ago
Ryan Tharp cfb69224b5 Merge branch 'master' of https://github.com/neuroscr/loki-network 6 years ago
Jeff Becker dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht 6 years ago
sachaaaaa c7940076bf Remove most of the extern "C"
remove extern "C"
6 years ago
Ryan Tharp 3a21ca604f llarp_rc_new to initialize properties correctly 6 years ago
Jeff Becker 21a2ffdeaf
* refactor log functions
* add more stuff for hidden service dht
6 years ago
Jeff Becker 4ca34995bf
add inbound server connections to DHT 6 years ago
Jeff Becker a2d9dc1d93
it does stuff :+DDDDD 6 years ago
Jeff Becker d5fe7623fc
more dht stuff 6 years ago
Jeff Becker 0d9025bc7d
Merge remote-tracking branch 'ryan/master' into dev 6 years ago
Jeff Becker d2700f818b
comply with spec
update spec
6 years ago
Jeff Becker a8ab66f4f8
refactor to use AlignedBuffer for public key, shared secret, nonce, secret key etc 6 years ago
Jeff Becker ec53cab169
more onion routing stuff 6 years ago
Ryan Tharp 3f6a5c4ca5 Merge branch 'master' of https://github.com/majestrate/llarp 6 years ago
Jeff Becker 620b9616a6
initial dht implementation 6 years ago
Jeff Becker 9816fd65e9
* logging refactor to be concise
* don't inline bencode

* refactor initial start of dht code a bit
6 years ago
Ryan Tharp ee28623dbf important threading note 6 years ago
Jeff Becker fe19314484
more stuff 6 years ago
Jeff Becker 39b1714f27
add minimal logger
move some printf to use logger

remove warnings from bencode.h
6 years ago
Jeff Becker 76d885d39e
more 6 years ago
Jeff Becker 8181670bf3
format 7 years ago
Jeff Becker 02dfb7c3a9
more 7 years ago
Jeff Becker 09be72b5b6
clang format 7 years ago
Jeff Becker dcc5e6e348
more 7 years ago
Jeff Becker 58247343bf
format 7 years ago
Jeff Becker 1fdfdc0244
more 7 years ago
Jeff Becker ae76b6b376
google format 7 years ago
Jeff Becker de3ddbb93e
clang-format 7 years ago
Jeff Becker b7d4499f43
more 7 years ago