mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-22 14:23:59 -07:00
Commit graph
Select branches
Hide pull requests
actions
adam/1.16
adam/network-specific-relays
core-objs
dev
dev-multicast-bridge-fix
feature/fragmentation-metrics
fix/backward-compat-multicast-gather
fix/standardize-linkSelectMethod-naming
gl/ctl-pubsub
gl/cv2-ctl
laduke/tunneled
ldr/fix-validate-action
ldr/fix-windows-startup
main
proxy
refactor-dump-try-catch
root
tl-get-gateway-mac
#1
#1
#1012
#1026
#1031
#1043
#1081
#1082
#1087
#1093
#1100
#1110
#1123
#1147
#1159
#1187
#119
#119
#1191
#1194
#1232
#1233
#1257
#1261
#1263
#1287
#1288
#1294
#1304
#1306
#1322
#1330
#1331
#1339
#1341
#1347
#1354
#1355
#1364
#1369
#1377
#1378
#1378
#1382
#1383
#1384
#1388
#1389
#1390
#1397
#14
#14
#1400
#1408
#1410
#1414
#1415
#1416
#1418
#1419
#1420
#1421
#1424
#1426
#143
#143
#1430
#1442
#1443
#1451
#1455
#1456
#1457
#1458
#1467
#1468
#1478
#1480
#1487
#1488
#1489
#150
#150
#1504
#1509
#151
#151
#1510
#1513
#1525
#1528
#1530
#1531
#1533
#1534
#1535
#1539
#1541
#1552
#1559
#1564
#1569
#1572
#1589
#1592
#1596
#1597
#1599
#1603
#1605
#1614
#1619
#1624
#1625
#1653
#1658
#1662
#1669
#1680
#1683
#1684
#1685
#1701
#1704
#1705
#1706
#1707
#1709
#1728
#1736
#1750
#1752
#176
#1761
#1765
#177
#179
#1790
#1791
#1795
#1796
#1797
#1798
#1799
#1800
#1803
#1805
#1806
#1807
#1808
#181
#1810
#1811
#1815
#1816
#1817
#1818
#1819
#182
#1820
#1822
#1823
#1825
#1827
#1832
#1833
#1834
#1835
#1836
#1837
#1838
#1839
#1840
#1841
#1842
#1843
#1844
#1845
#1846
#1847
#1848
#1849
#185
#185
#1850
#1851
#1852
#1853
#1855
#1857
#186
#1860
#1862
#1869
#187
#1870
#1871
#1874
#1875
#1877
#1879
#188
#188
#1880
#1881
#1882
#1884
#1885
#1886
#1887
#1889
#189
#1890
#1891
#1892
#1893
#1896
#1897
#1898
#1899
#1900
#1903
#1904
#1905
#1906
#1909
#1910
#1911
#1913
#1914
#1918
#1919
#192
#1922
#1924
#1925
#1926
#1927
#1928
#1929
#193
#193
#1930
#1931
#1932
#1936
#1937
#1938
#1941
#1942
#1944
#1945
#1946
#1947
#1948
#1949
#195
#195
#1950
#196
#1961
#1962
#1963
#1964
#1965
#1967
#1968
#1969
#197
#197
#1971
#1973
#1974
#1975
#1976
#1978
#1979
#198
#198
#1980
#1981
#1982
#1983
#1984
#1985
#1988
#1989
#199
#199
#1990
#1991
#1992
#1993
#1994
#1995
#1996
#1997
#1998
#200
#200
#2000
#2003
#2005
#2006
#2007
#2008
#201
#201
#2010
#2011
#2012
#2013
#2014
#2016
#2017
#2018
#2019
#202
#2022
#2027
#2028
#2029
#203
#2030
#2031
#2034
#2037
#2040
#2042
#2043
#2045
#2046
#2049
#2050
#2052
#2058
#2059
#2060
#2062
#2063
#2064
#2065
#2066
#2068
#2069
#2070
#2071
#2074
#2075
#2083
#2086
#2088
#2089
#2090
#2091
#2092
#2093
#2094
#2095
#2096
#2099
#2100
#2101
#2102
#2103
#2104
#2107
#2110
#2111
#2112
#2115
#2116
#2118
#212
#2122
#2125
#2127
#2128
#2129
#2130
#2139
#215
#2161
#2162
#2163
#2164
#2165
#2166
#2167
#2169
#2176
#2182
#2183
#2193
#2199
#2207
#2210
#2211
#2212
#2213
#2214
#2218
#2219
#2220
#2229
#2231
#2232
#2233
#2234
#2237
#2238
#2241
#2243
#2244
#2245
#2252
#2253
#2255
#2256
#2257
#2258
#2259
#2262
#2263
#2266
#227
#227
#2280
#2281
#2282
#2286
#2287
#2290
#2298
#2300
#2306
#2312
#2314
#2320
#2330
#2343
#2343
#2349
#2354
#2360
#2362
#2363
#2364
#2365
#237
#237
#2371
#2372
#2376
#2378
#2379
#2395
#2396
#2398
#2405
#2409
#2417
#2425
#2427
#2430
#2431
#2432
#2435
#2435
#2438
#2440
#2441
#2442
#2443
#2444
#2445
#2449
#2450
#2451
#2452
#2453
#2453
#2455
#2456
#2474
#2475
#2476
#2477
#2481
#2482
#2485
#2485
#2486
#2487
#2489
#2489
#2490
#2491
#2493
#2493
#2494
#2495
#2502
#254
#259
#261
#27
#271
#271
#291
#3
#3
#309
#309
#318
#318
#319
#335
#335
#348
#362
#363
#364
#376
#378
#378
#401
#402
#407
#428
#431
#431
#434
#442
#449
#449
#450
#450
#453
#453
#455
#455
#457
#462
#462
#464
#464
#493
#493
#5
#5
#506
#506
#518
#518
#524
#524
#537
#540
#547
#549
#549
#550
#552
#552
#559
#559
#560
#582
#582
#605
#641
#641
#654
#658
#658
#662
#662
#672
#672
#673
#690
#712
#721
#721
#722
#746
#746
#755
#764
#773
#776
#794
#794
#797
#797
#803
#806
#822
#836
#837
#845
#848
#853
#858
#869
#928
#931
#932
#952
#963
#973
#974
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.3.0
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5
0.5.0
0.6.0
0.6.1
0.6.10
0.6.11
0.6.12
0.6.13
0.6.14
0.6.2
0.6.3
0.6.4
0.6.5
0.6.6
0.6.7
0.6.8
0.6.9
0.7.0
0.7.1
0.7.2
0.8.0
0.8.1
0.8.2
0.9.0
0.9.1
0.9.2
0.9.3
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
1.1.10
1.1.12
1.1.14
1.1.17-pre1.2.0
1.1.2
1.1.4
1.1.6
1.1.8
1.10.0
1.10.1
1.10.2
1.10.3
1.10.4
1.10.5
1.10.6
1.12.0
1.12.1
1.12.2
1.14.0
1.14.1
1.14.2
1.2.0
1.2.10
1.2.12
1.2.2
1.2.4
1.2.6
1.2.8
1.4.0
1.4.0.1
1.4.0.1-2
1.4.2
1.4.4
1.4.6
1.5.0
1.6.0
1.6.1
1.6.2
1.6.3
1.6.4
1.6.5
1.6.6
1.6.6-fixed-windows-inf
1.8.1
1.8.10
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6
1.8.7
1.8.8
1.8.9
central-controller-1.4.6-202003031336
central-controller-1.4.6-202003032249
central-controller-1.4.6-202003040912
cust-ixia
v1.1.5-live-roots
v2-before-rusting
-
ea1859541c
More cleanup, and fix for the extremely unlikely case of identity collision.
Adam Ierymenko
2015-04-15 18:32:25 -07:00 -
f7b1437154
Putting the main binary back together...
Adam Ierymenko
2015-04-15 17:00:26 -07:00 -
6369c264e2
Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency.
Adam Ierymenko
2015-04-15 15:12:09 -07:00 -
871473255b
Cleanup, drop 32-bit from Mac build flags since i386 is pretty thoroughly deprecated and dead on OSX. We will have to make our updater stop updating on any 32-bit Macs that might actually still be running ZT1.
Adam Ierymenko
2015-04-15 14:54:37 -07:00 -
a0f8685453
cleanup
Adam Ierymenko
2015-04-15 14:44:30 -07:00 -
8639538299
Rename One to OneService, create separate sources for other tools.
Adam Ierymenko
2015-04-15 14:42:26 -07:00 -
98bcc3d4b5
Disable a few noisy TRACEs, and limit how often we confirm new paths to avoid flooding.
Adam Ierymenko
2015-04-15 13:15:09 -07:00 -
1c9ca73065
Fix some deadlock issues, move awareness of broadcast subscription into core, other bug fixes.
Adam Ierymenko
2015-04-15 13:09:20 -07:00 -
508519b62a
Tap driver load fix.
Adam Ierymenko
2015-04-14 19:21:56 -07:00 -
c9af603b9f
Add beacon broadcasting back into Node.
Adam Ierymenko
2015-04-14 18:20:03 -07:00 -
aeb4b42ab3
Make tap itself handle remembering sticky device to nwid mappings.
Adam Ierymenko
2015-04-14 18:13:46 -07:00 -
67f1f1892f
Bunch of tap stuff, IP address assignment hookups, etc.
Adam Ierymenko
2015-04-14 17:57:51 -07:00 -
e205e5fdfe
Include tap device name in JSON output for network info.
Adam Ierymenko
2015-04-14 15:55:03 -07:00 -
347e98dcd2
Just return files from listDirectory() since that is all we need, fix network request on network restore logic, and remember saved networks in service/One
Adam Ierymenko
2015-04-14 15:32:05 -07:00 -
29a2175b7a
Fix missed closedir()
Adam Ierymenko
2015-04-14 15:17:59 -07:00 -
49d31613b9
Fix some minor issues, now to reintegrate taps.
Adam Ierymenko
2015-04-14 15:16:04 -07:00 -
758b5caf94
Fix < logic.
Adam Ierymenko
2015-04-14 14:52:23 -07:00 -
6f4b30add8
Turns out you do have to unpack and compare sockaddr structures due to sin_len / sin6_len not present on all platforms and other junk.
Adam Ierymenko
2015-04-14 14:49:34 -07:00 -
1cfa67bbdd
Bunch more control plane work, and shelve old UI -- React FTW.
Adam Ierymenko
2015-04-14 13:56:28 -07:00 -
a2605561af
Basic control plane queries working.
Adam Ierymenko
2015-04-13 18:43:33 -07:00 -
b888e033c0
JSON control plane, almost done...
Adam Ierymenko
2015-04-13 18:12:45 -07:00 -
ff0eff4b7c
Decided to back out of doing HTTP/TCP server *and* client within ZT itself. Instead we'll do the TCP tunneling endpoint as a separate little daemon. It will appear here shortly.
Adam Ierymenko
2015-04-13 12:27:29 -07:00 -
5c1262f324
Basic framework of HTTP server is there.
Adam Ierymenko
2015-04-10 19:36:29 -07:00 -
daef54ba32
HTTP server is in, and works.
Adam Ierymenko
2015-04-10 19:08:49 -07:00 -
5572b7ffb6
Simplify Phy<> to get rid of more indirections.
Adam Ierymenko
2015-04-10 17:07:06 -07:00 -
7576911951
Temporarily shelve testnet/ -- will resurrect self-contained testnet later perhaps, but probably will not by the time next version ships. Was mostly for debugging multicast anyway and that is now quite stable.
Adam Ierymenko
2015-04-10 11:42:02 -07:00 -
9e651b39e4
Add some TRACE around pinging (for now), and refactor service/One to just run in the foreground as some platforms may not require threads at all.
Adam Ierymenko
2015-04-10 11:40:45 -07:00 -
08a11a6f32
Since which tap to use is chosen statically at compile time and the factories are gone, there is now no need for inheritance or virtual methods (indirect calls) here. Should improve performance slightly to get rid of them.
Adam Ierymenko
2015-04-10 10:19:45 -07:00 -
5e331d6733
Restrict unite() to desperation==0 since NAT-t only works right now with direct links.
Adam Ierymenko
2015-04-10 10:13:50 -07:00 -
068d311ecc
TRACE compile fixes, other fixes, and it basically works! It says HELLO.
Adam Ierymenko
2015-04-09 20:54:00 -07:00 -
38200cc6a5
Add data store functions to service/One, and shelve old main.cpp since it will get rebuilt.
Adam Ierymenko
2015-04-09 19:58:04 -07:00 -
6615a70027
Service code builds now.
Adam Ierymenko
2015-04-09 18:22:04 -07:00 -
46ecad451c
Starting on new service/ code to encapsulate node/ with osdep/ stuff, and add a user pointer to the CAPI.
Adam Ierymenko
2015-04-09 18:14:27 -07:00 -
9342380146
docs
Adam Ierymenko
2015-04-09 11:27:23 -07:00 -
7192fe6d15
osdep/ compile fixes, and remove some lingering OS-specific stuff from node/Defaults
Adam Ierymenko
2015-04-08 19:03:30 -07:00 -
d761330465
No more tap factories.
Adam Ierymenko
2015-04-08 18:47:06 -07:00 -
ccc73b920e
Node peer list function for CAPI, and some Peer cleanup.
Adam Ierymenko
2015-04-08 18:45:21 -07:00 -
d9e9b60a98
Node status and network list.
Adam Ierymenko
2015-04-08 18:25:40 -07:00 -
e34bc961db
Add awareness of online status, and put old OS-dep utils in OSUtils.
Adam Ierymenko
2015-04-08 17:10:21 -07:00 -
0751eaabd8
Clean OS-dep stuff out of node/Utils.
Adam Ierymenko
2015-04-08 16:55:00 -07:00 -
12431ce95d
Clean out attic.
Adam Ierymenko
2015-04-08 16:50:14 -07:00 -
4d5a6a25d3
Add events for packet decode errors, etc., and re-implement TRACE as an event.
Adam Ierymenko
2015-04-08 16:49:21 -07:00 -
9d9d0ef12c
Rename StatusCallback to more descriptive EventCallback.
Adam Ierymenko
2015-04-08 16:07:47 -07:00 -
c894710ac1
Remove Logger.hpp references.
Adam Ierymenko
2015-04-08 16:00:48 -07:00 -
608b5ca13a
.
Adam Ierymenko
2015-04-08 15:56:19 -07:00 -
37bd6fdb9c
Move Logger to attic -- last bit of OS-specific stuff to get out of core.
Adam Ierymenko
2015-04-08 15:56:11 -07:00 -
7529d050c7
All of node/ now compiles again!
Adam Ierymenko
2015-04-08 15:42:23 -07:00 -
bf2ff964e1
Utils::now() removal and a bunch of compile fixes.
Adam Ierymenko
2015-04-08 15:26:45 -07:00 -
ee2f51f48e
Make Toplogy use dataStoreXX() methods from Node, and get rid of old TCP stuff.
Adam Ierymenko
2015-04-08 15:12:04 -07:00 -
40bfe37a19
Use max of core or most recent path desperation for pings.
Adam Ierymenko
2015-04-08 14:58:23 -07:00 -
59af674e74
Announce multicast groups on multicast subscribe.
Adam Ierymenko
2015-04-07 19:35:16 -07:00 -
6de7996218
Math fix.
Adam Ierymenko
2015-04-07 19:32:26 -07:00 -
49f031ccb4
Tons of refactoring, change to desperation algorithm to use max of core or link, porting over core loop code from old Node.cpp to new CAPI version, etc.
Adam Ierymenko
2015-04-07 19:31:11 -07:00 -
9e55f882d3
Starting to port from old Node() -- identity generation.
Adam Ierymenko
2015-04-07 16:41:56 -07:00 -
8210ed4805
Implement read from object store.
Adam Ierymenko
2015-04-07 14:11:47 -07:00 -
0a90681849
Add ping(), and a logic fix in SelfAwareness.
Adam Ierymenko
2015-04-07 12:32:05 -07:00 -
24608d5ca3
Always use HELLO to contact, and we now confirm newly learned paths via a two-way handshake to prevent half-connects.
Adam Ierymenko
2015-04-07 12:22:33 -07:00 -
eae2c89b09
Mutex locking fix.
Adam Ierymenko
2015-04-07 11:58:41 -07:00 -
52c3b7c34e
Implemented empirical determination of external addressing, paritioned per scope.
Adam Ierymenko
2015-04-07 11:56:10 -07:00 -
817824b88b
Some external surface awareness work, and IP scope classification.
Adam Ierymenko
2015-04-07 10:57:59 -07:00 -
a2821e9000
Add code to check external surface against reported surface from other trusted peers, and also rename ExternalSurface to SelfAwareness because lulz.
Adam Ierymenko
2015-04-06 20:17:21 -07:00 -
76ad19f411
Use binary_search for multicast groups, which are kept in sorted order.
Adam Ierymenko
2015-04-06 19:41:55 -07:00 -
758bf949db
Check for subscribed multicast groups should be able to check groups bridged behind me.
Adam Ierymenko
2015-04-06 19:34:36 -07:00 -
4e691c8e22
build fixes
Adam Ierymenko
2015-04-06 18:56:08 -07:00 -
6807ccd710
Don't need to announce on multicast leave.
Adam Ierymenko
2015-04-06 18:28:18 -07:00 -
51f46a009a
Multicast group join/leave and group membership announcement.
Adam Ierymenko
2015-04-06 18:27:24 -07:00 -
8001b2c0cb
Network now calls port config function as per new API.
Adam Ierymenko
2015-04-06 16:52:52 -07:00 -
a86300c58f
Network build fixes and cleanup of remaining internal references to _tap
Adam Ierymenko
2015-04-06 15:47:57 -07:00 -
488f5bf977
More build fixes, and attic/ some stuff.
Adam Ierymenko
2015-04-06 15:14:54 -07:00 -
197d272287
More NAT strategy cleanup.
Adam Ierymenko
2015-04-06 15:08:45 -07:00 -
be4683a96d
Get rid of random port strategy -- research does not support.
Adam Ierymenko
2015-04-06 15:03:08 -07:00 -
5f351f2f6b
build fixes.
Adam Ierymenko
2015-04-06 14:55:40 -07:00 -
f4fd2d4971
Bring IncomingPacket into line with new changes.
Adam Ierymenko
2015-04-06 14:50:53 -07:00 -
a95f1e1418
Eliminate redundant SharedPtr assignment.
Adam Ierymenko
2015-04-03 17:01:07 -07:00 -
6eb9289367
Bunch more cleanup, improvements to NAT traversal logic, finished updating Switch.
Adam Ierymenko
2015-04-03 16:52:53 -07:00 -
ee0f56355b
Send path simplification.
Adam Ierymenko
2015-04-03 13:14:37 -07:00 -
a69e1876f1
The concept of link desperation (escalating to less desirable transports) simplifies a ton of stuff. Loads of spaghetti logic can die since we no longer have to make these decisions down in the core.
Adam Ierymenko
2015-04-02 17:54:56 -07:00 -
5f51653f9c
More cleanup.
Adam Ierymenko
2015-04-01 19:16:07 -07:00 -
0214dbc277
More cleanup.
Adam Ierymenko
2015-04-01 19:15:21 -07:00 -
1f28ce3980
Tons more refactoring: simplify Network, move explicit management of Tap out, redo COM serialization, etc.
Adam Ierymenko
2015-04-01 19:09:18 -07:00 -
49349470a0
...
Adam Ierymenko
2015-04-01 16:27:14 -07:00 -
8130848020
More refactoring... and update the API a bit... turns out my strategy for reducing indirect function calls also increased memcpy()s which are more expensive. This is simpler and faster.
Adam Ierymenko
2015-04-01 14:59:44 -07:00 -
7ff0cab1b7
docs
Adam Ierymenko
2015-03-31 18:33:39 -07:00 -
b723855751
Refactoring... lalalala...
Adam Ierymenko
2015-03-31 18:17:11 -07:00 -
36eab4f1a9
Whole heap more cleanup and refactoring...
Adam Ierymenko
2015-03-31 17:53:34 -07:00 -
647ce82b86
Move more stuff into osdep/ -- node/ will not use threads directly.
Adam Ierymenko
2015-03-31 15:23:14 -07:00 -
e61a40a956
docs
Adam Ierymenko
2015-03-31 14:12:33 -07:00 -
a61acf36d2
osnet -> osdep
Adam Ierymenko
2015-03-31 14:11:21 -07:00 -
8990fb8267
osnet -> osdep
Adam Ierymenko
2015-03-31 14:10:02 -07:00 -
2c5dbecb3c
More CAPI work, and move old control/ and old node/Node to attic.
Adam Ierymenko
2015-03-31 13:54:50 -07:00 -
fe94c9460b
Phy is a better name than Wire, and other cleanup.
Adam Ierymenko
2015-03-31 11:52:10 -07:00 -
fe87c1db67
Work on new simplified C API -- required for embedded, language bindings, mobile (language bindings again), etc.
Adam Ierymenko
2015-03-30 19:46:07 -07:00 -
60158aa5dd
Turns out that node/ likely has no business with or need for the system IP routing table. So shelve that code for now.
Adam Ierymenko
2015-03-30 17:48:48 -07:00 -
3c1a59fa24
Wire selftest, and passes all tests.
Adam Ierymenko
2015-03-30 15:37:44 -07:00 -
b6241f6cb1
Build fixes.
Adam Ierymenko
2015-03-30 13:21:35 -07:00 -
4445bfc869
Wire should be good to test.
Adam Ierymenko
2015-03-26 14:44:31 -07:00 -
8d409def74
More Wire cleanup/docs and minor fixes.
Adam Ierymenko
2015-03-24 13:45:31 -07:00 -
91810c5f44
A bit more cleanup and doc work on new select abstraction
Adam Ierymenko
2015-03-24 10:09:05 -07:00 -
64ea58d523
Most of new cleaner IO abstraction.
Adam Ierymenko
2015-03-23 17:07:47 -07:00 -
96737368aa
Add MIT-licensed Joyent http-parser lib to ext/ for use with new control plane.
Adam Ierymenko
2015-03-20 13:32:31 -07:00