Phil Elwell
0ba325af84
Fix agent crash on ARM64 (Raspberry Pi)
...
The function ILibWebClient_ProcessWebSocketData in
microstack/ILibWebClient.c reads a 64-bit integer from an address that
is only 2-byte aligned. ARM64 kernels support unaligned accesses from
userspace, but it is not enabled by default and frowned upon - the
required exception handling is ugly and inefficient.
Fix that illegal access in a simple way with a memcpy. More involved and
efficient solutions are also available, such as replacing the byte order
conversion functions with de/serialise functions that take a pointer.
Fixes: https://github.com/Ylianst/MeshAgent/issues/183
Signed-off-by: Phil Elwell <phil@raspberrypi.com >
2023-06-05 11:24:45 +01:00
Bryan Roe
44e2dfaae4
Fixed Digest Unit test issue with persistent connections
...
Removed debug lines
2022-07-02 01:05:14 -07:00
Bryan Roe
143f7ef578
First Rev of Digest AUTH Unit Test
...
Fixed crash in ILibWebClient caused by NULL dereference
2022-07-02 00:03:41 -07:00
Ylian Saint-Hilaire
7adf0dddd4
Updated headers.
2022-02-04 14:43:55 -08:00
Bryan Roe
c7a4356dac
1. Merged GC optimization for promise.js
...
2. Fixed crash that can occur if dgram is GC'ed during event dispatch
3. Fixed compiler warning in ILibWebClient.c
4. Updated GC for dhcp.js
2021-07-17 11:32:25 -07:00
Bryan Roe
4f0b8f9eb4
Updated proxy support, to defer DNS resolve to proxy
2021-06-24 22:16:03 -07:00
Bryan Roe
0ea6e28021
1. Remove webSocketMaskOverride switch
...
2. Fixed bug where disableUpdate was not honored in certain edge cases
2021-06-15 09:18:48 -07:00
Bryan Roe
6f28cdb484
1. Fixed bug where NetworkTimeout Error, caused duplicate connection
...
2. Fixed dispatcher on Windows to put username in quotes
3. Added additional logging
4. Added TLS/ALPN support
2021-02-04 12:57:36 -08:00
Bryan Roe
704edbb802
Updated metadata
2021-01-28 02:11:05 -08:00
Bryan Roe
a728ba40de
Added NULL checks
2021-01-26 13:47:20 -08:00
Bryan Roe
e0ec2a405d
Added memory check to prevent potential crash
2020-12-31 13:13:23 -08:00
Bryan Roe
04c5bf3799
Added safety check for WebClient state object
2020-12-04 10:37:58 -08:00
Bryan Roe
8119f87d6b
Added NULL check
2020-12-03 11:55:00 -08:00
Bryan Roe
8a5610c2d8
1. Fixed thread HANDLE leak on Windows KVM
...
2. Swapped semaphore with spin lock on certain objects
2020-11-30 17:20:22 -08:00
Bryan Roe
8e672f11af
Fixed bug when TLS masking is enabled
2020-11-10 04:23:59 -08:00
Bryan Roe
a2892996fb
IOActive update for size_t vs int for buffer lengths
2020-10-16 00:48:34 -07:00
Bryan Roe
73b1d5e77c
Converted atoi to safer alternative
2020-09-24 15:50:27 -07:00
Bryan Roe
31be55c945
Fixed bug, where Packet Validation failed, because HttpStream was always configured as server.
2019-03-27 15:00:39 -07:00
Bryan Roe
65ebe45873
Added WebServer protections against Malformed packets, invalid content-length, and overly large headers.
2019-03-26 01:05:27 -07:00
Bryan Roe
995c4015b0
Added functionality so if 'webSocketMaskOverride' is specified in the db, the optimization to disable masking for TLS protected websockets is disabled
2019-02-12 13:43:42 -08:00
Bryan Roe
aeaa229e31
1. Modified WebRTC_DataChannel to use union, to simplify struct def
...
2. Added ChainLink MetaData
3. Added 'ChainViewer' to allow JS to debug Chain events
2019-02-01 23:33:02 -08:00
Bryan Roe
bd16538a8e
Fixed compiler warnings on MacOS
2019-02-01 01:13:07 -08:00
Bryan Roe
2366122d58
Fixed bug where clearing proxy setting, didn't clear all the settings
2019-01-17 22:59:27 -08:00
Bryan Roe
372a20e841
Updated SSL_TRACE
...
Fixed logic error that occurs if the server returns an invalid/incorrect status code when making a websocket request
2019-01-11 12:44:46 -08:00
Ylian Saint-Hilaire
3c80473a94
Major agent update.
2018-09-05 11:01:17 -07:00
Ylian Saint-Hilaire
4b5c77b4fd
Many improvements.
2018-02-11 21:11:58 -08:00
Ylian Saint-Hilaire
508646044e
Much improved, better stability, lots of fixes
2018-01-12 11:50:04 -08:00
Ylian Saint-Hilaire
becf71557f
Improved agent that can update the MeshCentral1 agent
2017-11-09 16:07:39 -08:00
Ylian Saint-Hilaire
34e09c2304
MeshAgent for MeshCentral2 Beta2 with improved crypto.
2017-10-25 21:08:41 -07:00
Ylian Saint-Hilaire
75d86eb4c8
First commit of MeshAgent for MeshCentral
2017-10-12 14:28:03 -07:00