Commit Graph

42 Commits (ffdb88f93fa825f2f743cb55b75d670a4a69200e)

Author SHA1 Message Date
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' 5 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
5 years ago
Jeff Becker af1529fa72
Merge remote-tracking branch 'origin/master' 5 years ago
Michael 4143472a17
Add cmake module to target a library as 'system', and fix a few warnings 5 years ago
Jeff Becker 6711296b26
finish converting to shared_ptr 5 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
Jeff Becker b40055181d
lower path build timeout to 15s
tweak various dns stuff
6 years ago
Michael 729cd045f1
Convert llarp::Router into an abstract base class 6 years ago
Michael 2de621b0ad
Disable copy constructing llarp_buffer_t 6 years ago
Michael da6cdfc0b2
More refactoring to continue to make dependency graph acylic 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