mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2026-09-22 15:29:03 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0efba79c7 | ||
|
|
5809941ae9 | ||
|
|
535ba8a207 | ||
|
|
43331d3fe8 | ||
|
|
9765ba334a | ||
|
|
0cd01b6ff8 | ||
|
|
5f85e33510 | ||
|
|
22301a4599 | ||
|
|
c8a907fd71 | ||
|
|
d01b1ffde5 | ||
|
|
f4e993c814 | ||
|
|
776ff46db7 | ||
|
|
9001ab5858 | ||
|
|
92e716d93d | ||
|
|
020bbed935 | ||
|
|
0c60963a94 | ||
|
|
d704f5f2d2 | ||
|
|
0ebd19c14a | ||
|
|
d4160afac8 | ||
|
|
fffb037873 | ||
|
|
1df5d0453d | ||
|
|
19d453cb90 | ||
|
|
6e7437a0d0 | ||
|
|
caf849fcba | ||
|
|
7533d244a9 | ||
|
|
0a52840fa3 | ||
|
|
a7d0905b74 | ||
|
|
d32a26f780 | ||
|
|
42ec780a6f | ||
|
|
4608880fb0 | ||
|
|
7492e2789f | ||
|
|
9564a8eaf6 | ||
|
|
f12c0e79c9 | ||
|
|
e4e0be979e | ||
|
|
86637cda9f | ||
|
|
94f41e2332 | ||
|
|
3d2a50f811 | ||
|
|
c2ffbb8627 | ||
|
|
54218f6c3c | ||
|
|
6fdbdf9272 | ||
|
|
3de7691af3 | ||
|
|
bbed93bcf4 | ||
|
|
8900b30b6e | ||
|
|
ae4fb799e4 | ||
|
|
3f1d1fb3c3 | ||
|
|
f0a23ae0ea | ||
|
|
c14f9cc247 | ||
|
|
e276b6463e | ||
|
|
74f2b78c04 | ||
|
|
40a9ebd078 | ||
|
|
8c1b73b29c | ||
|
|
6679a55693 | ||
|
|
1101c1d919 | ||
|
|
fcb529b348 | ||
|
|
680b1ca208 | ||
|
|
494cf4049e | ||
|
|
916077012e | ||
|
|
beb170e4fb | ||
|
|
a59912f3af | ||
|
|
610e594a50 | ||
|
|
b4e2547052 | ||
|
|
a9778549f2 | ||
|
|
78d9cee416 | ||
|
|
bbdb2aa672 | ||
|
|
574b24c082 | ||
|
|
874a187c7f | ||
|
|
e8fb443313 | ||
|
|
57b96af2c4 | ||
|
|
2ee358dbfc | ||
|
|
e3bb67d188 | ||
|
|
1bec8ddce4 | ||
|
|
f9b07c63db | ||
|
|
8828fc7520 | ||
|
|
978d8fcd4a | ||
|
|
51aadcf901 | ||
|
|
db952a050a | ||
|
|
f049740ae5 | ||
|
|
73ca9b6373 | ||
|
|
c6949aad2d | ||
|
|
e57d0fdccc | ||
|
|
82f383be43 | ||
|
|
26aaf253ac | ||
|
|
51715376bf | ||
|
|
ff95b0278c | ||
|
|
fe1fa20c6c | ||
|
|
a867fe404b | ||
|
|
d6e8a5f3ca | ||
|
|
4878d8ec15 | ||
|
|
f7019d9e80 | ||
|
|
6d8e1e8783 | ||
|
|
939ab43ceb | ||
|
|
d3d58ba8a7 | ||
|
|
f03fd57997 | ||
|
|
e74cd4b4ef | ||
|
|
f3dfd63634 | ||
|
|
5f5302e595 | ||
|
|
125ec622ca | ||
|
|
384e5b66de | ||
|
|
7e7723e98f | ||
|
|
4419734a7d | ||
|
|
f821db29f3 | ||
|
|
6c64f1816d | ||
|
|
34e2ad0dfc | ||
|
|
055b99c3cb | ||
|
|
531842dc6b | ||
|
|
d7f3c33d72 | ||
|
|
4e689998f9 | ||
|
|
cd2a4b709c | ||
|
|
d96aeac335 | ||
|
|
c594351bcc | ||
|
|
5f976d7430 | ||
|
|
f87326fc21 | ||
|
|
0574a70fac | ||
|
|
4e79804cd3 | ||
|
|
86d5264167 | ||
|
|
5bc4399a58 | ||
|
|
406bcf7d3f | ||
|
|
f17cc1c6d8 | ||
|
|
57077e4607 | ||
|
|
6304c85d3f | ||
|
|
a1992d76f2 | ||
|
|
98b07f7f3c | ||
|
|
6e1823ac81 | ||
|
|
640cc22749 | ||
|
|
9bab49d2f9 | ||
|
|
2751a6d56d | ||
|
|
07cb62a503 | ||
|
|
8a3b698407 | ||
|
|
0c71d658fb | ||
|
|
7e2d614975 | ||
|
|
09e4ab9aa1 | ||
|
|
2e1bc6e500 | ||
|
|
1aea096b63 | ||
|
|
30694f0b20 | ||
|
|
01b4cb64ee | ||
|
|
6fbd15f8b2 | ||
|
|
65c07afe05 | ||
|
|
e338c5f91d | ||
|
|
0b0b5da240 | ||
|
|
9c7ee5a21e | ||
|
|
f7b3ffe8a0 | ||
|
|
50aef368f6 | ||
|
|
a9c4ce38f0 | ||
|
|
bbc39d7648 | ||
|
|
d3e8e9629b | ||
|
|
1f0b3a32d5 | ||
|
|
0608704626 | ||
|
|
cb8e7b4d5e | ||
|
|
346fa4d7f4 | ||
|
|
7a22f01dd8 | ||
|
|
4704d115c4 | ||
|
|
12c621c230 | ||
|
|
cba65d897a | ||
|
|
e4a10cc510 | ||
|
|
249c27afd5 | ||
|
|
38cc89b2ca | ||
|
|
aeb1794be1 | ||
|
|
dae728124e | ||
|
|
cf30b1fcdf | ||
|
|
19bfef36f1 | ||
|
|
8d9464c414 | ||
|
|
ada611d597 | ||
|
|
f13886d343 | ||
|
|
520b0601db | ||
|
|
926ecf9640 | ||
|
|
c57198decd | ||
|
|
431716e249 | ||
|
|
694709f392 | ||
|
|
16613ab5fb | ||
|
|
c26bf45e28 | ||
|
|
23e5c7b38d | ||
|
|
382dd82eb6 | ||
|
|
f18d5b2efe | ||
|
|
0fb22df633 | ||
|
|
750e36993f | ||
|
|
f7f658605d | ||
|
|
192e5dbff8 | ||
|
|
ef224c3547 | ||
|
|
c12b68a6b2 | ||
|
|
4166d8ca35 | ||
|
|
53e7e950f1 | ||
|
|
0612879dec | ||
|
|
3b21f946e4 | ||
|
|
9f85371073 | ||
|
|
cb550ab4fe | ||
|
|
b8cbf08617 | ||
|
|
1613f42d00 | ||
|
|
e5d1243dd2 | ||
|
|
7fc9094d8e | ||
|
|
92c7070aa8 | ||
|
|
b68bca35db | ||
|
|
d97adc8789 | ||
|
|
f5014d7d71 | ||
|
|
4e88c80a22 | ||
|
|
a6203ed038 | ||
|
|
1db547d607 | ||
|
|
2cc4dc5a6f | ||
|
|
fac7dc9c91 | ||
|
|
508fa6a7fe | ||
|
|
71bdaa9508 | ||
|
|
459f1e7bfb | ||
|
|
0d8b8d8426 | ||
|
|
2d0dc62a53 | ||
|
|
0d8e134f9f | ||
|
|
c7d370c17f | ||
|
|
395d8b3139 | ||
|
|
b92ef67e56 | ||
|
|
5a8aa66641 | ||
|
|
e87ef18826 | ||
|
|
7b78d4f11f | ||
|
|
65ac61b2ea | ||
|
|
629a3a2a24 | ||
|
|
ee4783e3fb | ||
|
|
f2c69ede96 | ||
|
|
ceeb35eaac | ||
|
|
099bedd2e9 | ||
|
|
4177a11522 | ||
|
|
3d4a1b575e | ||
|
|
b1d60df44c | ||
|
|
7cf70d111a | ||
|
|
e564c56dce | ||
|
|
239c2540d6 | ||
|
|
c53d140145 | ||
|
|
12a6a2f2d2 | ||
|
|
9c903567bb | ||
|
|
6782dee64a | ||
|
|
302c15140e | ||
|
|
c666f92e35 | ||
|
|
eb42ef68ee | ||
|
|
52916eebcf | ||
|
|
f8014413a3 | ||
|
|
2d858b05ac | ||
|
|
b1fb020aea | ||
|
|
02ed84774c | ||
|
|
283e8d5bc0 | ||
|
|
f39e2e2a53 | ||
|
|
5bf5d5e9cb | ||
|
|
e51e212b95 | ||
|
|
6418d02572 | ||
|
|
49fa30d495 | ||
|
|
dd8b03a5c5 | ||
|
|
4d5983114c | ||
|
|
0a9c3b5571 | ||
|
|
180049a277 | ||
|
|
6ee201865b | ||
|
|
b1d94c9f93 | ||
|
|
a156a4dbe2 | ||
|
|
2cebe7a5e0 | ||
|
|
9cfc109527 | ||
|
|
64758c46b6 | ||
|
|
4352202349 | ||
|
|
ba07a60c44 | ||
|
|
72bfe0953a | ||
|
|
bab5647522 | ||
|
|
fcaf1d89c2 | ||
|
|
106dff0d53 | ||
|
|
174ba8884e | ||
|
|
1ce0dcf0ea | ||
|
|
1387e15c1b | ||
|
|
50e7ea088b | ||
|
|
59b7cbb591 | ||
|
|
23fe8975e7 | ||
|
|
a4bc40542b | ||
|
|
ee1dc16e8f | ||
|
|
1c04cc0485 | ||
|
|
2c682b4d1c | ||
|
|
6842490c1f | ||
|
|
ff5e22031a | ||
|
|
e3cf756785 | ||
|
|
7e6598e9ca | ||
|
|
48d2017629 | ||
|
|
e4823381c6 | ||
|
|
66feaeb519 | ||
|
|
8c6b833fb3 | ||
|
|
b62296a40b | ||
|
|
fc7728212f | ||
|
|
31785f7f6e | ||
|
|
ae65eb5105 | ||
|
|
727ccb1125 | ||
|
|
77ce238457 | ||
|
|
1685659e37 | ||
|
|
0f03d4ef51 | ||
|
|
bcf697cc2b | ||
|
|
5e2ea4a81a | ||
|
|
b9e1d53d7a | ||
|
|
ab0806a036 | ||
|
|
3a1ec07db0 | ||
|
|
d939d8d21d | ||
|
|
d9552fb120 | ||
|
|
4ecc0c59ca | ||
|
|
0655a1fcbe | ||
|
|
c8d0cf2c40 | ||
|
|
c692f2e740 | ||
|
|
a83c7c0d07 | ||
|
|
ba6fd16823 | ||
|
|
54893c35c1 | ||
|
|
495c5ce81d | ||
|
|
4cc773ec1b | ||
|
|
69ae35494e | ||
|
|
512c3af4ea | ||
|
|
d8f1c3dff7 | ||
|
|
0a11dd2d24 | ||
|
|
78ee7f6573 | ||
|
|
dab0fb9e05 | ||
|
|
e14d5d49a1 | ||
|
|
782b2b1514 | ||
|
|
a9582417e2 | ||
|
|
69922b6c39 | ||
|
|
6fc70f7c16 | ||
|
|
a274e774ee | ||
|
|
f23a43fb81 | ||
|
|
88997a0314 | ||
|
|
d2415dee00 | ||
|
|
53728b79b4 | ||
|
|
dff8c02cfe | ||
|
|
640ad577d1 | ||
|
|
cd63ecd3f3 | ||
|
|
f18158a52d | ||
|
|
84748aab51 | ||
|
|
3fadc64ee0 | ||
|
|
47594f7c99 | ||
|
|
2f20258807 | ||
|
|
47122a3804 | ||
|
|
1730f8f5b7 | ||
|
|
d258a75cd3 | ||
|
|
baa10c2995 | ||
|
|
207d6572e0 | ||
|
|
10264cec2f | ||
|
|
0ea1749c59 | ||
|
|
dd83c680e5 | ||
|
|
1a40f35fd4 | ||
|
|
8a99113c88 | ||
|
|
ada2ea3a6b | ||
|
|
355cce3938 | ||
|
|
9b2e08dd09 | ||
|
|
04cee3b8d3 | ||
|
|
c61440efea | ||
|
|
02d18af57d | ||
|
|
2225bb093a | ||
|
|
75a6a7baca | ||
|
|
6b130e8311 | ||
|
|
1b18923824 | ||
|
|
fc2ce439e2 | ||
|
|
5b3d9f9184 | ||
|
|
dd68c207f4 | ||
|
|
9a3c34b5b3 | ||
|
|
951d911531 | ||
|
|
4f2179b0df | ||
|
|
9b287392a4 | ||
|
|
aa06470cb6 | ||
|
|
d7b4f24a7a | ||
|
|
e8d11eb5c5 | ||
|
|
7f4da08ff7 | ||
|
|
1f9414a30f | ||
|
|
6015b529a0 | ||
|
|
76452b4e28 | ||
|
|
64b7d9ef82 | ||
|
|
7bc9666aac | ||
|
|
2a4a50b1da | ||
|
|
2ec88e8008 | ||
|
|
36049a940c | ||
|
|
952834f7f3 | ||
|
|
f9a9c2d009 | ||
|
|
fb71a6e2b4 | ||
|
|
5e6a2a17b0 | ||
|
|
92289c1981 | ||
|
|
99e2098a48 | ||
|
|
5fc1c1de28 | ||
|
|
2fac693243 | ||
|
|
e9b956ed71 | ||
|
|
236a952458 | ||
|
|
426b7c2c76 | ||
|
|
22780a8504 | ||
|
|
a437fd420c | ||
|
|
2d74c60d47 | ||
|
|
ceee56af51 | ||
|
|
d297d8fe2e | ||
|
|
f479b76772 | ||
|
|
73f7088b45 | ||
|
|
b3dd5c0e3a | ||
|
|
ee7ee22555 | ||
|
|
cf49e511a5 | ||
|
|
505b9c7f56 | ||
|
|
8c30b2b9f5 | ||
|
|
b9c1407013 | ||
|
|
d905607353 | ||
|
|
e5e90b1f71 | ||
|
|
d5ed025871 | ||
|
|
b55422a528 | ||
|
|
909a14fb48 | ||
|
|
107e3e4106 | ||
|
|
6ef247fb93 | ||
|
|
b8e46b835b | ||
|
|
0900fee5d9 | ||
|
|
1f26cb98de | ||
|
|
ceeb8ee0bc | ||
|
|
54c47a1e03 | ||
|
|
6bb855873d | ||
|
|
39db45e144 | ||
|
|
41c187ba12 | ||
|
|
d7c99728bc | ||
|
|
8e19188f49 | ||
|
|
625e3e8e25 | ||
|
|
fde99e2fcf | ||
|
|
132643cd4a | ||
|
|
faf7b81c01 | ||
|
|
bcc6799902 | ||
|
|
718e1d6c08 | ||
|
|
a9ce773584 | ||
|
|
d69bc4fb5e | ||
|
|
1b68d6dbdc | ||
|
|
62578a2162 | ||
|
|
9e80db0fd1 | ||
|
|
e8ab6adf89 | ||
|
|
7c184cf991 | ||
|
|
72def658d0 | ||
|
|
e7cd888c7d | ||
|
|
1205578935 | ||
|
|
4e77365e8d | ||
|
|
4f2a779769 | ||
|
|
cafbe44dde | ||
|
|
6234bfd8bf | ||
|
|
77796caba6 | ||
|
|
97f1d7ae2e | ||
|
|
487e89d4d0 | ||
|
|
fe5257df81 | ||
|
|
9161424c97 | ||
|
|
cdda0dd043 | ||
|
|
f4feccc626 | ||
|
|
44cb2f4efd | ||
|
|
cacb8fae0d | ||
|
|
fa99a5cf12 | ||
|
|
e700165eba | ||
|
|
8542ee59db | ||
|
|
76108671f6 | ||
|
|
8b0ce1cc00 | ||
|
|
0e88c73f68 | ||
|
|
ba0d73d102 | ||
|
|
d3ecd1d670 | ||
|
|
f9ae5938d0 | ||
|
|
a8ced184dc | ||
|
|
e7a2c6ecef | ||
|
|
a376bcc654 | ||
|
|
8e1ac9fb0c | ||
|
|
bc61357a44 | ||
|
|
f6d92eb737 | ||
|
|
48cadcd2fc | ||
|
|
bd63a840c7 | ||
|
|
aaf597f020 | ||
|
|
72bd3064a2 | ||
|
|
a1c316b940 | ||
|
|
02f84b225c | ||
|
|
6551c20005 | ||
|
|
a1e94154be | ||
|
|
4938e82795 | ||
|
|
7a94f63058 | ||
|
|
db0edf154c | ||
|
|
a1cd94a61d | ||
|
|
df48738ac9 | ||
|
|
d8f5cfdee4 | ||
|
|
95e5345cc3 | ||
|
|
ba5d0cc2f9 | ||
|
|
1d8ded3293 | ||
|
|
2487a8bede | ||
|
|
f1c0563c40 | ||
|
|
139c4b5633 | ||
|
|
645bf4a764 | ||
|
|
88a4a3b1ba | ||
|
|
6fabaae736 | ||
|
|
1b2cfd63e5 | ||
|
|
ff2b219abd | ||
|
|
33c3af752b | ||
|
|
f73a1d2d56 | ||
|
|
470ad39d0d | ||
|
|
5ad120208f | ||
|
|
b48a70db2e | ||
|
|
cd050b3423 | ||
|
|
eddbc7e757 | ||
|
|
8a62ba07e5 | ||
|
|
b3298a8f57 | ||
|
|
e5284771e4 | ||
|
|
5f611dad51 | ||
|
|
1c5fdb8a0a | ||
|
|
de4b9e9a16 | ||
|
|
57b5a33fbb | ||
|
|
3f4f7145a3 | ||
|
|
b959148447 | ||
|
|
855361b5b8 | ||
|
|
91c9f4cb20 | ||
|
|
e4896b257f | ||
|
|
592cac5815 | ||
|
|
4244cca48c | ||
|
|
179ab5220a | ||
|
|
d6bb1b72c3 | ||
|
|
3d9a5a4f91 | ||
|
|
683ba79ff0 | ||
|
|
0c69fc719f | ||
|
|
03b48a4ad4 | ||
|
|
aa71292265 | ||
|
|
d72eee6cf7 | ||
|
|
6bb19e7947 | ||
|
|
3d2518f799 | ||
|
|
5268909075 | ||
|
|
c62141fd98 | ||
|
|
ae303ee902 | ||
|
|
cfe0d0971f | ||
|
|
c5c8facc2d | ||
|
|
f78d6a8a93 | ||
|
|
78ef2c5f16 | ||
|
|
ec8e1178e5 | ||
|
|
4f3f471b4c | ||
|
|
e10325e133 | ||
|
|
ef46d3c97d | ||
|
|
a9c08c5975 | ||
|
|
c467c3b7e4 | ||
|
|
cdc0eaec3a | ||
|
|
a7cb738175 | ||
|
|
d1bb22a583 | ||
|
|
553d972de5 | ||
|
|
cc883cc3d8 | ||
|
|
c6a39ed927 | ||
|
|
df30255542 | ||
|
|
d5102539dd | ||
|
|
e3feaf3f5d | ||
|
|
25dc596397 | ||
|
|
0daff26fba | ||
|
|
94ba5b3fbe | ||
|
|
002f9bb105 | ||
|
|
e86b1146a6 | ||
|
|
d44fb3a2f6 | ||
|
|
1ef3069a7e | ||
|
|
f99b62c48d | ||
|
|
0fd45a640b | ||
|
|
0b0d03dbe2 | ||
|
|
533baf921f | ||
|
|
8e9767f3c6 | ||
|
|
27d4bedd73 | ||
|
|
c1c26ec73a | ||
|
|
8f592ff6e8 | ||
|
|
37629aaf87 | ||
|
|
d09d193715 | ||
|
|
010d0a7d56 | ||
|
|
902807ea50 | ||
|
|
d0224b3623 | ||
|
|
0f3148bda2 | ||
|
|
e3b1fc2ac0 | ||
|
|
6194d2af3d | ||
|
|
db87d95c1d | ||
|
|
47166c9614 | ||
|
|
ecacdf27a9 | ||
|
|
aad6f79efa | ||
|
|
0c00b83702 | ||
|
|
7320e26730 | ||
|
|
1520534660 | ||
|
|
6d6719da27 | ||
|
|
20085cd15b | ||
|
|
9b001823f6 | ||
|
|
ed4f84cc57 | ||
|
|
c8e66a2b45 | ||
|
|
6eb2e3ffa9 | ||
|
|
748ad8a978 | ||
|
|
d2f897f8de | ||
|
|
4b511d80a1 | ||
|
|
a74e9e1dd3 | ||
|
|
9c1a9f984b | ||
|
|
04c7adea07 | ||
|
|
5249ce8fb4 | ||
|
|
ebd865dbda | ||
|
|
d377ef01af | ||
|
|
393aa3c527 | ||
|
|
d7b6de57c5 | ||
|
|
05d4b0cd94 | ||
|
|
5dbafc2eeb | ||
|
|
a97918f812 | ||
|
|
22f86df606 | ||
|
|
712e8e828b | ||
|
|
7d3846bc49 | ||
|
|
9980526aaf | ||
|
|
1d2cb867b2 | ||
|
|
3859533e73 | ||
|
|
7ea7e1898a | ||
|
|
5e6a4e5f5e | ||
|
|
66dfc33de9 | ||
|
|
d56f740dc6 | ||
|
|
a109d341ef | ||
|
|
87b53d67c5 | ||
|
|
a577b8d381 | ||
|
|
136fddc7f1 | ||
|
|
ce0c87f8ff | ||
|
|
d79585d44d | ||
|
|
592b628523 | ||
|
|
39f886ad88 | ||
|
|
1d39be61b2 | ||
|
|
2bf9145ae6 | ||
|
|
127bcb02ff | ||
|
|
4430fc47c6 | ||
|
|
2b10a982e9 | ||
|
|
31bece7fa0 | ||
|
|
4436824faf | ||
|
|
dd92f1d03d | ||
|
|
b6f87565a9 | ||
|
|
0b909997b8 | ||
|
|
9d7ff26f25 | ||
|
|
06c866ceb4 | ||
|
|
fe19ad328c | ||
|
|
010dbc8b2b | ||
|
|
72653e54f9 | ||
|
|
93ec86a26e | ||
|
|
10185e92fa | ||
|
|
33b94e8478 | ||
|
|
2ee53b0e75 | ||
|
|
fb00f0f94c | ||
|
|
b679ebde3b | ||
|
|
f3ca08b0f1 | ||
|
|
946e413997 | ||
|
|
b475bf4a21 | ||
|
|
54fa73844c | ||
|
|
32f5a0ab18 | ||
|
|
e4135ffb35 | ||
|
|
b5b335a6f8 | ||
|
|
57ef31d51c | ||
|
|
61b413b57f | ||
|
|
d2c0203dc9 | ||
|
|
afba19e01c | ||
|
|
b989c03416 | ||
|
|
3361b4030b | ||
|
|
bdadd50251 | ||
|
|
d01f31197a | ||
|
|
8b82f1c609 | ||
|
|
de7e8a1ca4 | ||
|
|
aa2ee3f7be | ||
|
|
af4e79735c | ||
|
|
969e09210d | ||
|
|
cd7b571da0 | ||
|
|
0052877d2f | ||
|
|
23bb44f2d6 | ||
|
|
16f11e91d1 | ||
|
|
4b11566505 | ||
|
|
9ae49b5b85 | ||
|
|
c95bae2d73 | ||
|
|
e4b6611201 | ||
|
|
e6840a1863 | ||
|
|
78d5f1a803 | ||
|
|
42f28bce52 | ||
|
|
9a6c3e05ad | ||
|
|
cdc289fa9c | ||
|
|
672f17c6e9 | ||
|
|
723a9a6e9a | ||
|
|
59ba7c8bf5 | ||
|
|
78d548458b | ||
|
|
ac3e883c05 | ||
|
|
9ddc2a4331 | ||
|
|
435e4c4695 | ||
|
|
21f4a97c35 | ||
|
|
e0d63c50db | ||
|
|
803f74634a | ||
|
|
f85a630a64 | ||
|
|
43182f8f57 | ||
|
|
594cb1fad8 | ||
|
|
5eab6c2e5d | ||
|
|
3587aa1ea7 | ||
|
|
beb642faa5 | ||
|
|
31db768e4d | ||
|
|
d9e4ba1280 | ||
|
|
dcb1233b0d | ||
|
|
8a2ff0b31e | ||
|
|
be2881ae8d | ||
|
|
88cba48f45 | ||
|
|
9284e4edfe | ||
|
|
62a705af1c | ||
|
|
29ec7bf3a2 | ||
|
|
fc3f4fb988 | ||
|
|
60ff280dcb | ||
|
|
b378f5dcd7 | ||
|
|
e778d45128 | ||
|
|
5e11cf6378 | ||
|
|
5dbebc513a | ||
|
|
6d5a3cd2e2 | ||
|
|
f9ad80aa13 | ||
|
|
ed31cb76d6 | ||
|
|
eebd271bb1 | ||
|
|
ff74ec2482 | ||
|
|
49e31ca647 | ||
|
|
471108f2e4 | ||
|
|
2ceb162df0 | ||
|
|
915206405c | ||
|
|
5fa1d9796c | ||
|
|
77a1dd4737 | ||
|
|
9e7c778cc8 | ||
|
|
1d775af34a | ||
|
|
9f7919f71f | ||
|
|
0b3b994241 | ||
|
|
bc218f9414 | ||
|
|
f102fd7f92 | ||
|
|
64774d0d4f | ||
|
|
b88f573733 | ||
|
|
b211e61671 | ||
|
|
871cacf040 | ||
|
|
7c3984413e | ||
|
|
967ce78a57 | ||
|
|
923d3f1fe8 | ||
|
|
e11f42a089 | ||
|
|
9b8d9b7042 | ||
|
|
902e03bccc | ||
|
|
ec0e8a9a43 | ||
|
|
9e488ce322 | ||
|
|
c111bf3080 | ||
|
|
8f2a42d1ad | ||
|
|
9a475eeff9 | ||
|
|
91a37ec639 | ||
|
|
db1e2aae41 | ||
|
|
4a7c76a11b | ||
|
|
f1ed57c62d | ||
|
|
3b0969e3a5 | ||
|
|
35174a8766 | ||
|
|
d79f792e6f | ||
|
|
7b231b38b0 | ||
|
|
13263b8401 | ||
|
|
a604294b1b | ||
|
|
89d74cd293 | ||
|
|
56e5b34934 | ||
|
|
f43365e4ba | ||
|
|
4d071081bb | ||
|
|
b67b370dba | ||
|
|
0995c1dcaa | ||
|
|
7612bf3302 | ||
|
|
ba158d8dc6 | ||
|
|
a90f2249e8 | ||
|
|
d8f36db5dd | ||
|
|
fd460d93c4 | ||
|
|
989cbb4d8d | ||
|
|
e9007b1f56 | ||
|
|
0fb3d1d582 | ||
|
|
81910c1d92 | ||
|
|
d150f9b2bd | ||
|
|
1346e31a8e | ||
|
|
54f25b14ee | ||
|
|
0e4d3244b2 | ||
|
|
87e3b5f076 | ||
|
|
f8e18f2098 | ||
|
|
f81c67c0f0 | ||
|
|
4f4dd3446c | ||
|
|
f149dd9401 | ||
|
|
3a730c4a5c | ||
|
|
b03247ec3c | ||
|
|
8ebb49e972 | ||
|
|
84bfec8329 | ||
|
|
e1727d6297 | ||
|
|
e7bab66d29 | ||
|
|
ab25c96821 | ||
|
|
c6b0b07605 | ||
|
|
b5b583c397 | ||
|
|
56d969c709 | ||
|
|
3fedf16f35 | ||
|
|
5da56776d6 | ||
|
|
d58870a92d | ||
|
|
15ed7423ac | ||
|
|
d7e7ad4f88 | ||
|
|
823a1963f6 | ||
|
|
6513b21426 | ||
|
|
d4321cdd41 | ||
|
|
d301540d92 | ||
|
|
af5a3376f3 | ||
|
|
4aa52ffc77 | ||
|
|
47b62ece18 | ||
|
|
2aab26a08e | ||
|
|
565842b5ec | ||
|
|
a064e19b8a | ||
|
|
6fb49f68fc | ||
|
|
ef7faa7291 | ||
|
|
d5528e4e9a | ||
|
|
f730f65aaf | ||
|
|
dbd577c6b0 | ||
|
|
7ebb207005 | ||
|
|
e41d71cd19 | ||
|
|
0f6c53589e | ||
|
|
e2b1a7157e | ||
|
|
aaf69d1aff | ||
|
|
203b7e17de | ||
|
|
18c9dc8a06 | ||
|
|
ba07d1f91d | ||
|
|
9a2310395d | ||
|
|
218ace51a7 | ||
|
|
f09eedbd7a | ||
|
|
546e8a3b44 | ||
|
|
9a2b766aad | ||
|
|
24017659df | ||
|
|
c175a5fcd7 | ||
|
|
5ec8465374 | ||
|
|
6b5d6efe6c | ||
|
|
5bff70194b | ||
|
|
d94d04d7d5 | ||
|
|
bf2b9e3692 | ||
|
|
c8554504f3 | ||
|
|
0d066e3b08 | ||
|
|
6b12d86209 | ||
|
|
fe530548bb | ||
|
|
2eaff6d484 | ||
|
|
a54c2b438c | ||
|
|
890f6f0d35 | ||
|
|
bad4b72f82 | ||
|
|
4702c5b4ee | ||
|
|
4459d5ad54 | ||
|
|
39fb4b1b42 | ||
|
|
3864a2e111 | ||
|
|
697520f1f5 | ||
|
|
244f37179c | ||
|
|
4b3a47849d | ||
|
|
56faf774ff | ||
|
|
fa2bb91ae5 | ||
|
|
32478845b2 | ||
|
|
44f0e3097e | ||
|
|
289917e2b3 | ||
|
|
14fcb5867f | ||
|
|
cf59362c4a | ||
|
|
8472918559 | ||
|
|
ae8f51d608 | ||
|
|
4a7ee5472d | ||
|
|
8718b33a66 | ||
|
|
27f1155f1b | ||
|
|
84732fcb12 | ||
|
|
c6c578ce1d | ||
|
|
3c5e28a27d | ||
|
|
a39f6e9b4c | ||
|
|
adb7a88836 | ||
|
|
9892f7bb47 | ||
|
|
42ba70e79e | ||
|
|
cbaef66e82 | ||
|
|
97d915b06c | ||
|
|
3a3a23db34 | ||
|
|
d159e5ca44 | ||
|
|
d3bd10952e | ||
|
|
40078a99de | ||
|
|
0142c0d339 | ||
|
|
2e5de46584 | ||
|
|
1be55d6182 | ||
|
|
8ebcd44405 | ||
|
|
ccdd4ffda7 | ||
|
|
a6ed711492 | ||
|
|
3fb224cb22 | ||
|
|
5ca5af619d | ||
|
|
f61c5836b2 | ||
|
|
535b33b46e | ||
|
|
a8847de910 | ||
|
|
2231e878d5 | ||
|
|
299a7cab20 | ||
|
|
e48d6880c9 | ||
|
|
673c0c811e | ||
|
|
6e1da35c12 | ||
|
|
25f9c294dc | ||
|
|
2ea9f516e1 | ||
|
|
dbe1461886 | ||
|
|
7bea709747 | ||
|
|
6536474b94 | ||
|
|
ab4021dd0e | ||
|
|
1fcbb1fbed | ||
|
|
39333c9e8e | ||
|
|
1615ef1114 | ||
|
|
bf8d71e82c | ||
|
|
a4c2740852 | ||
|
|
afa1b8cb2d | ||
|
|
5447c01e1f | ||
|
|
b4bacd50a1 | ||
|
|
3c248ec61a | ||
|
|
78a8ceda0e | ||
|
|
14bf326de2 | ||
|
|
dc549b7f3c | ||
|
|
456c7ca661 | ||
|
|
bab75186f5 | ||
|
|
07b2a3818c | ||
|
|
15c6e2ec70 | ||
|
|
5bd8968eb8 | ||
|
|
4ad942522b | ||
|
|
b6c99ba3ef | ||
|
|
ee5bd57d40 | ||
|
|
6445337a32 | ||
|
|
f20c7303e8 | ||
|
|
c4c8ea62e2 | ||
|
|
71aadcbecb | ||
|
|
fd71ceeab5 | ||
|
|
e26bee45fb | ||
|
|
1b10d3413a | ||
|
|
f0fcd222a1 | ||
|
|
298e4a9f14 | ||
|
|
12d32b9311 | ||
|
|
226123ca08 | ||
|
|
5ebf5077f5 | ||
|
|
e1c930f1b7 | ||
|
|
c61ca1dea2 | ||
|
|
eea712a1ae | ||
|
|
1ebfca666d | ||
|
|
005b5aacaf | ||
|
|
7cf3d2caa1 | ||
|
|
e1f9f7b6dc | ||
|
|
6b0543ba27 | ||
|
|
3d948a930e | ||
|
|
6f3595bfd2 | ||
|
|
4524899e4d | ||
|
|
54206fd44d | ||
|
|
6d8c8f9fd1 | ||
|
|
00e1b0ed10 | ||
|
|
4f8feaa530 | ||
|
|
0324e6ca3d | ||
|
|
d773ab2806 | ||
|
|
8e76363ccf | ||
|
|
360c84e035 | ||
|
|
4868d21526 | ||
|
|
c802811ad2 | ||
|
|
5f63d5039b | ||
|
|
a454a37a6e | ||
|
|
a78d7311a6 | ||
|
|
08ff666e99 | ||
|
|
0d108d37f6 | ||
|
|
cae9041c2a | ||
|
|
330a07a554 | ||
|
|
7729cbe313 | ||
|
|
3e865067be | ||
|
|
b03c7b2f30 | ||
|
|
1ab9c43135 | ||
|
|
efcc24a76b | ||
|
|
4762311977 | ||
|
|
ab2ccb094a | ||
|
|
3c00cd0f88 | ||
|
|
a7718bae39 | ||
|
|
8ffae313fd | ||
|
|
8cced06a2d | ||
|
|
965399ba0c | ||
|
|
231cc11a62 | ||
|
|
1afa9e992c | ||
|
|
be543c4039 | ||
|
|
7e7462b39e | ||
|
|
d2ee37a3e0 | ||
|
|
1fcedb8d16 | ||
|
|
5c476391da | ||
|
|
6cb23e7069 | ||
|
|
c976b87ac7 | ||
|
|
af2bdfc421 | ||
|
|
b01c551197 | ||
|
|
df6d3ca66b | ||
|
|
5be7374f56 | ||
|
|
7300005398 | ||
|
|
6cd36edf45 | ||
|
|
604a0b1fe6 | ||
|
|
046d5bb9ff | ||
|
|
0e8442064e | ||
|
|
ea1f2762cf | ||
|
|
0f3095f130 | ||
|
|
7b7ec13349 | ||
|
|
7025c7090b | ||
|
|
7c12991f57 | ||
|
|
f444da80bc | ||
|
|
ed58467d12 | ||
|
|
c44c3b0530 | ||
|
|
46e9c1195c | ||
|
|
4730111492 | ||
|
|
a813e29491 | ||
|
|
344a25c133 | ||
|
|
772599a6fc | ||
|
|
3a3fe272bb | ||
|
|
88e3fe699c | ||
|
|
27d997a2e5 | ||
|
|
8809c6d122 | ||
|
|
6469aa9df9 | ||
|
|
ce6b5bc6f5 | ||
|
|
4f3775bb86 | ||
|
|
2cb760e0ac | ||
|
|
8850a8610a | ||
|
|
2d6a4e5974 | ||
|
|
93b4ac5cb2 | ||
|
|
e2509af163 | ||
|
|
3f4c166861 | ||
|
|
e53f63ca87 | ||
|
|
6a50291aa2 | ||
|
|
e59ed3e68f | ||
|
|
45c4ccb153 | ||
|
|
adeb7e7da0 | ||
|
|
f1c8706485 | ||
|
|
d5f4d381d0 | ||
|
|
69c5976775 | ||
|
|
988049f39b | ||
|
|
6651b8310e | ||
|
|
0843ed62fa | ||
|
|
d817039f79 | ||
|
|
f0794e09b7 | ||
|
|
9eaa3756f8 | ||
|
|
1eeebba2f7 | ||
|
|
2fc3d12fb6 | ||
|
|
4fe9a4fe83 | ||
|
|
01129d02b3 | ||
|
|
e1fbf7b34c | ||
|
|
7e90ab3534 | ||
|
|
5ee1ccd659 | ||
|
|
0b44919ba2 | ||
|
|
9f550292fe | ||
|
|
5ba7ca91c0 | ||
|
|
cc4bacc199 | ||
|
|
15c07c58b6 | ||
|
|
236fdb450c | ||
|
|
7e4b6b594b | ||
|
|
eac3667ec1 | ||
|
|
e35bca2c3c | ||
|
|
46049a1ef6 | ||
|
|
1f74dd4589 | ||
|
|
40d3993ceb | ||
|
|
0564bb3b35 | ||
|
|
29711e123f | ||
|
|
d3524f3609 | ||
|
|
d87f0293e3 | ||
|
|
5fadd8bdd2 | ||
|
|
3366b53247 | ||
|
|
68e549233d | ||
|
|
24fce0be86 | ||
|
|
740b34124f | ||
|
|
15402933bc | ||
|
|
8d0b2b781e | ||
|
|
83abc00aae | ||
|
|
5b6d27e659 | ||
|
|
ced8dfc639 | ||
|
|
8ef0e4bbaf | ||
|
|
0da9a9a3e0 | ||
|
|
cba37c6107 | ||
|
|
ea1da3321a | ||
|
|
34b146f28b | ||
|
|
fb46a546db | ||
|
|
debc4c45ee | ||
|
|
ab9afbc749 | ||
|
|
ef87069957 | ||
|
|
0d4109a9f1 | ||
|
|
16df2c3363 | ||
|
|
5ed5b22525 | ||
|
|
dccca7df1a | ||
|
|
1f6b13b7fd | ||
|
|
d23ade879b | ||
|
|
8afdb0aa65 | ||
|
|
daf8a66ced | ||
|
|
20278bb9e4 | ||
|
|
c7a4da3dd3 | ||
|
|
1908aa55f5 | ||
|
|
1c08f5e857 | ||
|
|
c9ee8612e4 | ||
|
|
a7d988745b | ||
|
|
a9f404aac3 | ||
|
|
ff9f8b1c2b | ||
|
|
b5c86b6ba4 | ||
|
|
407ad659ea | ||
|
|
f2d2df2b11 | ||
|
|
48a374c82c | ||
|
|
deee39343e | ||
|
|
8a2e8bd585 | ||
|
|
43780742b0 | ||
|
|
68a966fa55 | ||
|
|
43b3ec4b1a | ||
|
|
dcf1f70868 | ||
|
|
598ca48ed6 | ||
|
|
3790ebe77a | ||
|
|
d7f2287ce9 | ||
|
|
9f717e79ea | ||
|
|
26d43c9b06 | ||
|
|
8682c90c7d | ||
|
|
d063f583ee | ||
|
|
eebcf08084 | ||
|
|
01aa469591 | ||
|
|
4992ac2d9f | ||
|
|
412979ba8f | ||
|
|
4f8253dcdb | ||
|
|
4931e44998 | ||
|
|
d1101441b3 | ||
|
|
e8f6b4b5d3 | ||
|
|
94263ffcc1 | ||
|
|
a3bdae9735 | ||
|
|
d5e6f59004 | ||
|
|
22271f2a49 | ||
|
|
8b6d23b9f6 | ||
|
|
25056de5d3 | ||
|
|
994b25af4e | ||
|
|
74afef8eb1 | ||
|
|
54489a7f61 | ||
|
|
8e3004591b | ||
|
|
2ff2a8fd9a | ||
|
|
c2a01f6db4 | ||
|
|
7a00036954 | ||
|
|
914c42537c | ||
|
|
cb63babac4 | ||
|
|
ac1c127b68 | ||
|
|
cb82193333 | ||
|
|
f0636ffd4a | ||
|
|
51a420671f | ||
|
|
77c2bf3ad9 | ||
|
|
7223685b96 | ||
|
|
e7dff1c785 | ||
|
|
a5383d83d8 | ||
|
|
a3c7627acf | ||
|
|
297b1b4258 | ||
|
|
35ac995d05 | ||
|
|
6bd5aba4fa | ||
|
|
fb5217761b | ||
|
|
90f3e94565 | ||
|
|
ded5a53a6c | ||
|
|
d637988ccf | ||
|
|
858e8c5217 | ||
|
|
df1ce856c9 | ||
|
|
b5e0d014ab | ||
|
|
5eaf397a94 | ||
|
|
1814016eb7 | ||
|
|
6ecb42b031 | ||
|
|
584228b2b5 | ||
|
|
cd3683f2ba | ||
|
|
347ebcd899 | ||
|
|
e52c2c41ec | ||
|
|
95ff057e04 | ||
|
|
60bc291414 | ||
|
|
c476285bd6 | ||
|
|
63e8ad4cc3 | ||
|
|
2cdda38dc4 | ||
|
|
ccea3d04d6 | ||
|
|
90bd3e07a0 | ||
|
|
8e3463d47a | ||
|
|
8d594f8b53 | ||
|
|
5f4df0c6a9 | ||
|
|
0ee4d3554a | ||
|
|
0a7a33ef8f | ||
|
|
32fa061700 | ||
|
|
7036831203 | ||
|
|
68b4ca9b31 | ||
|
|
0dfc08b317 | ||
|
|
77f7dcf40a | ||
|
|
9a3c652a51 | ||
|
|
6db47de25e | ||
|
|
b0d888d235 | ||
|
|
af53e63ae2 | ||
|
|
35d5ed9c2b | ||
|
|
9827b8991d | ||
|
|
4dce71879f | ||
|
|
727fb197d8 | ||
|
|
c2f10a52de | ||
|
|
cf2ec0797e | ||
|
|
6443049f86 | ||
|
|
44bee4e3ff | ||
|
|
212a5af9a5 | ||
|
|
1cadbfb4d1 | ||
|
|
4729fec2eb | ||
|
|
f119c4a456 | ||
|
|
3e261fb999 | ||
|
|
0fd3afe2c8 | ||
|
|
9dc507c9ae | ||
|
|
5d37eabb59 | ||
|
|
169664ffc2 | ||
|
|
4c0a7c0fb2 | ||
|
|
faa9a06bf5 | ||
|
|
183434d30e | ||
|
|
c84ce76c59 | ||
|
|
1833c61556 | ||
|
|
ba78676ace | ||
|
|
0d37b7b665 | ||
|
|
1254dece5b | ||
|
|
b7ebf6edbf | ||
|
|
b72847d504 | ||
|
|
168b86fdcd | ||
|
|
a13f4d8353 | ||
|
|
cc808cc2dd | ||
|
|
ce001198d8 | ||
|
|
c0639ccd37 | ||
|
|
58701c1ca8 | ||
|
|
402d99ea8d | ||
|
|
b08ca49580 | ||
|
|
bd15262e54 | ||
|
|
3cb2e1197f | ||
|
|
7762cd680b | ||
|
|
c30f74987f | ||
|
|
628ef14d80 | ||
|
|
bc48a097f8 | ||
|
|
dd21c8a577 | ||
|
|
7d906df805 | ||
|
|
d166b494ee | ||
|
|
81959f14af | ||
|
|
2300f3c92b | ||
|
|
73fd934fec | ||
|
|
a7b635a980 | ||
|
|
91b8d6f34f | ||
|
|
c9d7845fea | ||
|
|
0b0cda2be4 | ||
|
|
e1310a764a | ||
|
|
dbf3e6c3c9 | ||
|
|
dee7f75f7e | ||
|
|
774c7e0ea5 | ||
|
|
4d498b3765 | ||
|
|
bcd05fbdfa | ||
|
|
2ba9343607 | ||
|
|
8ae07fb9c9 | ||
|
|
13682bd919 | ||
|
|
b5cab8afaa | ||
|
|
c15c9775bd | ||
|
|
51cf49a24f | ||
|
|
00fd9c3a15 | ||
|
|
8007ca56aa | ||
|
|
8d7f851b4e | ||
|
|
5b13b282ed | ||
|
|
d965768004 | ||
|
|
a91187e60e | ||
|
|
179324e44a | ||
|
|
c6dba50e35 | ||
|
|
b51d68a419 | ||
|
|
a0db48571d | ||
|
|
4d7f625aa1 | ||
|
|
e2f783ebbd | ||
|
|
7a12d8193b | ||
|
|
4d9b74b171 | ||
|
|
37d139177d | ||
|
|
8a7753cfe3 | ||
|
|
331382cf2f | ||
|
|
98152d974a | ||
|
|
56febbf2ba | ||
|
|
5cf410490e | ||
|
|
404a0bbddd | ||
|
|
f057bb63cd | ||
|
|
7e6e56e2bc | ||
|
|
67cb03742e | ||
|
|
a08246ce5d | ||
|
|
f54d5e9e8f | ||
|
|
91940cbcf5 | ||
|
|
77bd8aacd1 | ||
|
|
ecc1324bb0 | ||
|
|
d3b0081447 | ||
|
|
22e44c762b | ||
|
|
78e5a00a68 | ||
|
|
b9a4d138fc | ||
|
|
36a9aff283 | ||
|
|
e1755e569e | ||
|
|
ae374a78fc | ||
|
|
62befe006d | ||
|
|
1e6e112806 | ||
|
|
830250759c | ||
|
|
13100b245c | ||
|
|
4929be08f7 | ||
|
|
088bbd1c08 | ||
|
|
7404eb46c4 | ||
|
|
eaf6d6c938 | ||
|
|
02d288e9d4 | ||
|
|
6f15c4a561 | ||
|
|
ae491c277e | ||
|
|
ebe7e15475 | ||
|
|
dced40361b | ||
|
|
faf864b8a2 | ||
|
|
8a23d764de | ||
|
|
f21af60a13 | ||
|
|
10564d8e14 | ||
|
|
095aef5f30 | ||
|
|
145ac31c8a | ||
|
|
b7a5f783ba | ||
|
|
3d25a2ea02 | ||
|
|
76b785c90f | ||
|
|
b3073f44a2 | ||
|
|
bcdd158ad8 | ||
|
|
693ac4e86c | ||
|
|
6320879fe1 | ||
|
|
2afe3d89d0 | ||
|
|
8a15b42dab | ||
|
|
4b9e84f42f | ||
|
|
ba87640e4c | ||
|
|
a5400e0162 | ||
|
|
bdc3b0834b | ||
|
|
1a285e5342 | ||
|
|
8912515011 | ||
|
|
6ec3464ee9 | ||
|
|
4b5e43ab0d | ||
|
|
a6d9ae3a36 | ||
|
|
34e7c8652a | ||
|
|
1861f67fa7 | ||
|
|
b5e9d3f6f4 | ||
|
|
9785fde32a | ||
|
|
9657675755 | ||
|
|
5d7174b162 | ||
|
|
cdb5ceac7b | ||
|
|
23391ff9da | ||
|
|
3f2b21ce71 | ||
|
|
6535730255 | ||
|
|
765082fdb6 | ||
|
|
aff62e9e10 | ||
|
|
2d598dd433 | ||
|
|
f86e9b7df2 | ||
|
|
1a89694980 | ||
|
|
0e6065e3d5 | ||
|
|
a156fec25a | ||
|
|
fe725f9995 | ||
|
|
58207b30d1 | ||
|
|
f4192d7b9e | ||
|
|
e747692727 | ||
|
|
d786c5265f | ||
|
|
ba0a45365c | ||
|
|
decb4261d4 | ||
|
|
b0971e3a01 | ||
|
|
583cd25506 | ||
|
|
1beacc8c32 | ||
|
|
9f880d07ab | ||
|
|
3fc11e2278 | ||
|
|
1756e8b0f2 | ||
|
|
d57e343245 | ||
|
|
7e17a2072c | ||
|
|
9c94d6527a | ||
|
|
5da4fd2aef | ||
|
|
e621058cfd | ||
|
|
f2e2632ae7 | ||
|
|
35d1736c97 | ||
|
|
3c534abc99 | ||
|
|
c3deedd6fd | ||
|
|
b256111a17 | ||
|
|
b5a90a437b | ||
|
|
6d114b7480 | ||
|
|
c8f85ffec9 | ||
|
|
bae0060552 | ||
|
|
c8750e5812 | ||
|
|
89cb0e260a | ||
|
|
2c1a8524f0 | ||
|
|
b085329bca | ||
|
|
188f8021f8 | ||
|
|
975bcb8aff | ||
|
|
51e74f8d4f | ||
|
|
b4f3dfc347 | ||
|
|
41328eef94 | ||
|
|
59cf2ea341 | ||
|
|
67d472424d | ||
|
|
1d27adb102 | ||
|
|
940c0f2b93 | ||
|
|
d5620288d5 | ||
|
|
da30d2898e | ||
|
|
40198d6c13 | ||
|
|
4653ebc97f | ||
|
|
acd6978a30 | ||
|
|
ccbd6f97cd | ||
|
|
b4a8057994 | ||
|
|
225c2b095b | ||
|
|
0582338015 |
No files matched your search
+38
-4
@@ -9,6 +9,8 @@
|
||||
.DS_Store
|
||||
.Apple*
|
||||
Thumbs.db
|
||||
@eaDir
|
||||
._*
|
||||
|
||||
# Windows build droppings
|
||||
/windows/ZeroTierOne.sdf
|
||||
@@ -25,10 +27,20 @@ Thumbs.db
|
||||
/windows/Release
|
||||
/windows/WebUIWrapper/bin
|
||||
/windows/WebUIWrapper/obj
|
||||
/windows/lib
|
||||
/ext/installfiles/windows/ZeroTier One-SetupFiles
|
||||
/ext/installfiles/windows/Prerequisites
|
||||
/ext/installfiles/windows/*-cache
|
||||
/ZeroTier One.msi
|
||||
/windows/.vs
|
||||
*.vcxproj.backup
|
||||
/windows/TapDriver6/Win7Debug
|
||||
/windows/TapDriver6/win7Release
|
||||
/windows/*.db
|
||||
/windows/*.opendb
|
||||
enc_temp_folder
|
||||
/windows/copyutil/bin
|
||||
/windows/copyutil/obj
|
||||
|
||||
# *nix/Mac build droppings
|
||||
/build-*
|
||||
@@ -49,7 +61,7 @@ zt1-src.tar.gz
|
||||
*.pid
|
||||
*.pkg
|
||||
*.o
|
||||
*.a
|
||||
/*.a
|
||||
*.dylib
|
||||
*.so
|
||||
*.so.*
|
||||
@@ -59,16 +71,15 @@ zt1-src.tar.gz
|
||||
*.rpm
|
||||
*.autosave
|
||||
*.tmp
|
||||
doc/*.1
|
||||
doc/*.2
|
||||
doc/*.8
|
||||
.depend
|
||||
node_modules
|
||||
zt1_update_*
|
||||
debian/files
|
||||
debian/zerotier-one
|
||||
debian/zerotier-one*.debhelper
|
||||
debian/*.log
|
||||
debian/zerotier-one.substvars
|
||||
root-watcher/config.json
|
||||
|
||||
# Java/Android/JNI build droppings
|
||||
java/obj/
|
||||
@@ -82,3 +93,26 @@ java/build_win32/
|
||||
windows/WinUI/obj/
|
||||
windows/WinUI/bin/
|
||||
windows/ZeroTierOne/Debug/
|
||||
/ext/installfiles/windows/chocolatey/zerotier-one/*.nupkg
|
||||
|
||||
# Miscellaneous mac/Xcode droppings
|
||||
.DS_Store
|
||||
.Trashes
|
||||
*.swp
|
||||
*~.nib
|
||||
DerivedData/
|
||||
build/
|
||||
*.pbxuser
|
||||
*.mode1v3
|
||||
*.mode2v3
|
||||
*.perspectivev3
|
||||
!default.pbxuser
|
||||
!default.mode1v3
|
||||
!default.mode2v3
|
||||
!default.perspectivev3
|
||||
*.xccheckout
|
||||
xcuserdata/
|
||||
ext/librethinkdbxx/build
|
||||
.vscode
|
||||
__pycache__
|
||||
*~
|
||||
+12
-19
@@ -25,13 +25,13 @@
|
||||
|
||||
## Third-Party Code
|
||||
|
||||
These are included in ext/ for platforms that do not have them available in common repositories. Otherwise they may be linked and the package may ship with them as dependencies.
|
||||
ZeroTier includes the following third party code, either in ext/ or incorporated into the ZeroTier core.
|
||||
|
||||
* LZ4 compression algorithm by Yann Collet
|
||||
|
||||
* Files: ext/lz4/*
|
||||
* Files: node/Packet.cpp (bundled within anonymous namespace)
|
||||
* Home page: http://code.google.com/p/lz4/
|
||||
* License grant: BSD attribution
|
||||
* License grant: BSD 2-clause
|
||||
|
||||
* http-parser by Joyent, Inc. (many authors)
|
||||
|
||||
@@ -39,11 +39,11 @@ These are included in ext/ for platforms that do not have them available in comm
|
||||
* Home page: https://github.com/joyent/http-parser/
|
||||
* License grant: MIT/Expat
|
||||
|
||||
* json-parser by James McLaughlin
|
||||
* C++11 json (nlohmann/json) by Niels Lohmann
|
||||
|
||||
* Files: ext/json-parser/*
|
||||
* Home page: https://github.com/udp/json-parser/
|
||||
* License grant: BSD attribution
|
||||
* Files: ext/json/*
|
||||
* Home page: https://github.com/nlohmann/json
|
||||
* License grant: MIT
|
||||
|
||||
* TunTapOSX by Mattias Nissler
|
||||
|
||||
@@ -55,26 +55,19 @@ These are included in ext/ for platforms that do not have them available in comm
|
||||
* tap-windows6 by the OpenVPN project
|
||||
|
||||
* Files: windows/TapDriver6/*
|
||||
* Home page:
|
||||
https://github.com/OpenVPN/tap-windows6/
|
||||
* Home page: https://github.com/OpenVPN/tap-windows6/
|
||||
* License grant: GNU GPL v2
|
||||
* ZeroTier Modifications: change name of driver to ZeroTier, add ioctl() to get L2 multicast memberships (source is in ext/ and modifications inherit GPL)
|
||||
|
||||
* Salsa20 stream cipher, Curve25519 elliptic curve cipher, Ed25519
|
||||
digital signature algorithm, and Poly1305 MAC algorithm, all by
|
||||
Daniel J. Bernstein
|
||||
* Salsa20 stream cipher, Curve25519 elliptic curve cipher, Ed25519 digital signature algorithm, and Poly1305 MAC algorithm, all by Daniel J. Bernstein
|
||||
|
||||
* Files:
|
||||
node/Salsa20.hpp
|
||||
node/C25519.hpp
|
||||
node/Poly1305.hpp
|
||||
* Files: node/Salsa20.* node/C25519.* node/Poly1305.*
|
||||
* Home page: http://cr.yp.to/
|
||||
* License grant: public domain
|
||||
* ZeroTier Modifications: slight cryptographically-irrelevant modifications for inclusion into ZeroTier core
|
||||
|
||||
* MiniUPNPC and libnatpmp by Thomas Bernard
|
||||
|
||||
* Files:
|
||||
ext/libnatpmp/*
|
||||
ext/miniupnpc/*
|
||||
* Files: ext/libnatpmp/* ext/miniupnpc/*
|
||||
* Home page: http://miniupnp.free.fr/
|
||||
* License grant: BSD attribution no-endorsement
|
||||
@@ -0,0 +1,12 @@
|
||||
# CMake build script for libzerotiercore.a
|
||||
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
project (zerotiercore)
|
||||
|
||||
set (PROJ_DIR ${PROJECT_SOURCE_DIR})
|
||||
set (ZT_DEFS -std=c++11)
|
||||
|
||||
file(GLOB core_src_glob ${PROJ_DIR}/node/*.cpp)
|
||||
add_library(zerotiercore STATIC ${core_src_glob})
|
||||
|
||||
target_compile_options(zerotiercore PRIVATE ${ZT_DEFS})
|
||||
@@ -1,5 +1,5 @@
|
||||
ZeroTier One, an endpoint server for the ZeroTier virtual network layer.
|
||||
Copyright © 2011–2016 ZeroTier, Inc.
|
||||
Copyright © 2011–2018 ZeroTier, Inc.
|
||||
|
||||
ZeroTier One is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
Vendored
+84
@@ -0,0 +1,84 @@
|
||||
#!/usr/bin/env groovy
|
||||
|
||||
node('master') {
|
||||
checkout scm
|
||||
|
||||
def changelog = getChangeLog currentBuild
|
||||
|
||||
mattermostSend "Building ${env.JOB_NAME} #${env.BUILD_NUMBER} \n Change Log: \n ${changelog}"
|
||||
}
|
||||
|
||||
parallel 'centos7': {
|
||||
node('centos7') {
|
||||
try {
|
||||
checkout scm
|
||||
|
||||
stage('Build Centos 7') {
|
||||
sh 'make -f make-linux.mk'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
mattermostSend color: '#ff0000', message: "${env.JOB_NAME} broken on Centos 7 (<${env.BUILD_URL}|Open>)"
|
||||
|
||||
throw err
|
||||
}
|
||||
}
|
||||
}, 'android-ndk': {
|
||||
node('android-ndk') {
|
||||
try {
|
||||
checkout scm
|
||||
|
||||
stage('Build Android NDK') {
|
||||
sh "/android/android-ndk-r15b/ndk-build -C $WORKSPACE/java ZT1=${WORKSPACE}"
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
mattermostSend color: '#ff0000', message: "${env.JOB_NAME} broken on Android NDK (<${env.BUILD_URL}|Open>)"
|
||||
|
||||
throw err
|
||||
}
|
||||
}
|
||||
}, 'macOS': {
|
||||
node('macOS') {
|
||||
try {
|
||||
checkout scm
|
||||
|
||||
stage('Build macOS') {
|
||||
sh 'make -f make-mac.mk'
|
||||
}
|
||||
|
||||
stage('Build macOS UI') {
|
||||
sh 'cd macui && xcodebuild -target "ZeroTier One" -configuration Debug'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
mattermostSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
|
||||
throw err
|
||||
}
|
||||
}
|
||||
}, 'windows': {
|
||||
node('windows') {
|
||||
try {
|
||||
checkout scm
|
||||
|
||||
stage('Build Windows') {
|
||||
bat '''CALL "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat" amd64
|
||||
git clean -dfx
|
||||
msbuild windows\\ZeroTierOne.sln
|
||||
'''
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
mattermostSend color: '#ff0000', message: "${env.JOB_NAME} broken on Windows (<${env.BUILD_URL}|Open>)"
|
||||
|
||||
throw err
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mattermostSend color: "#00ff00", message: "${env.JOB_NAME} #${env.BUILD_NUMBER} Complete (<${env.BUILD_URL}|Show More...>)"
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
ZeroTier One - Network Virtualization Everywhere
|
||||
Copyright (C) 2011-2017 ZeroTier, Inc. https://www.zerotier.com/
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
See LICENSE.GPL-3 for the full GNU GPL v3 license.
|
||||
|
||||
--
|
||||
|
||||
You can be released from the requirements of the license by purchasing
|
||||
a commercial license. Buying such a license is mandatory as soon as you
|
||||
develop commercial closed-source software that incorporates or links
|
||||
directly against ZeroTier software without disclosing the source code
|
||||
of your own application.
|
||||
|
||||
--
|
||||
|
||||
The above license does not apply to third party code included with or
|
||||
linked against by ZeroTier software. See the third party code section
|
||||
of the AUTHORS.md for an index of third party software included in
|
||||
this software repository.
|
||||
|
||||
Licenses for third party code are all relatively permissive: MIT,
|
||||
BSD, and public domain. The only exception is the tap-windows driver
|
||||
which is under the GPLv2, but this is only needed to produce the
|
||||
binary tap device driver used by the ZeroTier service on Windows.
|
||||
@@ -11,8 +11,18 @@ ifeq ($(OSTYPE),Linux)
|
||||
endif
|
||||
|
||||
ifeq ($(OSTYPE),FreeBSD)
|
||||
include make-freebsd.mk
|
||||
CC=clang
|
||||
CXX=clang++
|
||||
ZT_BUILD_PLATFORM=7
|
||||
include make-bsd.mk
|
||||
endif
|
||||
ifeq ($(OSTYPE),OpenBSD)
|
||||
include make-freebsd.mk
|
||||
CC=egcc
|
||||
CXX=eg++
|
||||
ZT_BUILD_PLATFORM=9
|
||||
include make-bsd.mk
|
||||
endif
|
||||
|
||||
ifeq ($(OSTYPE),NetBSD)
|
||||
include make-netbsd.mk
|
||||
endif
|
||||
@@ -0,0 +1,49 @@
|
||||
ZeroTier Official Release Steps
|
||||
======
|
||||
|
||||
This is mostly for ZeroTier internal use, but others who want to do builds might find it helpful.
|
||||
|
||||
Note: Many of these steps will require GPG and other signing keys that are kept in cold storage and must be mounted.
|
||||
|
||||
# Bumping the Version and Preparing Installers
|
||||
|
||||
The version must be incremented in all of the following files:
|
||||
|
||||
/version.h
|
||||
/zerotier-one.spec
|
||||
/debian/changelog
|
||||
/ext/installfiles/mac/ZeroTier One.pkgproj
|
||||
/ext/installfiles/windows/chocolatey/zerotier-one.nuspec
|
||||
/ext/installfiles/windows/ZeroTier One.aip
|
||||
/windows/WinUI/AboutView.xaml
|
||||
|
||||
The final .AIP file can only be edited on Windows with [Advanced Installer Enterprise](http://www.advancedinstaller.com/). In addition to incrementing the version be sure that a new product code is generated. (The "upgrade code" GUID on the other hand must never change.)
|
||||
|
||||
# Building for Supported Platforms
|
||||
|
||||
## Macintosh
|
||||
|
||||
Mac's easy. Just type:
|
||||
|
||||
make official
|
||||
|
||||
You will need [Packages](http://s.sudre.free.fr/Software/Packages/about.html) and our release signing key in the keychain.
|
||||
|
||||
## Linux
|
||||
|
||||
See `LinuxBuild` environment on `linux-build` VM and use: `chroots/mount-build.sh`, `chroots/build.sh`, and the scripts in `build/` to make APT and RPM repositories.
|
||||
|
||||
## Windows
|
||||
|
||||
First load the Visual Studio solution and rebuild the UI and ZeroTier One in both x64 and i386 `Release` mode. Then load [Advanced Installer Enterprise](http://www.advancedinstaller.com/), check that the version is correct, and build. The build will fail if any build artifacts are missing, and Windows must have our product singing key (from DigiCert) available to sign the resulting MSI file. The MSI must then be tested on at least a few different CLEAN Windows VMs to ensure that the installer is valid and properly signed.
|
||||
|
||||
*After the MSI is published to download.zerotier.com in the proper RELEASE/#.#.#/dist subfolder for its version* the Chocolatey package must be rebuilt and published. Open a command prompt, change to `ext/installfiles/windows/chocolatey`, and type `choco pack`. Then use `choco push` to push it to Chocolatey (API key required).
|
||||
|
||||
choco pack
|
||||
choco push zerotier-one.#.#.#.nupkg -s https://chocolatey.org/
|
||||
|
||||
Note that this does not cover rebuilding the drivers or their containing MSI projects, as this is typically not necessary and they are shipped in binary form in the repository for convenience.
|
||||
|
||||
## iOS, Android
|
||||
|
||||
... no docs here yet since this is done entirely out of band with regular installs.
|
||||
@@ -1,52 +1,65 @@
|
||||
ZeroTier - A Planetary Ethernet Switch
|
||||
======
|
||||
|
||||
ZeroTier is a software-based managed Ethernet switch for planet Earth.
|
||||
ZeroTier is a smart programmable Ethernet switch for planet Earth.
|
||||
|
||||
It erases the LAN/WAN distinction and makes VPNs, tunnels, proxies, and other kludges arising from the inflexible nature of physical networks obsolete. Everything is encrypted end-to-end and traffic takes the most direct (peer to peer) path available.
|
||||
It replaces the physical LAN/WAN boundary with a virtual one, allowing devices of any type at any location to be managed as if they all reside in the same cloud region or data center. All traffic is encrypted end-to-end and takes the most direct path available for minimum latency and maximum performance. The goals and design of ZeroTier are inspired by among other things the original [Google BeyondCorp](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/43231.pdf) paper and the [Jericho Forum](https://en.wikipedia.org/wiki/Jericho_Forum).
|
||||
|
||||
This repository contains ZeroTier One, a service that provides ZeroTier network connectivity to devices running Windows, Mac, Linux, iOS, Android, and FreeBSD and makes joining virtual networks as easy as joining IRC or Slack channels. It also contains the OS-independent core ZeroTier protocol implementation in [node/](node/).
|
||||
|
||||
Visit [ZeroTier's site](https://www.zerotier.com/) for more information and [pre-built binary packages](https://www.zerotier.com/download.shtml). Apps for Android and iOS are available for free in the Google Play and Apple app stores.
|
||||
Visit [ZeroTier's site](https://www.zerotier.com/?pk_campaign=github_ZeroTierOne) for more information and [pre-built binary packages](https://www.zerotier.com/download.shtml?pk_campaign=github_ZeroTierOne). Apps for Android and iOS are available for free in the Google Play and Apple app stores.
|
||||
|
||||
### Getting Started
|
||||
|
||||
ZeroTier's basic operation is easy to understand. Devices have 10-digit *ZeroTier addresses* like `89e92ceee5` and networks have 16-digit network IDs like `8056c2e21c000001`. All it takes for a device to join a network is its 16-digit ID, and all it takes for a network to authorize a device is its 10-digit address. Everything else is automatic.
|
||||
Everything in the ZeroTier world is controlled by two types of identifier: 40-bit/10-digit *ZeroTier addresses* and 64-bit/16-digit *network IDs*. A ZeroTier address identifies a node or "device" (laptop, phone, server, VM, app, etc.) while a network ID identifies a virtual Ethernet network that can be joined by devices.
|
||||
|
||||
A "device" can be anything really: desktops, laptops, phones, servers, VMs/VPSes, containers, and even (soon) apps.
|
||||
Another way of thinking about it is that ZeroTier addresses are port numbers on a giant planetary-sized smart switch while network IDs are VLANs to which these ports can be assigned. For more details read about VL1 and VL2 in [the ZeroTier manual](https://www.zerotier.com/manual.shtml).
|
||||
|
||||
For testing we provide a public virtual network called *Earth* with network ID `8056c2e21c000001`. On Linux and Mac you can do this with:
|
||||
*Network controllers* are ZeroTier nodes that act as access control certificate authorities and configuration managers for virtual networks. The first 40 bits (or 10 digits) of a network ID is the ZeroTier address of its controller. You can create networks with our [hosted controllers](https://my.zerotier.com/) and web UI/API or [host your own](controller/) if you don't mind posting some JSON configuration info or writing a script to do so.
|
||||
|
||||
sudo zerotier-cli join 8056c2e21c000001
|
||||
### Project Layout
|
||||
|
||||
Now wait about 30 seconds and check your system with `ip addr list` or `ifconfig`. You'll see a new interface whose name starts with *zt* and it should quickly get an IPv4 and an IPv6 address. Once you see it get an IP, try pinging `earth.zerotier.net` at `29.209.112.93`. If you've joined Earth from more than one system, try pinging your other machine.
|
||||
- `artwork/`: icons, logos, etc.
|
||||
- `attic/`: old stuff and experimental code that we want to keep around for reference.
|
||||
- `controller/`: the reference network controller implementation, which is built and included by default on desktop and server build targets.
|
||||
- `debian/`: files for building Debian packages on Linux.
|
||||
- `doc/`: manual pages and other documentation.
|
||||
- `ext/`: third party libraries, binaries that we ship for convenience on some platforms (Mac and Windows), and installation support files.
|
||||
- `include/`: include files for the ZeroTier core.
|
||||
- `java/`: a JNI wrapper used with our Android mobile app. (The whole Android app is not open source but may be made so in the future.)
|
||||
- `macui/`: a Macintosh menu-bar app for controlling ZeroTier One, written in Objective C.
|
||||
- `node/`: the ZeroTier virtual Ethernet switch core, which is designed to be entirely separate from the rest of the code and able to be built as a stand-alone OS-independent library. Note to developers: do not use C++11 features in here, since we want this to build on old embedded platforms that lack C++11 support. C++11 can be used elsewhere.
|
||||
- `osdep/`: code to support and integrate with OSes, including platform-specific stuff only built for certain targets.
|
||||
- `service/`: the ZeroTier One service, which wraps the ZeroTier core and provides VPN-like connectivity to virtual networks for desktops, laptops, servers, VMs, and containers.
|
||||
- `tcp-proxy/`: TCP proxy code run by ZeroTier, Inc. to provide TCP fallback (this will die soon!).
|
||||
- `windows/`: Visual Studio solution files, Windows service code for ZeroTier One, and the Windows task bar app UI.
|
||||
|
||||
*(IPv4 addresses for Earth are assigned from the block 28.0.0.0/7, which is not a part of the public Internet but is non-standard for private networks. It's used to avoid IP conflicts during testing. Your networks can run any IP addressing scheme you want.)*
|
||||
The base path contains the ZeroTier One service main entry point (`one.cpp`), self test code, makefiles, etc.
|
||||
|
||||
If you don't want to belong to a giant Ethernet party line anymore, just type:
|
||||
### Build and Platform Notes
|
||||
|
||||
sudo zerotier-cli leave 8056c2e21c000001
|
||||
To build on Mac and Linux just type `make`. On FreeBSD and OpenBSD `gmake` (GNU make) is required and can be installed from packages or ports. For Windows there is a Visual Studio solution in `windows/'.
|
||||
|
||||
The *zt* interface will disappear. You're no longer on the network.
|
||||
|
||||
To create networks of your own you'll need a network controller. You can use [our hosted controller at my.zerotier.com](https://my.zerotier.com) which is free for up to 100 devices on an unlimited number of networks, or you can build your own controller and run it through its local JSON API. See [README.md in controller/](controller/) for more information.
|
||||
|
||||
### Building from Source
|
||||
|
||||
For Mac, Linux, and BSD, just type "make" (or "gmake" on BSD). You won't need much installed; here are the requirements for various platforms:
|
||||
|
||||
* **Mac**: Xcode command line tools. It should build on OSX 10.7 or newer.
|
||||
* **Linux**: gcc/g++ (4.9 or newer recommended) or clang/clang++ (3.4 or newer recommended) Makefile will use clang by default if available. The Linux build will auto-detect the presence of development headers for *json-parser*, *http-parser*, *li8bnatpmp*, and *libminiupnpc* and will link against the system libraries for these if they are present and recent enough. Otherwise the bundled versions in [ext/](ext/) will be used. Type `make install` to install the binaries and other files on the system, though this will not create init.d or systemd links.
|
||||
* **FreeBSD**: C++ compiler (G++ usually) and GNU make (gmake).
|
||||
|
||||
Each supported platform has its own *make-XXX.mk* file that contains the actual make rules for the platform. The right .mk file is included by the main Makefile based on the GNU make *OSTYPE* variable. Take a look at the .mk file for your platform for other targets, debug build rules, etc.
|
||||
- **Mac**
|
||||
- Xcode command line tools for OSX 10.7 or newer are required.
|
||||
- Tap device driver kext source is in `ext/tap-mac` and a signed pre-built binary can be found in `ext/bin/tap-mac`. You should not need to build it yourself. It's a fork of [tuntaposx](http://tuntaposx.sourceforge.net) with device names changed to `zt#`, support for a larger MTU, and tun functionality removed.
|
||||
- **Linux**
|
||||
- The minimum compiler versions required are GCC/G++ 4.9.3 or CLANG/CLANG++ 3.4.2.
|
||||
- Linux makefiles automatically detect and prefer clang/clang++ if present as it produces smaller and slightly faster binaries in most cases. You can override by supplying CC and CXX variables on the make command line.
|
||||
- CentOS 7 ships with a version of GCC/G++ that is too old, but a new enough version of CLANG can be found in the *epel* repositories. Type `yum install epel-release` and then `yum install clang` to build there.
|
||||
- **Windows**
|
||||
- Windows 7 or newer is supported. This *may* work on Vista but isn't officially supported there. It will not work on Windows XP.
|
||||
- We build with Visual Studio 2015. Older versions may not work. Clang or MinGW will also probably work but may require some makefile hacking.
|
||||
- Pre-built signed Windows drivers are included in `ext/bin/tap-windows-ndis6`. The MSI files found there will install them on 32-bit and 64-bit systems. We don't recommend trying to build Windows drivers from scratch unless you know what you're doing. One does not simply "build" a Windows driver.
|
||||
- **FreeBSD**
|
||||
- Tested most recently on FreeBSD-11. Older versions may work but we're not sure.
|
||||
- GCC/G++ 4.9 and gmake are required. These can be installed from packages or ports. Type `gmake` to build.
|
||||
- **OpenBSD**
|
||||
- There is a limit of four network memberships on OpenBSD as there are only four tap devices (`/dev/tap0` through `/dev/tap3`). We're not sure if this can be increased.
|
||||
- OpenBSD lacks `getifmaddrs` (or any equivalent method) to get interface multicast memberships. As a result multicast will only work on OpenBSD for ARP and NDP (IP/MAC lookup) and not for other purposes.
|
||||
- Only tested on OpenBSD 6.0. Older versions may not work.
|
||||
- GCC/G++ 4.9 and gmake are required and can be installed using `pkg_add` or from ports. They get installed in `/usr/local/bin` as `egcc` and `eg++` and our makefile is pre-configured to use them on OpenBSD.
|
||||
|
||||
Typing `make selftest` will build a *zerotier-selftest* binary which unit tests various internals and reports on a few aspects of the build environment. It's a good idea to try this on novel platforms or architectures.
|
||||
|
||||
Windows, of course, is special. We build for Windows with Microsoft Visual Studio 2012 on Windows 7. A solution file is located in the *windows/* subfolder. Newer versions of Visual Studio (and Windows) may work but haven't been tested. Older versions almost certainly will not, since they lack things like *stdint.h* and certain STL features. MinGW or other ports of gcc/clang to Windows should also work but haven't been tested.
|
||||
|
||||
32 and 64 bit X86 and ARM (e.g. Raspberry Pi, Android) are officially supported. Community members have built for MIPS and Sparc without issues.
|
||||
|
||||
### Running
|
||||
|
||||
Running *zerotier-one* with -h will show help.
|
||||
@@ -62,7 +75,7 @@ The service is controlled via the JSON API, which by default is available at 127
|
||||
Here's where home folders live (by default) on each OS:
|
||||
|
||||
* **Linux**: `/var/lib/zerotier-one`
|
||||
* **FreeBSD**: `/var/db/zerotier-one`
|
||||
* **FreeBSD** / **OpenBSD**: `/var/db/zerotier-one`
|
||||
* **Mac**: `/Library/Application Support/ZeroTier/One`
|
||||
* **Windows**: `\ProgramData\ZeroTier\One` (That's for Windows 7. The base 'shared app data' folder might be different on different Windows versions.)
|
||||
|
||||
@@ -88,7 +101,7 @@ ZeroTier One peers will automatically locate each other and communicate directly
|
||||
|
||||
Users behind certain types of firewalls and "symmetric" NAT devices may not able able to connect to external peers directly at all. ZeroTier has limited support for port prediction and will *attempt* to traverse symmetric NATs, but this doesn't always work. If P2P connectivity fails you'll be bouncing UDP packets off our relay servers resulting in slower performance. Some NAT router(s) have a configurable NAT mode, and setting this to "full cone" will eliminate this problem. If you do this you may also see a magical improvement for things like VoIP phones, Skype, BitTorrent, WebRTC, certain games, etc., since all of these use NAT traversal techniques similar to ours.
|
||||
|
||||
If you're interested, there's a [technical deep dive about NAT traversal on our blog](https://www.zerotier.com/blog/?p=226). A troubleshooting tool to help you diagnose NAT issues is planned for the future as are uPnP/IGD/NAT-PMP and IPv6 transport.
|
||||
If you're interested, there's a [technical deep dive about NAT traversal on our blog](https://www.zerotier.com/blog/?p=226?pk_campaign=github_ZeroTierOne). A troubleshooting tool to help you diagnose NAT issues is planned for the future as are uPnP/IGD/NAT-PMP and IPv6 transport.
|
||||
|
||||
If a firewall between you and the Internet blocks ZeroTier's UDP traffic, you will fall back to last-resort TCP tunneling to rootservers over port 443 (https impersonation). This will work almost anywhere but is *very slow* compared to UDP or direct peer to peer connectivity.
|
||||
|
||||
|
||||
@@ -0,0 +1,187 @@
|
||||
ZeroTier Release Notes
|
||||
======
|
||||
|
||||
# 2018-05-08 -- Version 1.2.10
|
||||
|
||||
* Fix bug loading `moons.d/` files for federated root operation.
|
||||
* Fix compile problem with ZT_DEBUG on some versions of `clang`
|
||||
* Fix slow network startup bug related to loading of `networks.d/` cache files
|
||||
|
||||
# 2018-04-27 -- Version 1.2.8
|
||||
|
||||
* Linux version once again builds with PIE (position independent executable) flags
|
||||
* Fixed bug in zerotier-idtool file sign and verify
|
||||
* Fixed minor OSX app typo
|
||||
* Merged alpha NetBSD support (mostly untested, so YMMV)
|
||||
* Merged several minor typo and one-liner bug fixes
|
||||
|
||||
# 2018-04-17 -- Version 1.2.6
|
||||
|
||||
* Features and Core Improvements
|
||||
* Path selection has been overhauled to improve path stability, simplify code, and prepare for multi-path and trunking in the next major release.
|
||||
* This version introduces remote tracing for remote diagnostics. Network controllers can set a node (usually the controller itself) to receive remote tracing events from all members of the network or from select members. Events are only sent if they pertain to a given network for security reasons.
|
||||
* Multicast replication can now be done by designated multicast replicators on a network (flagged as such at the controller) rather than by the sender. Most users won't want this, but it's useful for specialized use cases on hub-and-spoke networks and for low-power devices.
|
||||
* Cryptographic performance improvements on several platforms.
|
||||
* Multithreaded performance improvements throughout the code base, including the use of an inline lightweight spinlock for low-contention resources.
|
||||
* Bugs fixed
|
||||
* Disappearing routes on Mac (GitHub issue #600)
|
||||
* Route flapping and path instability in some dual-stack V4/V6 networks
|
||||
* Blacklist (in local.conf) doesn't work reliably (GitHub issue #656)
|
||||
* Connection instabilities due to unsigned integer overflows in timing comparisons (use int64_t instead of uint64_t)
|
||||
* Binaries don't run on some older or lower-end 32-bit ARM chips (build problem)
|
||||
* ARM NEON crypto code crashes (build problem)
|
||||
* Fixed some lock ordering issues revealed by "valgrind" tool
|
||||
* The "zerotier-idtool" command could not be accessed from "zerotier-one" via command line switch
|
||||
* Leaking sockets on some platforms when uPnP/NAT-PMP is enabled
|
||||
* Fixed two very rare multithreading issues that were only observed on certain systems
|
||||
* Platform-Specific Changes
|
||||
* MacOS
|
||||
* Installer now loads the kernel extension right away so that High Sierra users will see the prompt to authorize it. This is done in the "Security & Privacy" preference pane and must be done driectly on the console (not via remote desktop). On High Sierra and newer kexts must be authorized at the console via security settings system preferences pane.
|
||||
* Windows
|
||||
* The Windows installer should now install the driver without requiring a special prompt in most cases. This should make it easier for our packages to be accepted into and updated in the Chocolatey repository and should make it easier to perform remote installs across groups of machines using IT management and provisioning tools.
|
||||
* The Windows official packages are now signed with an EV certificate (with hardware key).
|
||||
* The Windows UI can now log into ZeroTier Central and join networks via the Central API.
|
||||
* The `zerotier-idtool` command should now work on Windows without ugly hacks.
|
||||
* Upgraded the installer version.
|
||||
* Made a few changes to hopefully fix sporadic "will not uninstall" problems, though we cannot duplicate these issues ourselves.
|
||||
* Linux
|
||||
* Device names are now generated deterministically based on network IDs for all newly joined networks.
|
||||
* Android
|
||||
* Multicast now works on Android in most cases! Android apps can send and receive multicast and subscribe to multicast group IPs. Note that in some cases the app must bind to the specific correct interface for this to work.
|
||||
* IPv6 can be disabled in UI for cases where it causes problems.
|
||||
|
||||
# 2017-04-20 -- Version 1.2.4
|
||||
|
||||
* Managed routes are now only bifurcated for the default route. This is a change in behavior, though few people will probably notice. Bifurcating all managed routes was causing more trouble than it was worth for most users.
|
||||
* Up to 2X crypto speedup on x86-64 (except Windows, which will take some porting) and 32-bit ARM platforms due to integration of fast assembly language implementations of Salsa20/12 from the [supercop](http://bench.cr.yp.to/supercop.html) code base. These were written by Daniel J. Bernstein and are in the public domain. My Macbook Pro (Core i5 2.8ghz) now does almost 1.5GiB/sec Salsa20/12 per core and a Raspberry Pi got a 2X boost. 64-bit ARM support and Windows support will take some work but should not be too hard.
|
||||
* Refactored code that manages credentials to greatly reduce memory use in most cases. This may also result in a small performance improvement.
|
||||
* Reworked and simplified path selection and priority logic to fix path instability and dead path persistence edge cases. There have been some sporadic reports of persistent path instabilities and dead paths hanging around that take minutes to resolve. These have proven difficult to reproduce in house, but hopefully this will fix them. In any case it seems to speed up path establishment in our tests and it makes the code simpler and more readable.
|
||||
* Eliminated some unused cruft from the code around path management and in the peer class.
|
||||
* Fixed an issue causing build problems on some MIPS architecture systems.
|
||||
* Fixed Windows forgetting routes on sleep/wake or in some other circumstances. (GitHub issue #465)
|
||||
|
||||
# 2017-03-17 -- Version 1.2.2
|
||||
|
||||
* A bug causing unreliable multicast propagation (GitHub issue #461).
|
||||
* A crash in ARM binaries due to a build chain and flags problem.
|
||||
* A bug in the network controller preventing members from being listed (GitHub issue #460).
|
||||
|
||||
# 2017-03-14 -- Version 1.2.0
|
||||
|
||||
Version 1.2.0 is a major milestone release representing almost nine months of work. It includes our rules engine for distributed network packet filtering and security monitoring, federated roots, and many other architectural and UI improvements and bug fixes.
|
||||
|
||||
## New Features in 1.2.0
|
||||
|
||||
### The ZeroTier Rules Engine
|
||||
|
||||
The largest new feature in 1.2.0, and the product of many months of work, is our advanced network rules engine. With this release we achieve traffic control, security monitoring, and micro-segmentation capability on par with many enterprise SDN solutions designed for use in advanced data centers and corporate networks.
|
||||
|
||||
Rules allow you to filter packets on your network and vector traffic to security observers. Security observation can be performed in-band using REDIRECT or out of band using TEE.
|
||||
|
||||
Tags and capabilites provide advanced methods for implementing fine grained permission structures and micro-segmentation schemes without bloating the size and complexity of your rules table.
|
||||
|
||||
See the [rules engine announcement blog post](https://www.zerotier.com/blog/?p=927) for an in-depth discussion of theory and implementation. The [manual](https://www.zerotier.com/manual.shtml) contains detailed information on rule, tag, and capability use, and the `rule-compiler/` subfolder of the ZeroTier source tree contains a JavaScript function to compile rules in our human-readable rule definition language into rules suitable for import into a network controller. (ZeroTier Central uses this same script to compile rules on [my.zerotier.com](https://my.zerotier.com/).)
|
||||
|
||||
### Root Server Federation
|
||||
|
||||
It's now possible to create your own root servers and add them to the root server pool on your nodes. This is done by creating what's called a "moon," which is a signed enumeration of root servers and their stable points on the network. Refer to the [manual](https://www.zerotier.com/manual.shtml) for instructions.
|
||||
|
||||
Federated roots achieve a number of things:
|
||||
|
||||
* You can deploy your own infrastructure to reduce dependency on ours.
|
||||
* You can deploy roots *inside your LAN* to ensure that network connectivity inside your facility still works if the Internet goes down. This is the first step toward making ZeroTier viable as an in-house SDN solution.
|
||||
* Roots can be deployed inside national boundaries for countries with data residency laws or "great firewalls." (As of 1.2.0 there is still no way to force all traffic to use these roots, but that will be easy to do in a later version.)
|
||||
* Last but not least this makes ZeroTier somewhat less centralized by eliminating any hard dependency on ZeroTier, Inc.'s infrastructure.
|
||||
|
||||
Our roots will of course remain and continue to provide zero-configuration instant-on deployment, a secure global authority for identities, and free traffic relaying for those who can't establish peer to peer connections.
|
||||
|
||||
### Local Configuration
|
||||
|
||||
An element of our design philosophy is "features are bugs." This isn't an absolute dogma but more of a guiding principle. We try as hard as we can to avoid adding features, especially "knobs" that must be tweaked by a user.
|
||||
|
||||
As of 1.2.0 we've decided that certain knobs are unavoidable, and so there is now a `local.conf` file that can be used to configure them. See the ZeroTier One documentation for these. They include:
|
||||
|
||||
* Blacklisting interfaces you want to make sure ZeroTier doesn't use for network traffic, such as VPNs, slow links, or backplanes designated for only certain kinds of traffic.
|
||||
* Turning uPnP/NAT-PMP on or off.
|
||||
* Configuring software updates on Windows and Mac platforms.
|
||||
* Defining trusted paths (the old trusted paths file is now deprecated)
|
||||
* Setting the ZeroTier main port so it doesn't have to be changed on the command line, which is very inconvenient in many cases.
|
||||
|
||||
### Improved In-Band Software Updates
|
||||
|
||||
A good software update system for Windows and Mac clients has been a missing feature in previous versions. It does exist but we've been shy about using it so far due to its fragility in some environments.
|
||||
|
||||
We've greatly improved this mechanism in 1.2.0. Not only does it now do a better job of actually invoking the update, but it also transfers updates in-band using the ZeroTier protocol. This means it can work in environments that do not allows http/https traffic or that force it through proxies. There's also now an update channel setting: `beta` or `release` (the default).
|
||||
|
||||
Software updates are authenticated three ways:
|
||||
|
||||
1. ZeroTier's own signing key is used to sign all updates and this signature is checked prior to installation. ZeroTier, Inc.'s signatures are performed on an air-gapped machine.
|
||||
|
||||
2. Updates for Mac and Windows are signed using Apple and Microsoft (DigiCert EV) keys and will not install unless these signatures are also valid.
|
||||
|
||||
3. The new in-band update mechanism also authenticates the source of the update via ZeroTier's built-in security features. This provides transport security, while 1 and 2 provide security of the update at rest.
|
||||
|
||||
Updates are now configurable via `local.conf`. There are three options: `disable`, `download`, and `apply`. The third (apply) is the default for official builds on Windows and Mac, making updates happen silently and automatically as they do for popular browsers like Chrome and Firefox. Updates are disabled by default on Linux and other Unix-type systems as these are typically updated through package managers.
|
||||
|
||||
### Path Link Quality Awareness
|
||||
|
||||
Version 1.2.0 is now aware of the link quality of direct paths with other 1.2.0 nodes. This information isn't used yet but is visible through the JSON API. (Quality always shows as 100% with pre-1.2.0 nodes.) Quality is measured passively with no additional overhead using a counter based packet loss detection algorithm.
|
||||
|
||||
This information is visible from the command line via `listpeers`:
|
||||
|
||||
200 listpeers XXXXXXXXXX 199.XXX.XXX.XXX/9993;10574;15250;1.00 48 1.2.0 LEAF
|
||||
200 listpeers XXXXXXXXXX 195.XXX.XXX.XXX/45584;467;7608;0.44 290 1.2.0 LEAF
|
||||
|
||||
The first peer's path is at 100% (1.00), while the second peer's path is suffering quite a bit of packet loss (0.44).
|
||||
|
||||
Link quality awareness is a precursor to intelligent multi-path and QoS support, which will in future versions bring us to feature parity with SD-WAN products like Cisco iWAN.
|
||||
|
||||
### Security Improvements
|
||||
|
||||
Version 1.2.0 adds anti-DOS (denial of service) rate limits and other hardening for improved resiliency against a number of denial of service attack scenarios.
|
||||
|
||||
It also adds a mechanism for instantaneous credential revocation. This can be used to revoke certificates of membership instantly to kick a node off a network (for private networks) and also to revoke capabilities and tags. The new controller sends revocations by default when a peer is de-authorized.
|
||||
|
||||
Revocations propagate using a "rumor mill" peer to peer algorithm. This means that a controller need only successfully send a revocation to at least one member of a network with connections to other active members. At this point the revocation will flood through the network peer to peer very quickly. This helps make revocations more robust in the face of poor connectivity with the controller or attempts to incapacitate the controller with denial of service attacks, as well as making revocations faster on huge networks.
|
||||
|
||||
### Windows and Macintosh UI Improvements (ZeroTier One)
|
||||
|
||||
The Mac has a whole new UI built natively in Objective-C. It provides a pulldown similar in appearance and operation to the Mac WiFi task bar menu.
|
||||
|
||||
The Windows UI has also been improved and now provides a task bar icon that can be right-clicked to manage networks. Both now expose managed route and IP permissions, allowing nodes to easily opt in to full tunnel operation if you have a router configured on your network.
|
||||
|
||||
### Ad-Hoc Networks
|
||||
|
||||
A special kind of public network called an ad-hoc network may be accessed by joining a network ID with the format:
|
||||
|
||||
ffSSSSEEEE000000
|
||||
| | | |
|
||||
| | | Reserved for future use, must be 0
|
||||
| | End of port range (hex)
|
||||
| Start of port range (hex)
|
||||
Reserved ZeroTier address prefix indicating a controller-less network
|
||||
|
||||
Ad-hoc networks are public (no access control) networks that have no network controller. Instead their configuration and other credentials are generated locally. Ad-hoc networks permit only IPv6 UDP and TCP unicast traffic (no multicast or broadcast) using 6plane format NDP-emulated IPv6 addresses. In addition an ad-hoc network ID encodes an IP port range. UDP packets and TCP SYN (connection open) packets are only allowed to desintation ports within the encoded range.
|
||||
|
||||
For example `ff00160016000000` is an ad-hoc network allowing only SSH, while `ff0000ffff000000` is an ad-hoc network allowing any UDP or TCP port.
|
||||
|
||||
Keep in mind that these networks are public and anyone in the entire world can join them. Care must be taken to avoid exposing vulnerable services or sharing unwanted files or other resources.
|
||||
|
||||
### Network Controller (Partial) Rewrite
|
||||
|
||||
The network controller has been largely rewritten to use a simple in-filesystem JSON data store in place of SQLite, and it is now included by default in all Windows, Mac, Linux, and BSD builds. This means any desktop or server node running ZeroTier One can now be a controller with no recompilation needed.
|
||||
|
||||
If you have data in an old SQLite3 controller we've included a NodeJS script in `controller/migrate-sqlite` to migrate data to the new format. If you don't migrate, members will start getting `NOT_FOUND` when they attempt to query for updates.
|
||||
|
||||
## Major Bug Fixes in 1.2.0
|
||||
|
||||
* **The Windows HyperV 100% CPU bug is FINALLY DEAD**: This long-running problem turns out to have been an issue with Windows itself, but one we were triggering by placing invalid data into the Windows registry. Microsoft is aware of the issue but we've also fixed the triggering problem on our side. ZeroTier should now co-exist quite well with HyperV and should now be able to be bridged with a HyperV virtual switch.
|
||||
* **Segmenation faults on musl-libc based Linux systems**: Alpine Linux and some embedded Linux systems that use musl libc (a minimal libc) experienced segmentation faults. These were due to a smaller default stack size. A work-around that sets the stack size for new threads has been added.
|
||||
* **Windows firewall blocks local JSON API**: On some Windows systems the firewall likes to block 127.0.0.1:9993 for mysterious reasons. This is now fixed in the installer via the addition of another firewall exemption rule.
|
||||
* **UI crash on embedded Windows due to missing fonts**: The MSI installer now ships fonts and will install them if they are not present, so this should be fixed.
|
||||
|
||||
## Other Improvements in 1.2.0
|
||||
|
||||
* **Improved dead path detection**: ZeroTier is now more aggressive about expiring paths that do not seem to be active. If a path seems marginal it is re-confirmed before re-use.
|
||||
* **Minor performance improvements**: We've reduced unnecessary memcpy's and made a few other performance improvements in the core.
|
||||
* **Linux static binaries**: For our official packages (the ones in the download.zerotier.com apt and yum repositories) we now build Linux binaries with static linking. Hopefully this will stop all the bug reports relating to library inconsistencies, as well as allowing our deb packages to run on a wider variety of Debian-based distributions. (There are far too many of these to support officially!) The overhead for this is very small, especially since we built our static versions against musl-libc. Distribution maintainers are of course free to build dynamically linked versions for inclusion into distributions; this only affects our official binaries.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 621 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* ZeroTier One - Network Virtualization Everywhere
|
||||
* Copyright (C) 2011-2016 ZeroTier, Inc. https://www.zerotier.com/
|
||||
* Copyright (C) 2011-2017 ZeroTier, Inc. https://www.zerotier.com/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -14,6 +14,14 @@
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* --
|
||||
*
|
||||
* You can be released from the requirements of the license by purchasing
|
||||
* a commercial license. Buying such a license is mandatory as soon as you
|
||||
* develop commercial closed-source software that incorporates or links
|
||||
* directly against ZeroTier software without disclosing the source code
|
||||
* of your own application.
|
||||
*/
|
||||
|
||||
#ifdef ZT_ENABLE_CLUSTER
|
||||
@@ -44,6 +52,7 @@
|
||||
#include "Packet.hpp"
|
||||
#include "Switch.hpp"
|
||||
#include "Node.hpp"
|
||||
#include "Network.hpp"
|
||||
#include "Array.hpp"
|
||||
|
||||
namespace ZeroTier {
|
||||
@@ -248,13 +257,13 @@ void Cluster::handleIncomingStateMessage(const void *msg,unsigned int len)
|
||||
memcpy(keytmp,_key,32);
|
||||
for(int i=0;i<8;++i)
|
||||
keytmp[i] ^= reinterpret_cast<const char *>(msg)[i];
|
||||
Salsa20 s20(keytmp,256,reinterpret_cast<const char *>(msg) + 8);
|
||||
Salsa20 s20(keytmp,reinterpret_cast<const char *>(msg) + 8);
|
||||
Utils::burn(keytmp,sizeof(keytmp));
|
||||
|
||||
// One-time-use Poly1305 key from first 32 bytes of Salsa20 keystream (as per DJB/NaCl "standard")
|
||||
char polykey[ZT_POLY1305_KEY_LEN];
|
||||
memset(polykey,0,sizeof(polykey));
|
||||
s20.encrypt12(polykey,polykey,sizeof(polykey));
|
||||
s20.crypt12(polykey,polykey,sizeof(polykey));
|
||||
|
||||
// Compute 16-byte MAC
|
||||
char mac[ZT_POLY1305_MAC_LEN];
|
||||
@@ -266,7 +275,7 @@ void Cluster::handleIncomingStateMessage(const void *msg,unsigned int len)
|
||||
|
||||
// Decrypt!
|
||||
dmsg.setSize(len - 24);
|
||||
s20.decrypt12(reinterpret_cast<const char *>(msg) + 24,const_cast<void *>(dmsg.data()),dmsg.size());
|
||||
s20.crypt12(reinterpret_cast<const char *>(msg) + 24,const_cast<void *>(dmsg.data()),dmsg.size());
|
||||
}
|
||||
|
||||
if (dmsg.size() < 4)
|
||||
@@ -341,17 +350,20 @@ void Cluster::handleIncomingStateMessage(const void *msg,unsigned int len)
|
||||
Identity id;
|
||||
ptr += id.deserialize(dmsg,ptr);
|
||||
if (id) {
|
||||
RR->topology->saveIdentity(id);
|
||||
|
||||
{
|
||||
Mutex::Lock _l(_remotePeers_m);
|
||||
_remotePeers[std::pair<Address,unsigned int>(id.address(),(unsigned int)fromMemberId)] = RR->node->now();
|
||||
_RemotePeer &rp = _remotePeers[std::pair<Address,unsigned int>(id.address(),(unsigned int)fromMemberId)];
|
||||
if (!rp.lastHavePeerReceived) {
|
||||
RR->topology->saveIdentity((void *)0,id);
|
||||
RR->identity.agree(id,rp.key,ZT_PEER_SECRET_KEY_LENGTH);
|
||||
}
|
||||
rp.lastHavePeerReceived = RR->node->now();
|
||||
}
|
||||
|
||||
_ClusterSendQueueEntry *q[16384]; // 16384 is "tons"
|
||||
unsigned int qc = _sendQueue->getByDest(id.address(),q,16384);
|
||||
for(unsigned int i=0;i<qc;++i)
|
||||
this->sendViaCluster(q[i]->fromPeerAddress,q[i]->toPeerAddress,q[i]->data,q[i]->len,q[i]->unite);
|
||||
this->relayViaCluster(q[i]->fromPeerAddress,q[i]->toPeerAddress,q[i]->data,q[i]->len,q[i]->unite);
|
||||
_sendQueue->returnToPool(q,qc);
|
||||
|
||||
TRACE("[%u] has %s (retried %u queued sends)",(unsigned int)fromMemberId,id.address().toString().c_str(),qc);
|
||||
@@ -361,7 +373,7 @@ void Cluster::handleIncomingStateMessage(const void *msg,unsigned int len)
|
||||
case CLUSTER_MESSAGE_WANT_PEER: {
|
||||
const Address zeroTierAddress(dmsg.field(ptr,ZT_ADDRESS_LENGTH),ZT_ADDRESS_LENGTH); ptr += ZT_ADDRESS_LENGTH;
|
||||
SharedPtr<Peer> peer(RR->topology->getPeerNoCache(zeroTierAddress));
|
||||
if ( (peer) && (peer->hasClusterOptimalPath(RR->node->now())) ) {
|
||||
if ( (peer) && (peer->hasLocalClusterOptimalPath(RR->node->now())) ) {
|
||||
Buffer<1024> buf;
|
||||
peer->identity().serialize(buf);
|
||||
Mutex::Lock _l2(_members[fromMemberId].lock);
|
||||
@@ -396,7 +408,7 @@ void Cluster::handleIncomingStateMessage(const void *msg,unsigned int len)
|
||||
SharedPtr<Peer> localPeer(RR->topology->getPeerNoCache(localPeerAddress));
|
||||
if ((localPeer)&&(numRemotePeerPaths > 0)) {
|
||||
InetAddress bestLocalV4,bestLocalV6;
|
||||
localPeer->getBestActiveAddresses(now,bestLocalV4,bestLocalV6);
|
||||
localPeer->getRendezvousAddresses(now,bestLocalV4,bestLocalV6);
|
||||
|
||||
InetAddress bestRemoteV4,bestRemoteV6;
|
||||
for(unsigned int i=0;i<numRemotePeerPaths;++i) {
|
||||
@@ -455,7 +467,7 @@ void Cluster::handleIncomingStateMessage(const void *msg,unsigned int len)
|
||||
Mutex::Lock _l2(_members[fromMemberId].lock);
|
||||
_send(fromMemberId,CLUSTER_MESSAGE_PROXY_SEND,rendezvousForRemote.data(),rendezvousForRemote.size());
|
||||
}
|
||||
RR->sw->send(rendezvousForLocal,true,0);
|
||||
RR->sw->send((void *)0,rendezvousForLocal,true);
|
||||
}
|
||||
}
|
||||
} break;
|
||||
@@ -466,9 +478,18 @@ void Cluster::handleIncomingStateMessage(const void *msg,unsigned int len)
|
||||
const unsigned int len = dmsg.at<uint16_t>(ptr); ptr += 2;
|
||||
Packet outp(rcpt,RR->identity.address(),verb);
|
||||
outp.append(dmsg.field(ptr,len),len); ptr += len;
|
||||
RR->sw->send(outp,true,0);
|
||||
RR->sw->send((void *)0,outp,true);
|
||||
//TRACE("[%u] proxy send %s to %s length %u",(unsigned int)fromMemberId,Packet::verbString(verb),rcpt.toString().c_str(),len);
|
||||
} break;
|
||||
|
||||
case CLUSTER_MESSAGE_NETWORK_CONFIG: {
|
||||
const SharedPtr<Network> network(RR->node->network(dmsg.at<uint64_t>(ptr)));
|
||||
if (network) {
|
||||
// Copy into a Packet just to conform to Network API. Eventually
|
||||
// will want to refactor.
|
||||
network->handleConfigChunk((void *)0,0,Address(),Buffer<ZT_PROTO_MAX_PACKET_LENGTH>(dmsg),ptr);
|
||||
}
|
||||
} break;
|
||||
}
|
||||
} catch ( ... ) {
|
||||
TRACE("invalid message of size %u type %d (inner decode), discarding",mlen,mtype);
|
||||
@@ -494,7 +515,84 @@ void Cluster::broadcastHavePeer(const Identity &id)
|
||||
}
|
||||
}
|
||||
|
||||
void Cluster::sendViaCluster(const Address &fromPeerAddress,const Address &toPeerAddress,const void *data,unsigned int len,bool unite)
|
||||
void Cluster::broadcastNetworkConfigChunk(const void *chunk,unsigned int len)
|
||||
{
|
||||
Mutex::Lock _l(_memberIds_m);
|
||||
for(std::vector<uint16_t>::const_iterator mid(_memberIds.begin());mid!=_memberIds.end();++mid) {
|
||||
Mutex::Lock _l2(_members[*mid].lock);
|
||||
_send(*mid,CLUSTER_MESSAGE_NETWORK_CONFIG,chunk,len);
|
||||
}
|
||||
}
|
||||
|
||||
int Cluster::checkSendViaCluster(const Address &toPeerAddress,uint64_t &mostRecentTs,void *peerSecret)
|
||||
{
|
||||
const uint64_t now = RR->node->now();
|
||||
mostRecentTs = 0;
|
||||
int mostRecentMemberId = -1;
|
||||
{
|
||||
Mutex::Lock _l2(_remotePeers_m);
|
||||
std::map< std::pair<Address,unsigned int>,_RemotePeer >::const_iterator rpe(_remotePeers.lower_bound(std::pair<Address,unsigned int>(toPeerAddress,0)));
|
||||
for(;;) {
|
||||
if ((rpe == _remotePeers.end())||(rpe->first.first != toPeerAddress))
|
||||
break;
|
||||
else if (rpe->second.lastHavePeerReceived > mostRecentTs) {
|
||||
mostRecentTs = rpe->second.lastHavePeerReceived;
|
||||
memcpy(peerSecret,rpe->second.key,ZT_PEER_SECRET_KEY_LENGTH);
|
||||
mostRecentMemberId = (int)rpe->first.second;
|
||||
}
|
||||
++rpe;
|
||||
}
|
||||
}
|
||||
|
||||
const uint64_t ageOfMostRecentHavePeerAnnouncement = now - mostRecentTs;
|
||||
if (ageOfMostRecentHavePeerAnnouncement >= (ZT_PEER_ACTIVITY_TIMEOUT / 3)) {
|
||||
if (ageOfMostRecentHavePeerAnnouncement >= ZT_PEER_ACTIVITY_TIMEOUT)
|
||||
mostRecentMemberId = -1;
|
||||
|
||||
bool sendWantPeer = true;
|
||||
{
|
||||
Mutex::Lock _l(_remotePeers_m);
|
||||
_RemotePeer &rp = _remotePeers[std::pair<Address,unsigned int>(toPeerAddress,(unsigned int)_id)];
|
||||
if ((now - rp.lastSentWantPeer) >= ZT_CLUSTER_WANT_PEER_EVERY) {
|
||||
rp.lastSentWantPeer = now;
|
||||
} else {
|
||||
sendWantPeer = false; // don't flood WANT_PEER
|
||||
}
|
||||
}
|
||||
if (sendWantPeer) {
|
||||
char tmp[ZT_ADDRESS_LENGTH];
|
||||
toPeerAddress.copyTo(tmp,ZT_ADDRESS_LENGTH);
|
||||
{
|
||||
Mutex::Lock _l(_memberIds_m);
|
||||
for(std::vector<uint16_t>::const_iterator mid(_memberIds.begin());mid!=_memberIds.end();++mid) {
|
||||
Mutex::Lock _l2(_members[*mid].lock);
|
||||
_send(*mid,CLUSTER_MESSAGE_WANT_PEER,tmp,ZT_ADDRESS_LENGTH);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return mostRecentMemberId;
|
||||
}
|
||||
|
||||
bool Cluster::sendViaCluster(int mostRecentMemberId,const Address &toPeerAddress,const void *data,unsigned int len)
|
||||
{
|
||||
if ((mostRecentMemberId < 0)||(mostRecentMemberId >= ZT_CLUSTER_MAX_MEMBERS)) // sanity check
|
||||
return false;
|
||||
Mutex::Lock _l2(_members[mostRecentMemberId].lock);
|
||||
for(std::vector<InetAddress>::const_iterator i1(_zeroTierPhysicalEndpoints.begin());i1!=_zeroTierPhysicalEndpoints.end();++i1) {
|
||||
for(std::vector<InetAddress>::const_iterator i2(_members[mostRecentMemberId].zeroTierPhysicalEndpoints.begin());i2!=_members[mostRecentMemberId].zeroTierPhysicalEndpoints.end();++i2) {
|
||||
if (i1->ss_family == i2->ss_family) {
|
||||
TRACE("sendViaCluster sending %u bytes to %s by way of %u (%s->%s)",len,toPeerAddress.toString().c_str(),(unsigned int)mostRecentMemberId,i1->toString().c_str(),i2->toString().c_str());
|
||||
RR->node->putPacket((void *)0,*i1,*i2,data,len);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void Cluster::relayViaCluster(const Address &fromPeerAddress,const Address &toPeerAddress,const void *data,unsigned int len,bool unite)
|
||||
{
|
||||
if (len > ZT_PROTO_MAX_PACKET_LENGTH) // sanity check
|
||||
return;
|
||||
@@ -502,87 +600,101 @@ void Cluster::sendViaCluster(const Address &fromPeerAddress,const Address &toPee
|
||||
const uint64_t now = RR->node->now();
|
||||
|
||||
uint64_t mostRecentTs = 0;
|
||||
unsigned int mostRecentMemberId = 0xffffffff;
|
||||
int mostRecentMemberId = -1;
|
||||
{
|
||||
Mutex::Lock _l2(_remotePeers_m);
|
||||
std::map< std::pair<Address,unsigned int>,uint64_t >::const_iterator rpe(_remotePeers.lower_bound(std::pair<Address,unsigned int>(toPeerAddress,0)));
|
||||
std::map< std::pair<Address,unsigned int>,_RemotePeer >::const_iterator rpe(_remotePeers.lower_bound(std::pair<Address,unsigned int>(toPeerAddress,0)));
|
||||
for(;;) {
|
||||
if ((rpe == _remotePeers.end())||(rpe->first.first != toPeerAddress))
|
||||
break;
|
||||
else if (rpe->second > mostRecentTs) {
|
||||
mostRecentTs = rpe->second;
|
||||
mostRecentMemberId = rpe->first.second;
|
||||
else if (rpe->second.lastHavePeerReceived > mostRecentTs) {
|
||||
mostRecentTs = rpe->second.lastHavePeerReceived;
|
||||
mostRecentMemberId = (int)rpe->first.second;
|
||||
}
|
||||
++rpe;
|
||||
}
|
||||
}
|
||||
|
||||
const uint64_t age = now - mostRecentTs;
|
||||
if (age >= (ZT_PEER_ACTIVITY_TIMEOUT / 3)) {
|
||||
const bool enqueueAndWait = ((age >= ZT_PEER_ACTIVITY_TIMEOUT)||(mostRecentMemberId > 0xffff));
|
||||
const uint64_t ageOfMostRecentHavePeerAnnouncement = now - mostRecentTs;
|
||||
if (ageOfMostRecentHavePeerAnnouncement >= (ZT_PEER_ACTIVITY_TIMEOUT / 3)) {
|
||||
// Enqueue and wait if peer seems alive, but do WANT_PEER to refresh homing
|
||||
const bool enqueueAndWait = ((ageOfMostRecentHavePeerAnnouncement >= ZT_PEER_ACTIVITY_TIMEOUT)||(mostRecentMemberId < 0));
|
||||
|
||||
// Poll everyone with WANT_PEER if the age of our most recent entry is
|
||||
// approaching expiration (or has expired, or does not exist).
|
||||
char tmp[ZT_ADDRESS_LENGTH];
|
||||
toPeerAddress.copyTo(tmp,ZT_ADDRESS_LENGTH);
|
||||
bool sendWantPeer = true;
|
||||
{
|
||||
Mutex::Lock _l(_memberIds_m);
|
||||
for(std::vector<uint16_t>::const_iterator mid(_memberIds.begin());mid!=_memberIds.end();++mid) {
|
||||
Mutex::Lock _l2(_members[*mid].lock);
|
||||
_send(*mid,CLUSTER_MESSAGE_WANT_PEER,tmp,ZT_ADDRESS_LENGTH);
|
||||
Mutex::Lock _l(_remotePeers_m);
|
||||
_RemotePeer &rp = _remotePeers[std::pair<Address,unsigned int>(toPeerAddress,(unsigned int)_id)];
|
||||
if ((now - rp.lastSentWantPeer) >= ZT_CLUSTER_WANT_PEER_EVERY) {
|
||||
rp.lastSentWantPeer = now;
|
||||
} else {
|
||||
sendWantPeer = false; // don't flood WANT_PEER
|
||||
}
|
||||
}
|
||||
if (sendWantPeer) {
|
||||
char tmp[ZT_ADDRESS_LENGTH];
|
||||
toPeerAddress.copyTo(tmp,ZT_ADDRESS_LENGTH);
|
||||
{
|
||||
Mutex::Lock _l(_memberIds_m);
|
||||
for(std::vector<uint16_t>::const_iterator mid(_memberIds.begin());mid!=_memberIds.end();++mid) {
|
||||
Mutex::Lock _l2(_members[*mid].lock);
|
||||
_send(*mid,CLUSTER_MESSAGE_WANT_PEER,tmp,ZT_ADDRESS_LENGTH);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If there isn't a good place to send via, then enqueue this for retrying
|
||||
// later and return after having broadcasted a WANT_PEER.
|
||||
if (enqueueAndWait) {
|
||||
TRACE("sendViaCluster %s -> %s enqueueing to wait for HAVE_PEER",fromPeerAddress.toString().c_str(),toPeerAddress.toString().c_str());
|
||||
TRACE("relayViaCluster %s -> %s enqueueing to wait for HAVE_PEER",fromPeerAddress.toString().c_str(),toPeerAddress.toString().c_str());
|
||||
_sendQueue->enqueue(now,fromPeerAddress,toPeerAddress,data,len,unite);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Buffer<1024> buf;
|
||||
if (unite) {
|
||||
InetAddress v4,v6;
|
||||
if (fromPeerAddress) {
|
||||
SharedPtr<Peer> fromPeer(RR->topology->getPeerNoCache(fromPeerAddress));
|
||||
if (fromPeer)
|
||||
fromPeer->getBestActiveAddresses(now,v4,v6);
|
||||
}
|
||||
uint8_t addrCount = 0;
|
||||
if (v4)
|
||||
++addrCount;
|
||||
if (v6)
|
||||
++addrCount;
|
||||
if (addrCount) {
|
||||
toPeerAddress.appendTo(buf);
|
||||
fromPeerAddress.appendTo(buf);
|
||||
buf.append(addrCount);
|
||||
if (mostRecentMemberId >= 0) {
|
||||
Buffer<1024> buf;
|
||||
if (unite) {
|
||||
InetAddress v4,v6;
|
||||
if (fromPeerAddress) {
|
||||
SharedPtr<Peer> fromPeer(RR->topology->getPeerNoCache(fromPeerAddress));
|
||||
if (fromPeer)
|
||||
fromPeer->getRendezvousAddresses(now,v4,v6);
|
||||
}
|
||||
uint8_t addrCount = 0;
|
||||
if (v4)
|
||||
v4.serialize(buf);
|
||||
++addrCount;
|
||||
if (v6)
|
||||
v6.serialize(buf);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
Mutex::Lock _l2(_members[mostRecentMemberId].lock);
|
||||
if (buf.size() > 0)
|
||||
_send(mostRecentMemberId,CLUSTER_MESSAGE_PROXY_UNITE,buf.data(),buf.size());
|
||||
|
||||
for(std::vector<InetAddress>::const_iterator i1(_zeroTierPhysicalEndpoints.begin());i1!=_zeroTierPhysicalEndpoints.end();++i1) {
|
||||
for(std::vector<InetAddress>::const_iterator i2(_members[mostRecentMemberId].zeroTierPhysicalEndpoints.begin());i2!=_members[mostRecentMemberId].zeroTierPhysicalEndpoints.end();++i2) {
|
||||
if (i1->ss_family == i2->ss_family) {
|
||||
TRACE("sendViaCluster relaying %u bytes from %s to %s by way of %u (%s->%s)",len,fromPeerAddress.toString().c_str(),toPeerAddress.toString().c_str(),(unsigned int)mostRecentMemberId,i1->toString().c_str(),i2->toString().c_str());
|
||||
RR->node->putPacket(*i1,*i2,data,len);
|
||||
return;
|
||||
}
|
||||
++addrCount;
|
||||
if (addrCount) {
|
||||
toPeerAddress.appendTo(buf);
|
||||
fromPeerAddress.appendTo(buf);
|
||||
buf.append(addrCount);
|
||||
if (v4)
|
||||
v4.serialize(buf);
|
||||
if (v6)
|
||||
v6.serialize(buf);
|
||||
}
|
||||
}
|
||||
|
||||
TRACE("sendViaCluster relaying %u bytes from %s to %s by way of %u failed: no common endpoints with the same address family!",len,fromPeerAddress.toString().c_str(),toPeerAddress.toString().c_str(),(unsigned int)mostRecentMemberId);
|
||||
return;
|
||||
{
|
||||
Mutex::Lock _l2(_members[mostRecentMemberId].lock);
|
||||
if (buf.size() > 0)
|
||||
_send(mostRecentMemberId,CLUSTER_MESSAGE_PROXY_UNITE,buf.data(),buf.size());
|
||||
|
||||
for(std::vector<InetAddress>::const_iterator i1(_zeroTierPhysicalEndpoints.begin());i1!=_zeroTierPhysicalEndpoints.end();++i1) {
|
||||
for(std::vector<InetAddress>::const_iterator i2(_members[mostRecentMemberId].zeroTierPhysicalEndpoints.begin());i2!=_members[mostRecentMemberId].zeroTierPhysicalEndpoints.end();++i2) {
|
||||
if (i1->ss_family == i2->ss_family) {
|
||||
TRACE("relayViaCluster relaying %u bytes from %s to %s by way of %u (%s->%s)",len,fromPeerAddress.toString().c_str(),toPeerAddress.toString().c_str(),(unsigned int)mostRecentMemberId,i1->toString().c_str(),i2->toString().c_str());
|
||||
RR->node->putPacket((void *)0,*i1,*i2,data,len);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TRACE("relayViaCluster relaying %u bytes from %s to %s by way of %u failed: no common endpoints with the same address family!",len,fromPeerAddress.toString().c_str(),toPeerAddress.toString().c_str(),(unsigned int)mostRecentMemberId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -644,8 +756,8 @@ void Cluster::doPeriodicTasks()
|
||||
_lastCleanedRemotePeers = now;
|
||||
|
||||
Mutex::Lock _l(_remotePeers_m);
|
||||
for(std::map< std::pair<Address,unsigned int>,uint64_t >::iterator rp(_remotePeers.begin());rp!=_remotePeers.end();) {
|
||||
if ((now - rp->second) >= ZT_PEER_ACTIVITY_TIMEOUT)
|
||||
for(std::map< std::pair<Address,unsigned int>,_RemotePeer >::iterator rp(_remotePeers.begin());rp!=_remotePeers.end();) {
|
||||
if ((now - rp->second.lastHavePeerReceived) >= ZT_PEER_ACTIVITY_TIMEOUT)
|
||||
_remotePeers.erase(rp++);
|
||||
else ++rp;
|
||||
}
|
||||
@@ -719,7 +831,9 @@ bool Cluster::findBetterEndpoint(InetAddress &redirectTo,const Address &peerAddr
|
||||
std::vector<InetAddress> best;
|
||||
const double currentDistance = _dist3d(_x,_y,_z,px,py,pz);
|
||||
double bestDistance = (offload ? 2147483648.0 : currentDistance);
|
||||
#ifdef ZT_TRACE
|
||||
unsigned int bestMember = _id;
|
||||
#endif
|
||||
{
|
||||
Mutex::Lock _l(_memberIds_m);
|
||||
for(std::vector<uint16_t>::const_iterator mid(_memberIds.begin());mid!=_memberIds.end();++mid) {
|
||||
@@ -731,7 +845,9 @@ bool Cluster::findBetterEndpoint(InetAddress &redirectTo,const Address &peerAddr
|
||||
const double mdist = _dist3d(m.x,m.y,m.z,px,py,pz);
|
||||
if (mdist < bestDistance) {
|
||||
bestDistance = mdist;
|
||||
#ifdef ZT_TRACE
|
||||
bestMember = *mid;
|
||||
#endif
|
||||
best = m.zeroTierPhysicalEndpoints;
|
||||
}
|
||||
}
|
||||
@@ -754,6 +870,19 @@ bool Cluster::findBetterEndpoint(InetAddress &redirectTo,const Address &peerAddr
|
||||
}
|
||||
}
|
||||
|
||||
bool Cluster::isClusterPeerFrontplane(const InetAddress &ip) const
|
||||
{
|
||||
Mutex::Lock _l(_memberIds_m);
|
||||
for(std::vector<uint16_t>::const_iterator mid(_memberIds.begin());mid!=_memberIds.end();++mid) {
|
||||
Mutex::Lock _l2(_members[*mid].lock);
|
||||
for(std::vector<InetAddress>::const_iterator i2(_members[*mid].zeroTierPhysicalEndpoints.begin());i2!=_members[*mid].zeroTierPhysicalEndpoints.end();++i2) {
|
||||
if (ip == *i2)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void Cluster::status(ZT_ClusterStatus &status) const
|
||||
{
|
||||
const uint64_t now = RR->node->now();
|
||||
@@ -827,16 +956,16 @@ void Cluster::_flush(uint16_t memberId)
|
||||
memcpy(keytmp,m.key,32);
|
||||
for(int i=0;i<8;++i)
|
||||
keytmp[i] ^= m.q[i];
|
||||
Salsa20 s20(keytmp,256,m.q.field(8,8));
|
||||
Salsa20 s20(keytmp,m.q.field(8,8));
|
||||
Utils::burn(keytmp,sizeof(keytmp));
|
||||
|
||||
// One-time-use Poly1305 key from first 32 bytes of Salsa20 keystream (as per DJB/NaCl "standard")
|
||||
char polykey[ZT_POLY1305_KEY_LEN];
|
||||
memset(polykey,0,sizeof(polykey));
|
||||
s20.encrypt12(polykey,polykey,sizeof(polykey));
|
||||
s20.crypt12(polykey,polykey,sizeof(polykey));
|
||||
|
||||
// Encrypt m.q in place
|
||||
s20.encrypt12(reinterpret_cast<const char *>(m.q.data()) + 24,const_cast<char *>(reinterpret_cast<const char *>(m.q.data())) + 24,m.q.size() - 24);
|
||||
s20.crypt12(reinterpret_cast<const char *>(m.q.data()) + 24,const_cast<char *>(reinterpret_cast<const char *>(m.q.data())) + 24,m.q.size() - 24);
|
||||
|
||||
// Add MAC for authentication (encrypt-then-MAC)
|
||||
char mac[ZT_POLY1305_MAC_LEN];
|
||||
@@ -860,7 +989,7 @@ void Cluster::_flush(uint16_t memberId)
|
||||
void Cluster::_doREMOTE_WHOIS(uint64_t fromMemberId,const Packet &remotep)
|
||||
{
|
||||
if (remotep.payloadLength() >= ZT_ADDRESS_LENGTH) {
|
||||
Identity queried(RR->topology->getIdentity(Address(remotep.payload(),ZT_ADDRESS_LENGTH)));
|
||||
Identity queried(RR->topology->getIdentity((void *)0,Address(remotep.payload(),ZT_ADDRESS_LENGTH)));
|
||||
if (queried) {
|
||||
Buffer<1024> routp;
|
||||
remotep.source().appendTo(routp);
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* ZeroTier One - Network Virtualization Everywhere
|
||||
* Copyright (C) 2011-2016 ZeroTier, Inc. https://www.zerotier.com/
|
||||
* Copyright (C) 2011-2017 ZeroTier, Inc. https://www.zerotier.com/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -14,6 +14,14 @@
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* --
|
||||
*
|
||||
* You can be released from the requirements of the license by purchasing
|
||||
* a commercial license. Buying such a license is mandatory as soon as you
|
||||
* develop commercial closed-source software that incorporates or links
|
||||
* directly against ZeroTier software without disclosing the source code
|
||||
* of your own application.
|
||||
*/
|
||||
|
||||
#ifndef ZT_CLUSTER_HPP
|
||||
@@ -88,6 +96,11 @@
|
||||
*/
|
||||
#define ZT_CLUSTER_SEND_QUEUE_DATA_MAX 1500
|
||||
|
||||
/**
|
||||
* We won't send WANT_PEER to other members more than every (ms) per recipient
|
||||
*/
|
||||
#define ZT_CLUSTER_WANT_PEER_EVERY 1000
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
class RuntimeEnvironment;
|
||||
@@ -216,14 +229,13 @@ public:
|
||||
|
||||
/**
|
||||
* Replicate a network config for a network we belong to:
|
||||
* <[8] 64-bit network ID>
|
||||
* <[2] 16-bit length of network config>
|
||||
* <[...] serialized network config>
|
||||
* <[...] network config chunk>
|
||||
*
|
||||
* This is used by clusters to avoid every member having to query
|
||||
* for the same netconf for networks all members belong to.
|
||||
*
|
||||
* TODO: not implemented yet!
|
||||
* The first field of a network config chunk is the network ID,
|
||||
* so this can be checked to look up the network on receipt.
|
||||
*/
|
||||
CLUSTER_MESSAGE_NETWORK_CONFIG = 7
|
||||
};
|
||||
@@ -268,7 +280,38 @@ public:
|
||||
void broadcastHavePeer(const Identity &id);
|
||||
|
||||
/**
|
||||
* Send this packet via another node in this cluster if another node has this peer
|
||||
* Broadcast a network config chunk to other members of cluster
|
||||
*
|
||||
* @param chunk Chunk data
|
||||
* @param len Length of chunk
|
||||
*/
|
||||
void broadcastNetworkConfigChunk(const void *chunk,unsigned int len);
|
||||
|
||||
/**
|
||||
* If the cluster has this peer, prepare the packet to send via cluster
|
||||
*
|
||||
* Note that outp is only armored (or modified at all) if the return value is a member ID.
|
||||
*
|
||||
* @param toPeerAddress Value of outp.destination(), simply to save additional lookup
|
||||
* @param ts Result: set to time of last HAVE_PEER from the cluster
|
||||
* @param peerSecret Result: Buffer to fill with peer secret on valid return value, must be at least ZT_PEER_SECRET_KEY_LENGTH bytes
|
||||
* @return -1 if cluster does not know this peer, or a member ID to pass to sendViaCluster()
|
||||
*/
|
||||
int checkSendViaCluster(const Address &toPeerAddress,uint64_t &mostRecentTs,void *peerSecret);
|
||||
|
||||
/**
|
||||
* Send data via cluster front plane (packet head or fragment)
|
||||
*
|
||||
* @param haveMemberId Member ID that has this peer as returned by prepSendviaCluster()
|
||||
* @param toPeerAddress Destination peer address
|
||||
* @param data Packet or packet fragment data
|
||||
* @param len Length of packet or fragment
|
||||
* @return True if packet was sent (and outp was modified via armoring)
|
||||
*/
|
||||
bool sendViaCluster(int haveMemberId,const Address &toPeerAddress,const void *data,unsigned int len);
|
||||
|
||||
/**
|
||||
* Relay a packet via the cluster
|
||||
*
|
||||
* This is used in the outgoing packet and relaying logic in Switch to
|
||||
* relay packets to other cluster members. It isn't PROXY_SEND-- that is
|
||||
@@ -280,7 +323,7 @@ public:
|
||||
* @param len Length of packet or fragment
|
||||
* @param unite If true, also request proxy unite across cluster
|
||||
*/
|
||||
void sendViaCluster(const Address &fromPeerAddress,const Address &toPeerAddress,const void *data,unsigned int len,bool unite);
|
||||
void relayViaCluster(const Address &fromPeerAddress,const Address &toPeerAddress,const void *data,unsigned int len,bool unite);
|
||||
|
||||
/**
|
||||
* Send a distributed query to other cluster members
|
||||
@@ -323,6 +366,12 @@ public:
|
||||
*/
|
||||
bool findBetterEndpoint(InetAddress &redirectTo,const Address &peerAddress,const InetAddress &peerPhysicalAddress,bool offload);
|
||||
|
||||
/**
|
||||
* @param ip Address to check
|
||||
* @return True if this is a cluster frontplane address (excluding our addresses)
|
||||
*/
|
||||
bool isClusterPeerFrontplane(const InetAddress &ip) const;
|
||||
|
||||
/**
|
||||
* Fill out ZT_ClusterStatus structure (from core API)
|
||||
*
|
||||
@@ -391,7 +440,15 @@ private:
|
||||
std::vector<uint16_t> _memberIds;
|
||||
Mutex _memberIds_m;
|
||||
|
||||
std::map< std::pair<Address,unsigned int>,uint64_t > _remotePeers; // we need ordered behavior and lower_bound here
|
||||
struct _RemotePeer
|
||||
{
|
||||
_RemotePeer() : lastHavePeerReceived(0),lastSentWantPeer(0) {}
|
||||
~_RemotePeer() { Utils::burn(key,ZT_PEER_SECRET_KEY_LENGTH); }
|
||||
uint64_t lastHavePeerReceived;
|
||||
uint64_t lastSentWantPeer;
|
||||
uint8_t key[ZT_PEER_SECRET_KEY_LENGTH]; // secret key from identity agreement
|
||||
};
|
||||
std::map< std::pair<Address,unsigned int>,_RemotePeer > _remotePeers; // we need ordered behavior and lower_bound here
|
||||
Mutex _remotePeers_m;
|
||||
|
||||
uint64_t _lastFlushed;
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* ZeroTier One - Network Virtualization Everywhere
|
||||
* Copyright (C) 2011-2016 ZeroTier, Inc. https://www.zerotier.com/
|
||||
* Copyright (C) 2011-2017 ZeroTier, Inc. https://www.zerotier.com/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -14,6 +14,14 @@
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* --
|
||||
*
|
||||
* You can be released from the requirements of the license by purchasing
|
||||
* a commercial license. Buying such a license is mandatory as soon as you
|
||||
* develop commercial closed-source software that incorporates or links
|
||||
* directly against ZeroTier software without disclosing the source code
|
||||
* of your own application.
|
||||
*/
|
||||
|
||||
#ifndef ZT_CLUSTERDEFINITION_HPP
|
||||
@@ -64,11 +72,11 @@ public:
|
||||
return;
|
||||
|
||||
char myAddressStr[64];
|
||||
Utils::snprintf(myAddressStr,sizeof(myAddressStr),"%.10llx",myAddress);
|
||||
Utils::ztsnprintf(myAddressStr,sizeof(myAddressStr),"%.10llx",myAddress);
|
||||
|
||||
std::vector<std::string> lines(Utils::split(cf.c_str(),"\r\n","",""));
|
||||
std::vector<std::string> lines(OSUtils::split(cf.c_str(),"\r\n","",""));
|
||||
for(std::vector<std::string>::iterator l(lines.begin());l!=lines.end();++l) {
|
||||
std::vector<std::string> fields(Utils::split(l->c_str()," \t","",""));
|
||||
std::vector<std::string> fields(OSUtils::split(l->c_str()," \t","",""));
|
||||
if ((fields.size() < 5)||(fields[0][0] == '#')||(fields[0] != myAddressStr))
|
||||
continue;
|
||||
|
||||
@@ -93,7 +101,7 @@ public:
|
||||
|
||||
md.id = (unsigned int)id;
|
||||
if (fields.size() >= 6) {
|
||||
std::vector<std::string> xyz(Utils::split(fields[5].c_str(),",","",""));
|
||||
std::vector<std::string> xyz(OSUtils::split(fields[5].c_str(),",","",""));
|
||||
md.x = (xyz.size() > 0) ? Utils::strToInt(xyz[0].c_str()) : 0;
|
||||
md.y = (xyz.size() > 1) ? Utils::strToInt(xyz[1].c_str()) : 0;
|
||||
md.z = (xyz.size() > 2) ? Utils::strToInt(xyz[2].c_str()) : 0;
|
||||
@@ -102,7 +110,7 @@ public:
|
||||
md.clusterEndpoint.fromString(fields[3]);
|
||||
if (!md.clusterEndpoint)
|
||||
continue;
|
||||
std::vector<std::string> zips(Utils::split(fields[4].c_str(),",","",""));
|
||||
std::vector<std::string> zips(OSUtils::split(fields[4].c_str(),",","",""));
|
||||
for(std::vector<std::string>::iterator zip(zips.begin());zip!=zips.end();++zip) {
|
||||
InetAddress i;
|
||||
i.fromString(*zip);
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* ZeroTier One - Network Virtualization Everywhere
|
||||
* Copyright (C) 2011-2016 ZeroTier, Inc. https://www.zerotier.com/
|
||||
* Copyright (C) 2011-2017 ZeroTier, Inc. https://www.zerotier.com/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -14,6 +14,14 @@
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* --
|
||||
*
|
||||
* You can be released from the requirements of the license by purchasing
|
||||
* a commercial license. Buying such a license is mandatory as soon as you
|
||||
* develop commercial closed-source software that incorporates or links
|
||||
* directly against ZeroTier software without disclosing the source code
|
||||
* of your own application.
|
||||
*/
|
||||
|
||||
#ifdef ZT_ENABLE_CLUSTER
|
||||
@@ -101,7 +109,7 @@ bool ClusterGeoIpService::locate(const InetAddress &ip,int &x,int &y,int &z)
|
||||
|
||||
void ClusterGeoIpService::_parseLine(const char *line,std::vector<_V4E> &v4db,std::vector<_V6E> &v6db,int ipStartColumn,int ipEndColumn,int latitudeColumn,int longitudeColumn)
|
||||
{
|
||||
std::vector<std::string> ls(Utils::split(line,",\t","\\","\"'"));
|
||||
std::vector<std::string> ls(OSUtils::split(line,",\t","\\","\"'"));
|
||||
if ( ((ipStartColumn >= 0)&&(ipStartColumn < (int)ls.size()))&&
|
||||
((ipEndColumn >= 0)&&(ipEndColumn < (int)ls.size()))&&
|
||||
((latitudeColumn >= 0)&&(latitudeColumn < (int)ls.size()))&&
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* ZeroTier One - Network Virtualization Everywhere
|
||||
* Copyright (C) 2011-2016 ZeroTier, Inc. https://www.zerotier.com/
|
||||
* Copyright (C) 2011-2017 ZeroTier, Inc. https://www.zerotier.com/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -14,6 +14,14 @@
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* --
|
||||
*
|
||||
* You can be released from the requirements of the license by purchasing
|
||||
* a commercial license. Buying such a license is mandatory as soon as you
|
||||
* develop commercial closed-source software that incorporates or links
|
||||
* directly against ZeroTier software without disclosing the source code
|
||||
* of your own application.
|
||||
*/
|
||||
|
||||
#ifndef ZT_CLUSTERGEOIPSERVICE_HPP
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* ZeroTier One - Network Virtualization Everywhere
|
||||
* Copyright (C) 2011-2018 ZeroTier, Inc. https://www.zerotier.com/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* --
|
||||
*
|
||||
* You can be released from the requirements of the license by purchasing
|
||||
* a commercial license. Buying such a license is mandatory as soon as you
|
||||
* develop commercial closed-source software that incorporates or links
|
||||
* directly against ZeroTier software without disclosing the source code
|
||||
* of your own application.
|
||||
*/
|
||||
|
||||
#include "Constants.hpp"
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
/**
|
||||
* A really simple fixed capacity vector
|
||||
*
|
||||
* This class does no bounds checking, so the user must ensure that
|
||||
* no more than C elements are ever added and that accesses are in
|
||||
* bounds.
|
||||
*
|
||||
* @tparam T Type to contain
|
||||
* @tparam C Capacity of vector
|
||||
*/
|
||||
template<typename T,unsigned long C>
|
||||
class FCV
|
||||
{
|
||||
public:
|
||||
FCV() : _s(0) {}
|
||||
~FCV() { clear(); }
|
||||
|
||||
FCV(const FCV &v) :
|
||||
_s(v._s)
|
||||
{
|
||||
for(unsigned long i=0;i<_s;++i) {
|
||||
new (reinterpret_cast<T *>(_mem + (sizeof(T) * i))) T(reinterpret_cast<const T *>(v._mem)[i]);
|
||||
}
|
||||
}
|
||||
|
||||
inline FCV &operator=(const FCV &v)
|
||||
{
|
||||
clear();
|
||||
_s = v._s;
|
||||
for(unsigned long i=0;i<_s;++i) {
|
||||
new (reinterpret_cast<T *>(_mem + (sizeof(T) * i))) T(reinterpret_cast<const T *>(v._mem)[i]);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
typedef T * iterator;
|
||||
typedef const T * const_iterator;
|
||||
typedef unsigned long size_type;
|
||||
|
||||
inline iterator begin() { return (T *)_mem; }
|
||||
inline iterator end() { return (T *)(_mem + (sizeof(T) * _s)); }
|
||||
inline iterator begin() const { return (const T *)_mem; }
|
||||
inline iterator end() const { return (const T *)(_mem + (sizeof(T) * _s)); }
|
||||
|
||||
inline T &operator[](const size_type i) { return reinterpret_cast<T *>(_mem)[i]; }
|
||||
inline const T &operator[](const size_type i) const { return reinterpret_cast<const T *>(_mem)[i]; }
|
||||
|
||||
inline T &front() { return reinterpret_cast<T *>(_mem)[0]; }
|
||||
inline const T &front() const { return reinterpret_cast<const T *>(_mem)[0]; }
|
||||
inline T &back() { return reinterpret_cast<T *>(_mem)[_s - 1]; }
|
||||
inline const T &back() const { return reinterpret_cast<const T *>(_mem)[_s - 1]; }
|
||||
|
||||
inline void push_back(const T &v) { new (reinterpret_cast<T *>(_mem + (sizeof(T) * _s++))) T(v); }
|
||||
inline void pop_back() { reinterpret_cast<T *>(_mem + (sizeof(T) * --_s))->~T(); }
|
||||
|
||||
inline size_type size() const { return _s; }
|
||||
inline size_type capacity() const { return C; }
|
||||
|
||||
inline void clear()
|
||||
{
|
||||
for(unsigned long i=0;i<_s;++i)
|
||||
reinterpret_cast<T *>(_mem + (sizeof(T) * i))->~T();
|
||||
_s = 0;
|
||||
}
|
||||
|
||||
private:
|
||||
char _mem[sizeof(T) * C];
|
||||
unsigned long _s;
|
||||
};
|
||||
|
||||
} // namespace ZeroTier
|
||||
Loaded 20 of 696 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user