Commit Graph

221 Commits (4763888d2c02c65dd0f427542998682c76eb21e8)

Author SHA1 Message Date
Michael 4763888d2c
Add fail-able docker build for gcc trunk 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 835b334a59
* increase utp buffers
* disallow inbound traffic on outbound utp link
* const correctness
5 years ago
Jeff Becker 972d4f8672
fix crash of clients and propagate lookup failures 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 5e0fc2bc71 change log level of message send success 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 a0f32fde13
reduce logging 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
Jeff Becker 9a2ffb85e6
Merge remote-tracking branch 'origin/master' into ipv6-tun 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 1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff Becker fcc3c05124
Merge remote-tracking branch 'origin/master' into ipv6-tun 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 454fb3bb72
use logical or instead of bitwise or 5 years ago
Jeff Becker ec6a1cfddc
make it compile 5 years ago
Jeff Becker 8ac9ef6f18
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff Becker b9bcc2b775
make threadpool consice 5 years ago
Michael b01e5accbb
Add function to set threadname, and use from threadpool impl 5 years ago
Michael 3ce90b678e
Allow override of the rest of the config 5 years ago
Michael fbb83704a0
Allow override of some config via env variables 5 years ago
Michael 08d306f6e9
Have fromSection return void 5 years ago
Michael 937f28f75d
Move router config to be encapsulated 5 years ago
Jeff Becker 0eb6431eb1
initialize tun with 0 and set defaults in correct places 5 years ago
Jeff Becker 58005c5f81
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Michael 6418c67f75
Set netid before doing anything else 5 years ago
Michael 661a8b6537
Fix macos build after rebase 5 years ago
Michael f310160065
Fixup and add tests 5 years ago
Michael a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
This reverts commit 2996a7f29c, reversing
changes made to 10df3bd4b3.
5 years ago
Jeff Becker c4aaa80e75
use sane defaults and deprecated "auto" as it's horribly bad style 5 years ago
Thomas Winget d044d60101 Reverts #678 #677 and #669 with hashes:
10df3bd
766ece8
979f095

See those commits for further details
5 years ago
Jeff Becker 191ebe32ce
actually set config for network 5 years ago
Michael b51f7d8015
Convert to load config in config loader 5 years ago
Michael 00c237dc6d
Move config class to its own dir 5 years ago
Jeff Becker ef50c726b1
better logging 5 years ago
Jeff Becker 5eb7ec493f
do direct lookup when in endgame scenario as client when looking for router 5 years ago
Jeff Becker a225759c0f
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff Becker eaab454e80
track drop in metrics 5 years ago
Jeff Becker 4e355327d8
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff Becker 3038a13373
explore faster via all peers 5 years ago
Jeff Becker 228afcec7e
only kill rcs as client 5 years ago