Commit Graph

4025 Commits

Author SHA1 Message Date
Jason Rhinelander
8a16ed5f48 Merge remote-tracking branch 'origin/master' into debian/sid 2019-07-31 23:44:49 -03:00
Jeff
7cd92f455a
Merge pull request #743 from michael-loki/asan
Add ASAN CI
2019-07-31 07:42:00 -04:00
Michael
9605bec0af
Add ASAN CI 2019-07-30 23:34:53 +01:00
Jeff
0515ad6bf9
Merge pull request #726 from michael-loki/travis_docker
Get make windows working in CI
2019-07-30 17:29:20 -04:00
Jeff
2f43a6d692
Merge pull request #742 from majestrate/master
unbreak snode traffic
2019-07-30 15:02:10 -04:00
Jeff Becker
f349677f1c
use ipv4 address on snodes for now 2019-07-30 14:47:25 -04:00
Jeff
e4919d56da
Merge pull request #741 from majestrate/master
make dht exploration work again
2019-07-30 14:02:50 -04:00
Jeff Becker
7e9ef19f69
use std::min 2019-07-30 13:57:23 -04:00
Jeff Becker
f4ac918b7e
remove -1 2019-07-30 13:56:24 -04:00
Jeff Becker
d595b51b0b
fix dht exploration ;~; 2019-07-30 11:59:12 -04:00
Jeff Becker
702273427e
Merge remote-tracking branch 'origin/master' 2019-07-30 08:01:57 -04:00
Jeff
3bf990cbad
Merge pull request #740 from majestrate/fix-testnet-crashes-2019-07-29
Fix testnet crashes 2019 07 29
2019-07-29 19:16:20 -04:00
Jeff Becker
e1dd7ad97f
revert dht stuff 2019-07-29 18:33:49 -04:00
Michael
a062186f2d
or not 2019-07-29 23:23:55 +01:00
Michael
ee2dd0fb68
Use __cpp_lib_filesystem 2019-07-29 21:44:14 +01:00
Michael
3c2f7792c2
Fixup 2019-07-29 21:32:29 +01:00
Michael
614b669fd5
Abandon debian 2019-07-29 21:31:26 +01:00
Michael
df498c7bf8
try to make some windows 2019-07-29 21:31:26 +01:00
Michael
518b94b91d
Initial experiment with a docker-based CI 2019-07-29 21:31:26 +01:00
Jeff Becker
60fbeca9d4
const correctness 2019-07-29 12:43:24 -04:00
Jeff Becker
ea7a32c7e3
const correctness 2019-07-29 12:41:45 -04:00
Jeff Becker
db2206664a
fix crashes in testnet 2019-07-29 11:10:20 -04:00
Jeff
f57fc4e884
Merge pull request #738 from majestrate/fix-cmake-shellhooks
correct cmake paramter for shellhooks
2019-07-29 09:12:43 -04:00
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
2019-07-29 09:08:40 -04:00
Jeff Becker
7c8c11a42a
correct cmake paramter for shellhooks 2019-07-29 08:14:35 -04:00
Jeff
af74ee6f70
Merge pull request #737 from majestrate/add-link-layer-delivery-feedback
Add link layer delivery feedback
2019-07-28 18:21:56 -04:00
Jeff
c08f8361a3
Merge pull request #732 from tewinget/path-build-status-messages
Adds Link-Relay Status Messages
2019-07-28 18:21:43 -04:00
Jeff
152d4b8412
Merge pull request #734 from majestrate/run-main-in-own-thread
run main in it's own thread and set its process name.
2019-07-28 18:03:55 -04:00
Jeff Becker
b0406e1a76
on logic queue overflow put job on timer instead 2019-07-28 13:13:52 -04:00
Jeff Becker
b8904ab0f4
fix compile for tests 2019-07-28 11:33:18 -04:00
Jeff Becker
4eff86d681
use size_t 2019-07-28 11:28:45 -04:00
Jeff Becker
835b334a59
* increase utp buffers
* disallow inbound traffic on outbound utp link
* const correctness
2019-07-28 11:26:38 -04:00
Jeff Becker
9a055947cb
make it compile 2019-07-28 09:20:08 -04:00
Jeff Becker
16e6ab2193
propagate all utp link errors 2019-07-28 09:00:12 -04:00
Jeff Becker
503bea19cd
make travis happy 2019-07-28 08:35:07 -04:00
Jason Rhinelander
b1d676c545 0.5.0 pre-release snapshot 2019-07-26 18:21:51 -03:00
Jason Rhinelander
e82a219252 Merge remote-tracking branch 'origin/master' into debian/sid 2019-07-26 18:21:27 -03:00
Jason Rhinelander
002eef78cd Deb updates & fixes
- download bootstrap and generate config file at package configure time rather
  than in the service file.
- fix service file username
- manage config file with ucf
2019-07-26 18:13:06 -03:00
Jason Rhinelander
3b4b8b7993 Remove unneeded git dependency 2019-07-26 18:04:51 -03:00
Jeff
788ca463c2
Merge pull request #736 from jagerman/bootstrap-script-improvements
lokinet-bootstrap improvements
2019-07-26 15:35:19 -04:00
Jason Rhinelander
3a8fd5c9a7 lokinet-bootstrap improvements
- takes an optional second argument to control where to download
- print usage info if called with >2 arguments or an argument starting
  with `-`
- Add `set -e` so if unchecked things fail (e.g. the mkdir) the script
  fails.
2019-07-26 15:47:38 -03:00
Jeff Becker
822f529be8
add link layer delivery feedback 2019-07-26 12:19:31 -04:00
Jeff Becker
b29ec20ad4
try deferred resolve for exit handler 2019-07-26 12:19:08 -04:00
Jeff
4501156aff
Merge pull request #733 from majestrate/fix-crash-2019-07-26
fix crash of clients and propagate lookup failures
2019-07-26 11:17:53 -04:00
Jeff Becker
c1bf69f96f
run main in it's own thread and set its process name. 2019-07-26 08:55:08 -04:00
Jeff Becker
972d4f8672
fix crash of clients and propagate lookup failures 2019-07-26 08:11:56 -04:00
Thomas Winget
697ece64cc make TransitHop self-destruct if path is invalidated 2019-07-25 19:54:10 -04:00
Jason Rhinelander
f4ad2a291b Update debian packaging (in new branch) 2019-07-25 20:23:25 -03:00
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
2019-07-25 17:46:56 -04:00
Jeff
ce2ff2a93e
Merge pull request #731 from tewinget/minor-fixups
make travis happy again *and* don't break message sending
2019-07-25 15:52:12 -04:00