Jeff Becker
|
c7e100787b
|
swap intros should only swap intros
|
2019-02-21 13:00:37 -05:00 |
|
Jeff Becker
|
eecc00211f
|
squash commits and make convotags more "reliable" (probably)
|
2019-02-21 12:47:35 -05:00 |
|
Jeff Becker
|
5dde4e6351
|
use source path's intro as being able to reply on convo tags
|
2019-02-21 12:46:08 -05:00 |
|
Jeff Becker
|
762728c7ec
|
fix
|
2019-02-21 12:13:27 -05:00 |
|
Jeff Becker
|
3baf89e8ce
|
more
|
2019-02-21 11:45:33 -05:00 |
|
Jeff Becker
|
262000570b
|
use source path's intro as being able to reply on convo tags
|
2019-02-21 11:21:41 -05:00 |
|
Jeff Becker
|
b511242632
|
increment sequence number on good send only
|
2019-02-20 08:42:50 -05:00 |
|
Jeff Becker
|
b1dd10c007
|
fix previous commit
|
2019-02-19 12:04:06 -05:00 |
|
Jeff Becker
|
393e70dfa6
|
publish new introset on path death
|
2019-02-19 11:58:58 -05:00 |
|
Rick V
|
5a3947ca5c
|
clang-format
|
2019-02-18 17:58:12 -06:00 |
|
Jeff Becker
|
445ed05b32
|
make format
|
2019-02-18 14:44:41 -05:00 |
|
Michael
|
887fb4ac62
|
Replace insert(make_pair()) with emplace()
|
2019-02-18 10:35:23 +00:00 |
|
Michael
|
048fa83c39
|
Finish replacement of Router with AbstractRouter
|
2019-02-14 22:31:31 +00:00 |
|
Jeff Becker
|
550fc3c439
|
Revert "tweaking handover logic"
This reverts commit 50bfe5d810 .
|
2019-02-14 08:49:07 -05:00 |
|
Jeff Becker
|
50bfe5d810
|
tweaking handover logic
|
2019-02-12 09:24:36 -05:00 |
|
Jeff Becker
|
1921704b78
|
tweak timeout
|
2019-02-12 07:41:13 -05:00 |
|
Jeff Becker
|
46222df421
|
refactor
|
2019-02-11 12:14:43 -05:00 |
|
Jeff Becker
|
05cd1b7f8e
|
extract more status info for outbound context
|
2019-02-09 10:39:39 -05:00 |
|
Jeff Becker
|
1a929f9383
|
send control messages if too quiet to keep convotags alive as needed
|
2019-02-09 10:26:20 -05:00 |
|
Jeff Becker
|
9a2f11a212
|
try expiring convos
|
2019-02-09 09:37:24 -05:00 |
|
Jeff Becker
|
6df133cab2
|
remove dead sessions when done
|
2019-02-09 09:15:54 -05:00 |
|
Jeff Becker
|
66753430ad
|
fix it
|
2019-02-08 16:29:56 -05:00 |
|
Jeff Becker
|
e1522faeaa
|
add introspection rpc endpoint
|
2019-02-08 14:43:25 -05:00 |
|
Jeff Becker
|
6fa10019d0
|
testnet tweak
|
2019-02-08 09:12:31 -05:00 |
|
Jeff Becker
|
32ecf64c57
|
fix testnet
|
2019-02-07 09:27:28 -05:00 |
|
Jeff
|
4c4f3faf83
|
Merge pull request #284 from michael-loki/abstract_router
Convert llarp::Router into an abstract base class
|
2019-02-06 19:09:31 -05:00 |
|
Jeff Becker
|
90e45a810a
|
limit number of concurrent dht lookups from dns to 4
|
2019-02-06 10:52:00 -05:00 |
|
Jeff Becker
|
f84256d554
|
* lower lookup timeout for introsets
* correct previous commit for dns stuff
* allow for multiple parallel introset lookups
|
2019-02-06 10:05:25 -05:00 |
|
Jeff Becker
|
b40055181d
|
lower path build timeout to 15s
tweak various dns stuff
|
2019-02-06 08:02:17 -05:00 |
|
Michael
|
729cd045f1
|
Convert llarp::Router into an abstract base class
|
2019-02-06 09:59:47 +00:00 |
|
Jeff Becker
|
a953b34a45
|
fix crash
|
2019-02-05 10:06:53 -05:00 |
|
Ryan Tharp
|
fefb012bf8
|
fix llvm 3.8
|
2019-02-04 16:29:09 -08:00 |
|
Michael
|
f3b0af9d2f
|
Create CopyableBuffer type
|
2019-02-02 23:21:35 +00:00 |
|
Michael
|
2de621b0ad
|
Disable copy constructing llarp_buffer_t
|
2019-02-01 01:58:13 +00:00 |
|
Ryan Tharp
|
f20ac0f6e9
|
Merge branch 'staging' into crypto_interface
|
2019-01-29 13:59:05 -08:00 |
|
Jeff Becker
|
f1cf63fce7
|
add initial localhost.loki handling in dns
|
2019-01-28 10:26:35 -05:00 |
|
Michael
|
f24f554a01
|
Convert llarp::Crypto into an abstract base class
|
2019-01-26 15:40:58 +00:00 |
|
Jeff Becker
|
e164970b00
|
make format
|
2019-01-24 10:14:54 -05:00 |
|
Ryan Tharp
|
31f196a6eb
|
Merge pull request #236 from michael-loki/dht_tests
Add test suites for dht bucket, kademlia and key
|
2019-01-22 15:15:22 -08:00 |
|
Michael
|
7296ebcbe8
|
Tidy dht code
|
2019-01-19 01:41:14 +00:00 |
|
Ryan Tharp
|
332336060c
|
Always have a key early (even if no key file set) so you don't regen keys twice
|
2019-01-17 18:28:30 -08:00 |
|
Ryan Tharp
|
1ba5b75082
|
Merge branch 'master' of https://github.com/neuroscr/loki-network
|
2019-01-16 21:25:37 +00:00 |
|
Ryan Tharp
|
c24751f3c1
|
Jeff approved workaround to read Keyfile early so Name() can be correct during set up/configuration
|
2019-01-16 13:12:24 -08:00 |
|
Michael
|
da6cdfc0b2
|
More refactoring to continue to make dependency graph acylic
|
2019-01-15 23:15:44 +00:00 |
|
Michael
|
081d4dfa32
|
Reorganise source into more folders
|
2019-01-11 01:19:49 +00:00 |
|
Michael
|
e5eda0fb8f
|
Move lokinet unspecific components to a util/ library
|
2019-01-10 20:07:24 +00:00 |
|
Michael
|
df4fd0ef56
|
Fix some low hanging performance issues
|
2019-01-07 22:15:41 +00:00 |
|
Michael
|
ea19093a20
|
Remove const byte* conversion operators from llarp::AlignedBuffer
|
2019-01-02 01:04:04 +00:00 |
|
Michael
|
1410d0a0cf
|
Remove byte* conversion operators from llarp::AlignedBuffer
|
2019-01-02 01:04:03 +00:00 |
|
Michael
|
58364a01c8
|
Remove array conversion operators from llarp::AlignedBuffer
|
2019-01-02 01:04:01 +00:00 |
|
Michael
|
334161c9bb
|
Remove data() conversions from llarp::AlignedBuffer
|
2019-01-02 01:03:53 +00:00 |
|
Jeff Becker
|
ec57c72e08
|
fix testnet
|
2018-12-27 13:27:43 -05:00 |
|
Jeff Becker
|
e835c5f69a
|
add graceful stop for path builders and friends
|
2018-12-24 11:09:05 -05:00 |
|
Jeff Becker
|
3a8818980f
|
make path length configurable on compile time
|
2018-12-21 15:25:41 -05:00 |
|
Jeff Becker
|
8c8172aeb1
|
Merge remote-tracking branch 'origin/master' into dev
|
2018-12-20 12:56:08 -05:00 |
|
Michael
|
037cb87523
|
Convert llarp::AlignedBuffer to be backed by std::array
|
2018-12-20 16:16:18 +00:00 |
|
Jeff Becker
|
8e6046ff1c
|
order downstream packets
|
2018-12-20 07:41:39 -05:00 |
|
Jeff Becker
|
46bee291c2
|
order downstream packets
|
2018-12-20 07:41:17 -05:00 |
|
Jeff Becker
|
6fc42dc7ad
|
fixes
|
2018-12-19 12:48:29 -05:00 |
|
Jeff Becker
|
e787165da9
|
expire old snode sessions
|
2018-12-13 07:27:14 -05:00 |
|
Jeff Becker
|
09e01adf32
|
flush snode traffic queues
|
2018-12-12 13:37:03 -05:00 |
|
Michael
|
85dde7b6b0
|
Move remaining include/llarp headers to llarp/
|
2018-12-12 02:53:02 +00:00 |
|
Michael
|
e887b4e9c7
|
Move service* to llarp/
|
2018-12-12 02:53:01 +00:00 |
|
Michael
|
fddc8734d2
|
Move dht* to llarp/
|
2018-12-12 02:53:01 +00:00 |
|
Jeff
|
f2c8b204c2
|
Merge pull request #129 from majestrate/dev
update introset when paths are dead
|
2018-12-11 10:54:59 -05:00 |
|
Jeff Becker
|
30a6a6bac6
|
always unset updatingIntroSet on response
|
2018-12-11 10:51:21 -05:00 |
|
Jeff Becker
|
d3348e8721
|
update introset if we have no good paths
|
2018-12-11 10:24:52 -05:00 |
|
Michael
|
7be452092c
|
Convert llarp_crypto to be a true C++ class
|
2018-12-11 00:53:55 +00:00 |
|
Michael
|
6358b25db0
|
Convert llarp_nodedb to be a true C++ class
|
2018-12-10 23:31:39 +00:00 |
|
Michael
|
f0fce5b68a
|
Convert llarp_router to be a true C++ class
|
2018-12-10 20:15:35 +00:00 |
|
Jeff Becker
|
fad734a5ce
|
strict types for pubkey, secretkey and routerid
|
2018-12-10 12:22:59 -05:00 |
|
Michael
|
30e9dca2e5
|
Convert llarp_logic to be a C++ class
|
2018-12-10 14:15:11 +00:00 |
|
Jeff Becker
|
622ed8d12e
|
fix crash on premature close of event loop (also make format)
|
2018-12-02 13:07:07 -05:00 |
|
Jeff Becker
|
82af91213a
|
build one
|
2018-12-02 10:26:26 -05:00 |
|
Jeff Becker
|
e11e83c397
|
fix pathbuilder
|
2018-11-29 09:18:53 -05:00 |
|
Jeff Becker
|
7de2ce72ad
|
wire up snode to dns (maybe)
|
2018-11-29 09:01:13 -05:00 |
|
Jeff Becker
|
85f9f46362
|
snode stubs (initial)
|
2018-11-29 08:12:35 -05:00 |
|
Jeff
|
a33f334bc2
|
better exit path logic
|
2018-11-25 11:58:27 -05:00 |
|
Jeff
|
736b313c4c
|
fix previous commit
|
2018-11-25 09:35:52 -05:00 |
|
Jeff
|
05652af7a4
|
tick exit
|
2018-11-25 09:32:18 -05:00 |
|
Jeff Becker
|
5d0a9d7dc7
|
make format
|
2018-11-22 10:53:11 -05:00 |
|
Jeff Becker
|
0ac6deff00
|
logging, fix hidden services
|
2018-11-22 10:52:04 -05:00 |
|
Jeff Becker
|
12a4022a56
|
make testnet compile
|
2018-11-22 09:29:10 -05:00 |
|
Jeff Becker
|
a202bc58a8
|
use correct path roles
|
2018-11-21 09:30:14 -05:00 |
|
Jeff Becker
|
130307bc94
|
build paths with correct role
|
2018-11-21 09:22:45 -05:00 |
|
Jeff Becker
|
5357b4b69f
|
make clang happy, disable netns by default (for now)
|
2018-11-19 08:39:35 -05:00 |
|
Jeff Becker
|
d37daf7996
|
Merge branch 'master' into dev
|
2018-11-19 06:57:29 -05:00 |
|
Jeff Becker
|
7214f242e0
|
rip out old threadpool code
|
2018-11-19 06:56:40 -05:00 |
|
Jeff Becker
|
5dbe41608f
|
more exit stuff
|
2018-11-14 13:02:27 -05:00 |
|
Jeff Becker
|
f40e4c0c84
|
more exit stuff
|
2018-11-14 07:23:08 -05:00 |
|
Jeff Becker
|
38a92cb1a8
|
fixes for testnet
|
2018-11-08 10:15:02 -05:00 |
|
Michael Thorpe
|
33bfaf7ecd
|
Enable -Wextra
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
|
2018-11-07 15:31:13 +00:00 |
|
Michael Thorpe
|
4f794277bc
|
Fix compile issue in endpoint.cpp
|
2018-11-03 20:17:28 +00:00 |
|
Jeff
|
1f7e0d79e6
|
make Endpoint::HasPathToService behavior correct
|
2018-11-03 11:27:52 -04:00 |
|
Jeff
|
50f37d8ede
|
don't use endpoint's paths
|
2018-11-03 09:35:54 -04:00 |
|
Jeff Becker
|
dbd2c41909
|
use event loop for time
|
2018-10-29 12:48:36 -04:00 |
|
Jeff
|
5ec9b651df
|
ony publish to near router
|
2018-10-23 13:15:22 -04:00 |
|
Jeff
|
78448174f5
|
don't propagate introset too far
|
2018-10-23 13:04:35 -04:00 |
|
Jeff Becker
|
4411d85040
|
fix headers
|
2018-10-23 08:40:34 -04:00 |
|
Jeff Becker
|
cc106ed37b
|
fix dht bug, probably, re-enable loopback testnet functionality
|
2018-10-21 10:19:49 -04:00 |
|
Jeff
|
cc3908f025
|
more changes
|
2018-10-19 07:34:27 -04:00 |
|
Jeff Becker
|
e6a8edffbf
|
call hook
|
2018-10-16 11:57:17 -04:00 |
|
Jeff Becker
|
7960752430
|
fix crash
|
2018-10-16 07:14:41 -04:00 |
|
Jeff
|
1da0f9f6f5
|
path randomization for lookups on failure
|
2018-10-15 17:20:05 -04:00 |
|
Jeff Becker
|
f72a954029
|
log endpoint when requesting introset
|
2018-10-15 11:43:41 -04:00 |
|
Jeff Becker
|
acaeb26f45
|
shift intro if expired before building next message
|
2018-10-15 09:45:42 -04:00 |
|
Jeff Becker
|
252b2ee3fb
|
move function into source file out of header and add operator overloading for == and != on introset
|
2018-10-11 07:41:10 -04:00 |
|
Jeff
|
0023c15d0f
|
fix introset expiration
|
2018-10-10 17:31:03 -04:00 |
|
Jeff Becker
|
a7f8da4cbc
|
fix double free
|
2018-10-09 08:10:20 -04:00 |
|
Jeff
|
bb3bed11dc
|
try better handover logic again
|
2018-10-08 17:24:00 -04:00 |
|
Jeff
|
07871827d0
|
swap intro
|
2018-10-08 16:41:50 -04:00 |
|
Jeff
|
608768628a
|
don't rebuild
|
2018-10-08 16:05:05 -04:00 |
|
Jeff
|
78b82f9a5e
|
try not killing paths
|
2018-10-08 15:57:30 -04:00 |
|
Jeff
|
a1fd9a0f93
|
don't publish every build
|
2018-10-06 12:09:37 -04:00 |
|
Jeff
|
78e601807d
|
fix
|
2018-10-06 12:04:46 -04:00 |
|
Jeff
|
9a60c08810
|
only publish when we have at least 3 established paths
|
2018-10-06 12:03:54 -04:00 |
|
Jeff
|
e5208b65cc
|
mark session active
|
2018-10-06 11:41:24 -04:00 |
|
Jeff Becker
|
832e1849b2
|
remove log and swap intros
|
2018-10-04 14:15:22 -04:00 |
|
Jeff Becker
|
98df3b09f2
|
only use good routers
|
2018-10-04 13:51:45 -04:00 |
|
Jeff Becker
|
746e95994e
|
stricter profiling and better handover
|
2018-10-04 12:48:26 -04:00 |
|
Jeff Becker
|
f19f78b573
|
try better handover logic
|
2018-10-04 09:03:48 -04:00 |
|
Jeff
|
b7eea47336
|
fall through
|
2018-10-02 11:41:40 -04:00 |
|
Jeff
|
77b2903bda
|
logging and add DST awareness to timestamps
|
2018-10-02 11:29:37 -04:00 |
|
Jeff
|
f3d446dafb
|
handover logic fix, remove and add logging
|
2018-10-02 11:00:34 -04:00 |
|
Jeff Becker
|
0f7c7c871f
|
reduce log levels and don't establish outbound send context for previously made inbound sessions
|
2018-10-01 14:10:25 -04:00 |
|
Jeff Becker
|
23cff0bee3
|
try fixing all that tun shit, YOLO
|
2018-10-01 13:16:15 -04:00 |
|
Jeff Becker
|
9e8563a884
|
cache convo tag and drop traffic
|
2018-10-01 11:45:55 -04:00 |
|
Jeff Becker
|
1eef5387b6
|
update introset on message drop
|
2018-10-01 10:31:54 -04:00 |
|
Jeff Becker
|
681e669fd8
|
try better publish logic and timeouts for requests
|
2018-10-01 10:18:17 -04:00 |
|
Jeff Becker
|
36c927fc79
|
premptively build path to selected intro's router every time we don't have it if we get an introset update, on the outbound context
|
2018-09-28 11:46:47 -04:00 |
|
Jeff Becker
|
8878e5c4d1
|
redundancy with outbound contexts
have multiple outbound contexts and send on the one that is alive
|
2018-09-28 08:22:50 -04:00 |
|
Jeff Becker
|
869b758365
|
more
|
2018-09-27 13:29:26 -04:00 |
|
Jeff Becker
|
fa5389cb05
|
docstrings and manual rebuild if the path expires soon
|
2018-09-27 12:15:40 -04:00 |
|
Jeff Becker
|
724a093da7
|
syntax
|
2018-09-27 07:09:00 -04:00 |
|
Jeff Becker
|
17a8ac13ad
|
fix logic
|
2018-09-27 07:07:20 -04:00 |
|
Jeff Becker
|
d71882259e
|
try spacing path building out more wide in time so that intros don't die in the same small interval
|
2018-09-27 06:51:30 -04:00 |
|
Jeff Becker
|
9a062f79fb
|
use parent endpoint paths when we can more
|
2018-09-26 10:06:48 -04:00 |
|
Jeff Becker
|
b40dd30c7a
|
linear backoff for path building to lessen strain on the network
|
2018-09-26 09:04:25 -04:00 |
|
Jeff Becker
|
7b0860aec0
|
Merge remote-tracking branch 'ryan/master'
|
2018-09-26 07:22:27 -04:00 |
|
Jeff Becker
|
dc47a0630b
|
try using parent endpoint's pathset if outbound context does not have a path to a router
|
2018-09-26 07:16:54 -04:00 |
|
Jeff Becker
|
c9bfe640b7
|
increment sequence number so we don't spam new intro frames
|
2018-09-26 06:52:57 -04:00 |
|
Ryan Tharp
|
89d41dd365
|
Merge branch 'master' into master
|
2018-09-24 13:57:40 -07:00 |
|
Jeff Becker
|
b273676a63
|
more logic for dead sessions to prevent segfault
|
2018-09-24 15:50:52 -04:00 |
|
Jeff Becker
|
16508a99db
|
tweak timeouts more
|
2018-09-24 13:33:54 -04:00 |
|
Jeff Becker
|
2d18cfcdd7
|
tweak timeout
|
2018-09-24 13:14:05 -04:00 |
|
Jeff Becker
|
d298e4f124
|
use intros only if they don't expire soon
|
2018-09-24 13:13:29 -04:00 |
|
Jeff Becker
|
5dfaeebb16
|
mark sessions dead/inactive
|
2018-09-24 11:52:25 -04:00 |
|
Jeff Becker
|
9a20daa1ce
|
add send timeouts
|
2018-09-24 11:34:56 -04:00 |
|
Jeff Becker
|
983c72f032
|
use 6 paths by default
|
2018-09-24 10:46:43 -04:00 |
|
Jeff Becker
|
3af93954f3
|
actually publish via far router
|
2018-09-24 10:31:58 -04:00 |
|