Grant Limberg
00d55fc4b4
Metrics consolidation ( #1997 )
...
* Rename zt_packet_incoming -> zt_packet
Also consolidate zt_peer_packets into a single metric with tx and rx labels. Same for ztc_tcp_data and ztc_udp_data
* Further collapse tcp & udp into metric labels for zt_data
* Fix zt_data metric description
* zt_peer_packets description fix
* Consolidate incoming/outgoing network packets to a single metric
* zt_incoming_packet_error -> zt_packet_error
* Disable peer metrics for central controllers
Can change in the future if needed, but given the traffic our controllers serve, that's going to be a *lot* of data
* Disable peer metrics for controllers pt 2
3 years ago
Grant Limberg
74dc41c7c7
Peer metrics ( #1995 )
...
* Adding peer metrics
still need to be wired up for use
* per peer packet metrics
* Fix crash from bad instantiation of histogram
* separate alive & dead path counts
* Add peer metric update block
* add peer latency values in doPingAndKeepalive
* prevent deadlock
* peer latency histogram actually works now
* cleanup
* capture counts of packets to specific peers
---------
Co-authored-by: Joseph Henry <joseph.henry@zerotier.com>
3 years ago
Grant Limberg
06b487119d
More packet metrics ( #1982 )
...
* found path negotation sends that weren't accounted for
* Fix histogram so it will actually compile
* Found more places for packet metrics
3 years ago
Brenton Bostick
f73e51e94c
Brenton/curly braces ( #1971 )
...
* fix formatting
* properly adjust various lines
breakup multiple statements onto multiple lines
* insert {} around if, for, etc.
3 years ago
Brenton Bostick
7c8d5b0afd
_bond_m guards _bond, not _paths_m ( #1965 )
3 years ago
Joseph Henry
3c9ea2b667
Add low-bandwidth mode
3 years ago
Adam Ierymenko
ee0a194b25
Several more SSO/OIDC related fixes, and bump version to 1.8.9.
4 years ago
Adam Ierymenko
34a64f30de
Bump the peer cache serialization version due to path changes, will cause peers to be re-learned. Technically the peer cache is optional anyway so it's not going to break anything and should guard against weird issues due to path learning changes on restart.
4 years ago
Joseph Henry
8148c658cf
Remove bonds for peers that have fully expired. Remove notion of bond health
4 years ago
Joseph Henry
5e13b42abc
Rate gate ECHO per Path instead of per Peer
4 years ago
Joseph Henry
1b0c183913
Force non-leaf peers into local active-backup bond when multipath is enabled
4 years ago
Joseph Henry
4190318c85
Fix typo in constant name
4 years ago
Shawn
ae93cccde6
FIX: fix wrong flag usage of rateGateCredentialsReceived
4 years ago
Adam Ierymenko
75a45eeb27
Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed."
...
This reverts commit 48ce7632fa .
5 years ago
Adam Ierymenko
48ce7632fa
Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed.
5 years ago
Joseph Henry
e1af003e4f
Consolidation of multipath logic. Better system separation
5 years ago
Joseph Henry
0ed9db05d2
Restore original ECHO rate limiting (changed for multipath)
5 years ago
Adam Ierymenko
147945d20f
Lets try always supplying the AES keys to Packet dearmor() and see if that prevents the coma problem.
5 years ago
Adam Ierymenko
ac808d51d6
Crash fix
5 years ago
Adam Ierymenko
378bc73bf8
Clean up some peer path learning logic, use a cheaper data structure.
5 years ago
Adam Ierymenko
72d48da210
Fix duplicate paths and reduce thrashing issues.
5 years ago
Adam Ierymenko
7219ca0c0f
AES works! Only with this or newer nodes. Uses salsa with older ones as usual.
6 years ago
Adam Ierymenko
e6b5f8aabd
AES work... but disabled in this commit.
6 years ago
Adam Ierymenko
b7b01da742
Wire up dearmor() path.
6 years ago
Adam Ierymenko
93d6b41898
Disable AES in commit so as not to break other builds.
6 years ago
Adam Ierymenko
2ac49d99dd
AES integrated on send side.
6 years ago
Adam Ierymenko
06730c7d1d
BSL date bump
6 years ago
Joseph Henry
edd960566a
Improve bond tracing, fix bond initialization bugs, remove vestigial debug code
6 years ago
Joseph Henry
a50e8e9878
Add Bonds, Slaves, and Flows
6 years ago
Adam Ierymenko
52a166a71f
Relicense: GPLv3 -> ZeroTier BSL 1.1
7 years ago
Joseph Henry
5453cab22b
Added flow-awareness check for policies, more work on ZT_MULTIPATH_ACTIVE_BACKUP
7 years ago
Joseph Henry
b0a91c0187
Partial implementation of ZT_MULTIPATH_ACTIVE_BACKUP
7 years ago
Joseph Henry
0634214f2c
Added notion of Flows
7 years ago
Joseph Henry
3c7e25ed58
Added call to computeAggregateAllocation() in multipath mode=1 to give realtime allocation output
7 years ago
Adam Ierymenko
cacdb445c7
Bump protocol version to 10
7 years ago
Adam Ierymenko
d530356055
RingBuffer<> is now templated with size, buffer is now static.
7 years ago
Adam Ierymenko
63ec19674c
.
7 years ago
Grant Limberg
d4c0349de9
Revert "#ifdef'd out multipath/QoS statistics buffers allocations for ZT_PROTOCOL_VERSION<10"
...
This reverts commit 270debb3fc .
7 years ago
Joseph Henry
270debb3fc
#ifdef'd out multipath/QoS statistics buffers allocations for ZT_PROTOCOL_VERSION<10
7 years ago
Joseph Henry
0e597191b8
Updated licenses for 2019
7 years ago
Joseph Henry
bdcdccfcc3
Improved path selection, more efficient traffic allocation, lower QoS/ACK overhead
8 years ago
Joseph Henry
17fbb020e7
Added multipath field to zerotier-cli status output. Adjusted how path estimates are computed and cached
8 years ago
Joseph Henry
f8005b88ad
Minor cleanup. More efficient push() operation for RingBuffer
8 years ago
Joseph Henry
0faa655b83
Reduced how often relative path qualities and aggregate link allocations are computed
8 years ago
Joseph Henry
6fddf31db3
Improved rate limit logic for QoS/ACK packets. Also reduced how often processBackgroundPathMeasurements() is called
8 years ago
Joseph Henry
9681fedbb4
Spellcheck sweep across codebase
8 years ago
Joseph Henry
b6d97af451
Added rate gates for QOS and ACK packets
8 years ago
Joseph Henry
91a22a686a
Added auto-escalation to multipath if both peers support it. Improved QoS/ACK tracking. Related bug fixes
8 years ago
Joseph Henry
46a7a2be2e
Added VERB_ACK and VERB_QOS_MEASUREMENT, refined notion of path quality
8 years ago
Joseph Henry
6a2ba4baca
Introduced basic multipath support
8 years ago