Brenton Bostick
f9528f1248
fix ANDROID-52: synchronization bug with nodeMap
3 years ago
Brenton Bostick
4861ec5a40
make NodeStatus a plain data class
3 years ago
Brenton Bostick
acf5b3579b
add VirtualNetworkType.fromInt
3 years ago
Brenton Bostick
d1460ab65b
fix ANDROID-37: VirtualNetworkStatus out-of-sync with ZT_VirtualNetworkStatus enum
3 years ago
Brenton Bostick
85bd773c55
add VirtualNetworkStatus.fromInt
3 years ago
Brenton Bostick
ed3918b508
fix ANDROID-40: VirtualNetworkConfigOperation out-of-sync with ZT_VirtualNetworkConfigOperation enum
3 years ago
Brenton Bostick
7c2766096c
add VirtualNetworkConfigOperation.fromInt
3 years ago
Brenton Bostick
acd8b95114
fix ANDROID-36: issues with ResultCode
3 years ago
Brenton Bostick
34ff813e2a
add ResultCode.fromInt
3 years ago
Brenton Bostick
056cef7292
add PeerRole.fromInt
3 years ago
Brenton Bostick
7c5f256d4a
add Event.fromInt
3 years ago
Brenton Bostick
82749e4442
ANDROID-48: use ZT_jnicache.cpp and remove ZT_jnilookup.cpp and ZT_jniarray.cpp
3 years ago
Brenton Bostick
7890185e81
ANDROID-48: add ZT_jnicache.cpp
3 years ago
Brenton Bostick
71fc0dd097
add LOG_TAG defines
3 years ago
Brenton Bostick
8373a0fa60
add GETENV macro
3 years ago
Brenton Bostick
21264baaae
update to use unique error codes
3 years ago
Brenton Bostick
703f9290c9
fix missing DeleteLocalRef in loops
3 years ago
Brenton Bostick
dd1b52c7d9
fix ANDROID-35: memory leak
3 years ago
Brenton Bostick
01003617cd
fix ANDROID-51: fieldName is uninitialized
3 years ago
Brenton Bostick
bfe4bc2894
fix typo
3 years ago
Brenton Bostick
1c88037ea0
fix typos in JNI method signatures
3 years ago
Brenton Bostick
0027e6bdab
fix typo in log message
3 years ago
Brenton Bostick
87edbb2d3a
fix ANDROID-50: RESULT_ERROR_BAD_PARAMETER typo
3 years ago
Brenton Bostick
5be92a96df
cleanup
3 years ago
Brenton Bostick
0733af5239
move extern "C"
...
only JNI functions need to be exported
3 years ago
Brenton Bostick
216ed8c8ea
fix headers
...
use recommended headers and remove unused headers
3 years ago
Brenton Bostick
58e3b8c5ad
add StringUtils
3 years ago
Leonardo Amaral
c6adfd9d67
Added docker environment way to join networks ( #1871 )
3 years ago
Grant Limberg
672c58be01
Don't vendor packages for zeroidc ( #1885 )
3 years ago
Grant Limberg
6cf3b65953
Fix #1883 ( #1886 )
...
Still unknown as to why, but the call to `nc->GetProperties()` can fail
when setting a friendly name on the Windows virtual ethernet adapter.
Ensure that `ncp` is not null before continuing and accessing the device
GUID.
3 years ago
Grant Limberg
936dda4773
Turn off autocrlf for rust source
...
Doesn't appear to play nice well when it comes to git and vendored cargo package hashes
3 years ago
Grant Limberg
047e327f01
Revert "set gitattributes for rust & cargo so hashes dont conflict on Windows"
...
This reverts commit 032dc5c108 .
3 years ago
Grant Limberg
032dc5c108
set gitattributes for rust & cargo so hashes dont conflict on Windows
3 years ago
travis laduke
dc54e0e1c4
Create a sample systemd unit for tcp proxy
3 years ago
Grant Limberg
9124b0a7a3
Merge branch 'main' into dev
3 years ago
Grant Limberg
dea47f601d
more info on exception
3 years ago
travis laduke
67cf4c42d5
add note about forceTcpRelay
3 years ago
Adam Ierymenko
dc762196dc
1.10.3 ( #1875 )
...
Version bumps and other release stuff to ship 1.10.3
3 years ago
Adam Ierymenko
0a900dc275
Add date to release notes
...
Add date
3 years ago
Joseph Henry
6f58510431
Update release notes ( #1874 )
3 years ago
Monica Moniot
666fb7ea2d
eliminated duplicate paths ( #1870 )
3 years ago
dependabot[bot]
f0778860e5
Bump tokio from 1.24.1 to 1.24.2 in /zeroidc ( #1869 )
...
* Bump tokio from 1.24.1 to 1.24.2 in /zeroidc
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* vendor tokio update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grant Limberg <grant.limberg@zerotier.com>
3 years ago
dependabot[bot]
6aea546d6f
Bump bumpalo from 3.10.0 to 3.12.0 in /zeroidc ( #1857 )
...
* Bump bumpalo from 3.10.0 to 3.12.0 in /zeroidc
Bumps [bumpalo](https://github.com/fitzgen/bumpalo ) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases )
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.12.0 )
---
updated-dependencies:
- dependency-name: bumpalo
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* vendor bumpalo update to fix dependabot
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grant Limberg <grant.limberg@zerotier.com>
3 years ago
Joseph Henry
e0a3291235
Fix setMtu() on Linux. Add error checking ( #1860 )
...
* Fix setMtu() on Linux. Add error checking
* Slightly tweak ioctl MTU error message
3 years ago
Joseph Henry
b88d7091c8
Simplify dump command. Fix bond list command
3 years ago
zwf
15cfa3bf62
exclude static route with via ip in route helper ( #1791 )
...
When adding Routes to zerotier's Managed Routes, the helper will
add a route rule to the device that does not have a via ip,
so that the address of the Destination segment cannot be routed
correctly within the container.
Here, based on the contents of the routes key in
`zerotier-cli -j listnetworks`,
by determining whether the via key has an ip address,
if it is not null, helper will no longer add route rules.
3 years ago
Gleb Mazovetskiy
9c9d1650d1
Check for ARM Cryptography Extension support
...
ARM Cryptography Extension is optional and not all ARM CPUs support it.
For example, the CPU in Raspberry Pi 4 does not support it.
Check for `__ARM_FEATURE_CRYPTO` before attempting to use the optional
extension.
`__ARM_FEATURE_CRYPTO` is defined by both clang and gcc when the target
has the cryptography extension.
Fixes #1854 .
3 years ago
Grant Limberg
0ae09577f6
Client & Central Controller updates to support additonal OIDC features ( #1848 )
...
Client side:
* Fix compatibility with OneLogin
* Requested scopes vary by OIDC provider. Different providers have different
Controller side:
*Update Postgres queries to latest Central schema
* Added Central Controller support for the different providers
* Base OIDC provider details are still attached to an org. Client ID & group/email lists are now associated with individual networks.
3 years ago
Brenton Bostick
a59f82093a
Fix Possible misuse of comma operator here ( #1851 )
...
Xcode warns about "Possible misuse of comma operator here".
Comma is a sequencing operator in C++ and original code does work, but
is highly non-idiomatic.
3 years ago
Brenton Bostick
be95b56c10
fix typos ( #1846 )
3 years ago