Commit Graph

366 Commits

Author SHA1 Message Date
Joseph Henry 2e6cda38f6 Port multipath improvements to newer version 2024-03-01 15:43:28 -08:00
Joseph Henry b8b5d0bff8 Add setmtu command, fix bond lifetime issue 2023-08-15 12:59:58 -07:00
travisladuke 14671009f8 Don't skip hellos when there are no paths available
working on #2082
2023-08-09 09:35:12 -07:00
Brenton Bostick e36127283c Fix typos (#2075) 2023-08-01 08:53:55 -07:00
Brenton Bostick 64c2634b71 suppress warnings: comparison of integers of different signs: 'int64_t' (aka 'long') and 'uint64_t' (aka 'unsigned long') [-Wsign-compare] (#2063) 2023-07-20 11:37:50 -04:00
Grant Limberg 5a36b315a3 Exit if loading an invalid identity from disk (#2058)
* Exit if loading an invalid identity from disk

Previously, if an invalid identity was loaded from disk, ZeroTier would
generate a new identity & chug along and generate a brand new identity
as if nothing happened.  When running in containers, this introduces the
possibility for key matter loss; especially when running in containers
where the identity files are mounted in the container read only.  In
this case, ZT will continue chugging along with a brand new identity
with no possibility of recovering the private key.

ZeroTier should exit upon loading of invalid identity.public/identity.secret #2056

* add validation test for #2056
2023-07-18 14:10:31 -04:00
Brenton Bostick f73e51e94c Brenton/curly braces (#1971)
* fix formatting

* properly adjust various lines
breakup multiple statements onto multiple lines

* insert {} around if, for, etc.
2023-05-01 11:48:16 -07:00
Grant Limberg 595e033776 Outgoing Packet Metrics (#1980)
add tx/rx labels to packet counters and add metrics for outgoing packets
2023-04-28 14:24:19 -07:00
Joseph Henry 91bae4b1a8 Add missing default initialization of _lowBandwidthMode 2022-12-22 10:08:02 -08:00
Joseph Henry 3c9ea2b667 Add low-bandwidth mode 2022-12-05 13:21:05 -08:00
Joseph Henry e1f60e3f83 Behavioral changes to multipath balance modes (See: #1745 and #1753) 2022-10-09 23:07:16 -07:00
Joseph Henry bc521504ca Improved multipath link monitoring 2022-09-20 14:27:34 -07:00
Adam Ierymenko e672dc8094 Set version to correct 1.10.0. 2022-06-06 16:18:50 -04:00
Joseph Henry 8148c658cf Remove bonds for peers that have fully expired. Remove notion of bond health 2022-03-02 09:55:23 -08:00
Grant Limberg eaccce743f moar plumbing progress 2021-12-01 12:07:05 -08:00
Grant Limberg 7cce23ae79 wip 2021-12-01 10:44:29 -08:00
Joseph Henry e1af003e4f Consolidation of multipath logic. Better system separation 2021-09-01 21:37:49 -07:00
Adam Ierymenko 6b3a7ec827 Fix a few things... 2021-05-25 14:40:40 -04:00
Adam Ierymenko b270d527f4 Basic plumbing for authentication requirement and piping through of URL information. 2021-05-24 22:58:17 -04:00
Adam Ierymenko 06730c7d1d BSL date bump 2020-08-20 12:51:39 -07:00
Joseph Henry 9f4985b11a Add basic bond health status reporting (listbonds) 2020-07-27 23:01:12 -07:00
Joseph Henry a33a494d60 Adjust terminology 2020-06-17 14:54:13 -07:00
Joseph Henry a50e8e9878 Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Adam Ierymenko 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Grant Limberg 47d29ddcaf Compiler warning cleanup 2019-06-13 10:28:09 -07:00