Adam Ierymenko
|
3adb183c5f
|
Fix bad COM attachment bug and eliminate an unnecessary redundant check.
|
11 years ago |
Adam Ierymenko
|
a3db7d0728
|
Refactor: move network COMs out of Network and into Peer in prep for tightening up multicast lookup and other things.
|
11 years ago |
Adam Ierymenko
|
f69454ec98
|
(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
|
11 years ago |
Adam Ierymenko
|
367ffde00c
|
Plumb through localInterfaceId to track local interfaces corresponding with remote addresses.
|
11 years ago |
Adam Ierymenko
|
85b90f122a
|
Final std::map<> from Switch, and add some smallish default values for hash size.
|
11 years ago |
Adam Ierymenko
|
3dba016a93
|
Almost done... very few std::map<>s remaining in any spot that matters.
|
11 years ago |
Adam Ierymenko
|
db0369e9b8
|
Remove way-overkill multimap from Switch.
|
11 years ago |
Adam Ierymenko
|
0ab3e49be9
|
Starting in on Switch... kill map in defrag queue, which will probably improve performance pretty decently under high load with lots of peers.
|
11 years ago |
Adam Ierymenko
|
eea8d58afa
|
docs,cleanup
|
11 years ago |
Adam Ierymenko
|
21e6850722
|
Cancel NAT-t attempts if peer is no longer "alive"
|
11 years ago |
Adam Ierymenko
|
4564dd95ff
|
Revert... no luck with any of that.
|
11 years ago |
Adam Ierymenko
|
d2bfdfa6e7
|
Play with NAT-t tweaks some more.
|
11 years ago |
Adam Ierymenko
|
17bfd4d55e
|
Add TRACE for NAT-t debugging.
|
11 years ago |
Adam Ierymenko
|
b31071463c
|
Try another NAT traversal improvement.
|
11 years ago |
Adam Ierymenko
|
821f1f366e
|
Fix to NAT escalation sequence.
|
11 years ago |
Adam Ierymenko
|
e30ba3e138
|
Eliminate some aggressive port scanning NAT-t behavior that has proven ineffective.
|
11 years ago |
Adam Ierymenko
|
fe20f0d7cd
|
Put back legacy code to listen for LAN announcements to support same network location with pre-1.0.4 clients.
|
11 years ago |
Adam Ierymenko
|
3f567a07ca
|
Save a little bit of RAM by getting rid of overkill CMWC4096 non-crypto PRNG and replacing it with a simple non-crypto PRNG that just uses Salsa20.
|
11 years ago |
Adam Ierymenko
|
41fc08b330
|
etherTypeName() is only used in Switch and only with ZT_TRACE
|
11 years ago |
Adam Ierymenko
|
778c7e6e70
|
More cleanup to direct path push, comment fixes, etc.
|
11 years ago |
Adam Ierymenko
|
cac55105c3
|
Fix a regression.
|
11 years ago |
Adam Ierymenko
|
79e9a8bcc2
|
Almost everything for GitHub issue #180 except direct path map setup.
|
11 years ago |
Adam Ierymenko
|
fad9dff2db
|
Almost all of GitHub issue #180
|
11 years ago |
Adam Ierymenko
|
93bb934d4e
|
Some cleanup, docs, and Path -> Path > RemotePath refactor.
|
11 years ago |
Adam Ierymenko
|
6bfbc43e3c
|
Include COM with EXT_FRAME in bridged case.
|
11 years ago |
Adam Ierymenko
|
35b5dcf89d
|
Kill debug line.
|
11 years ago |
Adam Ierymenko
|
e5f7c55c54
|
Documentation in Packet, more work on path push, and clean up ancient legacy support code in Switch.
|
11 years ago |
Adam Ierymenko
|
57c7992c78
|
GitHub issue #191 - kill intra-network multicast rate limits (which were not well supported or easily configurable anyway) -- this is really left over from the old collaborative multicast propagation algorithm. New algorithm (in for a while) has been sender-side replication in which sender "pays" all bandwidth, which intrinsically limits multicast.
|
11 years ago |
Adam Ierymenko
|
7bae95836c
|
Root server terminology cleanup, and tighten up a security check by checking full identity of peers instead of just address.
|
11 years ago |
Adam Ierymenko
|
5341e32729
|
Fix to GitHub issue #140 -- network preferred relays. Also go ahead and allow RENDEZVOUS from regular peers.
|
11 years ago |
Adam Ierymenko
|
960ceb4791
|
Rest of GitHub issue #140 implementation.
|
11 years ago |
Adam Ierymenko
|
d8783b14eb
|
Build fix.
|
11 years ago |
Adam Ierymenko
|
6867922d9e
|
typo
|
11 years ago |
Adam Ierymenko
|
196f27f1f0
|
Add delay to NAT-t escalation stuff to try to address GitHub issue #167
|
11 years ago |
Adam Ierymenko
|
d9006712f6
|
Completely factor out "desperation" from the core. I thought of a significantly simpler way to move all of this logic entirely into the containing service, liberating the core from any concern over the nature of its pipe to the outside world.
|
11 years ago |
Kees Bos
|
a425bbc673
|
Renamed supernode to rootserver
|
11 years ago |
Adam Ierymenko
|
a1005ca858
|
Do not unite() peers across different IP scopes as this would pretty much never work.
|
11 years ago |
Adam Ierymenko
|
98bcc3d4b5
|
Disable a few noisy TRACEs, and limit how often we confirm new paths to avoid flooding.
|
11 years ago |
Adam Ierymenko
|
1c9ca73065
|
Fix some deadlock issues, move awareness of broadcast subscription into core, other bug fixes.
|
11 years ago |
Adam Ierymenko
|
5e331d6733
|
Restrict unite() to desperation==0 since NAT-t only works right now with direct links.
|
11 years ago |
Adam Ierymenko
|
068d311ecc
|
TRACE compile fixes, other fixes, and it basically works! It says HELLO.
|
11 years ago |
Adam Ierymenko
|
4d5a6a25d3
|
Add events for packet decode errors, etc., and re-implement TRACE as an event.
|
11 years ago |
Adam Ierymenko
|
bf2ff964e1
|
Utils::now() removal and a bunch of compile fixes.
|
11 years ago |
Adam Ierymenko
|
49f031ccb4
|
Tons of refactoring, change to desperation algorithm to use max of core or link, porting over core loop code from old Node.cpp to new CAPI version, etc.
|
11 years ago |
Adam Ierymenko
|
24608d5ca3
|
Always use HELLO to contact, and we now confirm newly learned paths via a two-way handshake to prevent half-connects.
|
11 years ago |
Adam Ierymenko
|
197d272287
|
More NAT strategy cleanup.
|
11 years ago |
Adam Ierymenko
|
be4683a96d
|
Get rid of random port strategy -- research does not support.
|
11 years ago |
Adam Ierymenko
|
a95f1e1418
|
Eliminate redundant SharedPtr assignment.
|
11 years ago |
Adam Ierymenko
|
6eb9289367
|
Bunch more cleanup, improvements to NAT traversal logic, finished updating Switch.
|
11 years ago |
Adam Ierymenko
|
ee0f56355b
|
Send path simplification.
|
11 years ago |