Commit Graph

5031 Commits

Author SHA1 Message Date
Adam Ierymenko
7fe00f4247 Another dumb RENDEZVOUS bug. 2021-09-21 12:13:47 -04:00
Adam Ierymenko
5eae02068d Fix bass ackwards addresses making RENDEZVOUS packets not make it, improve P2P. 2021-09-21 11:58:39 -04:00
Adam Ierymenko
5d429cedbb Send error. 2021-09-20 16:56:16 -04:00
Adam Ierymenko
3c85322067 Meh... fixed now. 2021-09-20 15:54:12 -04:00
Adam Ierymenko
9fb902bdf6 Pointer deref fix. 2021-09-20 15:43:27 -04:00
Adam Ierymenko
262cb7a4b5 Generate new peer if old was bad. 2021-09-20 15:12:56 -04:00
Adam Ierymenko
104fade420 Thinko. 2021-09-20 15:04:25 -04:00
Adam Ierymenko
bcf8c30ce0 Simplify validation logic too. 2021-09-20 14:56:49 -04:00
Adam Ierymenko
c2413fca4d Clean out a bunch of old code related to the possibility of multiple peers sharing virtual addresses. Does not seem to be currently exploitable but we are never going back to that idea, so this simplifies things. May also speed up the root. 2021-09-20 14:42:49 -04:00
Adam Ierymenko
5028aca372 Fix some identity verification stuff, performance improvements, build of root now requires libjemalloc. 2021-06-18 16:14:59 -04:00
Adam Ierymenko
311f9c5c2a A few minor changes: (1) bind sockets to peers so the same socket is always used to send as most recently received, (2) pick the most recently active IP (v4 or v6) if both exist, and (3) introduce expiry of V4 or V6 IPs in addition to the peer overall. 2021-05-26 19:37:48 -04:00
Adam Ierymenko
32ca1a09da Set version threshold correctly for v2 2020-08-27 10:00:11 -07:00
Adam Ierymenko
bba1324145 One more sanity check. 2020-01-21 11:04:18 -08:00
Adam Ierymenko
ff655292fb Allocate packet on heap, add extra sanity checks on packet size. 2020-01-21 10:58:41 -08:00
Grant Limberg
2558bd1b9b
include iomanip 2020-01-16 09:11:12 -08:00
Grant Limberg
95d0944b9f
add /metrics endpoint for exposing root metrics to Prometheus 2020-01-16 09:08:52 -08:00
Adam Ierymenko
68ac884d47
. 2019-10-02 14:30:46 -07:00
Adam Ierymenko
e2f3996843
Fix callbacks 2019-10-02 13:39:48 -07:00
Adam Ierymenko
57ade250af
. 2019-10-02 12:19:37 -07:00
Adam Ierymenko
c3e0f262d1
Regularize JSON stuff 2019-10-02 09:34:44 -07:00
Adam Ierymenko
b9911d0db7
More plumbing 2019-10-02 07:09:54 -07:00
Adam Ierymenko
d1b780c7be
addroot 2019-10-01 13:09:53 -07:00
Adam Ierymenko
1711cced3e
. 2019-09-30 20:31:48 -07:00
Adam Ierymenko
63e6693255
. 2019-09-30 20:10:53 -07:00
Adam Ierymenko
9b8d191bb1
Locator fix 2019-09-30 20:09:35 -07:00
Adam Ierymenko
6db2b8c66d
. 2019-09-30 20:03:03 -07:00
Adam Ierymenko
47a08ccbd4
Identity management plumbing to Go 2019-09-30 18:59:57 -07:00
Adam Ierymenko
7fc78129f4
A bunch of CLI work 2019-09-30 16:12:08 -07:00
Adam Ierymenko
c4504fd3ff
Vendor Go modules 2019-09-30 12:41:21 -07:00
Adam Ierymenko
e4799ff8c4
Bunch of small warnings and stylistic things... 2019-09-30 11:10:47 -07:00
Adam Ierymenko
f680924585
Build fixes 2019-09-30 09:48:44 -07:00
Adam Ierymenko
b0d222768a
Root admin stuff 2019-09-30 09:32:00 -07:00
Adam Ierymenko
4303c43db7
. 2019-09-27 14:55:46 -07:00
Adam Ierymenko
3b3e6d2bfc
Simplify root API 2019-09-26 13:35:56 -07:00
Adam Ierymenko
7061f13b24
. 2019-09-26 09:34:31 -07:00
Adam Ierymenko
5175636d36
. 2019-09-25 14:31:08 -07:00
Adam Ierymenko
570032484f
. 2019-09-25 14:16:55 -07:00
Adam Ierymenko
9c37fc1a5f
. 2019-09-25 13:32:46 -07:00
Adam Ierymenko
105023bd87
Build fix 2019-09-25 12:43:14 -07:00
Adam Ierymenko
8a9669f130
. 2019-09-25 12:36:49 -07:00
Adam Ierymenko
e5bd230fb0
. 2019-09-24 16:44:29 -07:00
Adam Ierymenko
e3d47e588a
. 2019-09-24 12:32:35 -07:00
Adam Ierymenko
f4a5abeed9
Go CLI work 2019-09-24 12:19:28 -07:00
Adam Ierymenko
a7e38d2b00
. 2019-09-23 16:58:55 -07:00
Adam Ierymenko
84ba396ed3
. 2019-09-23 16:47:13 -07:00
Adam Ierymenko
6683280a37
. 2019-09-23 16:46:58 -07:00
Adam Ierymenko
1edf680464
. 2019-09-23 16:46:31 -07:00
Adam Ierymenko
4df090469a
Clean out obsolete dependencies. 2019-09-23 16:42:23 -07:00
Adam Ierymenko
3c63f58532
Build fix. 2019-09-23 16:21:43 -07:00
Adam Ierymenko
64c8171e13
Port binding check. 2019-09-23 16:21:02 -07:00