Adam Ierymenko
d6a1868d0a
Refactor incoming packet (rxQueue/fragmentQueue) to eliminate variable length queues and merge queues. This is both faster and saves memory.
10 years ago
Adam Ierymenko
4e4fd51117
boring doc stuff
10 years ago
Adam Ierymenko
8ef4edebbf
Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers.
11 years ago
Adam Ierymenko
69b44bf9a5
Finally add an ECHO.
11 years ago
Adam Ierymenko
e5f168f599
Add proof of work request for future DDOS mitigation use.
11 years ago
Adam Ierymenko
1a4f16e0ed
More work on circuit testing...
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
fad9dff2db
Almost all of GitHub issue #180
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
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
6eb9289367
Bunch more cleanup, improvements to NAT traversal logic, finished updating Switch.
11 years ago
Adam Ierymenko
93012b0ee5
Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware]
11 years ago
Adam Ierymenko
b1bf3f68c3
Drop support for legacy P5 multicast, as there are fewer than 1% of these remaining on the network.
11 years ago
Adam Ierymenko
4e95384ad6
Cleanup, add tristate to config code in Network, and happy new year!
11 years ago
Adam Ierymenko
56cfe1d603
Strip out old Service code, add new service message type.
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
5484cf4309
More cleanup, and fix a bug in Multicaster::gather()
12 years ago
Adam Ierymenko
1109046782
Last steps before test: parse OK(MULTICAST_GATHER) and OK(MULTICAST_FRAME)
12 years ago
Adam Ierymenko
b41437780b
Add origin to new MULTICAST_FRAME, move security check for certs into Network to remove redundant code and bug-proneness, more work on IncomingPacket...
12 years ago
Adam Ierymenko
2659427864
Multicaster needs to be global, not per-network, and a bunch of other stuff.
12 years ago
Adam Ierymenko
2d41055bdc
Some Network code cleanup.
12 years ago
Adam Ierymenko
050a0ce85d
.
12 years ago
Adam Ierymenko
81b12b6826
Rename the ubiquitous _r pointer to RuntimeEnvironment to RR just to be a little more consistent about using _ to denote private member variables.
12 years ago
Adam Ierymenko
557801a09e
Rename PacketDecoder to much more descriptive IncomingPacket
12 years ago
Adam Ierymenko
9180a30986
.
12 years ago
Adam Ierymenko
954f9cbc13
Yet more WIP on mulitcast algo...
12 years ago
Adam Ierymenko
c3cea55493
Some cleanup in PacketDecoder.
12 years ago
Adam Ierymenko
c30f9832b0
Packet decoder work for EXT_FRAME for bridging - GitHub issue #68
12 years ago
Adam Ierymenko
fb31f93c52
Protocol messages for bridging. GitHub issue #68
12 years ago
Adam Ierymenko
abc82d6a52
IPC changes and SocketManager changes all build!
12 years ago
Adam Ierymenko
0b75992737
Everything but the local config bus... blech.
12 years ago
Adam Ierymenko
b5c3a92be2
Boring stuff: update dates in copyrights across all files.
12 years ago
Adam Ierymenko
8b65b3e6d7
Yank PROBE stuff since it's not used and was a premature addition to the protocol.
12 years ago
Adam Ierymenko
10df5dcf70
Fix several things:
...
(1) The changes to path learning in the two previous releases were poorly thought out,
and this version should remedy that by introducing PROBE. This is basically a kind of
ECHO request and is used to authenticate endpoints that are not learned via a valid
request/response pair. Thus we will still passively learn endpoints, but securely.
(2) Turns out there was a security oversight in _doHELLO() that could have permitted...
well... I'm not sure it was exploitable to do anything particularly interesting since
a bad identity would be discarded anyway, but fix it just the same.
12 years ago
Adam Ierymenko
612c17240a
Dead code removal, fix for cleanup GitHub issue #28
12 years ago
Adam Ierymenko
f5d397e8c8
Pull in-band file transfer stuff. Toyed around with that idea, but it seems that updates for some platforms are big enough and there are enough reliability concerns that just using TCP/HTTP is safer and easier.
12 years ago
Adam Ierymenko
e4044eeb70
Finish stubbing out FILE_ stuff.
13 years ago
Adam Ierymenko
ca93b4a1ac
Clean up some stuff, including a few spots where exceptions were not being handled correctly.
13 years ago
Adam Ierymenko
ce14ba9004
Take the 0.6.0 opportunity to add flags to a few protocol verbs and do a bit more cleanup. Also fix it so certificates wont be accepted unless they are newer than existing ones.
13 years ago
Adam Ierymenko
46f868bd4f
Lots of cleanup, more work on certificates, some security fixes.
13 years ago
Adam Ierymenko
4267e7da93
Remove a whole bunch of now-unnecessary cruft from Topology and PacketDecoder.
13 years ago
Adam Ierymenko
0dca9964bf
Whew, it builds!
13 years ago
Adam Ierymenko
f3128a18fe
Work in progress...
13 years ago
Adam Ierymenko
d6414c9ff7
Windows compiles! (w/Visual Studio 2012) That's about all it does, but it's a start.
13 years ago
Adam Ierymenko
b9aeec9f29
Documentation improvements and some very minor pre-emptive security stuff.
13 years ago
Adam Ierymenko
439e602d5a
Fix a bunch of errors due to minor method signature changes, still a work in progress.
13 years ago
Adam Ierymenko
a53cfc9096
Network membership certificate work in progress... does not build yet.
13 years ago
Adam Ierymenko
b0a83093ce
Back out of RPC... blech. Have a better idea.
13 years ago