Commit graph

5148 commits

Author SHA1 Message Date
Adam Ierymenko
de1b54821e
Starting to (re)write unit tests. 2020-02-20 12:54:46 -08:00
Adam Ierymenko
320c8429c2
Yet more perf, security hardening, and compile fix tweaks. 2020-02-20 09:33:11 -08:00
Adam Ierymenko
a4e24c8390
Build fixes 2020-02-19 11:32:16 -08:00
Adam Ierymenko
0589964f99
Yet more cleanup, and add meters to paths. 2020-02-19 11:06:05 -08:00
Adam Ierymenko
1affb6814c
A little more cleanup and build fixes. 2020-02-19 10:32:02 -08:00
Adam Ierymenko
b70ab0d354
Include file cleanup, docs, and build fixes. 2020-02-19 10:18:52 -08:00
Adam Ierymenko
4a9266feef
Comment out not-yet-refactored code in Network 2020-02-19 09:42:11 -08:00
Adam Ierymenko
1e0a930d23
Create a container for identity hashes, replace some "volatile" hacky junk with std::atomic, clean up some security checks, rename raw data in Buf to unsafeData to permit search for unsafe. 2020-02-19 09:28:18 -08:00
Adam Ierymenko
46d3780e89
AES stuff, port sending network credentials to new packet format. 2020-02-18 17:17:10 -08:00
Adam Ierymenko
311c98e24e
Various other small things. 2020-02-18 14:20:49 -08:00
Adam Ierymenko
9ad8dd3700
Add Peer method for getting preferred cipher, various cleanup in VL1 2020-02-18 12:38:48 -08:00
Adam Ierymenko
0dc476518b
Documentation changes, and move HMAC auth on HELLO to before object decoding since this is good cryptographic practice. 2020-02-18 10:31:31 -08:00
Adam Ierymenko
8c8a3c58ec
Various little things... 2020-02-18 06:33:31 -08:00
Adam Ierymenko
a0ac4a744e
Change the type 1 identity a bit to make locallyValidate() super fast, eliminating a scaling issue with v0. 2020-02-17 15:09:26 -08:00
Adam Ierymenko
3448e6fc76
Yet MORE refactoring, including moving expected-reply-to out of Node and into its own class for cleanliness. 2020-02-14 14:12:42 -08:00
Adam Ierymenko
e5c7366e71
Yet more minor refactoring and redesign Meter to be more thread-safe. 2020-02-14 11:34:47 -08:00
Adam Ierymenko
e236d6f743
More minor refactoring 2020-02-14 10:19:45 -08:00
Adam Ierymenko
5db0d9438c
More built-in AES and GMAC primitive work. 2020-02-14 09:05:48 -08:00
Adam Ierymenko
08e06f9b8f
More refactoring and a bunch of AES goodness. 2020-02-13 14:44:18 -08:00
Adam Ierymenko
018fe04163
More nit-picky refactoring. 2020-02-12 14:14:31 -08:00
Adam Ierymenko
f21ecb3762
Yet more major and very nit-picky refactoring for performance, etc. Also use std::atomic<> now with a TODO to implement a shim if we ever do need to build this on a pre-c++11 compiler. 2020-02-12 14:04:25 -08:00
Adam Ierymenko
60de5ed3dd
It almost compiles again 2020-02-07 13:54:17 -08:00
Adam Ierymenko
df4b1e9b12
Yet more work on VL1/VL2 2020-02-07 00:02:29 -08:00
Adam Ierymenko
c3d3605f70
Merge branch 'edge' of http://git.int.zerotier.com/zerotier/ZeroTierOne into edge 2020-02-06 18:07:22 -08:00
Adam Ierymenko
a9003d16f2
Put Switch in attic too 2020-02-06 18:07:17 -08:00
Adam Ierymenko
84619a7788
A bunch more refactoring including splitting Switch into VL1 and VL2 2020-02-06 18:06:50 -08:00
Grant Limberg
db127887b6
libssl-dev on trusty images 2020-02-05 10:57:29 -08:00
Grant Limberg
e0588b89b2
libssl-dev 2020-02-04 12:48:58 -08:00
Grant Limberg
7d2eceef01
no building cmake on wheezy either 2020-02-04 12:36:39 -08:00
Grant Limberg
e5e444c7ae
can't even build cmake on Centos 6. Will need another method for packaging 2020-02-04 12:08:47 -08:00
Grant Limberg
4b083b8c41
more dependencies 2020-02-04 12:06:26 -08:00
Grant Limberg
245d92b40c
add openssl-devel to centos images 2020-02-04 11:46:09 -08:00
Grant Limberg
931ad1aca8
Add CMake to all the docker images 2020-02-04 11:38:42 -08:00
Grant Limberg
5e488d3aa0
fix PATH 2020-02-04 10:33:18 -08:00
Grant Limberg
cc52835ce3
remove unneeded output 2020-02-04 09:39:13 -08:00
Adam Ierymenko
7d11522768
Just about everything refactored for new Protocol/Buf code except Switch. 2020-02-03 16:18:33 -08:00
Grant Limberg
417cdc17dc
Skip generating packages on edge as that's not reimplemented in CMake yet 2020-02-03 14:00:46 -08:00
Grant Limberg
c537955c65
ensure go is in the PATH for jenkins builds 2020-02-03 13:57:03 -08:00
Grant Limberg
a0efea8e0f
Merge branch 'dev' into edge
# Conflicts:
#	.gitignore
#	Jenkinsfile
#	attic/macui/ZeroTier One.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
#	attic/service/OneService.cpp
2020-02-03 13:54:49 -08:00
Grant Limberg
cce51cea5d
Merge branch 'pipeline' into dev 2020-02-03 13:48:46 -08:00
Adam Ierymenko
df346a6df6
Work in progress... clean up memcpy and create an annotation for that, lots more porting to new Buf/Protocol code, etc. 2020-02-03 13:00:13 -08:00
Grant Limberg
ba4324f992
Update jenkinsfile for new build process 2020-02-03 12:51:46 -08:00
Grant Limberg
81e982991b add kali rolling 2020-02-03 10:46:39 -08:00
Grant Limberg
f6f4fba90e Add docker configs for multi arch jenkins builds 2020-02-03 09:57:48 -08:00
root
23d5a972ba disable lintian because sid/bullseye are sitting there running /bin/sleep 3 endlessly on this step 2020-01-31 13:15:23 -08:00
Adam Ierymenko
cdc6c42375
Take Dictionary behind the barn... 2020-01-25 18:02:11 -08:00
Adam Ierymenko
d5b9a54c55
Continuing work on new buffer type... 2020-01-25 01:17:56 -08:00
Adam Ierymenko
59da359b06
More porting to new Buf system. 2020-01-24 23:36:08 -08:00
Adam Ierymenko
91ce4c4ea6
Refactoring protocol marshal/unmarshal code... 2020-01-24 21:16:07 -08:00
Adam Ierymenko
e9656ecf11
More wiring up of addroot/removeroot etc. 2020-01-24 13:27:01 -08:00