666fb7ea2d
eliminated duplicate paths ( #1870 )
2023-02-06 11:50:05 -08:00
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 .
2023-01-20 09:29:09 +01:00
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.
2023-01-19 15:39:15 -08:00
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.
2023-01-17 12:38:10 -05:00
39f3f5b2d9
User-configurable physical MTU for individual links
...
This patch allows users to specify the physical layer MTU for individual links
when in multipath mode. For example:
{
"settings":
{
"defaultBondingPolicy": "custom-balance-xor",
"policies":
{
"custom-balance-xor":
{
"basePolicy": "balance-xor",
"failoverInterval": 5000,
"links": {
"weird_5g_link": { "mtu": 1300 },
"enp5s0": { "mtu": 1400 }
}
}
}
}
}
2023-01-12 07:12:19 +01:00
d31f238be0
fix typos ( #1843 )
2023-01-11 19:42:30 +01:00
91bae4b1a8
Add missing default initialization of _lowBandwidthMode
2022-12-22 10:08:02 -08:00
4100615cd6
Merge branch 'dev' into dev-low-bandwidth
2022-12-05 13:26:57 -08:00
e27c3edaba
Merge branch 'dev' into dev-low-bandwidth
2022-12-05 13:23:04 -08:00
3c9ea2b667
Add low-bandwidth mode
2022-12-05 13:21:05 -08:00
5b5f9a069a
fix typos
2022-12-05 11:29:21 -05:00
4d50ed0b9d
Fix several warning: format specifies type 'XXX' but the argument has type 'YYY'
...
Use %z for printing size_t and PRId64 etc. macros for printing
platform-specific widths, and remove now-redundant casts
2022-12-01 08:42:06 -05:00
3b8c33d49a
fix typos in code
2022-11-28 09:23:58 -05:00
f74a594e98
fix typos in comments and strings
2022-11-28 09:23:45 -05:00
b02a41751c
Fix unresponsiveness when moving flows in balance-aware (See #1764 )
2022-11-02 08:46:11 -07:00
3b11915eab
Merge remote-tracking branch 'origin/expose-surface-addresses' into dev
2022-10-25 13:55:21 -07:00
82c799b9d1
Expose surface addresses in info json
...
Surface Addresses are the addresses that
the roots report back to you.
This is helpful for trouble shooting.
If you're behind NAT, the source port is different
than what zerotier is bound to.
If the list of surface address ports is larger than the list of
bound addresses, you are probably behind symmetric NAT.
Anways this can be added to later with a more simple
"easy" or "hard" nat computed message somewhere.
2022-10-25 11:25:21 -07:00
e1f60e3f83
Behavioral changes to multipath balance modes (See: #1745 and #1753 )
2022-10-09 23:07:16 -07:00
86a436e9bf
Small string fix.
2022-10-06 16:53:35 -04:00
bc521504ca
Improved multipath link monitoring
2022-09-20 14:27:34 -07:00
0797adf223
Improve output of bond list command
2022-09-16 13:43:34 -07:00
85698860ae
Merge branch 'dev-1734-policy-defaults' of https://github.com/grapexy/ZeroTierOne into grapexy-dev-1734-policy-defaults
2022-09-15 16:05:21 -07:00
50e131a4ff
Partial fix for discrepancy between docs and implementation
2022-09-15 15:56:23 -07:00
b733bb8ead
Fix sanity checks overwriting custom policy parameters
2022-09-16 00:18:05 +04:00
e18d206248
Add warm spare feature for balance modes
2022-09-14 10:09:29 -07:00
66b70a8043
Prevent re-armoring of packets when in multipath broadcast mode
2022-09-07 15:03:02 -07:00
1d1843bf3b
Forget links if QoS verbs fail to arrive
2022-09-07 09:08:13 -07:00
0e23ba8f1a
Add logic short-circuit to avoid unnecessary bond rebuild logic when appropriate
2022-09-01 15:16:21 -07:00
b6074da498
Fix nonsensical equality comparison which may prevent certain links from being regarded as preferred in multipath scenarios
2022-08-29 16:03:48 -07:00
7e92d478a1
Add missing <algorithm> include ( #1709 )
...
This is required for building under VS2017
2022-08-29 10:39:04 -07:00
ff670d044a
Fix integer format specifier compiler warnings
2022-08-09 21:19:16 -07:00
7ed5bde426
Fix for ab-mode link failure, QoS metrics (WIP)
2022-06-08 10:01:54 -07:00
e672dc8094
Set version to correct 1.10.0.
2022-06-06 16:18:50 -04:00
1a400d33fd
Fix link creation bug in active-backup mode
2022-05-18 10:04:53 -07:00
c34325fee7
Fix attribute placement for debugging functions ( #1587 )
2022-05-06 17:25:15 -07:00
db8443ef7d
Remove attributes causing build failures on various platforms ( #1587 )
2022-05-06 15:19:59 -07:00
6c85f8c7a7
Safely handle disappearing bonded interfaces (See issue #1587 )
2022-05-06 14:59:34 -07:00
eea93d2607
Fix SEGV caused by format string on 32-bit platforms / armv7l, reported in #1587 ( #1658 )
...
Looks great. Thanks for this!
2022-05-06 09:11:47 -07:00
e9f8ecbf7e
Properly initialize active-backup path index as partial fix for #1587
2022-05-04 09:51:48 -07:00
166c7978ee
ALMOST compiles for ARM64 Windows, only remaining barrier is ring in zeroidc.
2022-04-27 12:19:42 -04:00
66236e91a2
Style fix
2022-04-26 08:26:45 -07:00
76bce44280
Build fix.
2022-04-19 21:30:36 -04:00
ee0a194b25
Several more SSO/OIDC related fixes, and bump version to 1.8.9.
2022-04-19 21:29:11 -04:00
ef08346a74
Fix a possible excessive memory use issue in controller and clean up a bunch of COM handling and other code in the normal node.
2022-04-19 19:59:54 -04:00
fe0068da52
A bit more auth cleanup in the local node.
2022-04-19 16:34:46 -04:00
cd70fefc5e
Clean up some credential push stuff.
2022-04-19 16:06:53 -04:00
877f86a896
build fix
2022-04-19 12:44:18 -04:00
912036b260
Push credentials always if updated (client-side) and some controller-side cleanup that should be logically irrelevant but will prevent unnecessary DB lookups.
2022-04-19 12:41:38 -04:00
a4e8847664
Restore sending of rejections but move it exclusively to a thread, widen netconf window to 30 minutes.
2022-04-19 10:37:58 -04:00
7e4da53c0b
Check reference to failover path before use in active-backup scenario
2022-04-17 21:03:57 -07:00