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