Jeff
34cd64369b
Merge pull request #1095 from jagerman/warning-fix
...
Fix signed/unsigned comparison warning and make more std::chrono-y
2020-02-13 11:34:23 -05:00
Stephen Shelton
68d0cabcc5
Print an error when BDecodeReadFromFile() fails before calling DumpBuffer()
2020-02-13 08:19:10 -07:00
Jason Rhinelander
6a8d4aca38
Fix signed/unsigned comparison warning and make more std::chrono-y
2020-02-13 10:55:14 -04:00
Jeff Becker
837998eb88
rename variable
2020-02-12 12:53:53 -05:00
Jeff Becker
f6c4181e14
remove include
2020-02-12 12:43:10 -05:00
Jeff Becker
28561cd654
use Time_t
2020-02-12 12:10:48 -05:00
Jeff Becker
96c5553e34
rename variables
2020-02-12 12:10:48 -05:00
Jeff Becker
434ce56553
* get rid of dht explore for service nodes
...
* add Time_t using std::chrono for future uses
* make decaying hashset constructor with llarp_time_t explicit
* add decaying hashset implicit constructor using Time_t
* add timeouts for gossiper replay
* allow regossip of our RC
2020-02-12 12:10:48 -05:00
Jeff Becker
154be464ea
rc gossiping
2020-02-12 12:10:48 -05:00
Jeff Becker
7ad47f2dba
* get rid of dht explore for service nodes
...
* add Time_t using std::chrono for future uses
* make decaying hashset constructor with llarp_time_t explicit
* add decaying hashset implicit constructor using Time_t
* add timeouts for gossiper replay
* allow regossip of our RC
2020-02-12 12:10:48 -05:00
Jeff Becker
ea3851d15f
rc gossiping
2020-02-12 12:10:48 -05:00
Jeff
1403cff805
Merge pull request #1079 from majestrate/remove-dht-message-limit-2020-02-03
...
make message queue unbound for direct dht messages
2020-02-12 12:10:11 -05:00
Jeff
671c765161
Merge pull request #1085 from majestrate/check-for-initial-current-introset-2020-02-06
...
check for current introset being zero (initial state)
2020-02-12 11:44:39 -05:00
Jeff
4371ea469d
Merge pull request #1086 from majestrate/lokinetmon-update-2020-02-07
...
update lokinet monitor to work with iwp
2020-02-12 11:43:30 -05:00
Jeff Becker
7374f8f0fd
update lokinetmon
2020-02-11 10:36:18 -05:00
Jeff
5901d0eb6b
Merge pull request #1092 from majestrate/reduce-iwp-multiack-frequency-2020-02-10
...
Reduce iwp multiack transmission frequency
2020-02-11 07:09:28 -05:00
Jeff
47db547378
Merge pull request #1088 from notlesh/add-iwp-stats-to-json-api-2020-02-07
...
Add IWP session stats to JSON API
2020-02-10 15:14:46 -05:00
Jeff Becker
8b77ec31ef
reduce number of multiack packets sent
2020-02-10 15:01:51 -05:00
Stephen Shelton
3d00feb08a
Make format
2020-02-10 12:51:54 -07:00
Stephen Shelton
7f0972d48e
Use name 'StateToString()' instead of ambiguous 'toString()'
2020-02-10 09:27:12 -07:00
Stephen Shelton
63ad7c8b91
Leave IWP session JSON stats 'tx' and 'rx' for compat
2020-02-10 09:17:40 -07:00
Jeff
8cad7fecbd
Merge pull request #1087 from majestrate/dont-flood-dht-2020-02-07
...
dont flood dht with requests, if we know of a router don't look it up
2020-02-08 11:26:07 -05:00
Jeff Becker
e8b84fcfbd
add path speed metrics for lokinetmon
2020-02-08 11:21:18 -05:00
Jeff
80a7b788bc
Merge pull request #1089 from majestrate/dht-introset-lookup-relayed-try-closer-2020-02-07
...
try closer router if relayed
2020-02-07 15:28:48 -05:00
Jeff Becker
00260555bd
logic simplification
2020-02-07 15:28:13 -05:00
Jeff Becker
e4a16dfdd5
fix comment
2020-02-07 15:22:58 -05:00
Jeff Becker
b211450cc8
always recurse to second closest if we don't have it
2020-02-07 15:20:47 -05:00
Jeff Becker
5b87a9419e
default recursion depth to 2 not 12
2020-02-07 14:55:08 -05:00
Jeff Becker
19d91a440f
move declaration of peer
2020-02-07 14:50:02 -05:00
Jeff Becker
3bea7327cb
handle end case by telling requester that it's not there
2020-02-07 14:46:12 -05:00
Jeff Becker
7e1a6236be
if relayed try closer router if we don't have an intro
2020-02-07 14:35:57 -05:00
Jeff Becker
a9331a1431
fix unit test
2020-02-07 13:48:56 -05:00
Stephen Shelton
2279ebeb40
Add IWP session stats to JSON API
2020-02-07 11:43:40 -07:00
Jeff Becker
cd27b33849
dont flood dht with requests, if we know of a router don't look it up
2020-02-07 13:19:00 -05:00
Jeff
0271f178d2
Merge pull request #1078 from jagerman/travis-bionic-and-arm
...
New travis arches + required endian fixes, libsodium build replacement
2020-02-07 10:26:55 -05:00
Jason Rhinelander
3be7eb789b
Endian defines fix for macOS
...
It seems `__BYTE_ORDER`/`__LITTLE_ENDIAN`/`__BIG_ENDIAN` aren't defined
on macOS, so `if __BYTE_ORDER == __BIG_ENDIAN` was true which made macOS
take the big endian path *twice* (which cancelled out the big endian
conversion).
This makes util/endian.hpp define __LITTLE_ENDIAN__ or __BIG_ENDIAN__
everywhere, and errors if it can't be set.
2020-02-07 03:29:50 -04:00
Jason Rhinelander
9283aac4b6
Big endian fixes
2020-02-07 00:56:09 -04:00
Jason Rhinelander
66ebe3995e
Remove -Wshadow; it is far too aggressive under gcc
2020-02-07 00:12:42 -04:00
Jeff
e44449b2d5
Merge pull request #1084 from notlesh/reduce-client-log-output-2020-02-06
...
s/LogInfo/LogDebug/ @ explore message
2020-02-06 16:08:40 -05:00
Jeff Becker
8c698a1cd1
* rename i to foundIntro
...
* check for zero timestamp
* use > not >=
2020-02-06 14:35:31 -05:00
Jeff Becker
41210a8ae1
check for current introset being zero (initial state)
2020-02-06 14:23:23 -05:00
Stephen Shelton
37e4f26be1
s/LogInfo/LogDebug @ 'signed/verify encrypted introset'
2020-02-06 12:05:43 -07:00
Stephen Shelton
2cade16c0e
s/LogInfo/LogDebug/ @ 'updating SN list'
2020-02-06 12:03:06 -07:00
Stephen Shelton
bc3184a126
s/LogInfo/LogDebug/ @ explore message
2020-02-06 11:57:39 -07:00
Jeff Becker
499e346da6
notify delivery of path builds
2020-02-06 12:12:39 -05:00
Jeff
8230b1152e
Merge pull request #1072 from majestrate/2020-01-25-router-version
...
add router version
2020-02-04 17:40:46 -05:00
Jeff Becker
e6174efa21
don't derive x25519 key from ed25519 key
2020-02-03 17:21:31 -05:00
Jeff
c122b460e1
Merge pull request #1075 from jagerman/dht-blinding
...
Dht blinding
2020-02-03 16:44:25 -05:00
Jeff Becker
80f8363386
don't drop messages with pathid zero which belong to snode to snode dht and path build requests.
2020-02-03 16:24:45 -05:00
Jason Rhinelander
8cd95c01b3
Abstract signing hash data location
...
This makes the interface a little cleaner by not requiring the class
user to know how we laid out the data in the object.
2020-02-02 16:38:48 -04:00