Adam Ierymenko
96e9a90e8e
docs
11 years ago
Adam Ierymenko
87c599df5c
Back out service message type -- YAGNI violation.
11 years ago
Adam Ierymenko
56cfe1d603
Strip out old Service code, add new service message type.
11 years ago
Adam Ierymenko
f60dfe4963
FreeBSD works, and some documentation fixes.
11 years ago
Adam Ierymenko
ff539c22f9
locallyValidate() is expensive -- stop doing it on every HELLO since in most cases we already know the identity and know it is valid
11 years ago
Adam Ierymenko
149dbff3ea
Windows Visual Studio meaningless-warning-ectomy.
11 years ago
Adam Ierymenko
30e82a4d9c
Fix network enumeration buffer size bug -- reported by user Neal Symms via LiveAgent
11 years ago
Adam Ierymenko
8c64046a53
docs
11 years ago
Adam Ierymenko
04e4c5263e
Remove more legacy code -- just doing the supernode redist for old multicast is now good enough given the small number of legacy nodes left.
11 years ago
Adam Ierymenko
4303376ba6
cleanup and docs
11 years ago
Adam Ierymenko
cda61fe2d9
docs and cleanup
11 years ago
Adam Ierymenko
0f505411cf
Enable legacy multicast in Constants.
11 years ago
Adam Ierymenko
15d3e383e6
Add ZT_SUPPORT_LEGACY_MULTICAST ifdef to enable the legacy code to all be toggled.
11 years ago
Adam Ierymenko
6888c6482c
Re-enable legacy multicast distribution -- still too many pre1.0.0 nodes online.
11 years ago
Adam Ierymenko
d772639cc6
Multicast code cleanup.
11 years ago
Adam Ierymenko
acac88cf77
A few more tweaks to MC algo...
11 years ago
Adam Ierymenko
0bcac1fd79
Add a bunch of high-resolution try/catch safety in Node main loop to attempt to snare gremlin.
11 years ago
Adam Ierymenko
959f611a65
Fix thinko in multicast changes... works now!
11 years ago
Adam Ierymenko
7619b0ecbd
Send multicasts in random order.
...
This should not affect most users, but on large networks it should cause service
announcements to work a lot better. This is the result of a prolonged discussion
with a user about the visibility of game servers on a large network. The old
multicast algorithm was de-facto randomized due to its distributed nature, while
the new algorithm is more deterministic. This will restore some randomization
beyond limit-overflow conditions.
It won't affect small networks at all.
11 years ago
Adam Ierymenko
0c85b4ef5f
Tweak to symmetric NAT buster to add one to the number of ports above the current one it attempts.
11 years ago
Adam Ierymenko
ee9e6a3c6b
Change path selection logic to exclude non-fixed and non-active paths -- possible fix for "NAT traversal coma" issue. Also fix a typo.
11 years ago
Adam Ierymenko
7b6f10e859
Optimization: we don't need to verify signatures on certs if they're certs we already have and have verified.
12 years ago
Adam Ierymenko
c61e9c0ef9
Prevent "software laser" in legacy multicast support. Already hotpatched in supernodes.
12 years ago
Adam Ierymenko
1bd5a1ebcd
Make selftest build and run on FreeBSD 10 with gmake
12 years ago
Adam Ierymenko
0e84eb3852
Back off default multicast limit just a little.
12 years ago
Adam Ierymenko
5484cf4309
More cleanup, and fix a bug in Multicaster::gather()
12 years ago
Adam Ierymenko
22d8aa4dc9
Moderate efficiency improvement on multicast gather result parsing, and go ahead and keep track of total known peers.
12 years ago
Adam Ierymenko
95f421024a
Code cleanup, and fix some unsafe pointer handling in Network.
12 years ago
Adam Ierymenko
5bb854e504
Fix a nasty bug introduced in packet fragmentation a while back during refactoring, and a few other things related to multicast.
12 years ago
Adam Ierymenko
4dec598fb8
Make multicast gather slightly more aggressive, and add total to list command in testnet.
12 years ago
Adam Ierymenko
3d85a615fb
NULL dereference on still-initializing node bug fix in status query commands, and doc updates.
12 years ago
Adam Ierymenko
934a575a74
Testnet seems to work a bit better now...
12 years ago
Adam Ierymenko
fe7b429866
...
12 years ago
Adam Ierymenko
3857116724
More testnet work.
12 years ago
Adam Ierymenko
4fbb098daa
Testnet work... getting there!
12 years ago
Adam Ierymenko
0a195e7bc0
Some work on simulated net...
12 years ago
Adam Ierymenko
ae228ade8c
Starting on simulated socket manager.
12 years ago
Adam Ierymenko
2436e22f46
More work on abstracting socket manager.
12 years ago
Adam Ierymenko
128a131070
About halfway there in refactoring to support pluggable SocketManager.
12 years ago
Adam Ierymenko
6bc9a938cf
Move socket manager implementation into osnet/
12 years ago
Adam Ierymenko
0e47f13f14
Simplify locking semantics some more to address a deadlock.
12 years ago
Adam Ierymenko
7c0f5e97e1
Don't need to check peer version for every item in txQueue since there is only one peer.
12 years ago
Adam Ierymenko
8730d30575
Now for some clang compile fixes...
12 years ago
Adam Ierymenko
74f36f5dc0
Windows build fixes.
12 years ago
Adam Ierymenko
a8bd8fff93
Make several changes to eliminate potential deadlock or recursive lock conditions, and add back rescan of multicast groups on network startup.
12 years ago
Adam Ierymenko
a94b0e6a43
Get rid of rescanMulticastGroups() in Network thread since this can deadlock... the fact that this can happen is probably bad design.
12 years ago
Adam Ierymenko
7a37326cc0
Fix sleeper bug that probably did nothing in setSupernodes().
12 years ago
Adam Ierymenko
42d644a57e
More fixes to legacy support, and to a potential issue on quit.
12 years ago
Adam Ierymenko
2416491cbc
Permanently retire peers.persist, but make iddb.d always enabled instead since identities are what we really want to cache.
12 years ago
Adam Ierymenko
6e23986bb3
Another build fix.
12 years ago