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