mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2026-09-22 15:29:03 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91b16310ea | ||
|
|
609873e6d1 | ||
|
|
4c616621c2 | ||
|
|
05470bf202 | ||
|
|
633cf9ec04 | ||
|
|
f3c3a90393 | ||
|
|
25a48f2f44 | ||
|
|
d214a5437f | ||
|
|
de0a5aa840 | ||
|
|
6f9e3e3b78 | ||
|
|
5c5e7fc7ff | ||
|
|
43e98930e9 | ||
|
|
51ebefc3ab | ||
|
|
86add4a6d3 | ||
|
|
221a3f9a08 | ||
|
|
2f74bd5150 | ||
|
|
e8ae333443 | ||
|
|
52a166a71f | ||
|
|
509da3ac34 | ||
|
|
fe18579061 | ||
|
|
2ec53df7ab | ||
|
|
1c7b553331 | ||
|
|
a0fb519696 | ||
|
|
83e6864b78 | ||
|
|
98af3c0dc1 | ||
|
|
5341c216a7 | ||
|
|
96a0c3d764 | ||
|
|
783b49e383 | ||
|
|
d4dc983a01 | ||
|
|
72ccd1020a | ||
|
|
6a9a577c59 | ||
|
|
730305ecc7 | ||
|
|
f8f2432ece | ||
|
|
55087521f6 | ||
|
|
760ae07d72 | ||
|
|
28d0070ce2 | ||
|
|
ad2a7c2590 | ||
|
|
8b97755fc5 | ||
|
|
7bb0d9be1b | ||
|
|
6c44fcc290 | ||
|
|
c8e7031198 | ||
|
|
fb3b2820b5 | ||
|
|
c83a4aef55 | ||
|
|
af7a70bf02 | ||
|
|
4d70640a15 | ||
|
|
b11627a8bc | ||
|
|
7436f85ad0 | ||
|
|
237c379866 | ||
|
|
aca31c7055 | ||
|
|
6073e7972f | ||
|
|
f7e8d8f1dd | ||
|
|
87016ae815 | ||
|
|
3ed8e46782 | ||
|
|
3db0197865 | ||
|
|
6174c0c103 | ||
|
|
8898cb342b | ||
|
|
9cc76d1115 | ||
|
|
5289d3327c | ||
|
|
00fb9c475e | ||
|
|
3c776675b3 | ||
|
|
37d508ab96 | ||
|
|
f4f8fef82e | ||
|
|
cd2e3c79f2 | ||
|
|
7722350178 | ||
|
|
a77b4ecddb | ||
|
|
818b7e4a2e | ||
|
|
00d63f6046 | ||
|
|
639fc60257 | ||
|
|
21467596bc | ||
|
|
75ebe5172f | ||
|
|
4a9030b4a0 | ||
|
|
fdc708a624 | ||
|
|
67beea1e3d | ||
|
|
34364ab8ee | ||
|
|
bb99ef1351 | ||
|
|
b3891e5506 | ||
|
|
632d6e04ad | ||
|
|
db813db7e8 | ||
|
|
837c6270f2 | ||
|
|
8c3c07cb5d | ||
|
|
5cc0dd7f55 | ||
|
|
79c4d98b61 | ||
|
|
678e11530e | ||
|
|
a8f2b39f15 | ||
|
|
add2ac0369 | ||
|
|
1e475edd1c | ||
|
|
745483708a | ||
|
|
d9432f2f1e | ||
|
|
eb7081d2a3 | ||
|
|
d9befe3fb3 | ||
|
|
0618452615 | ||
|
|
f6b080b8a2 | ||
|
|
c8c33db1d1 | ||
|
|
196bac726c | ||
|
|
ac2688de58 | ||
|
|
d2af12b6a0 | ||
|
|
6958ba9557 | ||
|
|
5f11daadf2 | ||
|
|
99df3fe433 | ||
|
|
d4d350a285 | ||
|
|
8a0b75c83a | ||
|
|
9cf74657e0 | ||
|
|
5edd04638d | ||
|
|
eb2f851e65 | ||
|
|
a0f47b12b4 | ||
|
|
1b2d9e202e | ||
|
|
daa8839005 | ||
|
|
80124bb753 | ||
|
|
861a319014 | ||
|
|
d43e810ecb | ||
|
|
7afcc17024 | ||
|
|
2ab2f68725 | ||
|
|
90872c906f | ||
|
|
bdc2ec1f5e | ||
|
|
692733fffb | ||
|
|
d3728d5859 | ||
|
|
389331ca29 | ||
|
|
b2c4b7e99f | ||
|
|
fee6aae442 | ||
|
|
409406d114 | ||
|
|
203414910f | ||
|
|
ac0082a67e | ||
|
|
9ccbe85923 | ||
|
|
dffbd2113a | ||
|
|
7db073d993 | ||
|
|
3c02c2e4bd | ||
|
|
a17c760181 | ||
|
|
54d2fa65dd | ||
|
|
a019c3dd5d | ||
|
|
a3ef9b8a15 | ||
|
|
554e0b7c6d | ||
|
|
fd74e2a583 | ||
|
|
af5d3a7f0b | ||
|
|
bb0808c99c | ||
|
|
f0295b154b | ||
|
|
b041de831a | ||
|
|
21e844cd82 | ||
|
|
4e2439bd12 | ||
|
|
c5a07c7f20 | ||
|
|
e2900f4f3c | ||
|
|
aa831dd843 | ||
|
|
2dc783214c | ||
|
|
523df47a65 | ||
|
|
f66fac3982 | ||
|
|
9c51ce9c40 | ||
|
|
9797540212 | ||
|
|
ce2338c24a | ||
|
|
3b188ba672 | ||
|
|
eb84d61deb | ||
|
|
47d29ddcaf | ||
|
|
f411eb1651 | ||
|
|
94bd2918fa | ||
|
|
c3bfcf560b | ||
|
|
5b2b088714 | ||
|
|
0bdfad52e7 | ||
|
|
cf046a4039 | ||
|
|
700cc92083 | ||
|
|
2eb9c0924a | ||
|
|
ebadc6f203 | ||
|
|
87bce1a36b | ||
|
|
848f822171 | ||
|
|
d4199ddb3e | ||
|
|
e4abc91d35 | ||
|
|
37d321afc8 | ||
|
|
541e5c510e | ||
|
|
90d324ae96 | ||
|
|
cacdb445c7 | ||
|
|
4743ad0b16 | ||
|
|
2d5c6fa975 | ||
|
|
95ef13f7a1 | ||
|
|
298e1d5a74 | ||
|
|
87c75d033e | ||
|
|
71ae678930 | ||
|
|
6a027c9c0a | ||
|
|
6014df2847 | ||
|
|
55a9e6e05e | ||
|
|
02f0eead1c | ||
|
|
d77846dcea | ||
|
|
92c811deb7 | ||
|
|
92f199ab98 | ||
|
|
b65feeba85 | ||
|
|
6914425b03 | ||
|
|
89f57124b2 | ||
|
|
65823332d4 | ||
|
|
ee8682ac75 | ||
|
|
e3e5137757 | ||
|
|
d81549a7b1 | ||
|
|
d5ac8512e3 | ||
|
|
f23e354272 | ||
|
|
6475e1faf6 | ||
|
|
752fc0742e | ||
|
|
e1091611da | ||
|
|
678116b6d1 | ||
|
|
0a9e2227e8 | ||
|
|
2600b1f144 | ||
|
|
b56753ea9f | ||
|
|
97046b265c | ||
|
|
2966eac64f | ||
|
|
d530356055 | ||
|
|
af3ec000a0 | ||
|
|
8051127c3b | ||
|
|
e37eb0aa54 | ||
|
|
130fa35bb1 | ||
|
|
39e1021f62 | ||
|
|
63ec19674c | ||
|
|
af60e769b0 | ||
|
|
087c75d5ee | ||
|
|
e03102dbcb | ||
|
|
9d7b7c72b2 | ||
|
|
99c3f02343 | ||
|
|
95bfc29c92 | ||
|
|
e3cc7c9a80 | ||
|
|
d4c0349de9 | ||
|
|
d7a6357393 | ||
|
|
6fbf21b4f0 | ||
|
|
993d850f69 | ||
|
|
cda07b20a2 | ||
|
|
52c85aa605 | ||
|
|
e5155df6d5 | ||
|
|
293d2064c4 | ||
|
|
171cc3e01a | ||
|
|
8141043560 | ||
|
|
9a3cc93d74 | ||
|
|
fcb4221f97 | ||
|
|
1f13374a4f | ||
|
|
801401a6e7 | ||
|
|
de1fc43cc5 | ||
|
|
270debb3fc | ||
|
|
59a0a25f35 | ||
|
|
a788486803 | ||
|
|
3d21f0a91f | ||
|
|
f726044e29 | ||
|
|
a4b1917361 | ||
|
|
a3b2aeb001 | ||
|
|
5b1ef2fb03 | ||
|
|
d0f78f1e03 | ||
|
|
541e91ed8e | ||
|
|
321cada1d7 | ||
|
|
34c1023ba7 | ||
|
|
82a21d4b71 | ||
|
|
23996c7e6b | ||
|
|
d7091a0bac | ||
|
|
7414418e2e | ||
|
|
2294770e56 | ||
|
|
d98bdb5643 | ||
|
|
21f4f16e63 | ||
|
|
0e597191b8 | ||
|
|
001ba1a4a7 | ||
|
|
b59c4a2106 | ||
|
|
c35933cd1e | ||
|
|
0da2efa633 | ||
|
|
e23d95bf03 | ||
|
|
f6e9f0e2a2 | ||
|
|
4a89729529 | ||
|
|
56a58f2b11 | ||
|
|
e959908c51 | ||
|
|
6e3144370a | ||
|
|
20f02bb772 | ||
|
|
1c86f25fab | ||
|
|
e6f9ab929d | ||
|
|
18d1772bb4 | ||
|
|
5535cad773 | ||
|
|
ec84934d48 | ||
|
|
328d08781a | ||
|
|
c8d5215870 | ||
|
|
62ccb48a0b | ||
|
|
82409eb345 | ||
|
|
b75f212d70 | ||
|
|
ccb856749f | ||
|
|
9d2bc9bf4e | ||
|
|
52c4385c16 | ||
|
|
5da7d6d1ae | ||
|
|
65e0a74718 | ||
|
|
01d5d7d78b | ||
|
|
e3381a4c1f | ||
|
|
03e35b25b8 | ||
|
|
e2b0fb26b1 | ||
|
|
01c18cc442 | ||
|
|
01e6df4d46 | ||
|
|
882b03436d | ||
|
|
690bd933d5 | ||
|
|
6684559cd9 | ||
|
|
4ed7d20a48 | ||
|
|
350116c513 | ||
|
|
7bde2c089d | ||
|
|
90631adb9b | ||
|
|
f6450cd7e1 | ||
|
|
3b6b1d1674 | ||
|
|
33d7b22abe | ||
|
|
2f9712e6a7 | ||
|
|
b937aeb857 | ||
|
|
f3d8846df3 | ||
|
|
2729db9555 | ||
|
|
1cec4b1c4c | ||
|
|
7048c77ebc | ||
|
|
c9c17eaddd | ||
|
|
f1b82b734a | ||
|
|
4c0e7aa8b0 | ||
|
|
296e4616cc | ||
|
|
15649334a6 | ||
|
|
b3c2c0866f | ||
|
|
c6ae81fac7 | ||
|
|
79086f0858 | ||
|
|
c148a23df4 | ||
|
|
c56831767e | ||
|
|
72a724f075 | ||
|
|
96e1df5854 | ||
|
|
2e44b90f63 | ||
|
|
5a0adba798 | ||
|
|
761cc5c923 | ||
|
|
f901b9dd6b | ||
|
|
d87fcca176 | ||
|
|
7c72653385 | ||
|
|
7dbccf08ae | ||
|
|
2d21c18ebd | ||
|
|
15d0aad3c0 | ||
|
|
f0fc9b1766 | ||
|
|
7c0331997a | ||
|
|
04de2302a7 | ||
|
|
1da1409db2 | ||
|
|
c1ea1329c1 | ||
|
|
417aa9547b | ||
|
|
60d5a3c631 | ||
|
|
7a42416a78 | ||
|
|
2a143a7505 | ||
|
|
0510f85a8f | ||
|
|
5b222d0a09 | ||
|
|
133b64679c | ||
|
|
79b88a22c3 | ||
|
|
88d879987d | ||
|
|
27c37a18f3 | ||
|
|
b8268d894b | ||
|
|
79b47b055a | ||
|
|
8e260bae11 | ||
|
|
af61ee6f3a | ||
|
|
04d7a1df96 | ||
|
|
b9fd50e348 | ||
|
|
ef48d11266 | ||
|
|
a47559d9e3 | ||
|
|
cffb992ae8 | ||
|
|
39e720e811 | ||
|
|
7b87e9c0cb | ||
|
|
3dd9b1aa9b | ||
|
|
0fddebc791 | ||
|
|
701d64936d | ||
|
|
0ec6215493 | ||
|
|
de45bdb448 | ||
|
|
7b608c6ca3 | ||
|
|
6ff78c9c26 | ||
|
|
d701f4e331 | ||
|
|
92abc92463 | ||
|
|
a4be9ceb5a | ||
|
|
e21b6e1daf | ||
|
|
2e3b03fff9 | ||
|
|
cd657da431 | ||
|
|
17af09a5cc | ||
|
|
ceff48b07c | ||
|
|
199566965e | ||
|
|
46e46e9b7b | ||
|
|
8b292d2dc7 | ||
|
|
88abd6ffc6 | ||
|
|
76b4ec12a0 | ||
|
|
0e4cfd897b | ||
|
|
515d7962b0 | ||
|
|
553101e8b5 | ||
|
|
3cd0ab1b3b | ||
|
|
fc6dba0797 | ||
|
|
e01c0adff2 | ||
|
|
e75a093a8c | ||
|
|
dcffb042ff | ||
|
|
d724af6a99 | ||
|
|
b30f423fc9 | ||
|
|
1fc14292fe | ||
|
|
fa7e7fc6f9 | ||
|
|
5b114791e5 | ||
|
|
9bc11a369c | ||
|
|
ac40f2191c | ||
|
|
62a93c58fd | ||
|
|
65b0030342 | ||
|
|
f302fac423 | ||
|
|
f94aea8119 | ||
|
|
28cb40529d | ||
|
|
37ae3b2b80 | ||
|
|
73e4286fbf | ||
|
|
4e6151ebd9 | ||
|
|
fc225401a5 | ||
|
|
d74817f79f | ||
|
|
bdcdccfcc3 | ||
|
|
352ec3430f | ||
|
|
978d2fcb56 | ||
|
|
52264d5e28 | ||
|
|
17fbb020e7 | ||
|
|
f8005b88ad | ||
|
|
0faa655b83 | ||
|
|
6fddf31db3 | ||
|
|
01257a461e | ||
|
|
817b9d012e | ||
|
|
04b3525e0f | ||
|
|
d55c732e19 | ||
|
|
d223427e22 | ||
|
|
64856adc3c | ||
|
|
7c53adbcfe | ||
|
|
dce9cb27c1 | ||
|
|
4199c56e99 | ||
|
|
9681fedbb4 | ||
|
|
b6d97af451 | ||
|
|
a9ca26c698 | ||
|
|
9463d4abe4 | ||
|
|
b9975845ff | ||
|
|
b22405b64b | ||
|
|
62210e57f1 | ||
|
|
4dd093efc9 | ||
|
|
91a22a686a | ||
|
|
a307dff3b7 | ||
|
|
20f0bed2f6 | ||
|
|
46a7a2be2e | ||
|
|
8199dbd0dc | ||
|
|
dfe426e4e0 | ||
|
|
3ace61ef85 | ||
|
|
442595d6fc | ||
|
|
be469f4dd0 | ||
|
|
7da4b0af15 | ||
|
|
2fff651378 | ||
|
|
c24d16e62e | ||
|
|
c36c92e077 | ||
|
|
c0efba79c7 | ||
|
|
5809941ae9 | ||
|
|
535ba8a207 | ||
|
|
43331d3fe8 | ||
|
|
9765ba334a | ||
|
|
0cd01b6ff8 | ||
|
|
5f85e33510 | ||
|
|
22301a4599 | ||
|
|
c8a907fd71 | ||
|
|
d01b1ffde5 | ||
|
|
f4e993c814 | ||
|
|
91c8e82c42 | ||
|
|
776ff46db7 | ||
|
|
9001ab5858 | ||
|
|
1debe2292d | ||
|
|
6a2ba4baca | ||
|
|
836d897aec | ||
|
|
740b0fbbf6 | ||
|
|
92e716d93d | ||
|
|
c7115a0671 | ||
|
|
020bbed935 | ||
|
|
0c60963a94 | ||
|
|
d704f5f2d2 | ||
|
|
381bbb0e5e | ||
|
|
0ebd19c14a | ||
|
|
d4160afac8 | ||
|
|
fffb037873 | ||
|
|
1df5d0453d | ||
|
|
19d453cb90 | ||
|
|
6e7437a0d0 | ||
|
|
caf849fcba | ||
|
|
7533d244a9 | ||
|
|
0a52840fa3 | ||
|
|
a7d0905b74 | ||
|
|
05bfafbce8 | ||
|
|
d32a26f780 | ||
|
|
42ec780a6f | ||
|
|
4608880fb0 | ||
|
|
7492e2789f | ||
|
|
9564a8eaf6 | ||
|
|
f12c0e79c9 | ||
|
|
e4e0be979e | ||
|
|
86637cda9f | ||
|
|
94f41e2332 | ||
|
|
3d2a50f811 | ||
|
|
c2ffbb8627 | ||
|
|
54218f6c3c | ||
|
|
6fdbdf9272 | ||
|
|
3de7691af3 | ||
|
|
bbed93bcf4 | ||
|
|
8900b30b6e | ||
|
|
ae4fb799e4 | ||
|
|
3f1d1fb3c3 | ||
|
|
f0a23ae0ea | ||
|
|
c14f9cc247 | ||
|
|
e276b6463e | ||
|
|
9da7967197 | ||
|
|
74f2b78c04 | ||
|
|
2021f8cb5f | ||
|
|
40a9ebd078 | ||
|
|
8c1b73b29c | ||
|
|
6679a55693 | ||
|
|
1101c1d919 | ||
|
|
fcb529b348 | ||
|
|
680b1ca208 | ||
|
|
af74fe1711 | ||
|
|
494cf4049e | ||
|
|
c908b9f67a | ||
|
|
209f6d9d2d | ||
|
|
916077012e | ||
|
|
beb170e4fb | ||
|
|
a59912f3af | ||
|
|
610e594a50 | ||
|
|
b4e2547052 | ||
|
|
a9778549f2 | ||
|
|
b601041b5b | ||
|
|
0945d6ec0d | ||
|
|
78d9cee416 | ||
|
|
bbdb2aa672 | ||
|
|
574b24c082 | ||
|
|
874a187c7f | ||
|
|
e8fb443313 | ||
|
|
57b96af2c4 | ||
|
|
e61d4ab67a | ||
|
|
2ee358dbfc | ||
|
|
e3bb67d188 | ||
|
|
2d289a3308 | ||
|
|
bdb2cc7c85 | ||
|
|
7793060723 | ||
|
|
84302ae9c7 | ||
|
|
cd801b96fa | ||
|
|
5ff0653f9e | ||
|
|
9574d635c1 | ||
|
|
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 | ||
|
|
381857ea49 | ||
|
|
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 | ||
|
|
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
@@ -0,0 +1,46 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
**Alternative, faster ways to get help**
|
||||
If you have just started using ZeroTier, here are some places to get help:
|
||||
- my.zerotier.com has a _Community_ tab. It's a live chat with other users and the developers.
|
||||
- [ZeroTier Knowledge Base](https://zerotier.atlassian.net/wiki/spaces/SD/overview)
|
||||
- www.zerotier.com has a Contact Us button
|
||||
- email contact@zerotier.com
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Create a Network '...'
|
||||
2. Install zerotier-one '....'
|
||||
3. '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots or console output to help explain your problem.
|
||||
|
||||
**Desktop (please complete the following information):**
|
||||
- OS: [e.g. Mac, Linux, Windows, BSD]
|
||||
- OS/Distribution Version
|
||||
- ZeroTier Version [e.g. 1.2.4]
|
||||
- Hardware [e.g. raspberry pi 3]
|
||||
|
||||
**Smartphone (please complete the following information):**
|
||||
- Device: [e.g. iPhone6]
|
||||
- OS: [e.g. iOS8.1]
|
||||
- Version [e.g. 1.2.4]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
- ZeroTier Network Configuration
|
||||
- Router Config
|
||||
- Firewall Config (try turning the firewall off)
|
||||
- General Network Environment: [ e.g Home, University Campus, Corporate LAN ]
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
+42
-4
@@ -4,11 +4,14 @@
|
||||
/zerotier-cli
|
||||
/zerotier-selftest
|
||||
/zerotier
|
||||
/nltest
|
||||
|
||||
# OS-created garbage files from various platforms
|
||||
.DS_Store
|
||||
.Apple*
|
||||
Thumbs.db
|
||||
@eaDir
|
||||
._*
|
||||
|
||||
# Windows build droppings
|
||||
/windows/ZeroTierOne.sdf
|
||||
@@ -25,10 +28,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-*
|
||||
@@ -38,6 +51,7 @@ Thumbs.db
|
||||
/world/mkworld
|
||||
/world/*.c25519
|
||||
zt1-src.tar.gz
|
||||
/MacEthernetTapAgent
|
||||
|
||||
# Miscellaneous temporaries, build files, etc.
|
||||
*.log
|
||||
@@ -49,7 +63,7 @@ zt1-src.tar.gz
|
||||
*.pid
|
||||
*.pkg
|
||||
*.o
|
||||
*.a
|
||||
/*.a
|
||||
*.dylib
|
||||
*.so
|
||||
*.so.*
|
||||
@@ -59,16 +73,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 +95,28 @@ 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__
|
||||
*~
|
||||
attic/world/*.c25519
|
||||
attic/world/mkworld
|
||||
+21
-26
@@ -1,7 +1,10 @@
|
||||
# Authors and Third Party Code Licensing Information
|
||||
|
||||
## Primary Authors
|
||||
|
||||
* ZeroTier Core and ZeroTier One virtual networking service<br>
|
||||
Adam Ierymenko / adam.ierymenko@zerotier.com
|
||||
Joseph Henry / joseph.henry@zerotier.com (QoS and multipath)
|
||||
|
||||
* Java JNI Interface to enable Android application development, and Android app itself (code for that is elsewhere)<br>
|
||||
Grant Limberg / glimberg@gmail.com
|
||||
@@ -25,13 +28,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. This third party code remains licensed under its original license and is not subject to ZeroTier's BSL license.
|
||||
|
||||
* 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,42 +42,34 @@ 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
|
||||
|
||||
* TunTapOSX by Mattias Nissler
|
||||
|
||||
* Files: ext/tap-mac/tuntap/*
|
||||
* Home page: http://tuntaposx.sourceforge.net/
|
||||
* License grant: BSD attribution no-endorsement
|
||||
* ZeroTier Modifications: change interface name to zt#, increase max MTU, increase max devices
|
||||
* Files: ext/json/*
|
||||
* Home page: https://github.com/nlohmann/json
|
||||
* License grant: MIT
|
||||
|
||||
* 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
|
||||
|
||||
* cpp-httplib by yhirose
|
||||
|
||||
* Files: ext/cpp-httplib/*
|
||||
* Home page: https://github.com/yhirose/cpp-httplib
|
||||
* License grant: MIT
|
||||
@@ -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,13 +1,8 @@
|
||||
ZeroTier One, an endpoint server for the ZeroTier virtual network layer.
|
||||
Copyright © 2011–2016 ZeroTier, Inc.
|
||||
Copyright © 2011–2019 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
|
||||
the Free Software Foundation; either version 3 of the License, or (at
|
||||
your option) any later version.
|
||||
|
||||
See the file ‘LICENSE.GPL-3’ for the text of the GNU GPL version 3.
|
||||
If that file is not present, see <http://www.gnu.org/licenses/>.
|
||||
ZeroTier is released under the terms of the BSL version 1.1. See the
|
||||
file LICENSE.txt for details.
|
||||
|
||||
..
|
||||
Local variables:
|
||||
|
||||
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...>)"
|
||||
-339
@@ -1,339 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 2 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, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
Business Source License 1.1
|
||||
|
||||
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
|
||||
"Business Source License" is a trademark of MariaDB Corporation Ab.
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
Parameters
|
||||
|
||||
Licensor: ZeroTier, Inc.
|
||||
Licensed Work: ZeroTier Network Virtualization Engine 1.4.4
|
||||
The Licensed Work is (c)2019 ZeroTier, Inc.
|
||||
Additional Use Grant: You may make use of the Licensed Work, provided you
|
||||
do not use it in any of the following ways:
|
||||
|
||||
* Sell hosted ZeroTier services as a "SaaS" Product
|
||||
|
||||
(1) Operate or sell access to ZeroTier root servers,
|
||||
network controllers, or authorization key or certificate
|
||||
generation components of the Licensed Work as a
|
||||
for-profit service, regardless of whether the use of
|
||||
these components is sold alone or is bundled with other
|
||||
services.
|
||||
|
||||
* Create Non-Open-Source Commercial Derviative Works
|
||||
|
||||
(2) Link or directly include the Licensed Work in a
|
||||
commercial or for-profit application or other product
|
||||
not distributed under an Open Source Initiative (OSI)
|
||||
compliant license. See: https://opensource.org/licenses
|
||||
|
||||
(3) Remove the name, logo, copyright, or other branding
|
||||
material from the Licensed Work to create a "rebranded"
|
||||
or "white labeled" version to distribute as part of
|
||||
any commercial or for-profit product or service.
|
||||
|
||||
* Certain Government Uses
|
||||
|
||||
(4) Use or deploy the Licensed Work in a government
|
||||
setting in support of any active government function
|
||||
or operation with the exception of the following:
|
||||
physical or mental health care, family and social
|
||||
services, social welfare, senior care, child care, and
|
||||
the care of persons with disabilities.
|
||||
|
||||
Change Date: 2023-01-01
|
||||
|
||||
Change License: Apache License version 2.0 as published by the Apache
|
||||
Software Foundation
|
||||
https://www.apache.org/licenses/
|
||||
|
||||
Alternative Licensing
|
||||
|
||||
If you would like to use the Licensed Work in any way that conflicts with
|
||||
the stipulations of the Additional Use Grant, contact ZeroTier, Inc. to
|
||||
obtain an alternative commercial license.
|
||||
|
||||
Visit us on the web at: https://www.zerotier.com/
|
||||
|
||||
Notice
|
||||
|
||||
The Business Source License (this document, or the "License") is not an Open
|
||||
Source license. However, the Licensed Work will eventually be made available
|
||||
under an Open Source License, as stated in this License.
|
||||
|
||||
For more information on the use of the Business Source License for ZeroTier
|
||||
products, please visit our pricing page which contains license details and
|
||||
and license FAQ: https://zerotier.com/pricing
|
||||
|
||||
For more information on the use of the Business Source License generally,
|
||||
please visit the Adopting and Developing Business Source License FAQ at
|
||||
https://mariadb.com/bsl-faq-adopting.
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
Business Source License 1.1
|
||||
|
||||
Terms
|
||||
|
||||
The Licensor hereby grants you the right to copy, modify, create derivative
|
||||
works, redistribute, and make non-production use of the Licensed Work. The
|
||||
Licensor may make an Additional Use Grant, above, permitting limited
|
||||
production use.
|
||||
|
||||
Effective on the Change Date, or the fourth anniversary of the first publicly
|
||||
available distribution of a specific version of the Licensed Work under this
|
||||
License, whichever comes first, the Licensor hereby grants you rights under
|
||||
the terms of the Change License, and the rights granted in the paragraph
|
||||
above terminate.
|
||||
|
||||
If your use of the Licensed Work does not comply with the requirements
|
||||
currently in effect as described in this License, you must purchase a
|
||||
commercial license from the Licensor, its affiliated entities, or authorized
|
||||
resellers, or you must refrain from using the Licensed Work.
|
||||
|
||||
All copies of the original and modified Licensed Work, and derivative works
|
||||
of the Licensed Work, are subject to this License. This License applies
|
||||
separately for each version of the Licensed Work and the Change Date may vary
|
||||
for each version of the Licensed Work released by Licensor.
|
||||
|
||||
You must conspicuously display this License on each original or modified copy
|
||||
of the Licensed Work. If you receive the Licensed Work in original or
|
||||
modified form from a third party, the terms and conditions set forth in this
|
||||
License apply to your use of that work.
|
||||
|
||||
Any use of the Licensed Work in violation of this License will automatically
|
||||
terminate your rights under this License for the current and all other
|
||||
versions of the Licensed Work.
|
||||
|
||||
This License does not grant you any right in any trademark or logo of
|
||||
Licensor or its affiliates (provided that you may use a trademark or logo of
|
||||
Licensor as expressly required by this License).
|
||||
|
||||
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
|
||||
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
|
||||
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
|
||||
TITLE.
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
MariaDB hereby grants you permission to use this License’s text to license
|
||||
your works, and to refer to it using the trademark "Business Source License",
|
||||
as long as you comply with the Covenants of Licensor below.
|
||||
|
||||
Covenants of Licensor
|
||||
|
||||
In consideration of the right to use this License’s text and the "Business
|
||||
Source License" name and trademark, Licensor covenants to MariaDB, and to all
|
||||
other recipients of the licensed work to be provided by Licensor:
|
||||
|
||||
1. To specify as the Change License the GPL Version 2.0 or any later version,
|
||||
or a license that is compatible with GPL Version 2.0 or a later version,
|
||||
where "compatible" means that software provided under the Change License can
|
||||
be included in a program with software provided under GPL Version 2.0 or a
|
||||
later version. Licensor may specify additional Change Licenses without
|
||||
limitation.
|
||||
|
||||
2. To either: (a) specify an additional grant of rights to use that does not
|
||||
impose any additional restriction on the right granted in this License, as
|
||||
the Additional Use Grant; or (b) insert the text "None".
|
||||
|
||||
3. To specify a Change Date.
|
||||
|
||||
4. Not to modify this License in any other way.
|
||||
@@ -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,33 @@
|
||||
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/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.
|
||||
|
||||
## 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.
|
||||
@@ -1,52 +1,68 @@
|
||||
ZeroTier - A Planetary Ethernet Switch
|
||||
ZeroTier - Global Area Networking
|
||||
======
|
||||
|
||||
ZeroTier is a software-based managed Ethernet switch for planet Earth.
|
||||
ZeroTier is a smart programmable Ethernet switch for planet Earth. It allows all networked devices, VMs, containers, and applications to communicate as if they all reside in the same physical data center or cloud region.
|
||||
|
||||
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.
|
||||
This is accomplished by combining a cryptographically addressed and secure peer to peer network (termed VL1) with an Ethernet emulation layer somewhat similar to VXLAN (termed VL2). Our VL2 Ethernet virtualization layer includes advanced enterprise SDN features like fine grained access control rules for network micro-segmentation and security monitoring.
|
||||
|
||||
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/).
|
||||
All ZeroTier traffic is encrypted end-to-end using secret keys that only you control. Most traffic flows peer to peer, though we offer free (but slow) relaying for users who cannot establish peer to peer connetions.
|
||||
|
||||
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.
|
||||
The goals and design principles 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) with its notion of "deperimeterization."
|
||||
|
||||
Visit [ZeroTier's site](https://www.zerotier.com/) for more information and [pre-built binary packages](https://www.zerotier.com/download/). Apps for Android and iOS are available for free in the Google Play and Apple app stores.
|
||||
|
||||
ZeroTier is licensed under the [BSL version 1.1](https://mariadb.com/bsl11/). See [LICENSE.txt](LICENSE.txt) and the [ZeroTier pricing page](https://www.zerotier.com/pricing) for details. ZeroTier is free to use internally in businesses and academic institutions and for non-commercial purposes. Certain types of commercial use such as building closed-source apps and devices based on ZeroTier or offering ZeroTier network controllers and network management as a SaaS service require a commercial license.
|
||||
|
||||
A small amount of third party code is also included in ZeroTier and is not subject to our BSL license. See [AUTHORS.md] for a list of third party code, where it is included, and the licenses that apply to it. All of the third party code in ZeroTier is liberally licensed (MIT, BSD, Apache, public domain, etc.).
|
||||
|
||||
### 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*. These identifiers are easily distinguished by their length. 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.
|
||||
ZeroTier addresses can be thought of as port numbers on an enormous planet-wide enterprise Ethernet smart switch supporting VLANs. Network IDs are VLAN IDs to which these ports may be assigned. A single port can be assigned to more than one VLAN.
|
||||
|
||||
For testing we provide a public virtual network called *Earth* with network ID `8056c2e21c000001`. On Linux and Mac you can do this with:
|
||||
A ZeroTier address looks like `8056c2e21c` and a network ID looks like `8056c2e21c000001`. Network IDs are composed of the ZeroTier address of that network's primary controller and an arbitrary 24-bit ID that identifies the network on this controller. Network controllers are roughly analogous to SDN controllers in SDN protocols like [OpenFlow](https://en.wikipedia.org/wiki/OpenFlow), though as with the analogy between VXLAN and VL2 this should not be read to imply that the protocols or design are the same. You can use our convenient and inexpensive SaaS hosted controllers at [my.zerotier.com](https://my.zerotier.com/) or [run your own controller](controller/) if you don't mind messing around with JSON configuration files or writing scripts 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.
|
||||
The base path contains the ZeroTier One service main entry point (`one.cpp`), self test code, makefiles, etc.
|
||||
|
||||
*(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.)*
|
||||
- `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.
|
||||
- `docker/`: Dockerfile to build as a container for containerized Linux systems and Kubernetes clusters.
|
||||
- `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.
|
||||
- `rule-compiler/`: JavaScript rules language compiler for defining network-level rules.
|
||||
- `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.
|
||||
- `windows/`: Visual Studio solution files, Windows service code, and the Windows task bar app UI.
|
||||
|
||||
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.8 or newer are required.
|
||||
- **Linux**
|
||||
- The minimum compiler versions required are GCC/G++ 4.9.3 or CLANG/CLANG++ 3.4.2. (Install `clang` on CentOS 7 as G++ is too old.)
|
||||
- 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.
|
||||
- **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 2017. Older versions may not work. Clang or MinGW will also probably work but may require some makefile hacking.
|
||||
- **FreeBSD**
|
||||
- GNU make is required. 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`).
|
||||
- GNU make is required. Type `gmake` to build.
|
||||
|
||||
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 +78,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.)
|
||||
|
||||
@@ -72,7 +88,7 @@ Running ZeroTier One on a Mac is the same, but OSX requires a kernel extension.
|
||||
|
||||
This will create the home folder for Mac, place *tap.kext* there, and set its modes correctly to enable ZeroTier One to manage it with *kextload* and *kextunload*.
|
||||
|
||||
### Troubleshooting
|
||||
### Basic Troubleshooting
|
||||
|
||||
For most users, it just works.
|
||||
|
||||
@@ -88,14 +104,6 @@ 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 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.
|
||||
|
||||
### Contributing
|
||||
|
||||
Please make pull requests against the `dev` branch. The `master` branch is release, and `edge` is for unstable and work in progress changes and is not likely to work.
|
||||
|
||||
### License
|
||||
|
||||
The ZeroTier source code is open source and is licensed under the GNU GPL v3 (not LGPL). If you'd like to embed it in a closed-source commercial product or appliance, please e-mail [contact@zerotier.com](mailto:contact@zerotier.com) to discuss commercial licensing. Otherwise it can be used for free.
|
||||
Additional help [can be found in our knowledge base](https://zerotier.atlassian.net/wiki/spaces/SD/overview).
|
||||
@@ -0,0 +1,224 @@
|
||||
ZeroTier Release Notes
|
||||
======
|
||||
|
||||
# 2019-08-23 -- Version 1.4.4
|
||||
|
||||
* Change license from GPL3 to BSL 1.1, see LICENSE.txt
|
||||
* Fix an issue with the "ipauth" rule and auto-generated unforgeable IPv6 addresses
|
||||
* Fix socket/bind errors setting IPs and routes on Linux
|
||||
|
||||
# 2019-08-12 -- Version 1.4.2
|
||||
|
||||
* Fix high CPU use bug on some platforms
|
||||
* Fix issues with PostgreSQL controller DB (only affects Central)
|
||||
* Restore backward compatibility with MacOS versions prior to 10.13
|
||||
|
||||
# 2019-07-29 -- Version 1.4.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
* Mac version no longer requires a kernel extension, instead making use of the [feth interfaces](https://apple.stackexchange.com/questions/337715/fake-ethernet-interfaces-feth-if-fake-anyone-ever-seen-this).
|
||||
* Added support for concurrent multipath (multiple paths at once) with traffic weighting by link quality and faster recovery from lost links.
|
||||
* Added under-the-hood support for QoS (not yet exposed) that will eventually be configurable via our rules engine.
|
||||
|
||||
### Minor Changes and Bug Fixes
|
||||
|
||||
* Experimental controller DB driver for [LF](https://github.com/zerotier/lf) to store network controller data (LFDB.cpp / LFDB.hpp).
|
||||
* Modified credential push and direct path push timings and algorithms to somewhat reduce "chattiness" of the protocol when idle. More radical background overhead reductions will have to wait for the 2.x line.
|
||||
* Removed our beta/half-baked integration of Central with the Windows UI. We're going to do a whole new UI of some kind in the future at least for Windows and Mac.
|
||||
* Fixed stack overflow issues on Linux versions using musl libc.
|
||||
* Fixed some alignment problems reported on ARM and ARM64, but some reports we could not reproduce so please report any issues with exact chip, OS/distro, and ZeroTier version in use.
|
||||
* Fixed numerous other small issues and bugs such as ARM alignment issues causing crashes on some devices.
|
||||
* Windows now sets the adapter name such that it is consistent in both the Windows UI and command line utilities.
|
||||
|
||||
# 2018-07-27 -- Version 1.2.12
|
||||
|
||||
* Fixed a bug that caused exits to take a long time on Mac due to huge numbers of redundant attempts to delete managed routes.
|
||||
* Fixed a socket limit problem on Windows that caused the ZeroTier service to run out of sockets, causing the UI and CLI to be unable to access the API.
|
||||
* Fixed a threading bug in the ZeroTier Core, albeit one that never manifested on the regular ZeroTier One service/client.
|
||||
* Fixed a bug that could cause the service to crash if an authorized local client accessed an invalid URL via the control API. (Not exploitable since you needed admin access anyway.)
|
||||
|
||||
# 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 directly 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 capabilities 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 destination 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.
|
||||
* **Segmentation 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: 4.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
@@ -1,408 +0,0 @@
|
||||
/*
|
||||
* ZeroTier One - Network Virtualization Everywhere
|
||||
* Copyright (C) 2011-2015 ZeroTier, Inc.
|
||||
*
|
||||
* 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/>.
|
||||
*
|
||||
* --
|
||||
*
|
||||
* ZeroTier may be used and distributed under the terms of the GPLv3, which
|
||||
* are available at: http://www.gnu.org/licenses/gpl-3.0.html
|
||||
*
|
||||
* If you would like to embed ZeroTier into a commercial application or
|
||||
* redistribute it in a modified binary form, please contact ZeroTier Networks
|
||||
* LLC. Start here: http://www.zerotier.com/
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "RuntimeEnvironment.hpp"
|
||||
#include "Logger.hpp"
|
||||
#include "Filter.hpp"
|
||||
#include "Utils.hpp"
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
const char *const Filter::UNKNOWN_NAME = "(unknown)";
|
||||
const Range<unsigned int> Filter::ANY;
|
||||
|
||||
static inline Range<unsigned int> __parseRange(char *r)
|
||||
throw(std::invalid_argument)
|
||||
{
|
||||
char *saveptr = (char *)0;
|
||||
unsigned int a = 0;
|
||||
unsigned int b = 0;
|
||||
unsigned int fn = 0;
|
||||
for(char *f=Utils::stok(r,"-",&saveptr);(f);f=Utils::stok((char *)0,"-",&saveptr)) {
|
||||
if (*f) {
|
||||
switch(fn++) {
|
||||
case 0:
|
||||
if (*f != '*')
|
||||
a = b = (unsigned int)strtoul(f,(char **)0,10);
|
||||
break;
|
||||
case 1:
|
||||
if (*f != '*')
|
||||
b = (unsigned int)strtoul(f,(char **)0,10);
|
||||
break;
|
||||
default:
|
||||
throw std::invalid_argument("rule range must be <int>, <int>-<int>, or *");
|
||||
}
|
||||
}
|
||||
}
|
||||
return Range<unsigned int>(a,b);
|
||||
}
|
||||
|
||||
Filter::Rule::Rule(const char *s)
|
||||
throw(std::invalid_argument)
|
||||
{
|
||||
char *saveptr = (char *)0;
|
||||
char tmp[256];
|
||||
if (!Utils::scopy(tmp,sizeof(tmp),s))
|
||||
throw std::invalid_argument("rule string too long");
|
||||
unsigned int fn = 0;
|
||||
for(char *f=Utils::stok(tmp,";",&saveptr);(f);f=Utils::stok((char *)0,";",&saveptr)) {
|
||||
if (*f) {
|
||||
switch(fn++) {
|
||||
case 0:
|
||||
_etherType = __parseRange(f);
|
||||
break;
|
||||
case 1:
|
||||
_protocol = __parseRange(f);
|
||||
break;
|
||||
case 2:
|
||||
_port = __parseRange(f);
|
||||
break;
|
||||
default:
|
||||
throw std::invalid_argument("rule string has unknown extra fields");
|
||||
}
|
||||
}
|
||||
}
|
||||
if (fn != 3)
|
||||
throw std::invalid_argument("rule string must contain 3 fields");
|
||||
}
|
||||
|
||||
bool Filter::Rule::operator()(unsigned int etype,const void *data,unsigned int len) const
|
||||
throw(std::invalid_argument)
|
||||
{
|
||||
if ((!_etherType)||(_etherType(etype))) { // ethertype is ANY, or matches
|
||||
// Ethertype determines meaning of protocol and port
|
||||
switch(etype) {
|
||||
case ZT_ETHERTYPE_IPV4:
|
||||
if (len > 20) {
|
||||
if ((!_protocol)||(_protocol(((const uint8_t *)data)[9]))) { // protocol is ANY or match
|
||||
if (!_port) // port is ANY
|
||||
return true;
|
||||
|
||||
// Don't match on fragments beyond fragment 0. If we've blocked
|
||||
// fragment 0, further fragments will fall on deaf ears anyway.
|
||||
if ((Utils::ntoh(((const uint16_t *)data)[3]) & 0x1fff))
|
||||
return false;
|
||||
|
||||
// Internet header length determines where data begins, in multiples of 32 bits
|
||||
unsigned int ihl = 4 * (((const uint8_t *)data)[0] & 0x0f);
|
||||
|
||||
switch(((const uint8_t *)data)[9]) { // port's meaning depends on IP protocol
|
||||
case ZT_IPPROTO_ICMP:
|
||||
// For ICMP, port is ICMP type
|
||||
return _port(((const uint8_t *)data)[ihl]);
|
||||
case ZT_IPPROTO_TCP:
|
||||
case ZT_IPPROTO_UDP:
|
||||
case ZT_IPPROTO_SCTP:
|
||||
case ZT_IPPROTO_UDPLITE:
|
||||
// For these, port is destination port. Protocol designers were
|
||||
// nice enough to put the field in the same place.
|
||||
return _port(((const uint16_t *)data)[(ihl / 2) + 1]);
|
||||
default:
|
||||
// port has no meaning for other IP types, so ignore it
|
||||
return true;
|
||||
}
|
||||
|
||||
return false; // no match on port
|
||||
}
|
||||
} else throw std::invalid_argument("undersized IPv4 packet");
|
||||
break;
|
||||
|
||||
case ZT_ETHERTYPE_IPV6:
|
||||
if (len > 40) {
|
||||
int nextHeader = ((const uint8_t *)data)[6];
|
||||
unsigned int pos = 40;
|
||||
while ((pos < len)&&(nextHeader >= 0)&&(nextHeader != 59)) { // 59 == no next header
|
||||
fprintf(stderr,"[rule] V6: start header parse, header %.2x pos %d\n",nextHeader,pos);
|
||||
|
||||
switch(nextHeader) {
|
||||
case 0: // hop-by-hop options
|
||||
case 60: // destination options
|
||||
case 43: // routing
|
||||
case 135: // mobility (mobile IPv6 options)
|
||||
if (_protocol((unsigned int)nextHeader))
|
||||
return true; // match if our goal was to match any of these
|
||||
nextHeader = ((const uint8_t *)data)[pos];
|
||||
pos += 8 + (8 * ((const uint8_t *)data)[pos + 1]);
|
||||
break;
|
||||
case 44: // fragment
|
||||
if (_protocol(44))
|
||||
return true; // match if our goal was to match fragments
|
||||
nextHeader = ((const uint8_t *)data)[pos];
|
||||
pos += 8;
|
||||
break;
|
||||
case ZT_IPPROTO_AH: // AH
|
||||
return _protocol(ZT_IPPROTO_AH); // true if AH is matched protocol, otherwise false since packet will be IPsec
|
||||
case ZT_IPPROTO_ESP: // ESP
|
||||
return _protocol(ZT_IPPROTO_ESP); // true if ESP is matched protocol, otherwise false since packet will be IPsec
|
||||
case ZT_IPPROTO_ICMPV6:
|
||||
// Only match ICMPv6 if we've selected it specifically
|
||||
if (_protocol(ZT_IPPROTO_ICMPV6)) {
|
||||
// Port is interpreted as ICMPv6 type
|
||||
if ((!_port)||(_port(((const uint8_t *)data)[pos])))
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case ZT_IPPROTO_TCP:
|
||||
case ZT_IPPROTO_UDP:
|
||||
case ZT_IPPROTO_SCTP:
|
||||
case ZT_IPPROTO_UDPLITE:
|
||||
// If we encounter any of these, match if protocol matches or is wildcard as
|
||||
// we'll consider these the "real payload" if present.
|
||||
if ((!_protocol)||(_protocol(nextHeader))) {
|
||||
if ((!_port)||(_port(((const uint16_t *)data)[(pos / 2) + 1])))
|
||||
return true; // protocol matches or is ANY, port is ANY or matches
|
||||
}
|
||||
break;
|
||||
default: {
|
||||
char foo[128];
|
||||
Utils::snprintf(foo,sizeof(foo),"unrecognized IPv6 header type %d",(int)nextHeader);
|
||||
throw std::invalid_argument(foo);
|
||||
}
|
||||
}
|
||||
|
||||
fprintf(stderr,"[rule] V6: end header parse, next header %.2x, new pos %d\n",nextHeader,pos);
|
||||
}
|
||||
} else throw std::invalid_argument("undersized IPv6 packet");
|
||||
break;
|
||||
|
||||
default:
|
||||
// For other ethertypes, protocol and port are ignored. What would they mean?
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string Filter::Rule::toString() const
|
||||
{
|
||||
char buf[128];
|
||||
std::string s;
|
||||
|
||||
switch(_etherType.magnitude()) {
|
||||
case 0:
|
||||
s.push_back('*');
|
||||
break;
|
||||
case 1:
|
||||
Utils::snprintf(buf,sizeof(buf),"%u",_etherType.start);
|
||||
s.append(buf);
|
||||
break;
|
||||
default:
|
||||
Utils::snprintf(buf,sizeof(buf),"%u-%u",_etherType.start,_etherType.end);
|
||||
s.append(buf);
|
||||
break;
|
||||
}
|
||||
s.push_back(';');
|
||||
switch(_protocol.magnitude()) {
|
||||
case 0:
|
||||
s.push_back('*');
|
||||
break;
|
||||
case 1:
|
||||
Utils::snprintf(buf,sizeof(buf),"%u",_protocol.start);
|
||||
s.append(buf);
|
||||
break;
|
||||
default:
|
||||
Utils::snprintf(buf,sizeof(buf),"%u-%u",_protocol.start,_protocol.end);
|
||||
s.append(buf);
|
||||
break;
|
||||
}
|
||||
s.push_back(';');
|
||||
switch(_port.magnitude()) {
|
||||
case 0:
|
||||
s.push_back('*');
|
||||
break;
|
||||
case 1:
|
||||
Utils::snprintf(buf,sizeof(buf),"%u",_port.start);
|
||||
s.append(buf);
|
||||
break;
|
||||
default:
|
||||
Utils::snprintf(buf,sizeof(buf),"%u-%u",_port.start,_port.end);
|
||||
s.append(buf);
|
||||
break;
|
||||
}
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
Filter::Filter(const char *s)
|
||||
throw(std::invalid_argument)
|
||||
{
|
||||
char tmp[16384];
|
||||
if (!Utils::scopy(tmp,sizeof(tmp),s))
|
||||
throw std::invalid_argument("filter string too long");
|
||||
char *saveptr = (char *)0;
|
||||
unsigned int fn = 0;
|
||||
for(char *f=Utils::stok(tmp,",",&saveptr);(f);f=Utils::stok((char *)0,",",&saveptr)) {
|
||||
try {
|
||||
_rules.push_back(Rule(f));
|
||||
++fn;
|
||||
} catch (std::invalid_argument &exc) {
|
||||
char tmp[256];
|
||||
Utils::snprintf(tmp,sizeof(tmp),"invalid rule at index %u: %s",fn,exc.what());
|
||||
throw std::invalid_argument(tmp);
|
||||
}
|
||||
}
|
||||
std::sort(_rules.begin(),_rules.end());
|
||||
}
|
||||
|
||||
std::string Filter::toString() const
|
||||
{
|
||||
std::string s;
|
||||
|
||||
for(std::vector<Rule>::const_iterator r(_rules.begin());r!=_rules.end();++r) {
|
||||
if (s.length() > 0)
|
||||
s.push_back(',');
|
||||
s.append(r->toString());
|
||||
}
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
void Filter::add(const Rule &r)
|
||||
{
|
||||
for(std::vector<Rule>::iterator rr(_rules.begin());rr!=_rules.end();++rr) {
|
||||
if (r == *rr)
|
||||
return;
|
||||
}
|
||||
_rules.push_back(r);
|
||||
std::sort(_rules.begin(),_rules.end());
|
||||
}
|
||||
|
||||
const char *Filter::etherTypeName(const unsigned int etherType)
|
||||
throw()
|
||||
{
|
||||
switch(etherType) {
|
||||
case ZT_ETHERTYPE_IPV4: return "ETHERTYPE_IPV4";
|
||||
case ZT_ETHERTYPE_ARP: return "ETHERTYPE_ARP";
|
||||
case ZT_ETHERTYPE_RARP: return "ETHERTYPE_RARP";
|
||||
case ZT_ETHERTYPE_ATALK: return "ETHERTYPE_ATALK";
|
||||
case ZT_ETHERTYPE_AARP: return "ETHERTYPE_AARP";
|
||||
case ZT_ETHERTYPE_IPX_A: return "ETHERTYPE_IPX_A";
|
||||
case ZT_ETHERTYPE_IPX_B: return "ETHERTYPE_IPX_B";
|
||||
case ZT_ETHERTYPE_IPV6: return "ETHERTYPE_IPV6";
|
||||
}
|
||||
return UNKNOWN_NAME;
|
||||
}
|
||||
|
||||
const char *Filter::ipProtocolName(const unsigned int ipp)
|
||||
throw()
|
||||
{
|
||||
switch(ipp) {
|
||||
case ZT_IPPROTO_ICMP: return "IPPROTO_ICMP";
|
||||
case ZT_IPPROTO_IGMP: return "IPPROTO_IGMP";
|
||||
case ZT_IPPROTO_TCP: return "IPPROTO_TCP";
|
||||
case ZT_IPPROTO_UDP: return "IPPROTO_UDP";
|
||||
case ZT_IPPROTO_GRE: return "IPPROTO_GRE";
|
||||
case ZT_IPPROTO_ESP: return "IPPROTO_ESP";
|
||||
case ZT_IPPROTO_AH: return "IPPROTO_AH";
|
||||
case ZT_IPPROTO_ICMPV6: return "IPPROTO_ICMPV6";
|
||||
case ZT_IPPROTO_OSPF: return "IPPROTO_OSPF";
|
||||
case ZT_IPPROTO_IPIP: return "IPPROTO_IPIP";
|
||||
case ZT_IPPROTO_IPCOMP: return "IPPROTO_IPCOMP";
|
||||
case ZT_IPPROTO_L2TP: return "IPPROTO_L2TP";
|
||||
case ZT_IPPROTO_SCTP: return "IPPROTO_SCTP";
|
||||
case ZT_IPPROTO_FC: return "IPPROTO_FC";
|
||||
case ZT_IPPROTO_UDPLITE: return "IPPROTO_UDPLITE";
|
||||
case ZT_IPPROTO_HIP: return "IPPROTO_HIP";
|
||||
}
|
||||
return UNKNOWN_NAME;
|
||||
}
|
||||
|
||||
const char *Filter::icmpTypeName(const unsigned int icmpType)
|
||||
throw()
|
||||
{
|
||||
switch(icmpType) {
|
||||
case ZT_ICMP_ECHO_REPLY: return "ICMP_ECHO_REPLY";
|
||||
case ZT_ICMP_DESTINATION_UNREACHABLE: return "ICMP_DESTINATION_UNREACHABLE";
|
||||
case ZT_ICMP_SOURCE_QUENCH: return "ICMP_SOURCE_QUENCH";
|
||||
case ZT_ICMP_REDIRECT: return "ICMP_REDIRECT";
|
||||
case ZT_ICMP_ALTERNATE_HOST_ADDRESS: return "ICMP_ALTERNATE_HOST_ADDRESS";
|
||||
case ZT_ICMP_ECHO_REQUEST: return "ICMP_ECHO_REQUEST";
|
||||
case ZT_ICMP_ROUTER_ADVERTISEMENT: return "ICMP_ROUTER_ADVERTISEMENT";
|
||||
case ZT_ICMP_ROUTER_SOLICITATION: return "ICMP_ROUTER_SOLICITATION";
|
||||
case ZT_ICMP_TIME_EXCEEDED: return "ICMP_TIME_EXCEEDED";
|
||||
case ZT_ICMP_BAD_IP_HEADER: return "ICMP_BAD_IP_HEADER";
|
||||
case ZT_ICMP_TIMESTAMP: return "ICMP_TIMESTAMP";
|
||||
case ZT_ICMP_TIMESTAMP_REPLY: return "ICMP_TIMESTAMP_REPLY";
|
||||
case ZT_ICMP_INFORMATION_REQUEST: return "ICMP_INFORMATION_REQUEST";
|
||||
case ZT_ICMP_INFORMATION_REPLY: return "ICMP_INFORMATION_REPLY";
|
||||
case ZT_ICMP_ADDRESS_MASK_REQUEST: return "ICMP_ADDRESS_MASK_REQUEST";
|
||||
case ZT_ICMP_ADDRESS_MASK_REPLY: return "ICMP_ADDRESS_MASK_REPLY";
|
||||
case ZT_ICMP_TRACEROUTE: return "ICMP_TRACEROUTE";
|
||||
case ZT_ICMP_MOBILE_HOST_REDIRECT: return "ICMP_MOBILE_HOST_REDIRECT";
|
||||
case ZT_ICMP_MOBILE_REGISTRATION_REQUEST: return "ICMP_MOBILE_REGISTRATION_REQUEST";
|
||||
case ZT_ICMP_MOBILE_REGISTRATION_REPLY: return "ICMP_MOBILE_REGISTRATION_REPLY";
|
||||
}
|
||||
return UNKNOWN_NAME;
|
||||
}
|
||||
|
||||
const char *Filter::icmp6TypeName(const unsigned int icmp6Type)
|
||||
throw()
|
||||
{
|
||||
switch(icmp6Type) {
|
||||
case ZT_ICMP6_DESTINATION_UNREACHABLE: return "ICMP6_DESTINATION_UNREACHABLE";
|
||||
case ZT_ICMP6_PACKET_TOO_BIG: return "ICMP6_PACKET_TOO_BIG";
|
||||
case ZT_ICMP6_TIME_EXCEEDED: return "ICMP6_TIME_EXCEEDED";
|
||||
case ZT_ICMP6_PARAMETER_PROBLEM: return "ICMP6_PARAMETER_PROBLEM";
|
||||
case ZT_ICMP6_ECHO_REQUEST: return "ICMP6_ECHO_REQUEST";
|
||||
case ZT_ICMP6_ECHO_REPLY: return "ICMP6_ECHO_REPLY";
|
||||
case ZT_ICMP6_MULTICAST_LISTENER_QUERY: return "ICMP6_MULTICAST_LISTENER_QUERY";
|
||||
case ZT_ICMP6_MULTICAST_LISTENER_REPORT: return "ICMP6_MULTICAST_LISTENER_REPORT";
|
||||
case ZT_ICMP6_MULTICAST_LISTENER_DONE: return "ICMP6_MULTICAST_LISTENER_DONE";
|
||||
case ZT_ICMP6_ROUTER_SOLICITATION: return "ICMP6_ROUTER_SOLICITATION";
|
||||
case ZT_ICMP6_ROUTER_ADVERTISEMENT: return "ICMP6_ROUTER_ADVERTISEMENT";
|
||||
case ZT_ICMP6_NEIGHBOR_SOLICITATION: return "ICMP6_NEIGHBOR_SOLICITATION";
|
||||
case ZT_ICMP6_NEIGHBOR_ADVERTISEMENT: return "ICMP6_NEIGHBOR_ADVERTISEMENT";
|
||||
case ZT_ICMP6_REDIRECT_MESSAGE: return "ICMP6_REDIRECT_MESSAGE";
|
||||
case ZT_ICMP6_ROUTER_RENUMBERING: return "ICMP6_ROUTER_RENUMBERING";
|
||||
case ZT_ICMP6_NODE_INFORMATION_QUERY: return "ICMP6_NODE_INFORMATION_QUERY";
|
||||
case ZT_ICMP6_NODE_INFORMATION_RESPONSE: return "ICMP6_NODE_INFORMATION_RESPONSE";
|
||||
case ZT_ICMP6_INV_NEIGHBOR_SOLICITATION: return "ICMP6_INV_NEIGHBOR_SOLICITATION";
|
||||
case ZT_ICMP6_INV_NEIGHBOR_ADVERTISEMENT: return "ICMP6_INV_NEIGHBOR_ADVERTISEMENT";
|
||||
case ZT_ICMP6_MLDV2: return "ICMP6_MLDV2";
|
||||
case ZT_ICMP6_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST: return "ICMP6_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST";
|
||||
case ZT_ICMP6_HOME_AGENT_ADDRESS_DISCOVERY_REPLY: return "ICMP6_HOME_AGENT_ADDRESS_DISCOVERY_REPLY";
|
||||
case ZT_ICMP6_MOBILE_PREFIX_SOLICITATION: return "ICMP6_MOBILE_PREFIX_SOLICITATION";
|
||||
case ZT_ICMP6_MOBILE_PREFIX_ADVERTISEMENT: return "ICMP6_MOBILE_PREFIX_ADVERTISEMENT";
|
||||
case ZT_ICMP6_CERTIFICATION_PATH_SOLICITATION: return "ICMP6_CERTIFICATION_PATH_SOLICITATION";
|
||||
case ZT_ICMP6_CERTIFICATION_PATH_ADVERTISEMENT: return "ICMP6_CERTIFICATION_PATH_ADVERTISEMENT";
|
||||
case ZT_ICMP6_MULTICAST_ROUTER_ADVERTISEMENT: return "ICMP6_MULTICAST_ROUTER_ADVERTISEMENT";
|
||||
case ZT_ICMP6_MULTICAST_ROUTER_SOLICITATION: return "ICMP6_MULTICAST_ROUTER_SOLICITATION";
|
||||
case ZT_ICMP6_MULTICAST_ROUTER_TERMINATION: return "ICMP6_MULTICAST_ROUTER_TERMINATION";
|
||||
case ZT_ICMP6_RPL_CONTROL_MESSAGE: return "ICMP6_RPL_CONTROL_MESSAGE";
|
||||
}
|
||||
return UNKNOWN_NAME;
|
||||
}
|
||||
|
||||
} // namespace ZeroTier
|
||||
@@ -1,284 +0,0 @@
|
||||
/*
|
||||
* ZeroTier One - Network Virtualization Everywhere
|
||||
* Copyright (C) 2011-2015 ZeroTier, Inc.
|
||||
*
|
||||
* 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/>.
|
||||
*
|
||||
* --
|
||||
*
|
||||
* ZeroTier may be used and distributed under the terms of the GPLv3, which
|
||||
* are available at: http://www.gnu.org/licenses/gpl-3.0.html
|
||||
*
|
||||
* If you would like to embed ZeroTier into a commercial application or
|
||||
* redistribute it in a modified binary form, please contact ZeroTier Networks
|
||||
* LLC. Start here: http://www.zerotier.com/
|
||||
*/
|
||||
|
||||
#ifndef _ZT_FILTER_HPP
|
||||
#define _ZT_FILTER_HPP
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "Range.hpp"
|
||||
|
||||
/* Ethernet frame types that might be relevant to us */
|
||||
#define ZT_ETHERTYPE_IPV4 0x0800
|
||||
#define ZT_ETHERTYPE_ARP 0x0806
|
||||
#define ZT_ETHERTYPE_RARP 0x8035
|
||||
#define ZT_ETHERTYPE_ATALK 0x809b
|
||||
#define ZT_ETHERTYPE_AARP 0x80f3
|
||||
#define ZT_ETHERTYPE_IPX_A 0x8137
|
||||
#define ZT_ETHERTYPE_IPX_B 0x8138
|
||||
#define ZT_ETHERTYPE_IPV6 0x86dd
|
||||
|
||||
/* IP protocols we might care about */
|
||||
#define ZT_IPPROTO_ICMP 0x01
|
||||
#define ZT_IPPROTO_IGMP 0x02
|
||||
#define ZT_IPPROTO_TCP 0x06
|
||||
#define ZT_IPPROTO_UDP 0x11
|
||||
#define ZT_IPPROTO_GRE 0x2f
|
||||
#define ZT_IPPROTO_ESP 0x32
|
||||
#define ZT_IPPROTO_AH 0x33
|
||||
#define ZT_IPPROTO_ICMPV6 0x3a
|
||||
#define ZT_IPPROTO_OSPF 0x59
|
||||
#define ZT_IPPROTO_IPIP 0x5e
|
||||
#define ZT_IPPROTO_IPCOMP 0x6c
|
||||
#define ZT_IPPROTO_L2TP 0x73
|
||||
#define ZT_IPPROTO_SCTP 0x84
|
||||
#define ZT_IPPROTO_FC 0x85
|
||||
#define ZT_IPPROTO_UDPLITE 0x88
|
||||
#define ZT_IPPROTO_HIP 0x8b
|
||||
|
||||
/* IPv4 ICMP types */
|
||||
#define ZT_ICMP_ECHO_REPLY 0
|
||||
#define ZT_ICMP_DESTINATION_UNREACHABLE 3
|
||||
#define ZT_ICMP_SOURCE_QUENCH 4
|
||||
#define ZT_ICMP_REDIRECT 5
|
||||
#define ZT_ICMP_ALTERNATE_HOST_ADDRESS 6
|
||||
#define ZT_ICMP_ECHO_REQUEST 8
|
||||
#define ZT_ICMP_ROUTER_ADVERTISEMENT 9
|
||||
#define ZT_ICMP_ROUTER_SOLICITATION 10
|
||||
#define ZT_ICMP_TIME_EXCEEDED 11
|
||||
#define ZT_ICMP_BAD_IP_HEADER 12
|
||||
#define ZT_ICMP_TIMESTAMP 13
|
||||
#define ZT_ICMP_TIMESTAMP_REPLY 14
|
||||
#define ZT_ICMP_INFORMATION_REQUEST 15
|
||||
#define ZT_ICMP_INFORMATION_REPLY 16
|
||||
#define ZT_ICMP_ADDRESS_MASK_REQUEST 17
|
||||
#define ZT_ICMP_ADDRESS_MASK_REPLY 18
|
||||
#define ZT_ICMP_TRACEROUTE 30
|
||||
#define ZT_ICMP_MOBILE_HOST_REDIRECT 32
|
||||
#define ZT_ICMP_MOBILE_REGISTRATION_REQUEST 35
|
||||
#define ZT_ICMP_MOBILE_REGISTRATION_REPLY 36
|
||||
|
||||
/* IPv6 ICMP types */
|
||||
#define ZT_ICMP6_DESTINATION_UNREACHABLE 1
|
||||
#define ZT_ICMP6_PACKET_TOO_BIG 2
|
||||
#define ZT_ICMP6_TIME_EXCEEDED 3
|
||||
#define ZT_ICMP6_PARAMETER_PROBLEM 4
|
||||
#define ZT_ICMP6_ECHO_REQUEST 128
|
||||
#define ZT_ICMP6_ECHO_REPLY 129
|
||||
#define ZT_ICMP6_MULTICAST_LISTENER_QUERY 130
|
||||
#define ZT_ICMP6_MULTICAST_LISTENER_REPORT 131
|
||||
#define ZT_ICMP6_MULTICAST_LISTENER_DONE 132
|
||||
#define ZT_ICMP6_ROUTER_SOLICITATION 133
|
||||
#define ZT_ICMP6_ROUTER_ADVERTISEMENT 134
|
||||
#define ZT_ICMP6_NEIGHBOR_SOLICITATION 135
|
||||
#define ZT_ICMP6_NEIGHBOR_ADVERTISEMENT 136
|
||||
#define ZT_ICMP6_REDIRECT_MESSAGE 137
|
||||
#define ZT_ICMP6_ROUTER_RENUMBERING 138
|
||||
#define ZT_ICMP6_NODE_INFORMATION_QUERY 139
|
||||
#define ZT_ICMP6_NODE_INFORMATION_RESPONSE 140
|
||||
#define ZT_ICMP6_INV_NEIGHBOR_SOLICITATION 141
|
||||
#define ZT_ICMP6_INV_NEIGHBOR_ADVERTISEMENT 142
|
||||
#define ZT_ICMP6_MLDV2 143
|
||||
#define ZT_ICMP6_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST 144
|
||||
#define ZT_ICMP6_HOME_AGENT_ADDRESS_DISCOVERY_REPLY 145
|
||||
#define ZT_ICMP6_MOBILE_PREFIX_SOLICITATION 146
|
||||
#define ZT_ICMP6_MOBILE_PREFIX_ADVERTISEMENT 147
|
||||
#define ZT_ICMP6_CERTIFICATION_PATH_SOLICITATION 148
|
||||
#define ZT_ICMP6_CERTIFICATION_PATH_ADVERTISEMENT 149
|
||||
#define ZT_ICMP6_MULTICAST_ROUTER_ADVERTISEMENT 151
|
||||
#define ZT_ICMP6_MULTICAST_ROUTER_SOLICITATION 152
|
||||
#define ZT_ICMP6_MULTICAST_ROUTER_TERMINATION 153
|
||||
#define ZT_ICMP6_RPL_CONTROL_MESSAGE 155
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
class RuntimeEnvironment;
|
||||
|
||||
/**
|
||||
* A simple Ethernet frame level filter
|
||||
*
|
||||
* This doesn't specify actions, since it's used as a deny filter. The rule
|
||||
* in ZT1 is "that which is not explicitly prohibited is allowed." (Except for
|
||||
* ethertypes, which are handled by a whitelist.)
|
||||
*/
|
||||
class Filter
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* Value returned by etherTypeName, etc. on unknown
|
||||
*
|
||||
* These static methods return precisely this, so a pointer equality
|
||||
* check will work.
|
||||
*/
|
||||
static const char *const UNKNOWN_NAME;
|
||||
|
||||
/**
|
||||
* An empty range as a more idiomatic way of specifying a wildcard match
|
||||
*/
|
||||
static const Range<unsigned int> ANY;
|
||||
|
||||
/**
|
||||
* A filter rule
|
||||
*/
|
||||
class Rule
|
||||
{
|
||||
public:
|
||||
Rule()
|
||||
throw() :
|
||||
_etherType(),
|
||||
_protocol(),
|
||||
_port()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct a rule from a string-serialized value
|
||||
*
|
||||
* @param s String formatted rule, such as returned by toString()
|
||||
* @throws std::invalid_argument String formatted rule is not valid
|
||||
*/
|
||||
Rule(const char *s)
|
||||
throw(std::invalid_argument);
|
||||
|
||||
/**
|
||||
* Construct a new rule
|
||||
*
|
||||
* @param etype Ethernet type or empty range for ANY
|
||||
* @param prot Protocol or empty range for ANY (meaning depends on ethertype, e.g. IP protocol numbers)
|
||||
* @param prt Port or empty range for ANY (only applies to some protocols)
|
||||
*/
|
||||
Rule(const Range<unsigned int> &etype,const Range<unsigned int> &prot,const Range<unsigned int> &prt)
|
||||
throw() :
|
||||
_etherType(etype),
|
||||
_protocol(prot),
|
||||
_port(prt)
|
||||
{
|
||||
}
|
||||
|
||||
inline const Range<unsigned int> ðerType() const throw() { return _etherType; }
|
||||
inline const Range<unsigned int> &protocol() const throw() { return _protocol; }
|
||||
inline const Range<unsigned int> &port() const throw() { return _port; }
|
||||
|
||||
/**
|
||||
* Test this rule against a frame
|
||||
*
|
||||
* @param etype Type of ethernet frame
|
||||
* @param data Ethernet frame data
|
||||
* @param len Length of ethernet frame
|
||||
* @return True if rule matches
|
||||
* @throws std::invalid_argument Frame invalid or not parseable
|
||||
*/
|
||||
bool operator()(unsigned int etype,const void *data,unsigned int len) const
|
||||
throw(std::invalid_argument);
|
||||
|
||||
/**
|
||||
* Serialize rule as string
|
||||
*
|
||||
* @return Human readable representation of rule
|
||||
*/
|
||||
std::string toString() const;
|
||||
|
||||
inline bool operator==(const Rule &r) const throw() { return ((_etherType == r._etherType)&&(_protocol == r._protocol)&&(_port == r._port)); }
|
||||
inline bool operator!=(const Rule &r) const throw() { return !(*this == r); }
|
||||
inline bool operator<(const Rule &r) const
|
||||
throw()
|
||||
{
|
||||
if (_etherType < r._etherType)
|
||||
return true;
|
||||
else if (_etherType == r._etherType) {
|
||||
if (_protocol < r._protocol)
|
||||
return true;
|
||||
else if (_protocol == r._protocol) {
|
||||
if (_port < r._port)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
inline bool operator>(const Rule &r) const throw() { return (r < *this); }
|
||||
inline bool operator<=(const Rule &r) const throw() { return !(r < *this); }
|
||||
inline bool operator>=(const Rule &r) const throw() { return !(*this < r); }
|
||||
|
||||
private:
|
||||
Range<unsigned int> _etherType;
|
||||
Range<unsigned int> _protocol;
|
||||
Range<unsigned int> _port;
|
||||
};
|
||||
|
||||
Filter() {}
|
||||
|
||||
/**
|
||||
* @param s String-serialized filter representation
|
||||
*/
|
||||
Filter(const char *s)
|
||||
throw(std::invalid_argument);
|
||||
|
||||
/**
|
||||
* @return Comma-delimited list of string-format rules
|
||||
*/
|
||||
std::string toString() const;
|
||||
|
||||
/**
|
||||
* Add a rule to this filter
|
||||
*
|
||||
* @param r Rule to add to filter
|
||||
*/
|
||||
void add(const Rule &r);
|
||||
|
||||
inline bool operator()(unsigned int etype,const void *data,unsigned int len) const
|
||||
throw(std::invalid_argument)
|
||||
{
|
||||
for(std::vector<Rule>::const_iterator r(_rules.begin());r!=_rules.end();++r) {
|
||||
if ((*r)(etype,data,len))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
static const char *etherTypeName(const unsigned int etherType)
|
||||
throw();
|
||||
static const char *ipProtocolName(const unsigned int ipp)
|
||||
throw();
|
||||
static const char *icmpTypeName(const unsigned int icmpType)
|
||||
throw();
|
||||
static const char *icmp6TypeName(const unsigned int icmp6Type)
|
||||
throw();
|
||||
|
||||
private:
|
||||
std::vector<Rule> _rules;
|
||||
};
|
||||
|
||||
} // namespace ZeroTier
|
||||
|
||||
#endif
|
||||
Loaded 20 of 687 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user