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
Adam Ierymenko
55616388ea
Check network ethernet type whitelist instead of hard-coded ethernet types.
13 years ago
Adam Ierymenko
b6248c7cb7
VERSION 0.4.4: multicast cleanup, Windows port work
...
In addition to a lot of Windows port work that isn't finished yet (and doesn't
affect the *nix platforms at all), this version contains quite a bit of multicast
cleanup and code simplification.
I also pulled rate limits for now, as it seems to be causing problems. More testing
on the testnet is going to be needed.
13 years ago
Adam Ierymenko
2efc9b31bd
Huge convoluted logic de-tangling in multicast propagation, supernodes now do random propagation for more efficient coverage with less bias in sparse graph cases.
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
3af55f4423
Add RateLimiter for rate limiting multicast, not tested yet.
13 years ago
Adam Ierymenko
499ac2699f
Bit of comment and if nesting cleanup in PacketDecoder.
13 years ago
Adam Ierymenko
28a73b620e
Bunch more debugging and loop closing on new netconf.
13 years ago
Adam Ierymenko
e73c4cb68b
Whole bunch of stuff: netconf, bug fixes, tweaks to ping and firewall opener timing code.
13 years ago
Adam Ierymenko
b9aeec9f29
Documentation improvements and some very minor pre-emptive security stuff.
13 years ago
Adam Ierymenko
bf5c07f79a
Scratch that... more work wiring up netconf. Got to handle OK.
13 years ago