Adam Ierymenko
|
7831c4bfef
Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations.
|
11 жил өмнө |
Adam Ierymenko
|
aee742e767
More toward GitHub issue #56
|
11 жил өмнө |
Adam Ierymenko
|
b117ff5435
Probable fix for GitHub issue #63 - do not unite() if either path is TCP, since doing so can result in asymmetric failed NAT-t over UDP if one side has a firewall that permits outgoing UDP but not incoming.
|
11 жил өмнө |
Adam Ierymenko
|
119ef5ecbf
More logic cleanup and some documentation / comment improvements.
|
11 жил өмнө |
Adam Ierymenko
|
8fb442d81a
Yet more cleanup to TCP logic, this time adding a master switch and adding UDP preference in send().
|
11 жил өмнө |
Adam Ierymenko
|
73153b89b4
Some cleanup, and use best (not first) UDP addresses for NAT-t VERB_RENDEZVOUS computation.
|
11 жил өмнө |
Adam Ierymenko
|
fe85426df6
A few more tweaks to TCP failover... seems to be switching back and forth pretty well now!
|
11 жил өмнө |
Adam Ierymenko
|
c96d3ebf8c
Such ping logic. So edge case.
|
11 жил өмнө |
Adam Ierymenko
|
81e5690410
More tweaks to TCP failover logic. Such edge case.
|
11 жил өмнө |
Adam Ierymenko
|
700a450806
More tweaks to algorithm for determining when to fail over to TCP, and stop supernodes from resynchronizing unless explicitly ordered.
|
11 жил өмнө |
Adam Ierymenko
|
8e587ae481
Clean dead paths from peers.
|
11 жил өмнө |
Adam Ierymenko
|
8d3eb1a258
A few renamings to be consistent.
|
11 жил өмнө |
Adam Ierymenko
|
33ad3deaee
Builds with new Path code.
|
11 жил өмнө |
Adam Ierymenko
|
ba3f04deed
Work in progress: refactoring paths, adding TCP fallback.
|
11 жил өмнө |
Adam Ierymenko
|
45e823d27c
Reworking of paths in Peer work-in-progress, and TCP connect support in SocketManager. Also add FD_SETSIZE checking for the default select implementation of sockets.
|
11 жил өмнө |
Adam Ierymenko
|
0b75992737
Everything but the local config bus... blech.
|
11 жил өмнө |
Adam Ierymenko
|
bd749e040d
Compile fixes.
|
11 жил өмнө |
Adam Ierymenko
|
b5c3a92be2
Boring stuff: update dates in copyrights across all files.
|
11 жил өмнө |
Adam Ierymenko
|
bf5f09a0c7
Yank a code path it turns out we probably don't want.
|
11 жил өмнө |
Adam Ierymenko
|
490e86dde3
Bunch of fixes to startup, pinging, and choice of route. Also some TRACE updates.
|
11 жил өмнө |
Adam Ierymenko
|
d6a346ca6e
Fix for GitHub issue #35 and also possibly partial fix for #29 issues.
|
11 жил өмнө |
Adam Ierymenko
|
10df5dcf70
Fix several things:
|
11 жил өмнө |
Adam Ierymenko
|
92969b4426
Fix for GitHub issue #20 (untested)
|
11 жил өмнө |
Adam Ierymenko
|
612c17240a
Dead code removal, fix for cleanup GitHub issue #28
|
11 жил өмнө |
Adam Ierymenko
|
40e4f39181
Peers are now dumped on shutdown in a persistence cache and reloaded on startup, which is good enough for clients right now. Supernodes will get something else for long-term authoritative identity caching.
|
12 жил өмнө |
Adam Ierymenko
|
6e217dfcb0
Get rid of DBM, which technically is a case of YAGNI. Supernodes will need a way to save identities, but that can be a different feature. Regular clients do not really need a permanent cache (yet). When/if we do need one we can do it then. Until then it only caused problems.
|
12 жил өмнө |
Adam Ierymenko
|
4267e7da93
Remove a whole bunch of now-unnecessary cruft from Topology and PacketDecoder.
|
12 жил өмнө |
Adam Ierymenko
|
58538500f2
Clean up some routine stuff like pings, and stop keeping links open forever even if there are no frames passing between them.
|
12 жил өмнө |
Adam Ierymenko
|
2cfa76fa8b
Multicast propagation is now working from non-supernodes, and working quite well. Time for some more simulation before 0.5.0!
|
12 жил өмнө |
Adam Ierymenko
|
3443b203e4
Each peer now tracks the last time it announced multicast LIKEs independently and does so frequently enough to prevent expires. Also add a multicast debug facility for use on the testnet.
|
12 жил өмнө |