Commit Graph

2685 Commits (0d1dea997d53f34c2ffee363727473c47d363b84)

Author SHA1 Message Date
Jeff Becker 60fbeca9d4
const correctness 5 years ago
Jeff Becker db2206664a
fix crashes in testnet 5 years ago
Jeff Becker 9a8470bcc1
* const correctness
* use std::map's upper_bound to find many closer entries
* randomize key for exploration to allow many explore jobs in paralell
5 years ago
Jeff af74ee6f70
Merge pull request #737 from majestrate/add-link-layer-delivery-feedback
Add link layer delivery feedback
5 years ago
Jeff c08f8361a3
Merge pull request #732 from tewinget/path-build-status-messages
Adds Link-Relay Status Messages
5 years ago
Jeff Becker b0406e1a76
on logic queue overflow put job on timer instead 5 years ago
Jeff Becker b8904ab0f4
fix compile for tests 5 years ago
Jeff Becker 4eff86d681
use size_t 5 years ago
Jeff Becker 835b334a59
* increase utp buffers
* disallow inbound traffic on outbound utp link
* const correctness
5 years ago
Jeff Becker 9a055947cb
make it compile 5 years ago
Jeff Becker 16e6ab2193
propagate all utp link errors 5 years ago
Jeff Becker 503bea19cd
make travis happy 5 years ago
Jeff Becker 822f529be8
add link layer delivery feedback 5 years ago
Jeff Becker b29ec20ad4
try deferred resolve for exit handler 5 years ago
Jeff Becker 972d4f8672
fix crash of clients and propagate lookup failures 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
Thomas Winget 011abde5ec make travis happy again *and* don't break message sending 5 years ago
Thomas Winget af2c960867 revert change that made travis happy because it broke things 5 years ago
Thomas Winget bbb5339b33 add debug-level log message on path build success 5 years ago
Thomas Winget 5e0fc2bc71 change log level of message send success 5 years ago
Jeff 183ec25717
Merge pull request #729 from majestrate/fix-android-2019-07-24
make android compile again
5 years ago
Thomas Winget baf8019fe5 Refactor Router code into more classes
This commit refactors functionality from the Router class into separate,
dedicated classes.
There are a few behavior changes that came as a result of discussion on
what the correct behavior should be.
In addition, many things Router was previously doing can now be provided
callback functions to alert the calling point when the asynchronous
action completes, successfully or otherwise.
5 years ago
Jeff Becker 43cb62af16
fix android compile, have makefile pull in libuv for cmake on android 5 years ago
Jeff Becker 909e0399d6
make android compile 5 years ago
Jeff f154c9a0d0
Merge pull request #721 from majestrate/fix-dht-2019-07-19
handle dht case
5 years ago
Jeff dc259e339f
Merge pull request #708 from michael-loki/travis_windows
Test windows support in travis
5 years ago
Michael 53bccc4f23
try to ensure on windows, but don't fail 5 years ago
Michael 9b40c0eb67
Fixup some tests 5 years ago
Michael 6ede15888e
Change manifest ids 5 years ago
Michael 4806e52f62
Try to silence some warnings to reduce noise 5 years ago
Michael 5c064d7ddc
Silence spammy threadpool warning 5 years ago
Michael 91c1ba87cc
Change ConfigParser too 5 years ago
Michael 8fd4ceb55b
Don't use LoadFromString 5 years ago
Michael 302c0ff18c
fixup printer.cpp 5 years ago
Michael 533d12e52e
more fs.cpp 5 years ago
Michael 3b17e65b0b
Fix more headers for fs.cpp 5 years ago
Michael 4b3920006e
fix str.cpp 5 years ago
Michael 0326f2ea56
fix fs.cpp 5 years ago
Michael ac8624698d
Fix some string_view problems 5 years ago
Michael 71c6aca820
include cctype 5 years ago
Michael 36c89363b3
try to fix pid_t issue 5 years ago
Michael 5fdd68fa44
exceptions BE GONE 5 years ago
Michael 0cbd7b3116
Fixup fs 5 years ago
Jeff Becker 1ee90f8852
do lookup for RC to neighboor even if we have them in our DHT buckets so we get an updated RC in reply 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 cdf02eae6e
only issue deferred utp acks before timeout checks in pump 5 years ago
Jeff Becker d465400840
revert 5 years ago
Jeff Becker 59653119fa
set timestamps to zero 5 years ago
Jeff Becker 961dd247ce
when lastSend is zero don;t time out 5 years ago
Jeff Becker f62446e1a4
make it compile 5 years ago
Jeff Becker a0f32fde13
reduce logging 5 years ago
Jeff abf99df93b
Merge pull request #714 from majestrate/fix-net-if-iterate
fix network interface iteration infinite loop
5 years ago
Jeff Becker b2fd0e86cc
fix network interface iteration infinite loop 5 years ago
Jeff Becker 1f761a1cb0
* fix arm cross compile on ubuntu disco
* add toolchain option for cross compile
5 years ago
Michael 5cef2865bd
Fix Ubuntu builds 5 years ago
Michael 5300568da5
Fix config builds 5 years ago
Jeff 4724bbf279
Merge pull request #707 from majestrate/fix-bootstrap
Fix bootstraping
5 years ago
Jeff Becker 12d4bfc379
always ask peers for next closest 5 years ago
Jeff Becker 4cc0c9b4d1
unconditional insert so that we dont run out of peers 5 years ago
Jeff Becker c4ca61b76a
use static lookup timeout 5 years ago
Jeff Becker 86aabff256
only update if newer 5 years ago
Jeff Becker b0d850afb5
durable write for nodedb 5 years ago
Jeff Becker 16e20a9e79
try fixing bootstrap 5 years ago
Michael e52492911d
Refactor endpoint state management to a new class 5 years ago
Jeff 0a7021d827
Merge pull request #704 from michael-loki/findlibuv
Add FindLibUV and migrate to use it
5 years ago
Jeff Becker 9a2ffb85e6
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff Becker 750397d085
use std::string instead of fs::path 5 years ago
Michael 2cc180b6a4
Add FindLibUV and migrate 5 years ago
Jeff 284a352dda fix previous commit 5 years ago
Jeff b9cdfd116e correct worker threads amounts 5 years ago
Jeff Becker 8dab4b87bb
more logging 5 years ago
Jeff Becker 0d0efe7007
try bailing when configration failed 5 years ago
Jeff Becker 4e4c0b85ce
change order of configuration 5 years ago
Jeff Becker 6882e627ba
make format 5 years ago
Jeff Becker dc87b6dc6b
use correct uint128 functions when doing endian flipping 5 years ago
Jeff Becker 1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff 96a4c027d7
Merge pull request #699 from majestrate/disable-shell-hooks-compile
disable shell hooks by default
5 years ago
Jeff 1a145ea515
Merge pull request #697 from majestrate/fix-freebsd-pthread
typo fix
5 years ago
Jeff Becker 095330b787
disable shell hooks by default 5 years ago
Jeff Becker 8c67f14838
typo fix lel 5 years ago
Michael be997020dd
Fixup two minor warnings 5 years ago
Jeff a768a9ad59
Merge pull request #695 from majestrate/fix-freebsd-pthread
fix freebsd build for real
5 years ago
Jeff Becker ebab9b8905
fix freebsd build for real 5 years ago
Jeff 8e6c830641
Merge pull request #691 from majestrate/fix-freebsd-pthread
fix freebsd build
5 years ago
Jeff Becker b207990d01
use elseif 5 years ago
Jeff Becker 4206132ea1
use correct function from free bsd pthread 5 years ago
Jeff Becker e0d8e34369
fix freebsd build 5 years ago
Jeff Becker 749ee7cb9f
make it compile 5 years ago
Jeff Becker fcc3c05124
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Michael 99798a74e1
Address Jeff's comment 5 years ago
Michael 488695047f
Remove redundant else blocks 5 years ago
michael-loki 0cd9b4c380
Merge pull request #687 from michael-loki/config_env
Allow environment variable override of config
5 years ago
Jeff Becker 5460cb5aa6
* pump after stopping hidden service context
* flush nodedb after stopping links
5 years ago
Jeff Becker d86633bc96
remove comment that is wrong 5 years ago
Jeff Becker f5291951f6
use logical or not bitwise or and change function name to be plural 5 years ago
Jeff Becker 3ed8dec78b
use const reference and don't log invalid packets 5 years ago
Jeff Becker 454fb3bb72
use logical or instead of bitwise or 5 years ago
Jeff Becker edd3611166
correct name 5 years ago