Commit Graph

144 Commits (5023cdd035fed496e44d752f975d1b2b5609e7e7)

Author SHA1 Message Date
Jason Rhinelander d96d33329b
Merge pull request #912 from majestrate/logic-thread-fix-2019-11-13
fix logic thread behavior
5 years ago
Jason Rhinelander 6524563d33
Merge pull request #897 from majestrate/bencode-seek-for-version-2019-11-03
seek for version and set it before deserializing
5 years ago
Jeff Becker b34caa3e26
make unit tests pass for iwp 5 years ago
Thomas Winget 75512b1b58 ban zero id for pathid; clarity and cleanup 5 years ago
Thomas Winget 9d3e7d349c Add per-path queues, prioritize control messages over traffic 5 years ago
Jeff Becker 9d266dbec7
meh 5 years ago
Jeff Becker bdb0b847f8
seek for version and set it before deserializing 5 years ago
Jeff Becker 5cdd92e2a3
remove more locking and make it safe 5 years ago
Michael edd0ec398f
Move thread stuff to subdirectory 5 years ago
Michael 0950571313
Move metrics to subdirectory 5 years ago
Michael 4d8fe2a8a8
Move meta programming to subdirectory 5 years ago
Michael 1aec0dfa2b
Move logging to subdirectory 5 years ago
Michael 16cdfbd5f0
clang-tidy modernize pass 5 years ago
Michael 4763888d2c
Add fail-able docker build for gcc trunk 5 years ago
Thomas Winget 697ece64cc make TransitHop self-destruct if path is invalidated 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 488695047f
Remove redundant else blocks 5 years ago
Michael 08609f9e5a
Rename message files 5 years ago
Michael 68063b320c
Rename InboundMessageParser to LinkMessageParser 5 years ago
Michael 8884d0d9d4
Merge changes from upstream 5 years ago
Michael 333b23b59c
Tweak link message parser 5 years ago
Michael 8a058fcb34
Move other messages 5 years ago
Michael 83bd9227a7
Move exit messages 5 years ago
Michael d6751e3eeb
Move subset of messages to right directory 5 years ago
Michael 2291d48bcc
Move remaining messages around 5 years ago
Michael 66cf5cc73d
Move exit messages to match header 5 years ago
Michael b89689fec3
Refactor path build code 5 years ago
Michael 95646d2d87
Publish metric tags 5 years ago
Michael 75430a234c
Convert to use memFn 5 years ago
Michael 491fee206b
Port code to use CryptoManager over passing Crypto pointers 5 years ago
Michael 3f53965b71
Remove all use of IBEncodeMessage 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 7ca0927d8f
Replace dict_reader/list_reader with version which doesn't involve indirection 5 years ago
Michael dd8a93a400
Apply rule of zero to code base 5 years ago
Jeff Becker d423ee02d2
use shared_ptr 5 years ago
Jeff Becker 2a7ebce8f4
Merge remote-tracking branch 'origin/master' 5 years ago
Jeff Becker d50b18d7b0
try fixing leak also make format 5 years ago
Jeff a5cc5225ab static function 5 years ago
Jeff 7cb659343b static function 5 years ago
Jeff 27fac68716 fix 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
Michael 9ee525a006
Fix shadowing warnings 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 5872573e91
rename Logic and Crypto functions to GetLogic and GetCrypto 5 years ago
Jeff Becker a2912ff860
Merge remote-tracking branch 'origin/master' 5 years ago
Michael e33a33635c
Remove usage of raw new from service classes 5 years ago
Jeff Becker 3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format 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
5 years ago
Jeff Becker 94eb37d490
bundle RC in build record to improve build success rates. 5 years ago
Jeff Becker 9503cc66f0
add disk worker based file flusher logger
make format

remove package.json
5 years ago
Jeff 5834607997 * don't ban bootstrap nodes with profiling
* less vigorous profiling timeouts
* async remove rc from disk
5 years ago
Jeff Becker c910a2a2fb
more 5 years ago
Michael 3bada02d89
Fixup one ASAN warning 5 years ago
Jeff Becker b254c19c5f
more metrics 5 years ago
Jeff Becker 0258eb9cb8
add some metrics 5 years ago
Jeff Becker 77e238bf94
stick for 10 seconds longer in relay commit 5 years ago
Jeff 5c941263e9
Merge pull request #339 from michael-loki/dht_context_testing
Solidify interfaces
5 years ago
Michael 4fb2b39f74
Format changes 5 years ago
Jeff Becker 068b60221c
don't ever fail on dht messages 5 years ago
Rick V 5a3947ca5c
clang-format 5 years ago
Michael a00d6afc5e
Convert llarp_buffer_t to be a class with methods 5 years ago
Michael 048fa83c39
Finish replacement of Router with AbstractRouter 5 years ago
Michael 67b5d48095
Replace usage of new/delete with unique_ptr/stack allocation 5 years ago
Michael 729cd045f1
Convert llarp::Router into an abstract base class 5 years ago
Ryan Tharp 4bf4faa956 make format 5 years ago
Michael 7ca3e13e78
Rename to ManagedBuffer 5 years ago
Michael 47380ba64b
Simplify some code 5 years ago
Michael f3b0af9d2f
Create CopyableBuffer type 5 years ago
Michael 2de621b0ad
Disable copy constructing llarp_buffer_t 5 years ago
Michael f24f554a01
Convert llarp::Crypto into an abstract base class 6 years ago
Michael 2d395cc3f9
Move code to correct home 6 years ago
Michael 550669e318
Fix typo in class name 6 years ago
Michael da6cdfc0b2
More refactoring to continue to make dependency graph acylic 6 years ago
Michael 6e38e85a79
Produce hierarchy of 'libraries' inside libllarp 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
Michael fa2b466ffe
Reorganise tests to mirror source layout 6 years ago
Michael e5eda0fb8f
Move lokinet unspecific components to a util/ library 6 years ago
Jeff Becker 803523894a
clear all members and use AlignedBuffer in llarp::Encrypted instead of byte_t[] 6 years ago
Michael ea19093a20
Remove const byte* conversion operators from llarp::AlignedBuffer 6 years ago
Jeff Becker d5440066f4
forgot file 6 years ago
Jeff d626b26b30
Merge pull request #184 from loki-project/staging
merge Staging into master
6 years ago
Jeff Becker 1b59cc491d
less allocations in message parsing and keep exit paths alive with activity 6 years ago
Jeff Becker 49c898ed92
Merge remote-tracking branch 'origin/master' into staging 6 years ago
Jeff 4b2a1ea9f3 make format and attempt to fix #158 6 years ago
Jeff Becker 8c8172aeb1
Merge remote-tracking branch 'origin/master' into dev 6 years ago
Jeff Becker e7f5eeff51
use fewer allocations 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 4257b62e88
Add .cpp files for all .hpp files 6 years ago
Michael 85dde7b6b0
Move remaining include/llarp headers to llarp/ 6 years ago