Jeff Becker
1a864832c8
make format
5 years ago
Thomas Winget
23a9773e1e
remove our paths from outbound queues
5 years ago
Thomas Winget
ef1a5652ef
remove our paths from outbound queues
5 years ago
Jeff Becker
7ee026fa50
make path builds work again
5 years ago
Jeff Becker
327c545530
finish multithread cryptography first pass
5 years ago
jeff
14c9ef15ed
try calling stuff in logic thread from event loop
5 years ago
Jeff Becker
4bf6882c8a
more async cryptography
5 years ago
Michael
edd0ec398f
Move thread stuff to subdirectory
5 years ago
Jeff Becker
aa0a795689
call path build fail stuff in logic thread
5 years ago
Thomas Winget
38fd0552d3
Adds Link-Relay Status Messages
...
Success case:
- the path endpoint creates and sends a LR_StatusMessage upon
successful path creation
Failure case:
- an intermediate hop creates and sends a LR_StatusMessage upon
failure to forward the path to the next hop for any reason
Both cases:
- transit hops receive LR_StatusMessages and add a frame
to them reflecting their "status" with respect to that path
- the path creator receives LR_StatusMessages and decrypts/parses
the LR_StatusRecord frames from the path hops. If all is good,
the Path does as it would when receiving a PathConfirmMessage.
If not, the Path marks the new path as failed.
LR_StatusMessage is now used/sent in place of PathConfirmMessage
5 years ago
Jeff Becker
7a3c8e5ca0
set limits correctly
5 years ago
Jeff Becker
f48754c45d
make hop count and length configurable
5 years ago
Jeff Becker
64e9622270
start seperating tun and endpoint
5 years ago
Michael
b6b400baef
Tidy up pathbuilder code
5 years ago
Jeff Becker
9ea13a9ee3
ingore paths that drop exit traffic
5 years ago
Jeff Becker
df322e1149
don't include duplicate hops in paths
6 years ago
Jeff Becker
a53da68700
start work on sighup
6 years ago
Jeff Becker
34533db620
add urgent build that builds over an existing path for an endpoint
6 years ago
Jeff Becker
5fa85acaf7
rebuild exit paths if they die
6 years ago
Jeff Becker
d423ee02d2
use shared_ptr
6 years ago
Jeff Becker
6711296b26
finish converting to shared_ptr
6 years ago
Jeff Becker
99c29cf05a
prepare for ios/android jazz
...
move to use std::shared_ptr instead of bare pointers so we can
multithread everything.
6 years ago
Michael
98e691f315
Tidy up more parts of the service/ directory
6 years ago
Jeff Becker
b849ff9a94
handle path death better
6 years ago
Jeff Becker
ce126166af
more logging info
6 years ago
Jeff Becker
6489ea2152
make it work
6 years ago
Michael
61f3273dc4
Add threading annotations and fix potential deadlocks
6 years ago
Michael
c5a129ddff
Convert to use abseil synchronisation primitives
6 years ago
Michael
887fb4ac62
Replace insert(make_pair()) with emplace()
6 years ago
Michael
048fa83c39
Finish replacement of Router with AbstractRouter
6 years ago
Jeff Becker
66753430ad
fix it
6 years ago
Jeff Becker
e1522faeaa
add introspection rpc endpoint
6 years ago
Jeff Becker
a953b34a45
fix crash
6 years ago
Michael
7296ebcbe8
Tidy dht code
6 years ago
Michael
081d4dfa32
Reorganise source into more folders
6 years ago