mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2026-09-22 15:29:03 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd7e4ab695 | ||
|
|
ee1a008f2d | ||
|
|
4c687fca45 | ||
|
|
753a80d419 | ||
|
|
7213a6cf0b | ||
|
|
9b0c8965bb | ||
|
|
7e647c5303 | ||
|
|
fe87136870 | ||
|
|
b897ec1efd | ||
|
|
6a11c76248 | ||
|
|
3512402558 | ||
|
|
4fe12756d4 | ||
|
|
bf415bdeb9 | ||
|
|
c5a3e80113 | ||
|
|
806ea79f37 | ||
|
|
cd58614c23 | ||
|
|
0b68344fc8 | ||
|
|
191b8f8164 | ||
|
|
29e3437350 | ||
|
|
65999611d7 | ||
|
|
9d49e8f237 | ||
|
|
855d893c67 | ||
|
|
a2690047bb | ||
|
|
648efff1f6 | ||
|
|
3d6c1860ca | ||
|
|
f0be5e814e | ||
|
|
79efceb57b | ||
|
|
b8f40c0b91 | ||
|
|
97dd8d864f | ||
|
|
1afd02df54 | ||
|
|
fb0bf52b1b | ||
|
|
74f7d5377d | ||
|
|
a9a390a930 | ||
|
|
d7344871e6 | ||
|
|
aab17d9f1f | ||
|
|
ecb6a1d84f | ||
|
|
5341e32729 | ||
|
|
960ceb4791 | ||
|
|
318c2f025b | ||
|
|
5bc89034bc | ||
|
|
229195166a | ||
|
|
b3b9af0dd8 | ||
|
|
5015c0ae78 | ||
|
|
b6196a53de | ||
|
|
58ca657da6 | ||
|
|
7822616966 | ||
|
|
e3feac17b1 | ||
|
|
4c680e3126 | ||
|
|
ea419c21d0 | ||
|
|
502cd6921f | ||
|
|
09631ad382 | ||
|
|
2d67196667 | ||
|
|
9755dad7ff | ||
|
|
adaf9cf32b | ||
|
|
703c311e07 | ||
|
|
e184aa4cb4 | ||
|
|
fbb990f8a3 | ||
|
|
ff2272d59a | ||
|
|
c075e68c6c | ||
|
|
ecb1ee8e0d | ||
|
|
ba7809367a | ||
|
|
5e3c6d9e0d | ||
|
|
d8ad555b9a | ||
|
|
d29f2ce858 | ||
|
|
af1d29cc6f | ||
|
|
91f02d699e | ||
|
|
6e998efd15 | ||
|
|
5c2aaad365 | ||
|
|
d8783b14eb | ||
|
|
6867922d9e | ||
|
|
9774f789f2 | ||
|
|
cdec05af24 | ||
|
|
196f27f1f0 | ||
|
|
b388d9fdc9 | ||
|
|
1e043a3f66 | ||
|
|
c430d88bd4 | ||
|
|
50aedda54d | ||
|
|
d9006712f6 | ||
|
|
123ff28863 | ||
|
|
0f7dcb3ef2 | ||
|
|
61021fc778 | ||
|
|
2ad69237cf | ||
|
|
82f6b3f550 | ||
|
|
905d2e91e5 | ||
|
|
1213073916 | ||
|
|
b6698d8415 | ||
|
|
e285a6e75f | ||
|
|
6fc090eb00 | ||
|
|
0caac25d28 | ||
|
|
dd70188643 | ||
|
|
c7eb5f0c81 | ||
|
|
68cb7ad4cd | ||
|
|
9682f50b15 | ||
|
|
63cea7d337 | ||
|
|
44d1bd14bd | ||
|
|
b4a34cc105 | ||
|
|
32588b3d84 | ||
|
|
992438f054 | ||
|
|
8c7a4efe1a | ||
|
|
e0313455e7 | ||
|
|
ac629150ac | ||
|
|
89027d78ac | ||
|
|
f48509d50c | ||
|
|
c76217c2d4 | ||
|
|
2d700f644b | ||
|
|
c76b9d1340 | ||
|
|
0e87002d78 | ||
|
|
ddaf3ef347 | ||
|
|
2810cd7c15 | ||
|
|
0af18b164c | ||
|
|
086f21ed70 | ||
|
|
7649d6746b | ||
|
|
0e00981059 | ||
|
|
d41b6eb0c8 | ||
|
|
651e67f2e5 | ||
|
|
e0090e56f4 | ||
|
|
9a00366b18 | ||
|
|
69ceb7e730 | ||
|
|
cf51961d52 | ||
|
|
c9fd8de007 | ||
|
|
a187d290f1 | ||
|
|
27c5f04d68 | ||
|
|
d0935f667f | ||
|
|
4be4908914 | ||
|
|
38243e5eff | ||
|
|
0bb92715f4 | ||
|
|
78769900a9 | ||
|
|
65a9a9a6f2 | ||
|
|
e269846f84 | ||
|
|
6d2376eb9c | ||
|
|
f693d4d0c8 | ||
|
|
0bdd56ebd6 | ||
|
|
d0e0f5dd12 | ||
|
|
e94518590d | ||
|
|
4a0280686c | ||
|
|
a8835cd8b3 | ||
|
|
bdce679d84 | ||
|
|
241f308334 | ||
|
|
e744580b89 | ||
|
|
1b895c45eb | ||
|
|
2158d26bd7 | ||
|
|
4565e9948f | ||
|
|
c1e5c1c710 | ||
|
|
257187a284 | ||
|
|
8e888f8df9 | ||
|
|
8594e17f2b | ||
|
|
a40192a40b | ||
|
|
92ca53e141 | ||
|
|
a913f00670 | ||
|
|
b1164ed181 | ||
|
|
c0caba8944 | ||
|
|
0be3190d49 | ||
|
|
bd2ce82ea6 | ||
|
|
a4a62be698 | ||
|
|
da45840e5a | ||
|
|
4426899e8c | ||
|
|
d56e9fce41 | ||
|
|
5b54612d91 | ||
|
|
8130b2a0de | ||
|
|
e58047eaa0 | ||
|
|
03dbec960a | ||
|
|
20b76d266d | ||
|
|
4a2c46e008 | ||
|
|
b2b32e5969 | ||
|
|
bdc5b3d3a5 | ||
|
|
e28712555d | ||
|
|
40f312a827 | ||
|
|
18ca6f34ff | ||
|
|
59fa687830 | ||
|
|
e922324bc6 | ||
|
|
b4b067bf12 | ||
|
|
625ddf41a7 | ||
|
|
af66f14761 | ||
|
|
da254d967f | ||
|
|
7054c365f2 | ||
|
|
06ab338ecc | ||
|
|
ad6ec22857 | ||
|
|
a9307693a6 | ||
|
|
742c59a7c7 | ||
|
|
e79a6915ff | ||
|
|
818339f966 | ||
|
|
079d248eab | ||
|
|
9f2732d661 | ||
|
|
fb6b56a85f | ||
|
|
02b33e3763 | ||
|
|
b242886c33 | ||
|
|
0a15eae00f | ||
|
|
75d7137025 | ||
|
|
9279bac385 | ||
|
|
105e1a016f | ||
|
|
604576075e | ||
|
|
52df59c552 | ||
|
|
d3820049b8 | ||
|
|
9eb7698f0e | ||
|
|
5185103692 | ||
|
|
3ac23165c7 | ||
|
|
9a34fde8a5 | ||
|
|
918fc8884b | ||
|
|
f3d7c9d681 | ||
|
|
226e0f8722 | ||
|
|
288d73a4ad | ||
|
|
9464504e4a | ||
|
|
7e0cc28a89 | ||
|
|
0a2d1e7a66 | ||
|
|
9bf9670ff9 | ||
|
|
a9a3705877 | ||
|
|
5983b4367b | ||
|
|
d1ed269537 | ||
|
|
73d68c0c98 | ||
|
|
7dcde7503a | ||
|
|
b9f7f75ddf | ||
|
|
a1005ca858 | ||
|
|
8c5ec54711 | ||
|
|
ab3f4d7539 | ||
|
|
a1d6df4bf8 | ||
|
|
4c71e92a67 | ||
|
|
3bdbc6390f | ||
|
|
8a09e0ec3c | ||
|
|
db80070ccb | ||
|
|
042f914dc5 | ||
|
|
ec45aeb42a | ||
|
|
a86a0ab2b1 | ||
|
|
29bb2a9004 | ||
|
|
56f8160af8 | ||
|
|
7af1f3a79a | ||
|
|
e78899fddf | ||
|
|
9325535ced | ||
|
|
720ac93ba9 | ||
|
|
42b4148876 | ||
|
|
4b658d83bc | ||
|
|
d4c06e924d | ||
|
|
1ebe2ad920 | ||
|
|
0d4283a3fa | ||
|
|
9c62ce9e6f | ||
|
|
f2eed5a65f | ||
|
|
5e1fb4e253 | ||
|
|
dc00ce4f44 | ||
|
|
53ebd5a9a5 | ||
|
|
d5fc2b39aa | ||
|
|
4137246653 | ||
|
|
28168fa673 | ||
|
|
99af0f3a88 | ||
|
|
6f07a476a6 | ||
|
|
52a20b4b0f | ||
|
|
f3c29d3f0d | ||
|
|
b3429481cd | ||
|
|
0f808e11df | ||
|
|
ce09e363dc | ||
|
|
e2c65bf16a | ||
|
|
0e31551349 | ||
|
|
f5848972f9 | ||
|
|
54954f5b88 | ||
|
|
883a216d2a | ||
|
|
1a65a79e57 | ||
|
|
6dd3c07b25 | ||
|
|
1df6bc6bc3 | ||
|
|
9ab7280703 | ||
|
|
7f6556eba0 | ||
|
|
1bea940323 | ||
|
|
6ff2e6ecfe | ||
|
|
d66f2cd54d | ||
|
|
46adf870a1 | ||
|
|
4906f8e848 | ||
|
|
fa9d42b7e5 | ||
|
|
1a528aec76 | ||
|
|
ffb9e2901e | ||
|
|
407e2fc7de | ||
|
|
667a103a6a | ||
|
|
32a35e6808 | ||
|
|
34028aa7c8 | ||
|
|
3ccaef88b7 | ||
|
|
f5bb57d5aa | ||
|
|
a1a35e0279 | ||
|
|
1308f02b93 | ||
|
|
b078d69372 | ||
|
|
e31e54483c | ||
|
|
3c499777c8 | ||
|
|
9c038d3ecd | ||
|
|
6187a91f4c | ||
|
|
321b67c73c | ||
|
|
5df253fa69 | ||
|
|
3a6807d584 | ||
|
|
787b4a8e50 | ||
|
|
b33e4af49f | ||
|
|
5202fbdaf3 | ||
|
|
103dcb072d | ||
|
|
79f63ba30a | ||
|
|
71f006cbeb | ||
|
|
e4046964f0 | ||
|
|
ddebe2d4c7 | ||
|
|
0c8051da15 | ||
|
|
e0c8ddb65b | ||
|
|
bd4049fdc0 | ||
|
|
5f314f209e | ||
|
|
99a1a4e65b | ||
|
|
ec3a1c87d1 | ||
|
|
f40eb665c5 | ||
|
|
ed107c4daf | ||
|
|
8a13cfdace | ||
|
|
86c87875a7 | ||
|
|
69076f8a45 | ||
|
|
60f05518aa | ||
|
|
740121504f | ||
|
|
417f56de2f | ||
|
|
b51d00146b | ||
|
|
8715242e7f | ||
|
|
895c32a0d2 | ||
|
|
489cc66b78 | ||
|
|
ce77e67e00 | ||
|
|
1f5700191f | ||
|
|
c4c5fa63d1 | ||
|
|
13d5073e5b | ||
|
|
8333bf065e | ||
|
|
53cbe485f0 | ||
|
|
6c29e966dd | ||
|
|
377367175c | ||
|
|
12b4646ce8 | ||
|
|
4e5d2d2c72 | ||
|
|
21a7e774bb | ||
|
|
c301d8e438 | ||
|
|
d2503172d8 | ||
|
|
91ca238163 | ||
|
|
33c8d3c50b | ||
|
|
ea1859541c | ||
|
|
f7b1437154 | ||
|
|
6369c264e2 | ||
|
|
871473255b | ||
|
|
a0f8685453 | ||
|
|
8639538299 | ||
|
|
98bcc3d4b5 | ||
|
|
1c9ca73065 | ||
|
|
508519b62a | ||
|
|
c9af603b9f | ||
|
|
aeb4b42ab3 | ||
|
|
67f1f1892f | ||
|
|
e205e5fdfe | ||
|
|
347e98dcd2 | ||
|
|
29a2175b7a | ||
|
|
49d31613b9 | ||
|
|
758b5caf94 | ||
|
|
6f4b30add8 | ||
|
|
1cfa67bbdd | ||
|
|
a2605561af | ||
|
|
b888e033c0 | ||
|
|
ff0eff4b7c | ||
|
|
5c1262f324 | ||
|
|
daef54ba32 | ||
|
|
5572b7ffb6 | ||
|
|
7576911951 | ||
|
|
9e651b39e4 | ||
|
|
08a11a6f32 | ||
|
|
5e331d6733 | ||
|
|
068d311ecc | ||
|
|
38200cc6a5 | ||
|
|
6615a70027 | ||
|
|
46ecad451c | ||
|
|
9342380146 | ||
|
|
7192fe6d15 | ||
|
|
d761330465 | ||
|
|
ccc73b920e | ||
|
|
d9e9b60a98 | ||
|
|
e34bc961db | ||
|
|
0751eaabd8 | ||
|
|
12431ce95d | ||
|
|
4d5a6a25d3 | ||
|
|
9d9d0ef12c | ||
|
|
c894710ac1 | ||
|
|
608b5ca13a | ||
|
|
37bd6fdb9c | ||
|
|
7529d050c7 | ||
|
|
bf2ff964e1 | ||
|
|
ee2f51f48e | ||
|
|
40bfe37a19 | ||
|
|
59af674e74 | ||
|
|
6de7996218 | ||
|
|
49f031ccb4 | ||
|
|
9e55f882d3 | ||
|
|
8210ed4805 | ||
|
|
0a90681849 | ||
|
|
24608d5ca3 | ||
|
|
eae2c89b09 | ||
|
|
52c3b7c34e | ||
|
|
817824b88b | ||
|
|
a2821e9000 | ||
|
|
76ad19f411 | ||
|
|
758bf949db | ||
|
|
4e691c8e22 | ||
|
|
6807ccd710 | ||
|
|
51f46a009a | ||
|
|
8001b2c0cb | ||
|
|
a86300c58f | ||
|
|
488f5bf977 | ||
|
|
197d272287 | ||
|
|
be4683a96d | ||
|
|
5f351f2f6b | ||
|
|
f4fd2d4971 | ||
|
|
a95f1e1418 | ||
|
|
6eb9289367 | ||
|
|
ee0f56355b | ||
|
|
a69e1876f1 | ||
|
|
5f51653f9c | ||
|
|
0214dbc277 | ||
|
|
1f28ce3980 | ||
|
|
49349470a0 | ||
|
|
8130848020 | ||
|
|
7ff0cab1b7 | ||
|
|
b723855751 | ||
|
|
36eab4f1a9 | ||
|
|
647ce82b86 | ||
|
|
e61a40a956 | ||
|
|
a61acf36d2 | ||
|
|
8990fb8267 | ||
|
|
2c5dbecb3c | ||
|
|
fe94c9460b | ||
|
|
fe87c1db67 | ||
|
|
60158aa5dd | ||
|
|
3c1a59fa24 | ||
|
|
b6241f6cb1 | ||
|
|
4445bfc869 | ||
|
|
8d409def74 | ||
|
|
91810c5f44 | ||
|
|
64ea58d523 | ||
|
|
96737368aa | ||
|
|
7ee1a1151f | ||
|
|
a8a92c5b89 | ||
|
|
cea3f28155 | ||
|
|
ba69240bcb | ||
|
|
49a2450e76 | ||
|
|
278c8fd9f1 | ||
|
|
61d89bd118 | ||
|
|
1b0908fab2 | ||
|
|
31bf0a4ea6 | ||
|
|
fab951e98a | ||
|
|
ab211cf599 | ||
|
|
badf260e1f | ||
|
|
66f29f09da | ||
|
|
ecffa9f5e7 | ||
|
|
b6fba5934a | ||
|
|
78fc62d967 | ||
|
|
ff255a34de | ||
|
|
93012b0ee5 | ||
|
|
89f0c948f8 | ||
|
|
eeed31b396 | ||
|
|
b7148c107d | ||
|
|
b1bf3f68c3 | ||
|
|
37d23336ed | ||
|
|
61cff47f5b | ||
|
|
c30bf7957e | ||
|
|
d73a11b60b | ||
|
|
83227dc386 | ||
|
|
fbc6ca28b7 | ||
|
|
72f926dc41 | ||
|
|
eab3ca1401 | ||
|
|
c8c5d3b06e | ||
|
|
0b84c10ccc | ||
|
|
afea153a0b | ||
|
|
64ba596e0b | ||
|
|
60fb28a90a | ||
|
|
a369c69091 | ||
|
|
f043321281 | ||
|
|
b644d2a893 | ||
|
|
4e95384ad6 | ||
|
|
08ba2ff752 | ||
|
|
efa0bab296 | ||
|
|
96e9a90e8e | ||
|
|
87c599df5c | ||
|
|
56cfe1d603 | ||
|
|
95e303d6f3 | ||
|
|
ebb63cce70 | ||
|
|
f24283a674 | ||
|
|
f60dfe4963 | ||
|
|
536bcf6505 | ||
|
|
1a02bcc9f5 | ||
|
|
d10abab786 | ||
|
|
ff539c22f9 | ||
|
|
0324ef2a47 | ||
|
|
cd2bf6f4b3 | ||
|
|
ad4923846a | ||
|
|
83a6edd08e | ||
|
|
58f2dc5cf3 | ||
|
|
3a786ccc17 | ||
|
|
b3a9bfca4d | ||
|
|
03c7dc2b4c | ||
|
|
000eac5a2b | ||
|
|
62c31e70d4 | ||
|
|
1b6af7836e | ||
|
|
638ae153cc | ||
|
|
059aaae7a9 | ||
|
|
4bf2fa3edb | ||
|
|
149dbff3ea | ||
|
|
c030294bf5 | ||
|
|
30e82a4d9c | ||
|
|
8c64046a53 | ||
|
|
04e4c5263e | ||
|
|
4303376ba6 | ||
|
|
cda61fe2d9 | ||
|
|
0f505411cf | ||
|
|
15d3e383e6 | ||
|
|
6888c6482c | ||
|
|
d772639cc6 | ||
|
|
acac88cf77 | ||
|
|
0bcac1fd79 | ||
|
|
959f611a65 | ||
|
|
7619b0ecbd | ||
|
|
0c85b4ef5f | ||
|
|
ee9e6a3c6b | ||
|
|
7b6f10e859 | ||
|
|
c61e9c0ef9 | ||
|
|
b1b37d9d72 | ||
|
|
1bd5a1ebcd | ||
|
|
14e4ffd15f | ||
|
|
16461eca1f | ||
|
|
8f29f19e98 | ||
|
|
5ca20da7af | ||
|
|
8bd9f7d51d | ||
|
|
0e84eb3852 | ||
|
|
4923ab2945 | ||
|
|
4c59497b95 | ||
|
|
5484cf4309 | ||
|
|
22d8aa4dc9 | ||
|
|
95f421024a | ||
|
|
f65b48d447 | ||
|
|
5bb854e504 | ||
|
|
faff84e63a | ||
|
|
9a5f6f020f | ||
|
|
4dec598fb8 | ||
|
|
3e948fcd93 | ||
|
|
8aa75321e2 | ||
|
|
ffbf0781fe | ||
|
|
e4966c7a07 | ||
|
|
ac23f74547 | ||
|
|
fa60463da5 | ||
|
|
3d85a615fb | ||
|
|
f873881a0d | ||
|
|
934a575a74 | ||
|
|
fe7b429866 | ||
|
|
295f6a20e0 | ||
|
|
6a94a4a51b | ||
|
|
8672ca9cf8 | ||
|
|
a75a7547b4 | ||
|
|
3857116724 | ||
|
|
5c7cd53f13 | ||
|
|
4fbb098daa | ||
|
|
0a195e7bc0 | ||
|
|
ae228ade8c | ||
|
|
4a5756e7fb | ||
|
|
29ba34ab7c | ||
|
|
2436e22f46 | ||
|
|
128a131070 | ||
|
|
6bc9a938cf | ||
|
|
0e47f13f14 | ||
|
|
7c0f5e97e1 | ||
|
|
0fd562bebc | ||
|
|
8730d30575 | ||
|
|
babf3787c6 | ||
|
|
74f36f5dc0 | ||
|
|
2eeb3dee9e | ||
|
|
4951e5e1b5 | ||
|
|
6429c51ec7 | ||
|
|
a8bd8fff93 | ||
|
|
a94b0e6a43 | ||
|
|
7a37326cc0 | ||
|
|
42d644a57e | ||
|
|
023cac4ebb | ||
|
|
2416491cbc | ||
|
|
6e23986bb3 | ||
|
|
1921e28c5f | ||
|
|
52314dcdf6 | ||
|
|
d8d4aace42 | ||
|
|
05309037a8 | ||
|
|
7943414c89 | ||
|
|
c7c545bf6c | ||
|
|
6316011024 | ||
|
|
8b0846d077 | ||
|
|
0d017c043f | ||
|
|
c2aac69a9f | ||
|
|
a9c6913f12 | ||
|
|
e071c05f1b | ||
|
|
03dc823ad7 | ||
|
|
1774e615a1 | ||
|
|
56f8f8aa24 | ||
|
|
4941c8a1f3 | ||
|
|
d5e0f7e3e4 | ||
|
|
620e64c58f | ||
|
|
b809dad94a | ||
|
|
b13845e528 | ||
|
|
3f15752f73 | ||
|
|
cb6fd3afb3 | ||
|
|
7788a3d45d | ||
|
|
923c325a40 | ||
|
|
87f1b1b1e3 | ||
|
|
ab22feba9a | ||
|
|
10c196df50 | ||
|
|
2c8321be1f | ||
|
|
62da7e67b6 | ||
|
|
e7c81ef34e | ||
|
|
3f7e7e8a88 | ||
|
|
496109fdcc | ||
|
|
aad344bb84 | ||
|
|
13fc20b0ee | ||
|
|
351db7f1a0 | ||
|
|
6ab7b1b915 | ||
|
|
f853bc6a86 | ||
|
|
d7189dd6c7 | ||
|
|
5fc3c0812a | ||
|
|
67aa23530b | ||
|
|
2a58c3fb98 | ||
|
|
96fa3f7550 | ||
|
|
1109046782 | ||
|
|
49dc47ff38 | ||
|
|
dee86e2448 | ||
|
|
17da733f97 | ||
|
|
23836d4c11 | ||
|
|
e53d208ea4 | ||
|
|
e8c5495b61 | ||
|
|
28646eee0a | ||
|
|
e1882b614b | ||
|
|
ae082c3cb8 | ||
|
|
ea6124dd2f | ||
|
|
b41437780b | ||
|
|
2659427864 | ||
|
|
8607aa7c3c | ||
|
|
ed0ba49502 | ||
|
|
2d41055bdc | ||
|
|
027060dad1 | ||
|
|
0778332747 | ||
|
|
9e186bbd89 | ||
|
|
050a0ce85d | ||
|
|
6c87f9f765 | ||
|
|
81b12b6826 | ||
|
|
431476e2e4 | ||
|
|
557801a09e | ||
|
|
9180a30986 | ||
|
|
61d0f27d2a | ||
|
|
c49e253e21 | ||
|
|
954f9cbc13 | ||
|
|
d9abd4d9be | ||
|
|
d37c3ad30f | ||
|
|
4708231046 | ||
|
|
924f030994 | ||
|
|
6b76cac6cf | ||
|
|
2762db8408 | ||
|
|
edff13dcae | ||
|
|
e22fae2397 | ||
|
|
73dd9d3b74 | ||
|
|
8d2e20ede6 | ||
|
|
5c1c70a604 | ||
|
|
fb22ef053b | ||
|
|
4ba4269344 | ||
|
|
2dcf584834 | ||
|
|
13aba7640b | ||
|
|
2e46bb4264 | ||
|
|
1d37204a37 | ||
|
|
6b4346d1ac | ||
|
|
ea0f836ef1 | ||
|
|
b8729de9da | ||
|
|
4e9280fc7a | ||
|
|
d02ecfb288 | ||
|
|
3afc629ac5 | ||
|
|
6e1339fedf | ||
|
|
7d4b6767eb | ||
|
|
93f9b4392d | ||
|
|
6df9546742 | ||
|
|
4dbeb97eb9 | ||
|
|
34349d1a61 | ||
|
|
6497a4a0f6 | ||
|
|
b8d29cb6ba | ||
|
|
e77e224171 | ||
|
|
dcea212e40 | ||
|
|
644db7a04a | ||
|
|
00b16f6aa6 | ||
|
|
1952db5069 | ||
|
|
6f8364ba59 | ||
|
|
eadff71d37 | ||
|
|
af62a6cade | ||
|
|
de4e29288d | ||
|
|
44d58ee871 | ||
|
|
9d5819ff44 | ||
|
|
08d7fe0432 | ||
|
|
9f2571cc01 | ||
|
|
b4b2e2ed9f | ||
|
|
17ebd0afc7 | ||
|
|
351b7f3a09 | ||
|
|
721625d512 | ||
|
|
282114e96c | ||
|
|
95d123cfc2 | ||
|
|
f5cbb45ab9 | ||
|
|
b7b9b9c0b7 | ||
|
|
715afc0314 | ||
|
|
f281886bfd | ||
|
|
4f0fcc582e | ||
|
|
aa59cfd545 | ||
|
|
f696299cfc | ||
|
|
b0719eacf9 | ||
|
|
c2187c8759 | ||
|
|
56296f96db | ||
|
|
be6b61b1bc | ||
|
|
f8d4611d15 | ||
|
|
f25bd41a03 | ||
|
|
fe3ad5e2cc | ||
|
|
502ea66f15 | ||
|
|
673aab5ba2 | ||
|
|
77457cbff1 | ||
|
|
db0d17cebb | ||
|
|
dd58006d65 | ||
|
|
f0ebb0b0f1 | ||
|
|
8c9d3146df | ||
|
|
117f977ce3 | ||
|
|
d8e5d9d6e8 | ||
|
|
1f5feb75fb | ||
|
|
05031ff938 | ||
|
|
adfb71fa6b | ||
|
|
37341048a9 | ||
|
|
b3491f9de1 | ||
|
|
80fc584923 | ||
|
|
b7389995f4 | ||
|
|
92d9ad4a7f | ||
|
|
8a804b5257 | ||
|
|
e3c5ada3a7 | ||
|
|
7adf0eac7e | ||
|
|
df0a8e8450 | ||
|
|
526435859f | ||
|
|
98d426e1d5 | ||
|
|
b80c229d87 | ||
|
|
9b93141dd0 | ||
|
|
59ebc9d41e | ||
|
|
f0199d6770 | ||
|
|
f2d372545a | ||
|
|
9809511c4c | ||
|
|
538e8a86c8 | ||
|
|
27aa6ea44e | ||
|
|
7475c4047e | ||
|
|
5e58a7d54a | ||
|
|
6a174483d8 | ||
|
|
a76d9d4408 | ||
|
|
1189f4a568 | ||
|
|
51766e6549 | ||
|
|
d315156733 | ||
|
|
4c4675e3ac | ||
|
|
49ef980ecf | ||
|
|
12692c551e | ||
|
|
00f9305ad8 | ||
|
|
0097949ba9 | ||
|
|
1b33a9e807 | ||
|
|
4a0b33561c | ||
|
|
96faaa85cf | ||
|
|
f82c7006ea | ||
|
|
681af253ef | ||
|
|
88bdb81791 | ||
|
|
458f6ae7c3 | ||
|
|
999e963533 | ||
|
|
5336f2600a | ||
|
|
38433e85bf | ||
|
|
c3cbc92757 | ||
|
|
45a1e048bb | ||
|
|
40bd460b1c | ||
|
|
ae7143d693 | ||
|
|
aead1050fb | ||
|
|
6e485833ef | ||
|
|
be0a8ec1f1 | ||
|
|
11e1f7a3fb | ||
|
|
0b0d5fabac | ||
|
|
35aa0921ee | ||
|
|
2f8936181c | ||
|
|
4c3fb8cf10 | ||
|
|
c3cea55493 | ||
|
|
5d467f0f45 | ||
|
|
2162a419e3 | ||
|
|
f15271f31f | ||
|
|
9d6488c31a | ||
|
|
adc922d7fb | ||
|
|
cf4700bc26 | ||
|
|
367b5439e1 | ||
|
|
6802da457e | ||
|
|
5682f0b772 | ||
|
|
08b7bb3c7a | ||
|
|
d6a4f8d77b | ||
|
|
c30f9832b0 | ||
|
|
d44e1349d8 | ||
|
|
6f831d5370 | ||
|
|
4e1f49258b | ||
|
|
fb31f93c52 | ||
|
|
f720f04fa0 | ||
|
|
7a56c3c396 | ||
|
|
994565bdeb | ||
|
|
67498e576c | ||
|
|
eae130467b | ||
|
|
f764cf8d31 | ||
|
|
49247180dc | ||
|
|
914bebba31 | ||
|
|
4b773b61f5 | ||
|
|
657f6ae342 | ||
|
|
2861229558 | ||
|
|
f939d0ee62 | ||
|
|
77c58e741d | ||
|
|
66a38a9e7c | ||
|
|
31ddc49da2 | ||
|
|
317995b921 | ||
|
|
beb7b5bbe5 | ||
|
|
05f5755bb1 | ||
|
|
cfd92cb18d | ||
|
|
2456d3a197 | ||
|
|
f0b821f880 | ||
|
|
319f9a9346 | ||
|
|
596e5dd583 | ||
|
|
b958a2d30c | ||
|
|
e270887391 | ||
|
|
986773cc9c | ||
|
|
ecbcc9eb2c | ||
|
|
1ad29fe31f | ||
|
|
42f6aae259 | ||
|
|
de485ad900 | ||
|
|
99c5fae9da | ||
|
|
98f0418fb9 | ||
|
|
d7977fa3e1 | ||
|
|
1e6475fad6 | ||
|
|
d5f95b721d | ||
|
|
ae2eeff5c6 | ||
|
|
08da4b8c7b | ||
|
|
0ba0c6d04d | ||
|
|
93f24ea86a | ||
|
|
f8eae84e15 | ||
|
|
7831c4bfef | ||
|
|
5f45977e3e | ||
|
|
d187ec82d4 | ||
|
|
42c3474223 | ||
|
|
aee742e767 | ||
|
|
c9294c1a78 | ||
|
|
b117ff5435 | ||
|
|
119ef5ecbf | ||
|
|
8fb442d81a | ||
|
|
73153b89b4 | ||
|
|
d9836adbf6 | ||
|
|
420edf23ad | ||
|
|
6c5f6feb5e | ||
|
|
a1c1c82b0d | ||
|
|
83a0d988ec | ||
|
|
a8c12369fd | ||
|
|
28a6d328a5 | ||
|
|
dd404b8ba3 | ||
|
|
1c636afe3f | ||
|
|
48a1799f49 | ||
|
|
bf24de43fe | ||
|
|
76d9ea911d | ||
|
|
ff773def26 | ||
|
|
5abfb11813 | ||
|
|
0b8d6c7f4a | ||
|
|
6c60305a96 | ||
|
|
19c4d82512 | ||
|
|
e11149bcae | ||
|
|
fe85426df6 | ||
|
|
158002d2d1 | ||
|
|
c96d3ebf8c | ||
|
|
b1088a6bd7 | ||
|
|
f0223490be | ||
|
|
81e5690410 | ||
|
|
700a450806 | ||
|
|
0e1fc06a6f | ||
|
|
c3b41c289d | ||
|
|
6ab95e0391 | ||
|
|
67b3fa9311 | ||
|
|
316e8d1939 | ||
|
|
f13493edb2 | ||
|
|
595b386afc | ||
|
|
8e587ae481 | ||
|
|
acb056e3b1 | ||
|
|
5ef2c6fd6f | ||
|
|
1a0572d7e7 | ||
|
|
7957ab6b1d | ||
|
|
e8b613e625 | ||
|
|
9c68a343f6 | ||
|
|
881ff08269 | ||
|
|
e3239d23f4 | ||
|
|
f9c92b0351 | ||
|
|
b73c36acbf | ||
|
|
181369964f | ||
|
|
d2c5d71502 | ||
|
|
c231510f8b | ||
|
|
2ac56fd120 | ||
|
|
e6b23059ac | ||
|
|
04169b5150 | ||
|
|
daaec84c6b | ||
|
|
73c1d43f2f | ||
|
|
ab5a460177 | ||
|
|
67a85221d5 | ||
|
|
328be8f846 | ||
|
|
d9b91758e0 | ||
|
|
4e26ade2df | ||
|
|
8d3eb1a258 | ||
|
|
33ad3deaee | ||
|
|
ba3f04deed | ||
|
|
45e823d27c | ||
|
|
70b736f440 | ||
|
|
97e6b38144 | ||
|
|
7a45ff460d | ||
|
|
6f5a4d7e29 | ||
|
|
4d0ad9abb6 | ||
|
|
15e8c18106 | ||
|
|
1c555e4b96 | ||
|
|
6fdb360e2a | ||
|
|
0d847d9410 | ||
|
|
abc82d6a52 | ||
|
|
acf7d70d24 | ||
|
|
3be4c38946 | ||
|
|
6a1bd52854 | ||
|
|
0b75992737 | ||
|
|
91fef21973 | ||
|
|
dc0f3559be | ||
|
|
bb25128406 | ||
|
|
bf5d8de999 | ||
|
|
1a0a6755b1 | ||
|
|
8adbbe092d | ||
|
|
bd749e040d | ||
|
|
7e80d7e551 | ||
|
|
ce09d00679 | ||
|
|
dbd7a06ea9 | ||
|
|
74c2e644a9 | ||
|
|
dfee7e0389 | ||
|
|
60f25ccdf9 | ||
|
|
2b0dbead17 | ||
|
|
d0b506c12b | ||
|
|
742261c7fc | ||
|
|
939cdc82a2 | ||
|
|
a207ce13c0 | ||
|
|
17c77da38f | ||
|
|
54313212a4 | ||
|
|
b2673eab55 | ||
|
|
282d41bc94 | ||
|
|
b72c2c6358 | ||
|
|
5581339d5b | ||
|
|
78f3966d66 | ||
|
|
bae9fa1480 | ||
|
|
cef750d1d2 | ||
|
|
be36eda858 | ||
|
|
13fbf9a200 | ||
|
|
f2a03f68bd | ||
|
|
d997c1a32a | ||
|
|
d27251ec4e | ||
|
|
9ae6403346 | ||
|
|
39d411ce0b | ||
|
|
93fe848bb6 | ||
|
|
9d05897f7a | ||
|
|
cbeb9c5236 | ||
|
|
2203958798 | ||
|
|
268ec8d1e0 | ||
|
|
093d745b86 | ||
|
|
655b6d1996 | ||
|
|
833a0621fa | ||
|
|
b5c3a92be2 | ||
|
|
78694bb2f5 | ||
|
|
297cfd86fa | ||
|
|
43b2bf6c16 | ||
|
|
aceb938e07 | ||
|
|
68f44fb932 | ||
|
|
e38619dd02 | ||
|
|
4ec7cd2760 | ||
|
|
b0277ab904 | ||
|
|
87b26b0aaf | ||
|
|
01d13c153d | ||
|
|
c17082a4f8 | ||
|
|
9acfd3eb73 | ||
|
|
0ad84b8723 | ||
|
|
3f912eb4ad | ||
|
|
f1b45f7df0 | ||
|
|
29c18d4bde | ||
|
|
33728840ec | ||
|
|
cd339486b7 | ||
|
|
e54a34d8dd | ||
|
|
d24b192f8c | ||
|
|
0442d7e2d6 | ||
|
|
5b97bb247e | ||
|
|
8a7486577a | ||
|
|
6d17993eb6 | ||
|
|
d0e5da2884 | ||
|
|
d5b50ee466 | ||
|
|
8031fe00c7 | ||
|
|
3f6152806f | ||
|
|
7fdca150a9 | ||
|
|
165de71754 | ||
|
|
6b1a4b6e64 | ||
|
|
aaf0ef6b19 | ||
|
|
fb2745ba3b | ||
|
|
d452ed7db8 | ||
|
|
8f5cd0a361 | ||
|
|
d7bc3c6f4a | ||
|
|
d04e5a1fe0 | ||
|
|
bf5f09a0c7 | ||
|
|
a154d660d9 | ||
|
|
7a49d50187 | ||
|
|
ce0bd93289 | ||
|
|
0fdefdf7a4 | ||
|
|
8236f20759 | ||
|
|
e16b2a8831 | ||
|
|
f7fbc6f633 | ||
|
|
3a9b0cf132 | ||
|
|
2a3e646b94 | ||
|
|
64231aa3f0 | ||
|
|
117e6fb356 | ||
|
|
03ea06fa84 | ||
|
|
525ab3faa9 | ||
|
|
490e86dde3 | ||
|
|
6e076e77d8 | ||
|
|
d75f2f7051 | ||
|
|
aa1be9fcad | ||
|
|
17796aaed4 | ||
|
|
2355fa973e | ||
|
|
694e9f2bdc | ||
|
|
372566295e | ||
|
|
4e85213473 | ||
|
|
d6a346ca6e | ||
|
|
8b65b3e6d7 | ||
|
|
ffffc0179f | ||
|
|
f80ec871f6 | ||
|
|
e0cb5caef2 | ||
|
|
afbbf61588 | ||
|
|
28665079a0 | ||
|
|
80997f652b | ||
|
|
9d67a02b5f | ||
|
|
22efa1ab53 | ||
|
|
f19d1e253a | ||
|
|
b65f7f7895 | ||
|
|
fb49d2ced9 | ||
|
|
434ce96f2c | ||
|
|
6ae2c5f5c7 | ||
|
|
6f4e494e06 | ||
|
|
eb554a504d | ||
|
|
8771418170 | ||
|
|
2f37ea842f | ||
|
|
9232ba1da0 | ||
|
|
a0916b926f | ||
|
|
2da6a7570b | ||
|
|
2498ecbc84 | ||
|
|
4935fdf6e4 | ||
|
|
370dd6c4da | ||
|
|
06ca24e8e2 | ||
|
|
c4425c836a | ||
|
|
f0dd90d9d7 | ||
|
|
6bc5a84a2d | ||
|
|
3375363d93 | ||
|
|
fbb40b98ad | ||
|
|
a365a0e3ba | ||
|
|
45c5b66e9e | ||
|
|
f303c24d3c | ||
|
|
3d4762eab3 | ||
|
|
a5896264fa | ||
|
|
4d1cca1150 | ||
|
|
092e6e947e | ||
|
|
07f505971c | ||
|
|
7eccc5ebf2 | ||
|
|
dab124dfb9 | ||
|
|
8be664cca9 | ||
|
|
866edd41a7 | ||
|
|
412f93122d | ||
|
|
3201d1d493 | ||
|
|
9df7f65dd5 | ||
|
|
e23be8c91a | ||
|
|
99c384e110 | ||
|
|
49076d406e | ||
|
|
9e491decc0 | ||
|
|
ad77d9b014 | ||
|
|
4788d911ad | ||
|
|
80ea7db9c0 | ||
|
|
bacb8f56c3 | ||
|
|
d553555880 | ||
|
|
9e508779c2 | ||
|
|
14d144ea22 | ||
|
|
305ed0b3c5 | ||
|
|
9208c6b4e6 | ||
|
|
def893fe40 | ||
|
|
2a3c9e73e5 | ||
|
|
15854a1b14 | ||
|
|
12a0a9dedd | ||
|
|
5c90afa296 | ||
|
|
68ddba60a3 | ||
|
|
3482d836ae | ||
|
|
60731e6d02 | ||
|
|
c1256fff5b | ||
|
|
ddb77b1454 | ||
|
|
afec5b0f2e | ||
|
|
eb1598831a | ||
|
|
ea73e736c8 | ||
|
|
f2976178c9 | ||
|
|
76638aae76 | ||
|
|
2edaf0588a | ||
|
|
e525e3a571 | ||
|
|
a19c19c58c | ||
|
|
67a71868cb | ||
|
|
029f64495c | ||
|
|
63d6052159 | ||
|
|
50043f9cd6 | ||
|
|
59b1623477 | ||
|
|
22b52858e0 | ||
|
|
baea75f2df | ||
|
|
69c993357d | ||
|
|
fb685bcb1d | ||
|
|
14e4e9e479 | ||
|
|
b99940f8a1 | ||
|
|
3d76d6649f | ||
|
|
7519d8ca2c | ||
|
|
9f28eec95c | ||
|
|
17126b0c6d | ||
|
|
c37cb60d3c | ||
|
|
6c587b1c57 | ||
|
|
5917453611 | ||
|
|
cc2a1444ae | ||
|
|
10df5dcf70 | ||
|
|
8055635e85 | ||
|
|
83a38b8f46 | ||
|
|
83fc684b20 | ||
|
|
f9d31605b8 | ||
|
|
c9c093777f | ||
|
|
c33e2e5d66 | ||
|
|
a6dc4caecf | ||
|
|
a5b3747c01 | ||
|
|
ec3a6428b8 | ||
|
|
7a6fe203ee | ||
|
|
a8345b6a44 | ||
|
|
df84bcf3bf | ||
|
|
c8166b2db1 | ||
|
|
54c2c945e0 | ||
|
|
92969b4426 | ||
|
|
026442f28f | ||
|
|
fe6b7f477c | ||
|
|
434a2f7071 | ||
|
|
704ee6f6c7 | ||
|
|
f311be96a9 | ||
|
|
191d204674 | ||
|
|
4ddf97be4e | ||
|
|
a388830983 | ||
|
|
ea4269e0d2 | ||
|
|
77683eda0c | ||
|
|
42ed37b385 | ||
|
|
eadd69f843 | ||
|
|
99213ef59a | ||
|
|
b54f998a85 | ||
|
|
b792ab8ff1 | ||
|
|
27a5237462 | ||
|
|
50ef47cf0a | ||
|
|
8cc9692cd9 | ||
|
|
9ffda4f955 | ||
|
|
239c9e46ea | ||
|
|
54d1b11b19 | ||
|
|
68defd9980 | ||
|
|
f7e3c10eca | ||
|
|
f8be0d2961 | ||
|
|
8c58635ea7 | ||
|
|
7eac53a178 | ||
|
|
ec4ffc0c2c | ||
|
|
a22a3ed7e8 | ||
|
|
c5ef502b42 | ||
|
|
f7f3bef313 | ||
|
|
d3bcc58074 | ||
|
|
bf0da9f2f7 | ||
|
|
612c17240a | ||
|
|
b59a7cf1d8 | ||
|
|
518410b7e0 | ||
|
|
0a0ed893c3 | ||
|
|
e565656865 | ||
|
|
59b26faaba | ||
|
|
f5d397e8c8 | ||
|
|
66cff2e98d | ||
|
|
2133984318 | ||
|
|
64bc0e4929 | ||
|
|
8ffa6b2bb7 | ||
|
|
f038ed9ca2 | ||
|
|
66f627da04 | ||
|
|
e108924060 | ||
|
|
b699bdefbd | ||
|
|
74af234305 | ||
|
|
4296db2358 | ||
|
|
31d718c4a4 | ||
|
|
e3b0197e57 | ||
|
|
4d86b2f02f | ||
|
|
c979a695c5 | ||
|
|
902c8c38d2 | ||
|
|
14b0639181 | ||
|
|
bf02c6661a | ||
|
|
0adc91d6cb | ||
|
|
77bab13546 | ||
|
|
f1b0178a85 | ||
|
|
10f03d4119 | ||
|
|
b3fdb37b87 | ||
|
|
bdc0ed8065 | ||
|
|
165bc589fd | ||
|
|
15375ef6b9 | ||
|
|
7ec433a452 | ||
|
|
085ad9073b | ||
|
|
34302edcc5 | ||
|
|
c93de67d79 | ||
|
|
5179dfafbe | ||
|
|
9c4d5f8bb2 | ||
|
|
f51478b470 | ||
|
|
93427b8cb6 | ||
|
|
5d7fea2047 | ||
|
|
35fe5ea166 | ||
|
|
bbe5a6f5d1 | ||
|
|
6b8c90bffd | ||
|
|
9455b1cc81 | ||
|
|
9fdec3acfc | ||
|
|
f189b9b6e9 | ||
|
|
6c63bfce69 | ||
|
|
d398c0aed2 | ||
|
|
ac4e657aaa | ||
|
|
ae138566a9 | ||
|
|
e4044eeb70 | ||
|
|
d5fdfaea56 | ||
|
|
d92da40bff | ||
|
|
5750cf6b72 | ||
|
|
7015017686 | ||
|
|
12b297a712 | ||
|
|
d290306bb3 | ||
|
|
60ac1b77c5 | ||
|
|
e514fe2bff | ||
|
|
148619f0ba | ||
|
|
17778a36ba | ||
|
|
df28cd88b8 | ||
|
|
942cc0ca21 | ||
|
|
010616e3ae | ||
|
|
1505e8dd50 | ||
|
|
5901972958 | ||
|
|
bbcd76ecd0 | ||
|
|
3de76fcab1 | ||
|
|
d496304bbf | ||
|
|
719dd2870d | ||
|
|
2f00ae4fd7 | ||
|
|
5e71e07f59 | ||
|
|
40e4f39181 | ||
|
|
6e217dfcb0 | ||
|
|
bbfd43e036 | ||
|
|
70655cc3f7 | ||
|
|
c89cdcc3fd | ||
|
|
1ed8a22d19 | ||
|
|
bad043729f | ||
|
|
3c5c3280ff | ||
|
|
8c9b73f67b | ||
|
|
37e3bc3467 | ||
|
|
8d3dc3a44b | ||
|
|
fbf6ab5d4d | ||
|
|
e13d4df9ab | ||
|
|
fb7d9b1029 | ||
|
|
5ef758bbd4 | ||
|
|
ca93b4a1ac | ||
|
|
03b909603a | ||
|
|
5a8f213c23 | ||
|
|
b10871cedc | ||
|
|
9f107dbd4e | ||
|
|
e6eb65be00 | ||
|
|
dd7758e33e | ||
|
|
d0dbd869c9 | ||
|
|
9ece65da23 | ||
|
|
7701e25a45 | ||
|
|
797bba04dd | ||
|
|
f7bf9da881 | ||
|
|
ce14ba9004 | ||
|
|
555471200c | ||
|
|
7e7e28f5f7 | ||
|
|
46f868bd4f | ||
|
|
58fa6cab43 | ||
|
|
4d594b24bc | ||
|
|
b4ae1adfbf | ||
|
|
dcbc9c8ddd | ||
|
|
430882327e | ||
|
|
2fa2796f2a | ||
|
|
343b7f44fc | ||
|
|
0c8614b9c6 | ||
|
|
5fa7a92048 | ||
|
|
bc715fbd51 | ||
|
|
a31c54b44b | ||
|
|
4267e7da93 | ||
|
|
0e43e5e8f2 | ||
|
|
b0187f4472 | ||
|
|
588a47be89 | ||
|
|
ea4e1136dd | ||
|
|
ca6c0fad08 | ||
|
|
0ab7b6d014 | ||
|
|
bb4a96c630 | ||
|
|
c7590634e8 | ||
|
|
58538500f2 | ||
|
|
b8a9b42993 | ||
|
|
2cfa76fa8b | ||
|
|
929ed5d8b8 | ||
|
|
4b6ec872c7 | ||
|
|
676f391ccf | ||
|
|
3443b203e4 | ||
|
|
1a76455986 | ||
|
|
e72a1de0d5 | ||
|
|
20832a0562 | ||
|
|
9db7939d38 | ||
|
|
4ecb9369b5 | ||
|
|
141b858737 | ||
|
|
0dca9964bf | ||
|
|
4e010da54b | ||
|
|
24bad9f3d1 | ||
|
|
f3128a18fe | ||
|
|
5557a8192d | ||
|
|
bddbf4d276 | ||
|
|
62a6f7ca63 | ||
|
|
770fbaf4b2 | ||
|
|
64c9c2e06b | ||
|
|
c26b64f24b | ||
|
|
795f41c331 | ||
|
|
d8d71df301 | ||
|
|
aac40562d3 | ||
|
|
903b5b4218 | ||
|
|
fb8d5204e3 | ||
|
|
9fe613805f | ||
|
|
5ccc91a7c3 | ||
|
|
157aba5c3f | ||
|
|
f9079a110e | ||
|
|
4c06fcfc9d | ||
|
|
b2b24ca41b | ||
|
|
0133da1dcd | ||
|
|
300588c5e8 | ||
|
|
de5cc82b5b | ||
|
|
77f8d75529 | ||
|
|
94bf3e9a0e | ||
|
|
4f53d09c7e | ||
|
|
e376c6f6a9 | ||
|
|
ceb024ab03 | ||
|
|
3b2d98e7dc | ||
|
|
02f3369185 | ||
|
|
300d26973a | ||
|
|
660f92b6a7 | ||
|
|
09c8b4bbb3 | ||
|
|
b2bb7b41fc | ||
|
|
0b94a04914 | ||
|
|
032ce498c4 | ||
|
|
77965af288 | ||
|
|
f6ad138561 | ||
|
|
d87a1d6b99 | ||
|
|
07e1085dcc | ||
|
|
55e7ddba1e | ||
|
|
d74b5f4bc6 | ||
|
|
553002e9d8 | ||
|
|
0e62857841 | ||
|
|
75471ee0e0 | ||
|
|
5885c6186d | ||
|
|
9cdaefdb9a | ||
|
|
de744e6df6 | ||
|
|
3a563250f7 | ||
|
|
a3a2b8dedb | ||
|
|
a40b8c07f4 | ||
|
|
cdb96726df | ||
|
|
56d8bbf780 | ||
|
|
37931d8589 | ||
|
|
f3ad05347e | ||
|
|
1a7e303f97 | ||
|
|
9ca521e894 | ||
|
|
5df6055169 | ||
|
|
eefcd4aae4 | ||
|
|
4875eb49f8 | ||
|
|
11774f7d5f | ||
|
|
1bd3cd4225 | ||
|
|
6882c374c9 | ||
|
|
18919465c3 | ||
|
|
bb8bb2727c | ||
|
|
859fe7776c | ||
|
|
55616388ea | ||
|
|
8e1b897f0a | ||
|
|
3745377872 | ||
|
|
01a70d09db | ||
|
|
0afcf4877c | ||
|
|
aa96bdfd1e | ||
|
|
c247a3d991 | ||
|
|
cd907a7662 | ||
|
|
1c88a518cf | ||
|
|
b4be07149f | ||
|
|
335733f110 | ||
|
|
4a370c5f3f | ||
|
|
487eb17ec0 | ||
|
|
9f16707b0b | ||
|
|
bbbc032959 | ||
|
|
e0bdc02139 | ||
|
|
6d7b1c1e5f | ||
|
|
8637d06e0e | ||
|
|
df98e5a635 | ||
|
|
62dd433756 | ||
|
|
e2effbd1ce | ||
|
|
b6248c7cb7 | ||
|
|
f6e7be102a | ||
|
|
c8213a3f58 | ||
|
|
d19516b40a | ||
|
|
ca5334509c | ||
|
|
a0a9d52213 | ||
|
|
2efc9b31bd | ||
|
|
1d9977b8b9 | ||
|
|
edad580c32 | ||
|
|
2536352e5d | ||
|
|
dbb509a302 | ||
|
|
3daf73710a | ||
|
|
d372cd1b17 | ||
|
|
ee7e826f0c | ||
|
|
d7bd3e37cb | ||
|
|
b23748aa5a | ||
|
|
8584515a50 | ||
|
|
08fe84d707 | ||
|
|
150a53eb17 | ||
|
|
1f9a7e26ba | ||
|
|
fc18334dbb | ||
|
|
4ce88d7f72 | ||
|
|
ce1a03bde3 | ||
|
|
d6414c9ff7 | ||
|
|
5076c75b07 | ||
|
|
36af3d92ec | ||
|
|
2ad80063ec | ||
|
|
2fbe1e200b | ||
|
|
53996050a2 | ||
|
|
f5d77a1bc2 | ||
|
|
93a7eef2a5 | ||
|
|
67acba4bc9 | ||
|
|
9979474f1e |
No files matched your search
+71
-6
@@ -1,8 +1,73 @@
|
||||
zerotier-*
|
||||
/Makefile
|
||||
*.o
|
||||
# Main binaries created in *nix builds
|
||||
/zerotier-*
|
||||
|
||||
# OS-created garbage files from various platforms
|
||||
.DS_Store
|
||||
.Apple*
|
||||
*.dSYM
|
||||
mac-tap/tuntap/src/tap/tap
|
||||
mac-tap/tuntap/tap.kext
|
||||
Thumbs.db
|
||||
|
||||
# Windows build droppings
|
||||
/windows/ZeroTierOne.sdf
|
||||
/windows/ZeroTierOne.v11.suo
|
||||
/windows/x64
|
||||
/windows/Win32
|
||||
/windows/*/x64
|
||||
/windows/*/Win32
|
||||
/windows/ZeroTierOne/Release
|
||||
/windows/ZeroTierOneService/obj
|
||||
/windows/ZeroTierOneService/bin
|
||||
/windows/Build
|
||||
/windows/Debug
|
||||
/windows/Release
|
||||
/windows/WebUIWrapper/bin
|
||||
/windows/WebUIWrapper/obj
|
||||
/ext/installfiles/windows/ZeroTier One-SetupFiles
|
||||
/ext/installfiles/windows/Prerequisites
|
||||
/ext/installfiles/windows/*-cache
|
||||
/ZeroTier One.msi
|
||||
|
||||
# *nix/Mac build droppings
|
||||
/build-*
|
||||
/ZeroTierOneInstaller-*
|
||||
|
||||
# Miscellaneous file types that we don't want to check in
|
||||
*.log
|
||||
*.opensdf
|
||||
*.user
|
||||
*.cache
|
||||
*.obj
|
||||
*.tlog
|
||||
*.pid
|
||||
*.pkg
|
||||
*.o
|
||||
*.core
|
||||
*.deb
|
||||
*.rpm
|
||||
*.autosave
|
||||
*.tmp
|
||||
|
||||
# Root topology build files, temporaries, and never check in secrets
|
||||
/root-topology/bin2c
|
||||
/root-topology/mktopology
|
||||
/root-topology/*.secret
|
||||
/root-topology/test/supernodes
|
||||
/root-topology/test/test-root-topology
|
||||
|
||||
# MacGap wrapper build files
|
||||
/ext/mac-ui-macgap1-wrapper/src/MacGap.xcodeproj/project.xcworkspace/xcuserdata/*
|
||||
/ext/mac-ui-macgap1-wrapper/src/MacGap.xcodeproj/xcuserdata/*
|
||||
/ext/mac-ui-macgap1-wrapper/src/build
|
||||
|
||||
# Web UI dev temporaries
|
||||
/ui/.module-cache
|
||||
node_modules
|
||||
|
||||
# Java/Android/JNI build droppings
|
||||
java/obj/
|
||||
java/libs/
|
||||
java/bin/
|
||||
java/classes/
|
||||
java/doc/
|
||||
java/build_win64/
|
||||
java/build_win32/
|
||||
/java/mac32_64/
|
||||
+18
-17
@@ -1,26 +1,27 @@
|
||||
This file will track authors and contributors to ZeroTier's code base.
|
||||
People who contribute new code or bug fixes that are accepted into
|
||||
the master (trunk) branch will be credited here.
|
||||
ZeroTier One is designed and written by Adam Ierymenko, with a few bug
|
||||
fixes and other contributions from other users. Information about all
|
||||
contributors can be found on the GitHub home page at:
|
||||
|
||||
--
|
||||
https://github.com/zerotier/ZeroTierOne
|
||||
|
||||
Adam Ierymenko [adam.ierymenko@zerotier.com]
|
||||
* Principal author and maintainer of ZeroTier One, author of all
|
||||
code prior to ZeroTier's open source release.
|
||||
* Maintainer of master branch, release manager.
|
||||
|
||||
--
|
||||
|
||||
ZeroTier One includes or links with the following third party software:
|
||||
ZeroTier One includes the following third party code:
|
||||
|
||||
* LZ4 compression algorithm by Yann Collet (BSD license)
|
||||
http://code.google.com/p/lz4/
|
||||
|
||||
* OpenSSL libcrypto (BSD-style OpenSSL license)
|
||||
http://www.openssl.org/
|
||||
* http-parser by many authors (MIT license)
|
||||
https://github.com/joyent/http-parser
|
||||
|
||||
* TunTapOSX by Mattias Nissler (with tiny modifications) (BSD license)
|
||||
* json-parser by James McLaughlin (BSD license)
|
||||
https://github.com/udp/json-parser
|
||||
|
||||
* TunTapOSX by Mattias Nissler (forked for ZT1) (BSD license)
|
||||
http://tuntaposx.sourceforge.net
|
||||
|
||||
* Salsa20 stream cipher by D. J. Bernstein (public domain)
|
||||
http://cr.yp.to/snuffle.html
|
||||
* tap-windows by the OpenVPN project (forked for ZT1) (GPL)
|
||||
https://github.com/OpenVPN/tap-windows
|
||||
|
||||
* Salsa20 stream cipher, Curve25519 elliptic curve cipher, Ed25519
|
||||
digital signature algorithm, and Poly1305 MAC algorithm, all by
|
||||
Daniel J. Bernstein (public domain)
|
||||
http://cr.yp.to/
|
||||
@@ -1,23 +0,0 @@
|
||||
Building ZeroTier One on different platforms:
|
||||
|
||||
(See RUNNING.txt for what to do next.)
|
||||
|
||||
Developers note: there is currently no management of dependencies on *nix
|
||||
platforms, so you should make clean ; make if you change a header. Will
|
||||
do this eventually.
|
||||
|
||||
-- MacOS
|
||||
|
||||
make -f Makefile.mac
|
||||
|
||||
Edit Makefile.mac if you want to change between debug or release build.
|
||||
|
||||
-- Linux
|
||||
|
||||
make -f Makefile.linux
|
||||
|
||||
Edit Makefile.linux if you want to change between debug or release build.
|
||||
|
||||
-- Windows
|
||||
|
||||
TBD
|
||||
@@ -0,0 +1,18 @@
|
||||
# Common makefile -- loads make rules for each platform
|
||||
|
||||
OSTYPE=$(shell uname -s)
|
||||
|
||||
ifeq ($(OSTYPE),Darwin)
|
||||
include make-mac.mk
|
||||
endif
|
||||
|
||||
ifeq ($(OSTYPE),Linux)
|
||||
include make-linux.mk
|
||||
endif
|
||||
|
||||
ifeq ($(OSTYPE),FreeBSD)
|
||||
include make-freebsd.mk
|
||||
endif
|
||||
ifeq ($(OSTYPE),OpenBSD)
|
||||
include make-freebsd.mk
|
||||
endif
|
||||
@@ -1,54 +0,0 @@
|
||||
CC=gcc
|
||||
CXX=g++
|
||||
|
||||
INCLUDES=-Iext/bin/libcrypto/include -Iext/jsoncpp/include
|
||||
ARCH=$(shell uname -m)
|
||||
DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE
|
||||
|
||||
# Uncomment for a release optimized build
|
||||
#CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) -DNDEBUG $(DEFS)
|
||||
#STRIP=strip --strip-all
|
||||
|
||||
# Uncomment for a debug build
|
||||
CFLAGS=-Wall -g -pthread $(INCLUDES) -DZT_TRACE $(DEFS)
|
||||
STRIP=echo
|
||||
|
||||
CXXFLAGS=$(CFLAGS) -fno-rtti
|
||||
|
||||
# We statically link against libcrypto because RedHat-derived distributions do
|
||||
# not ship the elliptic curve algorithms. If we didn't we'd have to build
|
||||
# separate binaries for the RedHat and Debian universes to distribute via
|
||||
# auto-update. This way we get one Linux binary for all systems of a given
|
||||
# architecture.
|
||||
LIBS=ext/bin/libcrypto/linux-$(ARCH)/libcrypto.a -lm -ldl
|
||||
|
||||
include objects.mk
|
||||
|
||||
all: one cli launcher
|
||||
|
||||
one: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o zerotier-one main.cpp $(OBJS) $(LIBS)
|
||||
$(STRIP) zerotier-one
|
||||
|
||||
cli: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o zerotier-cli cli.cpp $(OBJS) $(LIBS)
|
||||
$(STRIP) zerotier-cli
|
||||
|
||||
selftest: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o zerotier-selftest selftest.cpp $(OBJS) $(LIBS)
|
||||
$(STRIP) zerotier-selftest
|
||||
|
||||
idtool: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o zerotier-idtool idtool.cpp $(OBJS) $(LIBS)
|
||||
$(STRIP) zerotier-idtool
|
||||
|
||||
launcher:
|
||||
$(CC) -Os -o zerotier-launcher launcher.c
|
||||
$(STRIP) zerotier-launcher
|
||||
|
||||
launcher-fakebin:
|
||||
$(CC) $(CFLAGS) -DZEROTIER_FAKE_VERSION_MAJOR=1 -DZEROTIER_FAKE_VERSION_MINOR=2 -DZEROTIER_FAKE_VERSION_REVISION=3 -o zerotier-launcher-fakebin-123 launcher-fakebin.c
|
||||
$(CC) $(CFLAGS) -DZEROTIER_FAKE_VERSION_MAJOR=1 -DZEROTIER_FAKE_VERSION_MINOR=2 -DZEROTIER_FAKE_VERSION_REVISION=4 -o zerotier-launcher-fakebin-124 launcher-fakebin.c
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) zerotier-*
|
||||
@@ -1,63 +0,0 @@
|
||||
CC=gcc
|
||||
CXX=g++
|
||||
|
||||
INCLUDES=-Iext/bin/libcrypto/include -Iext/jsoncpp/include
|
||||
DEFS=-DZT_ARCH="x86_combined" -DZT_OSNAME="mac" -DZT_TRACE
|
||||
|
||||
# Uncomment for a release optimized universal binary build
|
||||
CFLAGS=-arch i386 -arch x86_64 -Wall -O3 -ftree-vectorize -fstack-protector -pthread -mmacosx-version-min=10.6 -DNDEBUG $(INCLUDES) $(DEFS)
|
||||
STRIP=strip
|
||||
|
||||
# Uncomment for a debug build
|
||||
#CFLAGS=-Wall -g -pthread -DZT_TRACE -DZT_LOG_STDOUT $(INCLUDES) $(DEFS)
|
||||
#STRIP=echo
|
||||
|
||||
CXXFLAGS=$(CFLAGS) -fno-rtti
|
||||
LIBS=-lcrypto -lm
|
||||
|
||||
include objects.mk
|
||||
|
||||
all: one cli launcher mac-tap
|
||||
|
||||
one: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o zerotier-one main.cpp $(OBJS) $(LIBS)
|
||||
$(STRIP) zerotier-one
|
||||
|
||||
cli: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o zerotier-cli cli.cpp $(OBJS) $(LIBS)
|
||||
$(STRIP) zerotier-cli
|
||||
|
||||
selftest: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o zerotier-selftest selftest.cpp $(OBJS) $(LIBS)
|
||||
$(STRIP) zerotier-selftest
|
||||
|
||||
idtool: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o zerotier-idtool idtool.cpp $(OBJS) $(LIBS)
|
||||
$(STRIP) zerotier-idtool
|
||||
|
||||
mac-tap: FORCE
|
||||
cd mac-tap/tuntap ; make tap.kext
|
||||
|
||||
install-mac-tap: FORCE
|
||||
mkdir -p /Library/Application\ Support/ZeroTier/One
|
||||
rm -rf /Library/Application\ Support/ZeroTier/One/tap.kext
|
||||
cp -R mac-tap/tuntap/tap.kext /Library/Application\ Support/ZeroTier/One
|
||||
chown -R root:wheel /Library/Application\ Support/ZeroTier/One/tap.kext
|
||||
|
||||
launcher: FORCE
|
||||
$(CC) -Os -arch i386 -arch x86_64 -o zerotier-launcher launcher.c
|
||||
$(STRIP) zerotier-launcher
|
||||
|
||||
launcher-fakebin:
|
||||
$(CC) $(CFLAGS) -DZEROTIER_FAKE_VERSION_MAJOR=1 -DZEROTIER_FAKE_VERSION_MINOR=2 -DZEROTIER_FAKE_VERSION_REV
|
||||
$(CC) $(CFLAGS) -DZEROTIER_FAKE_VERSION_MAJOR=1 -DZEROTIER_FAKE_VERSION_MINOR=2 -DZEROTIER_FAKE_VERSION_REV
|
||||
|
||||
makekeypair: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o zerotier-makekeypair makekeypair.cpp $(OBJS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -rf *.dSYM
|
||||
rm -f $(OBJS) zerotier-*
|
||||
cd mac-tap/tuntap ; make clean
|
||||
|
||||
FORCE:
|
||||
@@ -1,95 +1,171 @@
|
||||
ZeroTier One
|
||||
======
|
||||
|
||||
ZeroTier One creates flat virtual Ethernet networks of almost unlimited size. [Visit ZeroTier on the web](https://www.zerotier.com/) for more information.
|
||||
ZeroTier is a software defined networking layer for Earth.
|
||||
|
||||
This code is presently in **ALPHA** testing. That means that the protocol spec may change in incompatible ways, and it certainly has bugs. Testers should "git pull," rebuild, and restart fairly often. If things mysteriously stop working, do that.
|
||||
It can be used for on-premise network virtualization, as a peer to peer VPN for mobile teams, for hybrid or multi-data-center cloud deployments, or just about anywhere else secure software defined virtual networking is useful.
|
||||
|
||||
See BUILDING.txt and RUNNING.txt for instructions. It currently builds on Mac and Linux. A Windows port is coming soon. Nice packages/installers and auto-update are also coming when alpha transitions to beta.
|
||||
ZeroTier One is our OS-level client service. It allows Mac, Linux, Windows, FreeBSD, and soon other types of clients to join ZeroTier virtual networks like conventional VPNs or VLANs. It can run on native systems, VMs, or containers (Docker, OpenVZ, etc.).
|
||||
|
||||
Note that this won't work if your firewall does not allow outbound UDP. It must allow UDP conversations on port 8993 at a minimum.
|
||||
Visit [ZeroTier's site](https://www.zerotier.com/) for more information. You can also download professionally packaged binary installers/packages for a variety of supported OSes there if you don't want to build ZeroTier One from source.
|
||||
|
||||
At present there is only one virtual LAN and you are dumped there by default. It's called Earth, and is exactly what it sounds like. The ability to create and join additional networks is coming soon. Once you're on, visit [earth.zerotier.net](http://earth.zerotier.net/) to see your Earth LAN IP address and other information.
|
||||
### Building from Source
|
||||
|
||||
**Security warning:** You read that right. ZeroTier One places your computer on an absolutely open global Ethernet party line. Please ensure that you are up to date on your OS patches and we recommend turning off unnecessary services. Also be sure that anything else you are sharing is password protected provided you don't want to share it: printers, iPhoto and iTunes shares, etc.
|
||||
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:
|
||||
|
||||
ZeroTier One is licensed under the GNU General Public License version 3. You are free to use, modify, or redistribute it under the terms of that license. If you would like to embed ZeroTier One in a closed source product or create a closed source derivative product, contact ZeroTier Networks LLC.
|
||||
* Mac: Xcode command line tools, and [Packages](http://s.sudre.free.fr/Software/Packages/about.html) if you want to build an OSX .pkg installer ("make mac-dist-pkg"). It should build on OSX 10.7 or newer.
|
||||
* Linux: gcc/g++ or clang/clang++ (Makefile will use clang by default if available.)
|
||||
* FreeBSD (and other BSD): C++ compiler (G++ usually) and GNU make (gmake).
|
||||
|
||||
Check out the [blog](http://blog.zerotier.com/) for announcements, in-depth articles, and related thoughts. There is also a [Google group](https://groups.google.com/forum/#!forum/zerotier-one-users) for questions and discussion.
|
||||
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.
|
||||
|
||||
----
|
||||
**FAQ**
|
||||
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. Build steps for Windows are a bit more complicated. For the moment you are on your own there.
|
||||
|
||||
**Q:** What can I do with this?
|
||||
**A:** For starters, try opening iTunes if you have it installed. If others are also online and sharing their collections, you might see them. If you have any games that run over a LAN (except those that require IPX), try those. What else can you think of to do on a completely flat, open network? Games? Collaborative software development? Remote debugging? Transferring files using simple drive shares? Sharing your desktop printer to someone on another continent? Use your imagination.
|
||||
Mobile versions are in progress. They don't work yet, and in any case only the glue code will be included in this repository. The full mobile apps are in private repositories on our own git server.
|
||||
|
||||
**Q:** Why do I get an IP address in the 27.0.0.0 or 28.0.0.0 range? And why does a lookup claim these addresses belong to the U.S. Department of Defense?
|
||||
**A:** Short answer: because IPv4 needs to die. Long answer: the Earth network assigns IPv4 IPs from these ranges. They do in fact belong to the DOD, but they are *not* routed to the open Internet. The DOD owns them but uses them internally for private networks. As a result, there is nothing *technically* wrong with "bogarting" these for our own private network. It's considered bad practice, but if you want a private address space in IPv4 that is unlikely to overlap other private address spaces (like 10/8 and 192.168/16), it's the only way. [Cellular carriers](http://www.androidcentral.com/sprint-internet-dept-defense-and-you) and [cable companies](http://www.dslreports.com/forum/r25679029-Why-is-my-first-hop-to-a-DoD-assigned-IP-address-) frequently do the same thing.
|
||||
### Supported Platforms
|
||||
|
||||
**Q:** Is IPv6 supported?
|
||||
**A:** Yes. IPv6 link-local addresses (those in the fe80::/10 block) are auto-assigned and should work fine. No other IPv6 addresses are assigned *yet*, but there are plans to do interesting things in this area in the future.
|
||||
CPU architecture shouldn't matter unless it's smaller than 32-bit or something really bizarre like a "middle-endian" processor. We have reports of ZeroTier One running on arm32, arm64, and MIPS. It builds and runs out of the box on Raspberry Pi, BeagleBone, BananaPi, and other ARM-based developer/hobbyist boards.
|
||||
|
||||
**Q:** I don't want a giant Ethernet party line. Can I leave it and create private LANs instead?
|
||||
**A:** Yes, soon. A GUI to configure such things is in development. But for now there's only Earth.
|
||||
ZeroTier is written in C and C++ (C++03 / ISO/IEC 14882:2003) and uses data structures and algorithms from the C++03 STL. We do not use any C++11 features (yet), since we want to support a few old and embedded platforms that don't have C++11 compilers. You *will* require a compiler and headers new enough to support 64-bit integers (long long) and the *stdint.h* header. The latter could also be faked by adding defines for things like *uint32\_t*, *int64\_t*, etc.
|
||||
|
||||
**Q:** Are you going to charge for this?
|
||||
**A:** Public virtual LANs will remain free. We intend to charge for private networks in some way, but the exact model is TBD. Other cloud-supported paid features are also TBD.
|
||||
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.
|
||||
|
||||
**Q:** What's a supernode?
|
||||
**A:** Supernodes are nodes run by ZeroTier Networks that orindary users use to find one another and communicate until/unless they can perform NAT traversal and connect directly. They run the exact same software as everyone else. The only thing that really makes a supernode special is that it's designated as such.
|
||||
### Running
|
||||
|
||||
**Q:** Can I run a supernode?
|
||||
**A:** No, not at the moment, and there would be no benefit to doing so.
|
||||
Running *zerotier-one* with -h will show help.
|
||||
|
||||
**Q:** Will my local firewall rules apply to ZeroTier One traffic?
|
||||
**A:** ZeroTier creates a virtual Ethernet tap device (zt# on Mac and Linux) that emulates a wired Ethernet port. If your firewall applies to *all* network ports, it will filter traffic through this port as well. If it applies only to the primary interface, it may not. See your OS's firewall documentation, as different OSes and flavors thereof have slightly different configurations in this regard.
|
||||
On Linux and BSD you can start the service with:
|
||||
|
||||
**Q:** Can you see my traffic? What about other users? Can you sniff the LAN?
|
||||
**A:** No. All unicast (direct computer to computer) traffic is encrypted end-to-end (even if it's being relayed), and the ZeroTier virtual LAN behaves like a LAN with a secure enterprise-grade switch that does not allow unicast conversations to be sniffed. Multicast and broadcast traffic will of course be seen by many recipients, but that's the idea.
|
||||
sudo ./zerotier-one -d
|
||||
|
||||
**Q:** What about privacy? Does this hide my location on the network?
|
||||
**A:** ZeroTier is not a connection anonymizer. Other than encryption, it doesn't do anything special to hide your identity or network location. If you want strong privacy protection there are already very advanced tools like [Tor](https://www.torproject.org) for that, and this isn't trying to duplicate their functionality. At the same time, ZT does not do anything special to harm your privacy either. It's not spyware or snoop-ware.
|
||||
A home folder for your system will automatically be created.
|
||||
|
||||
**Q:** Is this designed to replace IP, BGP, IPv6, routers, etc.?
|
||||
**A:** No. Its purpose is to act as a collaboration tool, a VPN alternative, a network mobility tool, a testbed for the development of software that takes advantage of fully open networking, a virtual LAN party for gamers, and so on, but it's not intended (or able) to replace the core of the Internet.
|
||||
The service is controlled via the JSON API, which by default is available at 127.0.0.1 port 9993. We include a *zerotier-cli* command line utility to make API calls for standard things like joining and leaving networks. The *authtoken.secret* file in the home folder contains the secret token for accessing this API. See README.md in [service/](service/) for API documentation.
|
||||
|
||||
**Q:** Can I bridge this to a physical port and plug in an Xbox, PlayStation, etc.?
|
||||
**A:** Not currently, as foreign Ethernet frames are not forwarded. This may be possible in a future version.
|
||||
Here's where home folders live (by default) on each OS:
|
||||
|
||||
----
|
||||
**Status**
|
||||
* Linux: /var/lib/zerotier-one
|
||||
* BSD: /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.)
|
||||
|
||||
*What works:*
|
||||
* Network auto-configuration via JSON API with identity based authentication and encryption
|
||||
* End-to-end encryption with automatic key exchange
|
||||
* Ethernet multicast with implicit social propagation (though the algorithm will certainly be getting tweaked as we go)
|
||||
* IPv4 ARP works (see MulticastGroup.hpp for details)
|
||||
* IPv6 neighbor discovery protocol works, thus IPv6 link-local addressing on the ZeroTier device also works
|
||||
* mDNS (though if the LAN gets big you will not see everyone, just people nearby on your implicit social graph)
|
||||
* IP-level multicast ought to "just work," though it may take up to a minute or so for a new join to propagate
|
||||
* NAT traversal works pretty well, at least behind relatively sane unrestrictive firewalls/routers. You can see this by pinging another node and watching, after a few seconds, the latency drop dramatically since you're no longer relaying. If it doesn't your firewall might block such things. Additional NAT traversal strategies are coming.
|
||||
* Changes in your local network configuration are generally detected and will cause peers to be re-acquired.
|
||||
Running ZeroTier One on a Mac is the same, but OSX requires a kernel extension. We ship a signed binary build of the ZeroTier tap device driver, which can be installed on Mac with:
|
||||
|
||||
*Known immediate issues:*
|
||||
* Multiple network support is in but there is no interface to configure it, hence it is useless. But in alpha it'll be nice to shove everyone onto "Earth" in order to stress test that little "almost unlimited size" boast.
|
||||
* There is no multiple-launch protection yet and multiple instances on the same system do not work well due to route conflicts. Take care that zerotier-one is not running before launching it again. The command "sudo killall zerotier-one" is helpful.
|
||||
* Sometimes ZeroTier One doesn't like to terminate when asked nicely. This is related to issues with the tap device closing down properly. If it hangs around after a TERM signal, send it a KILL (9) signal.
|
||||
* The locally bound UDP port isn't configurable yet. It's 8993 by default.
|
||||
* Known security issues:
|
||||
* There is no rate limit for multicast. Please be nice during alpha testing and don't flood.
|
||||
* There is no filtering. Whether or not to try to do port-level filtering is not yet decided, as technically the local OS firewall and OS service configuration should do this and ZeroTier is not about re-inventing wheels. But certain things *will*need to be filtered by ZT1 itself. These include certain ICMP and ICMPv6 messages: router advertisement, router solicitation, source redirect, etc. DHCP and BOOTP should probably also be filtered at a minimum.
|
||||
* ARP and IPv6 NDP want extra security measures to prevent poisoning and spoofing. The best mechanism is being researched.
|
||||
* If a supernode goes down, this takes quite a while to be detected and things will go dead. Fast recovery from relay failure is in the works.
|
||||
* If by a one in 2^40 chance two people generate the same ZeroTier address, this is currently not handled. It's unlikely and also hard (as in cryptographically hard) to do intentionally. See comments in Identity.cpp for details.
|
||||
sudo make install-mac-tap
|
||||
|
||||
*What doesn't work and might not work for a while, if ever:*
|
||||
* Only ARP, IPv4, and IPv6 frames are allowed. The ability to permit other ethertypes on user-created networks may be added later to allow things like old games that use IPX or private networks to remote administer weird hardware.
|
||||
* Bridging of the ZeroTier device to other networks will not work, and may never. This is TBD.
|
||||
* VLAN tagged frames will not work and probably never will, as higher level network provisioning handles that concept.
|
||||
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*.
|
||||
|
||||
----
|
||||
We recommend using our binary packages on Windows, since there are several prerequisites such as a tap driver that must be installed on the system *and* in the home folder.
|
||||
|
||||
<a href="http://flattr.com/thing/1611614/ZeroTier-Networks" target="_blank"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a>
|
||||
[](http://githalytics.com/zerotier/ZeroTierOne)
|
||||
### Joining A Network
|
||||
|
||||
(c)2012-2013 [ZeroTier Networks LLC](https://www.zerotier.com/)
|
||||
ZeroTier virtual networks are identified by 16-digit hexadecimal network IDs, while devices are identified by 10-digit addresses. To get your address run:
|
||||
|
||||
sudo zerotier-cli status
|
||||
|
||||
(Use ./zerotier-cli if you're running it right from your build folder.)
|
||||
|
||||
You should see something like:
|
||||
|
||||
200 info ########## ONLINE #.#.#
|
||||
|
||||
That 10-digit hex code is you. It's derived via a one-way proof of work function from your cryptographic public key. Your public key can be found in *identity.public* in ZeroTier's home folder, while *identity.secret* contains your full identity including the secret portion of the key pair.
|
||||
|
||||
(The identity files define your device's *identity*. Moving them to another system will move that identity. Be careful when cloning virtual machines that have identities stored on them. If two devices have the same identity, they'll "fight" over it and you won't know which device will receive network packets.)
|
||||
|
||||
If you want to do a quick test, you can join [Earth](https://www.zerotier.com/earth.html). It's a global public network that anyone can join. Type:
|
||||
|
||||
sudo zerotier-cli join 8056c2e21c000001
|
||||
|
||||
Then:
|
||||
|
||||
sudo zerotier-cli listnetworks
|
||||
|
||||
At first it'll be in *REQUESTING\_CONFIGURATION* state. In a few seconds to a minute you should see something like:
|
||||
|
||||
200 listnetworks 8056c2e21c000001 earth.zerotier.net ##:##:##:##:##:## OK PUBLIC zt0 ##.##.##.##/##
|
||||
|
||||
Earth will assign you an IP address in the "unofficially available" globally unrouted 28.0.0.0/7 IP block so as to avoid conflicts with local networks. (Your networks can use any IP scheme, or can even leave IP addresses unmanaged.) Once you get an IP, you should be able to ping something:
|
||||
|
||||
ping earth.zerotier.net
|
||||
|
||||
Go to [http://earth.zerotier.net/](http://earth.zerotier.net/) to see a short little welcome page that will tell you your IP and Ethernet MAC address.
|
||||
|
||||
Earth is a public place. If you don't want to stick around run:
|
||||
|
||||
sudo zerotier-cli leave 8056c2e21c000001
|
||||
|
||||
The network (and associated interface) should be gone.
|
||||
|
||||
Networks are created and administrated by network controllers. Most users will want to use our hosted controllers. Visit [our web site](https://www.zerotier.com/) for more information. Later in this README there are brief instructions about building ZeroTier One with network controller support for those who want to try running their own.
|
||||
|
||||
Macintosh and Windows installers also install a GUI application.
|
||||
|
||||
### Installing
|
||||
|
||||
We don't have a "make install" rule quite yet. On Linux you can type:
|
||||
|
||||
make installer
|
||||
|
||||
This will build a binary that, when run, will install ZeroTier One on most current Linux distributions. We also have RPM and DEB build files in *ext/installfiles/linux* that wrap this installer in packages for RedHat/CentOS and Debian/Ubuntu derived distributions. If *rpmbuild* is present on the system, the RPM will be built. If *dpkg-deb* is present, the DEB package will be built.
|
||||
|
||||
On Mac the best way is to install [Packages](http://s.sudre.free.fr/Software/Packages/about.html) and use:
|
||||
|
||||
make mac-dist-pkg
|
||||
|
||||
This builds a .pkg file that can be installed.
|
||||
|
||||
BSD has no installer yet. We're working on it.
|
||||
|
||||
Linux/BSD and Mac installations have an *uninstall.sh* file in their ZeroTier home folder that cleanly removes ZeroTier One from the system. Run this with:
|
||||
|
||||
sudo /path/to/ZeroTier/home/folder/uninstall.sh
|
||||
|
||||
Windows installers are insane. We build our .MSI installers with [Advanced Installer Enterprise](http://www.advancedinstaller.com). The Advanced Installer project file is in *ext/installfiles/windows*. To avoid lasting psychological trauma we recommend leaving Windows installers alone and using the pre-built Windows binaries on our web site.
|
||||
|
||||
### Using ZeroTier One in Docker Containers
|
||||
|
||||
To run the ZeroTier One service in a Docker container, run it with "--device=/dev/net/tun --cap-add=NET_ADMIN". This will allow ZeroTier One to open a "tap" virtual network port inside the container.
|
||||
|
||||
Alternately, you can use Ethernet bridging to bridge the *docker0* device on your system to a ZeroTier virtual network. This allows you to run ZeroTier One on the host and bridge the entire Docker network backplane to a virtual network or other hosts.
|
||||
|
||||
We're working on better "official" Docker support. In the meantime there is a [user-contributed project here](https://github.com/davide/docker-zerotier).
|
||||
|
||||
### Building with Network Controller Support
|
||||
|
||||
**Warning: as of beta version 1.0.3 the new network controller is not heavily tested. We recommend waiting for 1.0.4 to deploy this in production.**
|
||||
|
||||
Network controllers are nodes responsible for issuing configurations and certificates to members of ZeroTier virtual networks. Most users won't need to run their own, so this code is by default not included in the ZeroTier One binary.
|
||||
|
||||
You can build a network controller on Linux or Mac with:
|
||||
|
||||
make ZT_ENABLE_NETWORK_CONTROLLER=1
|
||||
|
||||
This will build a version that contains the Sqlite-backed network controller and associated extensions to the JSON local service control API. You will need the development headers for sqlite3 installed. On Mac these ship as part of Xcode, while on Linux they'll be found in packages for the various distributions.
|
||||
|
||||
See the JSON API documentation in [service/](service/) for more information about how to control controllers.
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
For most users, it just works.
|
||||
|
||||
If you are running a local system firewall, we recommend adding a rule permitting UDP port 9993 inbound and outbound. If you installed binaries for Windows this should be done automatically. Other platforms might require manual editing of local firewall rules depending on your configuration.
|
||||
|
||||
The Mac firewall can be founder under "Security" in System Preferences. Linux has a variety of firewall configuration systems and tools. If you're using Ubuntu's *ufw*, you can do this:
|
||||
|
||||
sudo ufw allow 9993/udp
|
||||
|
||||
On CentOS check */etc/sysconfig/iptables* for IPTables rules. For other distributions consult your distribution's documentation. You'll also have to check the UIs or documentation for commercial third party firewall applications like Little Snitch (Mac), McAfee Firewall Enterprise (Windows), etc. if you are running any of those. Some corporate environments might have centrally managed firewall software, so you might also have to contact IT.
|
||||
|
||||
ZeroTier One peers will automatically locate each other and communicate directly over a local wired LAN *if UDP port 9993 inbound is open*. If that port is filtered, they won't be able to see each others' LAN announcement packets. If you're experiencing poor performance between devices on the same physical network, check their firewall settings. Without LAN auto-location peers must attempt "loopback" NAT traversal, which sometimes fails and in any case requires that every packet traverse your external router twice.
|
||||
|
||||
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 supernodes over port 443 (https impersonation). This will work almost anywhere but is *very slow* compared to UDP or direct peer to peer connectivity.
|
||||
|
||||
### 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.
|
||||
-47
@@ -1,47 +0,0 @@
|
||||
Running ZeroTier One from a source build:
|
||||
|
||||
-- MacOS
|
||||
|
||||
By convention, ZeroTier One will keep its state here on mac:
|
||||
|
||||
/Library/Application Support/ZeroTier/One
|
||||
|
||||
ZeroTier ships with a kernel extension for its own tap device, which it
|
||||
stores in the above directory. To install this from source, type:
|
||||
|
||||
sudo make -f Makefile.mac install-mac-tap
|
||||
|
||||
This will create the ZeroTier One home above if it does not exist and install
|
||||
the kext there. Note that the kext must be owned by root:wheel. The make
|
||||
rule for install-mac-tap takes care of that.
|
||||
|
||||
Next, simply run the binary. It must be run as root to open the tap device.
|
||||
|
||||
sudo ./zerotier-one '/Library/Application Support/ZeroTier/One' &
|
||||
|
||||
Type "ifconfig" and look for the new interface, which should be called
|
||||
"zt0." The strange IPv4 address it has is your "zero4" address. Visit
|
||||
http://zerotier.net/ to check your connection.
|
||||
|
||||
Kill it with something like:
|
||||
|
||||
sudo killall zerotier-one
|
||||
|
||||
-- Linux
|
||||
|
||||
On Linux, the default ZeroTier home is:
|
||||
|
||||
/var/lib/zerotier-one
|
||||
|
||||
We use the Linux native tap driver, so no special drivers are needed. Just
|
||||
type:
|
||||
|
||||
sudo mkdir /var/lib/zerotier-one
|
||||
sudo ./zerotier-one /var/lib/zerotier-one &
|
||||
|
||||
Type ifconfig and you should see an interface like "zt0." Then try
|
||||
http://zerotier.net or ping zerotier.net to check your connection.
|
||||
|
||||
-- Windows
|
||||
|
||||
TBD
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 361 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
@@ -0,0 +1,37 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
html,body {
|
||||
background: #aaaaaa;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "Helvetica";
|
||||
font-weight: bold;
|
||||
font-size: 12pt;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
div.icon {
|
||||
background: #ffb354;
|
||||
color: #000000;
|
||||
font-size: 150pt;
|
||||
border-radius: 2.5rem;
|
||||
display: inline-block;
|
||||
width: 1.3em;
|
||||
height: 1.3em;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
line-height: 1.4em;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<br><br><br><br><br><br>
|
||||
<!-- Yes, our logo is a Unicode character. It sort of just turned out that way. -->
|
||||
<center>
|
||||
<div class="icon">⏁</div>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* ZeroTier One - Global Peer to Peer Ethernet
|
||||
* Copyright (C) 2012-2013 ZeroTier Networks LLC
|
||||
* 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
|
||||
@@ -30,6 +30,8 @@
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "RuntimeEnvironment.hpp"
|
||||
#include "Logger.hpp"
|
||||
#include "Filter.hpp"
|
||||
@@ -40,6 +42,61 @@ 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)
|
||||
{
|
||||
@@ -129,7 +186,7 @@ bool Filter::Rule::operator()(unsigned int etype,const void *data,unsigned int l
|
||||
break;
|
||||
default: {
|
||||
char foo[128];
|
||||
sprintf(foo,"unrecognized IPv6 header type %d",(int)nextHeader);
|
||||
Utils::snprintf(foo,sizeof(foo),"unrecognized IPv6 header type %d",(int)nextHeader);
|
||||
throw std::invalid_argument(foo);
|
||||
}
|
||||
}
|
||||
@@ -158,39 +215,39 @@ std::string Filter::Rule::toString() const
|
||||
s.push_back('*');
|
||||
break;
|
||||
case 1:
|
||||
sprintf(buf,"%u",_etherType.start);
|
||||
Utils::snprintf(buf,sizeof(buf),"%u",_etherType.start);
|
||||
s.append(buf);
|
||||
break;
|
||||
default:
|
||||
sprintf(buf,"%u-%u",_etherType.start,_etherType.end);
|
||||
Utils::snprintf(buf,sizeof(buf),"%u-%u",_etherType.start,_etherType.end);
|
||||
s.append(buf);
|
||||
break;
|
||||
}
|
||||
s.push_back('/');
|
||||
s.push_back(';');
|
||||
switch(_protocol.magnitude()) {
|
||||
case 0:
|
||||
s.push_back('*');
|
||||
break;
|
||||
case 1:
|
||||
sprintf(buf,"%u",_protocol.start);
|
||||
Utils::snprintf(buf,sizeof(buf),"%u",_protocol.start);
|
||||
s.append(buf);
|
||||
break;
|
||||
default:
|
||||
sprintf(buf,"%u-%u",_protocol.start,_protocol.end);
|
||||
Utils::snprintf(buf,sizeof(buf),"%u-%u",_protocol.start,_protocol.end);
|
||||
s.append(buf);
|
||||
break;
|
||||
}
|
||||
s.push_back('/');
|
||||
s.push_back(';');
|
||||
switch(_port.magnitude()) {
|
||||
case 0:
|
||||
s.push_back('*');
|
||||
break;
|
||||
case 1:
|
||||
sprintf(buf,"%u",_port.start);
|
||||
Utils::snprintf(buf,sizeof(buf),"%u",_port.start);
|
||||
s.append(buf);
|
||||
break;
|
||||
default:
|
||||
sprintf(buf,"%u-%u",_port.start,_port.end);
|
||||
Utils::snprintf(buf,sizeof(buf),"%u-%u",_port.start,_port.end);
|
||||
s.append(buf);
|
||||
break;
|
||||
}
|
||||
@@ -198,37 +255,50 @@ std::string Filter::Rule::toString() const
|
||||
return s;
|
||||
}
|
||||
|
||||
void Filter::add(const Rule &r,const Action &a)
|
||||
Filter::Filter(const char *s)
|
||||
throw(std::invalid_argument)
|
||||
{
|
||||
Mutex::Lock _l(_chain_m);
|
||||
for(std::vector<Entry>::iterator i(_chain.begin());i!=_chain.end();++i) {
|
||||
if (i->rule == r) {
|
||||
_chain.erase(i);
|
||||
break;
|
||||
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);
|
||||
}
|
||||
}
|
||||
_chain.push_back(Entry(r,a));
|
||||
std::sort(_rules.begin(),_rules.end());
|
||||
}
|
||||
|
||||
std::string Filter::toString(const char *sep) const
|
||||
std::string Filter::toString() const
|
||||
{
|
||||
if (!sep)
|
||||
sep = ",";
|
||||
|
||||
std::string s;
|
||||
|
||||
bool first = true;
|
||||
Mutex::Lock _l(_chain_m);
|
||||
for(std::vector<Entry>::const_iterator i(_chain.begin());i!=_chain.end();++i) {
|
||||
s.append(i->rule.toString());
|
||||
if (first)
|
||||
first = false;
|
||||
else s.append(sep);
|
||||
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()
|
||||
{
|
||||
@@ -335,38 +405,4 @@ const char *Filter::icmp6TypeName(const unsigned int icmp6Type)
|
||||
return UNKNOWN_NAME;
|
||||
}
|
||||
|
||||
Filter::Action Filter::operator()(const RuntimeEnvironment *_r,unsigned int etherType,const void *frame,unsigned int len) const
|
||||
{
|
||||
Mutex::Lock _l(_chain_m);
|
||||
|
||||
TRACE("starting match against %d rules",(int)_chain.size());
|
||||
|
||||
int ruleNo = 0;
|
||||
for(std::vector<Entry>::const_iterator r(_chain.begin());r!=_chain.end();++r,++ruleNo) {
|
||||
try {
|
||||
if (r->rule(etherType,frame,len)) {
|
||||
TRACE("match: %s",r->rule.toString().c_str());
|
||||
|
||||
switch(r->action) {
|
||||
case ACTION_ALLOW:
|
||||
case ACTION_DENY:
|
||||
return r->action;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
TRACE("no match: %s",r->rule.toString().c_str());
|
||||
}
|
||||
} catch (std::invalid_argument &exc) {
|
||||
LOG("filter: unable to parse packet on rule %s (%d): %s",r->rule.toString().c_str(),ruleNo,exc.what());
|
||||
return ACTION_UNPARSEABLE;
|
||||
} catch ( ... ) {
|
||||
LOG("filter: unable to parse packet on rule %s (%d): unknown exception",r->rule.toString().c_str(),ruleNo);
|
||||
return ACTION_UNPARSEABLE;
|
||||
}
|
||||
}
|
||||
|
||||
return ACTION_ALLOW;
|
||||
}
|
||||
|
||||
} // namespace ZeroTier
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* ZeroTier One - Global Peer to Peer Ethernet
|
||||
* Copyright (C) 2012-2013 ZeroTier Networks LLC
|
||||
* 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
|
||||
@@ -29,13 +29,14 @@
|
||||
#define _ZT_FILTER_HPP
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "Mutex.hpp"
|
||||
#include "Range.hpp"
|
||||
|
||||
/* Ethernet frame types that might be relevant to us */
|
||||
@@ -125,7 +126,11 @@ namespace ZeroTier {
|
||||
class RuntimeEnvironment;
|
||||
|
||||
/**
|
||||
* A simple Ethernet frame level filter supporting basic IP port DENY
|
||||
* 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
|
||||
{
|
||||
@@ -145,8 +150,6 @@ public:
|
||||
|
||||
/**
|
||||
* A filter rule
|
||||
*
|
||||
* This behaves as an immutable value object.
|
||||
*/
|
||||
class Rule
|
||||
{
|
||||
@@ -159,6 +162,15 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
@@ -191,6 +203,8 @@ public:
|
||||
throw(std::invalid_argument);
|
||||
|
||||
/**
|
||||
* Serialize rule as string
|
||||
*
|
||||
* @return Human readable representation of rule
|
||||
*/
|
||||
std::string toString() const;
|
||||
@@ -222,105 +236,36 @@ public:
|
||||
Range<unsigned int> _port;
|
||||
};
|
||||
|
||||
/**
|
||||
* Action if a rule matches
|
||||
*/
|
||||
enum Action
|
||||
{
|
||||
ACTION_DENY = 0,
|
||||
ACTION_ALLOW = 1,
|
||||
ACTION_UNPARSEABLE = 2
|
||||
};
|
||||
Filter() {}
|
||||
|
||||
/**
|
||||
* Entry in filter chain
|
||||
* @param s String-serialized filter representation
|
||||
*/
|
||||
struct Entry
|
||||
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)
|
||||
{
|
||||
Entry() {}
|
||||
Entry(const Rule &r,const Action &a) :
|
||||
rule(r),
|
||||
action(a)
|
||||
{
|
||||
for(std::vector<Rule>::const_iterator r(_rules.begin());r!=_rules.end();++r) {
|
||||
if ((*r)(etype,data,len))
|
||||
return true;
|
||||
}
|
||||
|
||||
Rule rule;
|
||||
Action action;
|
||||
};
|
||||
|
||||
Filter() :
|
||||
_chain(),
|
||||
_chain_m()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Filter(const Filter &f) :
|
||||
_chain(),
|
||||
_chain_m()
|
||||
{
|
||||
Mutex::Lock _l(f._chain_m);
|
||||
_chain = f._chain;
|
||||
}
|
||||
|
||||
inline Filter &operator=(const Filter &f)
|
||||
{
|
||||
Mutex::Lock _l1(_chain_m);
|
||||
Mutex::Lock _l2(f._chain_m);
|
||||
_chain = f._chain;
|
||||
return *this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove all filter entries
|
||||
*/
|
||||
inline void clear()
|
||||
{
|
||||
Mutex::Lock _l(_chain_m);
|
||||
_chain.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Append a rule/action pair to this chain
|
||||
*
|
||||
* If an identical rule already exists it is removed and a new entry is
|
||||
* added to the end with the new action. (Two identical rules with the
|
||||
* same action wouldn't make sense.)
|
||||
*
|
||||
* @param r Rule to add
|
||||
* @param a Action if rule matches
|
||||
*/
|
||||
void add(const Rule &r,const Action &a);
|
||||
|
||||
/**
|
||||
* @return Number of rules in filter chain
|
||||
*/
|
||||
inline unsigned int length() const
|
||||
throw()
|
||||
{
|
||||
Mutex::Lock _l(_chain_m);
|
||||
return _chain.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Entry in filter chain or null entry if out of bounds
|
||||
*/
|
||||
inline Entry operator[](const unsigned int i) const
|
||||
throw()
|
||||
{
|
||||
Mutex::Lock _l(_chain_m);
|
||||
if (i < _chain.size())
|
||||
return _chain[i];
|
||||
return Entry();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a string representation of this filter
|
||||
*
|
||||
* @param sep Separator between filter rules, or NULL for comma (default)
|
||||
* @return Human-readable string
|
||||
*/
|
||||
std::string toString(const char *sep = (const char *)0) const;
|
||||
|
||||
static const char *etherTypeName(const unsigned int etherType)
|
||||
throw();
|
||||
static const char *ipProtocolName(const unsigned int ipp)
|
||||
@@ -330,20 +275,8 @@ public:
|
||||
static const char *icmp6TypeName(const unsigned int icmp6Type)
|
||||
throw();
|
||||
|
||||
/**
|
||||
* Match against an Ethernet frame
|
||||
*
|
||||
* @param _r Runtime environment
|
||||
* @param etherType Ethernet frame type
|
||||
* @param frame Ethernet frame data
|
||||
* @param len Length of frame in bytes
|
||||
* @return Action if matched or ACTION_ALLOW if not matched
|
||||
*/
|
||||
Action operator()(const RuntimeEnvironment *_r,unsigned int etherType,const void *frame,unsigned int len) const;
|
||||
|
||||
private:
|
||||
std::vector<Entry> _chain;
|
||||
Mutex _chain_m;
|
||||
std::vector<Rule> _rules;
|
||||
};
|
||||
|
||||
} // namespace ZeroTier
|
||||
@@ -0,0 +1,4 @@
|
||||
Retired Code and Miscellaneous Junk
|
||||
======
|
||||
|
||||
This directory is for old code that isn't used but we don't want to lose track of, and for anything else random like debug scripts.
|
||||
Executable
+32
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
export PATH=/bin:/usr/bin
|
||||
|
||||
if [ ! -e /usr/bin/openssl ]; then
|
||||
echo $0: requires /usr/bin/openssl, please install openssl tools
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$#" -lt 1 ]; then
|
||||
echo $0: Usage: $0 '<input>' '[output]'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -r "$1" ]; then
|
||||
echo $0: $1 does not exist or is not readable.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
outpath=`echo "$1" | sed 's/[.]aes$//'`
|
||||
if [ "$#" -ge 2 ]; then
|
||||
outpath="$2"
|
||||
fi
|
||||
|
||||
if [ -f "$outpath" ]; then
|
||||
echo $0: $outpath already exists, delete or rename first.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
openssl aes-256-cbc -d -salt -in "$1" -out "$outpath"
|
||||
|
||||
echo $0: wrote "$outpath"
|
||||
Executable
+32
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
export PATH=/bin:/usr/bin
|
||||
|
||||
if [ ! -e /usr/bin/openssl ]; then
|
||||
echo $0: requires /usr/bin/openssl, please install openssl tools
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$#" -lt 1 ]; then
|
||||
echo $0: Usage: $0 '<input>' '[output]'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -r "$1" ]; then
|
||||
echo $0: $1 does not exist or is not readable.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
outpath="$1.aes"
|
||||
if [ "$#" -ge 2 ]; then
|
||||
outpath="$2"
|
||||
fi
|
||||
|
||||
if [ -f "$outpath" ]; then
|
||||
echo $0: $outpath already exists, delete or rename first.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
openssl aes-256-cbc -salt -in "$1" -out "$outpath"
|
||||
|
||||
echo $0: wrote "$outpath"
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,331 @@
|
||||
/*
|
||||
* 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 <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <net/route.h>
|
||||
#include <net/if.h>
|
||||
#include <net/if_dl.h>
|
||||
#include <ifaddrs.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "../node/Constants.hpp"
|
||||
#include "BSDRoutingTable.hpp"
|
||||
|
||||
// All I wanted was the bloody rounting table. I didn't expect the Spanish inquisition.
|
||||
|
||||
#define ZT_BSD_ROUTE_CMD "/sbin/route"
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
BSDRoutingTable::BSDRoutingTable()
|
||||
{
|
||||
}
|
||||
|
||||
BSDRoutingTable::~BSDRoutingTable()
|
||||
{
|
||||
}
|
||||
|
||||
std::vector<RoutingTable::Entry> BSDRoutingTable::get(bool includeLinkLocal,bool includeLoopback) const
|
||||
{
|
||||
std::vector<RoutingTable::Entry> entries;
|
||||
int mib[6];
|
||||
size_t needed;
|
||||
|
||||
mib[0] = CTL_NET;
|
||||
mib[1] = PF_ROUTE;
|
||||
mib[2] = 0;
|
||||
mib[3] = 0;
|
||||
mib[4] = NET_RT_DUMP;
|
||||
mib[5] = 0;
|
||||
if (!sysctl(mib,6,NULL,&needed,NULL,0)) {
|
||||
if (needed <= 0)
|
||||
return entries;
|
||||
|
||||
char *buf = (char *)::malloc(needed);
|
||||
if (buf) {
|
||||
if (!sysctl(mib,6,buf,&needed,NULL,0)) {
|
||||
struct rt_msghdr *rtm;
|
||||
for(char *next=buf,*end=buf+needed;next<end;) {
|
||||
rtm = (struct rt_msghdr *)next;
|
||||
char *saptr = (char *)(rtm + 1);
|
||||
char *saend = next + rtm->rtm_msglen;
|
||||
|
||||
if (((rtm->rtm_flags & RTF_LLINFO) == 0)&&((rtm->rtm_flags & RTF_HOST) == 0)&&((rtm->rtm_flags & RTF_UP) != 0)&&((rtm->rtm_flags & RTF_MULTICAST) == 0)) {
|
||||
RoutingTable::Entry e;
|
||||
e.deviceIndex = -9999; // unset
|
||||
|
||||
int which = 0;
|
||||
while (saptr < saend) {
|
||||
struct sockaddr *sa = (struct sockaddr *)saptr;
|
||||
unsigned int salen = sa->sa_len;
|
||||
if (!salen)
|
||||
break;
|
||||
|
||||
// Skip missing fields in rtm_addrs bit field
|
||||
while ((rtm->rtm_addrs & 1) == 0) {
|
||||
rtm->rtm_addrs >>= 1;
|
||||
++which;
|
||||
if (which > 6)
|
||||
break;
|
||||
}
|
||||
if (which > 6)
|
||||
break;
|
||||
|
||||
rtm->rtm_addrs >>= 1;
|
||||
switch(which++) {
|
||||
case 0:
|
||||
//printf("RTA_DST\n");
|
||||
if (sa->sa_family == AF_INET6) {
|
||||
struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa;
|
||||
// Nobody expects the Spanish inquisition!
|
||||
if ((sin6->sin6_addr.s6_addr[0] == 0xfe)&&((sin6->sin6_addr.s6_addr[1] & 0xc0) == 0x80)) {
|
||||
// Our chief weapon is... in-band signaling!
|
||||
// Seriously who in the living fuck thought this was a good idea and
|
||||
// then had the sadistic idea to not document it anywhere? Of course it's
|
||||
// not like there is any documentation on BSD sysctls anyway.
|
||||
unsigned int interfaceIndex = ((((unsigned int)sin6->sin6_addr.s6_addr[2]) << 8) & 0xff) | (((unsigned int)sin6->sin6_addr.s6_addr[3]) & 0xff);
|
||||
sin6->sin6_addr.s6_addr[2] = 0;
|
||||
sin6->sin6_addr.s6_addr[3] = 0;
|
||||
if (!sin6->sin6_scope_id)
|
||||
sin6->sin6_scope_id = interfaceIndex;
|
||||
}
|
||||
}
|
||||
e.destination.set(sa);
|
||||
break;
|
||||
case 1:
|
||||
//printf("RTA_GATEWAY\n");
|
||||
switch(sa->sa_family) {
|
||||
case AF_LINK:
|
||||
e.deviceIndex = (int)((const struct sockaddr_dl *)sa)->sdl_index;
|
||||
break;
|
||||
case AF_INET:
|
||||
case AF_INET6:
|
||||
e.gateway.set(sa);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 2: {
|
||||
if (e.destination.isV6()) {
|
||||
salen = sizeof(struct sockaddr_in6); // Confess!
|
||||
unsigned int bits = 0;
|
||||
for(int i=0;i<16;++i) {
|
||||
unsigned char c = (unsigned char)((const struct sockaddr_in6 *)sa)->sin6_addr.s6_addr[i];
|
||||
if (c == 0xff)
|
||||
bits += 8;
|
||||
else break;
|
||||
/* must they be multiples of 8? Most of the BSD source I can find says yes..?
|
||||
else {
|
||||
while ((c & 0x80) == 0x80) {
|
||||
++bits;
|
||||
c <<= 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
*/
|
||||
}
|
||||
e.destination.setPort(bits);
|
||||
} else {
|
||||
salen = sizeof(struct sockaddr_in); // Confess!
|
||||
e.destination.setPort((unsigned int)Utils::countBits((uint32_t)((const struct sockaddr_in *)sa)->sin_addr.s_addr));
|
||||
}
|
||||
//printf("RTA_NETMASK\n");
|
||||
} break;
|
||||
/*
|
||||
case 3:
|
||||
//printf("RTA_GENMASK\n");
|
||||
break;
|
||||
case 4:
|
||||
//printf("RTA_IFP\n");
|
||||
break;
|
||||
case 5:
|
||||
//printf("RTA_IFA\n");
|
||||
break;
|
||||
case 6:
|
||||
//printf("RTA_AUTHOR\n");
|
||||
break;
|
||||
*/
|
||||
}
|
||||
|
||||
saptr += salen;
|
||||
}
|
||||
|
||||
e.metric = (int)rtm->rtm_rmx.rmx_hopcount;
|
||||
if (e.metric < 0)
|
||||
e.metric = 0;
|
||||
|
||||
if (((includeLinkLocal)||(!e.destination.isLinkLocal()))&&((includeLoopback)||((!e.destination.isLoopback())&&(!e.gateway.isLoopback()))))
|
||||
entries.push_back(e);
|
||||
}
|
||||
|
||||
next = saend;
|
||||
}
|
||||
}
|
||||
|
||||
::free(buf);
|
||||
}
|
||||
}
|
||||
|
||||
for(std::vector<ZeroTier::RoutingTable::Entry>::iterator e1(entries.begin());e1!=entries.end();++e1) {
|
||||
if ((!e1->device[0])&&(e1->deviceIndex >= 0))
|
||||
if_indextoname(e1->deviceIndex,e1->device);
|
||||
}
|
||||
for(std::vector<ZeroTier::RoutingTable::Entry>::iterator e1(entries.begin());e1!=entries.end();++e1) {
|
||||
if ((!e1->device[0])&&(e1->gateway)) {
|
||||
int bestMetric = 9999999;
|
||||
for(std::vector<ZeroTier::RoutingTable::Entry>::iterator e2(entries.begin());e2!=entries.end();++e2) {
|
||||
if ((e1->gateway.within(e2->destination))&&(e2->metric <= bestMetric)) {
|
||||
bestMetric = e2->metric;
|
||||
Utils::scopy(e1->device,sizeof(e1->device),e2->device);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::sort(entries.begin(),entries.end());
|
||||
|
||||
return entries;
|
||||
}
|
||||
|
||||
RoutingTable::Entry BSDRoutingTable::set(const InetAddress &destination,const InetAddress &gateway,const char *device,int metric)
|
||||
{
|
||||
if ((!gateway)&&((!device)||(!device[0])))
|
||||
return RoutingTable::Entry();
|
||||
|
||||
std::vector<RoutingTable::Entry> rtab(get(true,true));
|
||||
|
||||
for(std::vector<RoutingTable::Entry>::iterator e(rtab.begin());e!=rtab.end();++e) {
|
||||
if (e->destination == destination) {
|
||||
if (((!device)||(!device[0]))||(!strcmp(device,e->device))) {
|
||||
long p = (long)fork();
|
||||
if (p > 0) {
|
||||
int exitcode = -1;
|
||||
::waitpid(p,&exitcode,0);
|
||||
} else if (p == 0) {
|
||||
::close(STDOUT_FILENO);
|
||||
::close(STDERR_FILENO);
|
||||
::execl(ZT_BSD_ROUTE_CMD,ZT_BSD_ROUTE_CMD,"delete",(destination.isV6() ? "-inet6" : "-inet"),destination.toString().c_str(),(const char *)0);
|
||||
::_exit(-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (metric < 0)
|
||||
return RoutingTable::Entry();
|
||||
|
||||
{
|
||||
char hcstr[64];
|
||||
Utils::snprintf(hcstr,sizeof(hcstr),"%d",metric);
|
||||
long p = (long)fork();
|
||||
if (p > 0) {
|
||||
int exitcode = -1;
|
||||
::waitpid(p,&exitcode,0);
|
||||
} else if (p == 0) {
|
||||
::close(STDOUT_FILENO);
|
||||
::close(STDERR_FILENO);
|
||||
if (gateway) {
|
||||
::execl(ZT_BSD_ROUTE_CMD,ZT_BSD_ROUTE_CMD,"add",(destination.isV6() ? "-inet6" : "-inet"),destination.toString().c_str(),gateway.toIpString().c_str(),"-hopcount",hcstr,(const char *)0);
|
||||
} else if ((device)&&(device[0])) {
|
||||
::execl(ZT_BSD_ROUTE_CMD,ZT_BSD_ROUTE_CMD,"add",(destination.isV6() ? "-inet6" : "-inet"),destination.toString().c_str(),"-interface",device,"-hopcount",hcstr,(const char *)0);
|
||||
}
|
||||
::_exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
rtab = get(true,true);
|
||||
std::vector<RoutingTable::Entry>::iterator bestEntry(rtab.end());
|
||||
for(std::vector<RoutingTable::Entry>::iterator e(rtab.begin());e!=rtab.end();++e) {
|
||||
if ((e->destination == destination)&&(e->gateway.ipsEqual(gateway))) {
|
||||
if ((device)&&(device[0])) {
|
||||
if (!strcmp(device,e->device)) {
|
||||
if (metric == e->metric)
|
||||
bestEntry = e;
|
||||
}
|
||||
}
|
||||
if (bestEntry == rtab.end())
|
||||
bestEntry = e;
|
||||
}
|
||||
}
|
||||
if (bestEntry != rtab.end())
|
||||
return *bestEntry;
|
||||
|
||||
return RoutingTable::Entry();
|
||||
}
|
||||
|
||||
} // namespace ZeroTier
|
||||
|
||||
// Enable and build to test routing table interface
|
||||
#if 0
|
||||
using namespace ZeroTier;
|
||||
int main(int argc,char **argv)
|
||||
{
|
||||
BSDRoutingTable rt;
|
||||
|
||||
printf("<destination> <gateway> <interface> <metric>\n");
|
||||
std::vector<RoutingTable::Entry> ents(rt.get());
|
||||
for(std::vector<RoutingTable::Entry>::iterator e(ents.begin());e!=ents.end();++e)
|
||||
printf("%s\n",e->toString().c_str());
|
||||
printf("\n");
|
||||
|
||||
printf("adding 1.1.1.0 and 2.2.2.0...\n");
|
||||
rt.set(InetAddress("1.1.1.0",24),InetAddress("1.2.3.4",0),(const char *)0,1);
|
||||
rt.set(InetAddress("2.2.2.0",24),InetAddress(),"en0",1);
|
||||
printf("\n");
|
||||
|
||||
printf("<destination> <gateway> <interface> <metric>\n");
|
||||
ents = rt.get();
|
||||
for(std::vector<RoutingTable::Entry>::iterator e(ents.begin());e!=ents.end();++e)
|
||||
printf("%s\n",e->toString().c_str());
|
||||
printf("\n");
|
||||
|
||||
printf("deleting 1.1.1.0 and 2.2.2.0...\n");
|
||||
rt.set(InetAddress("1.1.1.0",24),InetAddress("1.2.3.4",0),(const char *)0,-1);
|
||||
rt.set(InetAddress("2.2.2.0",24),InetAddress(),"en0",-1);
|
||||
printf("\n");
|
||||
|
||||
printf("<destination> <gateway> <interface> <metric>\n");
|
||||
ents = rt.get();
|
||||
for(std::vector<RoutingTable::Entry>::iterator e(ents.begin());e!=ents.end();++e)
|
||||
printf("%s\n",e->toString().c_str());
|
||||
printf("\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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_BSDROUTINGTABLE_HPP
|
||||
#define ZT_BSDROUTINGTABLE_HPP
|
||||
|
||||
#include "../node/RoutingTable.hpp"
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
/**
|
||||
* Routing table interface for BSD with sysctl() and BSD /sbin/route
|
||||
*
|
||||
* Has currently only been tested on OSX/Darwin.
|
||||
*/
|
||||
class BSDRoutingTable : public RoutingTable
|
||||
{
|
||||
public:
|
||||
BSDRoutingTable();
|
||||
virtual ~BSDRoutingTable();
|
||||
virtual std::vector<RoutingTable::Entry> get(bool includeLinkLocal = false,bool includeLoopback = false) const;
|
||||
virtual RoutingTable::Entry set(const InetAddress &destination,const InetAddress &gateway,const char *device,int metric);
|
||||
};
|
||||
|
||||
} // namespace ZeroTier
|
||||
|
||||
#endif
|
||||
Loaded 20 of 574 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user