Adam Ierymenko
|
104fade420
Thinko.
|
4 лет назад |
Adam Ierymenko
|
bcf8c30ce0
Simplify validation logic too.
|
4 лет назад |
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.
|
4 лет назад |
Adam Ierymenko
|
5028aca372
Fix some identity verification stuff, performance improvements, build of root now requires libjemalloc.
|
4 лет назад |
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.
|
4 лет назад |
Adam Ierymenko
|
32ca1a09da
Set version threshold correctly for v2
|
5 лет назад |
Adam Ierymenko
|
bba1324145
One more sanity check.
|
6 лет назад |
Adam Ierymenko
|
ff655292fb
Allocate packet on heap, add extra sanity checks on packet size.
|
6 лет назад |
Grant Limberg
|
2558bd1b9b
include iomanip
|
6 лет назад |
Grant Limberg
|
95d0944b9f
add /metrics endpoint for exposing root metrics to Prometheus
|
6 лет назад |
Adam Ierymenko
|
68ac884d47
.
|
6 лет назад |
Adam Ierymenko
|
624efde7e4
Make sure threads dont exit on spurious return values from recvfrom unless we are really dying.
|
6 лет назад |
Adam Ierymenko
|
9f5bccec30
Add a recv timeout to root
|
6 лет назад |
Adam Ierymenko
|
ade52bf81e
Fix RENDEZVOUS issue and possibly improve GeoIP resolution.
|
6 лет назад |
Adam Ierymenko
|
e245eb1eb5
Trim some unnecessary locks from root, and cleanup elsewhere.
|
6 лет назад |
Adam Ierymenko
|
e08fc81397
More threading improvements in root, more DNS TXT and multicast work (in progress)
|
6 лет назад |
Adam Ierymenko
|
e44d7a553f
The root technically does not need to do this, and its slow.
|
6 лет назад |
Adam Ierymenko
|
2deaaeef28
Some root cleanup and more lock contention reduction.
|
6 лет назад |
Adam Ierymenko
|
31e193756d
cleanup
|
6 лет назад |
Adam Ierymenko
|
5aa744db84
Simplification and further concurrency improvements.
|
6 лет назад |
Adam Ierymenko
|
99c36ed2f2
Parallelization improvements
|
6 лет назад |
Adam Ierymenko
|
a3ec5846df
map fix
|
6 лет назад |
Adam Ierymenko
|
fe0b896665
map fix
|
6 лет назад |
Adam Ierymenko
|
e4721417e6
map fix
|
6 лет назад |
Adam Ierymenko
|
3123102211
root cleanup and add nifty geoip thing
|
6 лет назад |
Adam Ierymenko
|
e8f8b0f8e5
cleanup
|
6 лет назад |
Adam Ierymenko
|
185e90c40f
AES-GMAC-CTR tweaks, self test tweaks, debian typo fix.
|
6 лет назад |
Adam Ierymenko
|
e29c2d0260
Fix field headers
|
6 лет назад |
Adam Ierymenko
|
acf6425ae9
Formatting fix
|
6 лет назад |
Adam Ierymenko
|
5e8d49de0f
Stats, tweak P2P success rate stat.
|
6 лет назад |