Jeff Becker
bf0416cab8
remove Time_t, add operator overload for printing llarp_time_t and add to_json function for serializing llarp_time_t to json
5 years ago
Jeff Becker
d2d109e92c
llarp_time_t is now using std::chrono
5 years ago
Thomas Winget
145efaf0bb
should probably build before committing...
5 years ago
Thomas Winget
ad3465ee66
std move better
5 years ago
Thomas Winget
893ef2b874
const-y-ness and move-y-ness
5 years ago
Thomas Winget
fc56a018e5
path builder prints hops, rest print short name
5 years ago
Jeff Becker
e35d17764a
* add path::Path::UniqueEndpointSet_t
...
* start using check2 for new unit tests
* unit test for path::Path::UniqueEndpointSet_t
5 years ago
Jeff Becker
e8b84fcfbd
add path speed metrics for lokinetmon
5 years ago
Jeff Becker
9214ecbc48
rename bloomfilter to replayfilter
5 years ago
Jeff Becker
1244ad83ad
fix include file use
5 years ago
Jeff Becker
73e07ef2d0
client side replay filter
5 years ago
Jeff Becker
7ee026fa50
make path builds work again
5 years ago
jeff
6c2ebbb925
try fixing handover and add snapp traffic to multithreaded crypto workers
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
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
Michael
b6b400baef
Tidy up pathbuilder code
5 years ago
Michael
b89689fec3
Refactor path build code
5 years ago
Michael
491fee206b
Port code to use CryptoManager over passing Crypto pointers
5 years ago
Jeff Becker
13190284f7
double path build timeout
5 years ago
Jeff Becker
64c7ed42fc
make format
5 years ago
Jeff Becker
9c96aecf3f
move llarp::Logic to std::shared_ptr
...
add sequence numbers to HSD messages
begin work on network isolation code
add more docs
5 years ago
Michael
dd8a93a400
Apply rule of zero to code base
5 years ago
Jeff Becker
ad019cab71
add changes for review
5 years ago
Jeff Becker
9d466cd09d
pump only on send queue full and clear exit roles when closing exit
5 years ago
Jeff Becker
7b03b63d13
more sighup code
5 years ago
Jeff Becker
34533db620
add urgent build that builds over an existing path for an endpoint
5 years ago
Jeff Becker
5fa85acaf7
rebuild exit paths if they die
5 years ago
Jeff
01906c5d94
Merge remote-tracking branch 'origin/master'
6 years ago
Michael
0b4d787042
More work on router docker image
...
- Multi-stage docker build (final image only 15MB!)
- Build in release mode
- Fix bug with release mode
- Fix compiler being dumb AF
- Disable FORTIFY for now
- Enable LTO when making a staticly linked release
- Fix some gcc specific warnings
- Refactor cmake stuff into multiple files
6 years ago
Jeff Becker
af1529fa72
Merge remote-tracking branch 'origin/master'
6 years ago
Michael
4143472a17
Add cmake module to target a library as 'system', and fix a few warnings
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
Jeff Becker
5872573e91
rename Logic and Crypto functions to GetLogic and GetCrypto
6 years ago
Michael
98e691f315
Tidy up more parts of the service/ directory
6 years ago
Michael
e33a33635c
Remove usage of raw new from service classes
6 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
Michael
c39c931d03
Remove IStateful virtual inheritance
6 years ago
Jeff Becker
c910a2a2fb
more
6 years ago
Jeff Becker
d4cb6808ec
more
6 years ago
Jeff Becker
dc36856922
try tweaking timeout
6 years ago
Jeff Becker
5d3833ef1a
fix dumb as shit path building that causes premature termiantion because of duplicate hops
6 years ago
Michael
61f3273dc4
Add threading annotations and fix potential deadlocks
6 years ago
Michael
e4cf1f245c
Convert most of llarp to use Printer
6 years ago
Michael
048fa83c39
Finish replacement of Router with AbstractRouter
6 years ago
Jeff Becker
46222df421
refactor
6 years ago
Jeff Becker
e1522faeaa
add introspection rpc endpoint
6 years ago
Jeff
4c4f3faf83
Merge pull request #284 from michael-loki/abstract_router
...
Convert llarp::Router into an abstract base class
6 years ago