Adam Ierymenko
f80ec871f6
Make EthernetTap creation occur in a background thread in Network since it's a time consuming operation on Windows. This fixes one of the last remaining Windows problems.
12 years ago
Adam Ierymenko
07f505971c
Windows build fixes.
12 years ago
Adam Ierymenko
60731e6d02
Update URLs for auto-update, check supernode version in one more place, delete pid before executing updater.
12 years ago
Adam Ierymenko
cc2a1444ae
TRACE output improvements and compile fix.
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
c8166b2db1
Bump version to 0.6.4 for testing, integrate software updater auto-check into PacketDecoder decode path and main loop.
12 years ago
Adam Ierymenko
92969b4426
Fix for GitHub issue #20 (untested)
12 years ago
Adam Ierymenko
026442f28f
docs
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
942cc0ca21
Certificate of membership works now... had to fix multicast propagation so COM is pushed with multicast, which makes tremendous sense in retrospect.
13 years ago
Adam Ierymenko
010616e3ae
Add some more TRACE output for certs.
13 years ago
Adam Ierymenko
2f00ae4fd7
Version 0.6.1: minor bug fix, DBM removal
...
This version removes the peer DBM present in earlier releases. It is not necessary for
regular clients and has been a source of problems.
There is a long-term identity cache that can be enabled by making a directory called
"iddb.d" in the home folder and restarting ZT1. This is probably something only our
supernodes would need, since regular nodes can easily WHOIS peers they've forgotten
about.
On shutdown, the peer database is dumped to disk. It's then restored on startup.
Peers that have not been used in a while are cleaned out, so this keeps this data
set small.
A DBM may re-appear later if it's needed, but for now it was YAGNI.
13 years ago
Adam Ierymenko
5e71e07f59
Add persistent identity caching for use on supernodes. Activate by just making an iddb.d directory in the ZeroTier home folder. Also clean up some obsolete cruft from makefiles.
13 years ago
Adam Ierymenko
fbf6ab5d4d
Bug fixes: inverted sense bug, printf format bug.
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
03b909603a
Clean up the awful Network::Config mess and break that out into NetworkConfig.
13 years ago
Adam Ierymenko
9f107dbd4e
Work in progress on cleaning up netconf mess in node code...
13 years ago
Adam Ierymenko
d0dbd869c9
Increase verbosity of multicast tracing and fix tap build problem / GitHub Issue #19
13 years ago
Adam Ierymenko
797bba04dd
Get rid of not used and maybe never to be used Filter code.
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
7e7e28f5f7
Add support for pushing network config refresh hints from a MEMORY queue table. That ways it will be possible for network changes to take effect almost immediately across all active peers.
13 years ago
Adam Ierymenko
46f868bd4f
Lots of cleanup, more work on certificates, some security fixes.
13 years ago
Adam Ierymenko
58fa6cab43
Auto-pushing of membership certs on: MULTICAST_FRAME,FRAME,MULTICAST_LIKE and on receipt of MULTICAST_LIKE.
13 years ago
Adam Ierymenko
dcbc9c8ddd
Rename error code for no membership certificate.
13 years ago
Adam Ierymenko
4267e7da93
Remove a whole bunch of now-unnecessary cruft from Topology and PacketDecoder.
13 years ago
Adam Ierymenko
bb4a96c630
Add more info to remote multicast trace (debug facility).
13 years ago
Adam Ierymenko
c7590634e8
Eliminate a lot of redundant WHOIS requests, clean up WHOIS clutter in TRACE, flesh out multicast tracing a bit.
13 years ago
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.
13 years ago
Adam Ierymenko
2cfa76fa8b
Multicast propagation is now working from non-supernodes, and working quite well. Time for some more simulation before 0.5.0!
13 years ago
Adam Ierymenko
4b6ec872c7
More multicast fixes.
13 years ago
Adam Ierymenko
676f391ccf
Multicast debug changes.
13 years ago
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.
13 years ago
Adam Ierymenko
1a76455986
Fix for multicast propagation to prevent buildup of frames ping-ponging between supernodes.
13 years ago
Adam Ierymenko
e72a1de0d5
Fix bug in next hop selection.
13 years ago
Adam Ierymenko
20832a0562
Send reset of OK(HELLO) in both places where it gets composed.
13 years ago
Adam Ierymenko
9db7939d38
Make new multicast depth and prefix bits parameters configurable.
13 years ago
Adam Ierymenko
4ecb9369b5
Fix for multicast propagation -- supernodes must always keep propagating. Also fix mac-tap build on new version of Xcode CL tools. Must use old llvm-g++ instead of clang for i686 -mkernel.
13 years ago
Adam Ierymenko
0dca9964bf
Whew, it builds!
13 years ago
Adam Ierymenko
4e010da54b
Work in progress...
13 years ago
Adam Ierymenko
24bad9f3d1
More work in progress in new multicast propagation...
13 years ago
Adam Ierymenko
f3128a18fe
Work in progress...
13 years ago
Adam Ierymenko
f9079a110e
Make network multicast breadth/depth parameters configurable on a per-net basis.
13 years ago
Adam Ierymenko
ceb024ab03
Integrating new crypto, work still in progress...
13 years ago
Adam Ierymenko
77965af288
Add new crypto: SHA512 and C25519 -- not integrated yet.
13 years ago
Adam Ierymenko
f6ad138561
Bit more of adding version to OK(HELLO)
13 years ago
Adam Ierymenko
d87a1d6b99
Add version info to OK(HELLO) so both sides know their version info.
13 years ago
Adam Ierymenko
553002e9d8
Reduce log noise, change to TRACE.
13 years ago
Adam Ierymenko
37931d8589
Multicast bandwidth accounting work in progress, and some config field changes and cleanup.
13 years ago
Adam Ierymenko
f3ad05347e
Improve code security posture by replacing sprintf with a safer function.
13 years ago