Commit Graph

5288 Commits

Author SHA1 Message Date
Adam Ierymenko
c8a58b4b04 Use a faster method of fingerprinting identities. 2021-09-20 17:05:23 -07:00
Adam Ierymenko
565885a4c0 Remove ancient controller support.
# Conflicts:
#	RELEASE-NOTES.md
2021-09-20 15:41:57 -07:00
Adam Ierymenko
134d33c218 Add a bit of hardening in the network certificate of membership by incorporating a full hash of the identity to which it is issued. This means the recipient need not depend entirely on the root verifying identities properly to make sure impersonation is not occurring. 2021-09-20 15:40:55 -07:00
Adam Ierymenko
9cfb807fcb Don't assume roots validated the identity, just in case they did not. 2021-09-20 15:40:44 -07:00
Grant Limberg
46adc1f059 ifdef this out 2021-09-20 15:39:53 -07:00
Grant Limberg
9002555596 ensure count > 0 2021-09-20 15:39:44 -07:00
Grant Limberg
3b375b55c2 fix central docker launch without redis 2021-09-20 15:39:14 -07:00
Grant Limberg
c3a42bf590 remove heartbeat log 2021-09-02 16:46:42 -07:00
Grant Limberg
8b95afa96a logging 2021-09-02 16:32:40 -07:00
Grant Limberg
6a49a766ca logging 2021-09-02 16:22:59 -07:00
Adam Ierymenko
932584f8fc Merge branch 'dev' of github.com:zerotier/ZeroTierOne into dev 2021-09-02 17:56:18 -04:00
Adam Ierymenko
d7ba2957cd Tear down routes before devices when leaving a network or shutting down. 2021-09-02 17:56:06 -04:00
Grant Limberg
16ff14bda7 identify controller in pool stats 2021-09-02 13:48:08 -07:00
Grant Limberg
57c1d96b71 math 2021-09-02 12:48:49 -07:00
Grant Limberg
40f376e2b9 print db pool stats periodically 2021-09-02 12:45:26 -07:00
Adam Ierymenko
1a1d7d9ada Merge branch 'dev' of github.com:zerotier/ZeroTierOne into dev 2021-09-02 15:23:38 -04:00
Adam Ierymenko
d1c88971ae Possible Mac route borking fix. 2021-09-02 15:23:26 -04:00
Grant Limberg
dc61f78916 set psql application_name in startup script 2021-09-02 11:24:07 -07:00
Grant Limberg
a2ffe8c05e dont generate nonce for deleted members 2021-09-02 11:24:04 -07:00
Joseph Henry
e1af003e4f Consolidation of multipath logic. Better system separation 2021-09-01 21:37:49 -07:00
Adam Ierymenko
19391858d4 Version 1.7.2, almost 1.8.0 2021-09-01 22:01:41 -04:00
Adam Ierymenko
5005244d1b Mac install fixes, remove obsolete stuff, and write local.conf via API for new UI integration. 2021-09-01 21:55:54 -04:00
Adam Ierymenko
11b352458e Pick a new random secondary port if we are offline for more than path-timeout seconds (COMA problem workaround). 2021-08-31 16:47:00 -04:00
Joseph Henry
b6680b18e7 Merge pull request #1304 from skunkwerks/dev
BSD: add debug fprintf for all external commands
2021-08-30 10:11:53 -07:00
Adam Ierymenko
ec4c2aa12f versions 2021-08-26 11:13:13 -04:00
Adam Ierymenko
0e8c43cfdd Merge branch 'dev' of http://10.95.0.64/zerotier/ZeroTierOne into dev 2021-08-23 11:58:06 -04:00
Adam Ierymenko
958420ee44 Fix Windows slowness on API query bug. 2021-08-23 11:58:02 -04:00
Adam Ierymenko
2d8a54f05d Version bump -- still pre1.8 2021-08-23 11:57:12 -04:00
Grant Limberg
d0f4cfe6b4 print load status messages a little less often now that things go brrrrrrrrr 2021-08-20 10:34:00 -07:00
Grant Limberg
3ec23f92ec helps to add part of the query 2021-08-20 10:30:37 -07:00
Grant Limberg
6baac1b4e0 more query optimizations 2021-08-20 10:27:45 -07:00
Grant Limberg
1d8b8d8e9c optimize the controller build & ship workflow a bit 2021-08-20 09:22:44 -07:00
Grant Limberg
50b0b2e2e9 query optimization 2021-08-19 17:55:30 -07:00
Grant Limberg
20721491e8 kill some noisy logs 2021-08-19 13:03:56 -07:00
Grant Limberg
eec46a137e optimize data loading from psql on startup 2021-08-19 12:44:02 -07:00
Grant Limberg
9eae444104 kill some verbose logs 2021-08-19 09:21:52 -07:00
Adam Ierymenko
576b4f03a5 Adjust deauth time window and send revocation when SSO members expire. 2021-08-18 12:17:40 -04:00
Adam Ierymenko
2d0f76bb9c Make desktop UI project when making official release. 2021-08-13 21:40:22 -04:00
Adam Ierymenko
6492f4487b Merge branch 'dev' of http://git.int.zerotier.com/zerotier/ZeroTierOne into dev 2021-08-13 15:12:23 -04:00
Adam Ierymenko
126669b718 MTU fix 2021-08-13 15:12:07 -04:00
Adam Ierymenko
6fd45c1f9d Throw old WinUI in attic 2021-08-12 18:51:45 -04:00
Adam Ierymenko
4eb3b762d4 MacOS pkg update to reference DesktopUI project and add hostArchitecture flags to not require Rosetta even though the binaries are multiarch. 2021-08-11 15:05:51 -04:00
Adam Ierymenko
f24afca1ba Put old school MacUI in the attic. 2021-08-11 13:19:49 -04:00
Adam Ierymenko
461810b06a Move return so record gets created before URL. 2021-08-10 11:22:29 -04:00
Grant Limberg
20050662b2 Merge pull request #1430 from zerotier/mac-managed-route-issue-1104
Don't use v6 source addresses for v4 routes
2021-08-04 13:14:10 -07:00
Joseph Henry
2053415418 Fix erroneous listpeers last send and receive values 2021-08-04 12:16:26 -07:00
Grant Limberg
613d7b5ece fix backwards logic 2021-08-04 09:16:04 -07:00
Travis LaDuke
db29c3ac13 Don't use v6 source addresses for v4 routes
and vice versa.

For issue #1104

With some printf debugging, I was seeing:

here, src fe80::3c7a:2dff:fe0c:21ed, target 10.147.20.0, matchingPrefixBits 0, mostMatchingPrefixBits 0
here, src fd8b:d512:4fd6:255:3c99:932f:2fda:6eff, target 10.147.20.0, matchingPrefixBits 0, mostMatchingPrefixBits 0

and (matchingPrefixBits >= mostMatchingPrefixBits) would be true

Then on mac, somewhere downstream from there, the default route would
get messed up:

default via 92:29:f1:6f:2f:76 dev en0
2021-08-03 16:21:18 -07:00
Adam Ierymenko
c101d71d7c Tweak auth timeout notify. 2021-07-30 18:44:34 -04:00
Adam Ierymenko
63a44c9268 Fix feth max MTU sysctl. 2021-07-30 18:44:23 -04:00