1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

73 Commits

Author SHA1 Message Date
Bryan Roe
ad03c83c22 Fixed edge case with child-container, where if exit is called before child connects, could result in hung client, or stale server. 2022-08-21 15:33:01 -07:00
Bryan Roe
8b49af30be Backed out change that prevented a disconnect from propagating correctly. 2022-08-19 16:25:28 -07:00
Bryan Roe
cf0bf3cd59 Added variable check before dereference 2022-08-19 11:42:47 -07:00
Bryan Roe
cd60e2bdf9 Added memory check before dereference 2022-08-19 10:13:46 -07:00
Bryan Roe
36286d9e7d Updated WebSocketStream, so when you call end on the decoded stream, it will call end on the encoded stream. This will cause all the references to detach, allowing timely garbage collection. 2022-08-19 00:49:14 -07:00
Bryan Roe
905aafd9b1 Optimized references in HTTP WebSockets, and added more leaktest scenarios. 2022-08-18 01:39:59 -07:00
Bryan Roe
f1a2842d2b Fixed compiler warning 2022-07-18 23:22:58 -07:00
Bryan Roe
62195b6081 Added Digest Auth and Auth-Int support for server connections 2022-07-01 12:24:56 -07:00
Bryan Roe
8f60da4435 Fixed parsing bug of digest authenticate headers when multiple qop options are present. Added support for auth-int on the client side. 2022-07-01 03:01:28 -07:00
Bryan Roe
043848a0f9 Fixed bug in WebSocketStream partial fragment handler, where if fragment buffer size was 0, it would not realloc() correctly.
Also updated self-test to have inline documentation, as well as support for console debugging
2022-06-28 20:36:32 -07:00
Bryan Roe
af669c1da8 Removed debug message 2022-06-27 10:33:37 -07:00
Ylian Saint-Hilaire
7adf0dddd4 Updated headers. 2022-02-04 14:43:55 -08:00
Bryan Roe
2a39934cee 1. Fixed bug with Authenticode URI parsing
2. Fixed bug with Http Uri parsing
2022-01-31 18:42:40 -08:00
Bryan Roe
3a10fa34d2 1. Fixed error case of Resolve()
2. Added 'resolve' support
3. Added new testharnass interface
4. Added clipboard support for PAC/Autoproxy helper
5. Added autoproxy sandbox
2021-12-20 23:12:26 -08:00
Bryan Roe
4e92d4530c 1. Updated 'method' property of InboundMessage to be enumerable
2. Added memory check to ptrs structure
3. Fixed bug with remoteInterface's flags
2021-11-15 12:57:45 -08:00
Bryan Roe
ab066751fb 1. Fixed uncaught exception in websocket that could happen if peer disconnects
2. Updated debugger to work with updated promise
3. Fixed bug in event emitter where 'explicit' event type wasn't honored
4. Updated _GenericMarshal to support interface and function marshaling
5. Added COM/WMI support to windows
2021-10-29 09:39:25 -07:00
Bryan Roe
fa82a9ed76 1. Updated http-diget to not chunk requests, working around AMT TLS bug
2. Fixed bug in http persistent connections, where 2nd request would close the socket when client request is 'end'ed.
3. Added debug logging/instrumentation to readable and writable stream
2021-09-29 22:08:04 -07:00
Bryan Roe
bf05a0a187 Fixed bug where 'close' event registration could get lost during cleanup 2021-09-27 08:55:40 -07:00
Bryan Roe
46ccba5164 Fixed stack overflow that could occur when writing very large single fragment websocket payloads 2021-08-25 10:46:30 -07:00
Bryan Roe
681674f9fd Fixed uncaught exception 2021-08-10 01:51:19 -07:00
Bryan Roe
6b510cf886 Fixed possible NULL dereference 2021-08-09 11:31:32 -07:00
Bryan Roe
4a6930e532 1. Updated so that .msh is read earlier, allowing --nocertstore switch to work as msh flag
2. Added --skipmaccheck
3. Updated behavior of websocket to not call removeAllListeners() on cleanup
2021-07-29 00:18:02 -07:00
Ylian Saint-Hilaire
a678ff77f0 Fixed agent crash in WebRTC 2021-07-11 12:20:43 -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
486f8eaa39 1. Fixed Compiler Warnings
2. Updated GC behavior for HTTP
2021-05-20 11:36:40 -07:00
Bryan Roe
4a42d731b0 Fixed bug, where websockets were added into globalAgent, instead of local agent. 2021-02-02 17:15:11 -08:00
Bryan Roe
4005cf3aa1 Updated behavior so when control channel is disconnected, tunnels are disconnected 2020-12-20 00:09:57 -08:00
Bryan Roe
e0bf176c39 Fixed crash/exception that could occur if you shutdown the agent while a websocket is connected 2020-11-21 16:19:47 -08:00
Bryan Roe
cb24703141 Addressed IOActive issues:
1. Remapped ASTRING to UTF8String
2. Added size check
2020-10-29 14:41:55 -07:00
Bryan Roe
8cdcfcb187 Addressed Checkmarx issues 2020-09-17 12:59:15 -07:00
Ylian Saint-Hilaire
376d51cb9e Added optimization comment. 2020-08-12 12:33:58 -07:00
Bryan Roe
6c6c9b871e 1. Added upperbound on alloca
2. Removed unreferenced variables
2020-07-27 09:56:58 -07:00
Bryan Roe
1337c449cc Updated header parsing for permessage-deflate 2020-07-17 22:58:00 -07:00
Bryan Roe
6fbba1ec0b 1. Update SHA384FileHash to support non binaries on Windows
2. Updated deflate settings
2020-07-17 14:56:16 -07:00
Bryan Roe
a01579619a 1. Fixed bug with permessage-deflate when permessage-deflate isn't used
2. Added support for Compressed MeshCore
2020-07-16 22:47:20 -07:00
Bryan Roe
42642f1433 Updated compression statistics 2020-07-16 17:02:48 -07:00
Bryan Roe
de646bc728 Added support for websocket permessage-deflate 2020-07-16 16:49:37 -07:00
Bryan Roe
67fc6c54b1 Addressed IOActive issues 2020-07-15 01:24:56 -07:00
Bryan Roe
de4ee73ae6 Addressed CodeQL analysis 2020-07-08 21:46:53 -07:00
Bryan Roe
38ae8fc4c7 Fixed 'connect' handler 2020-06-27 01:03:30 -07:00
Bryan Roe
0d4f0f6adc 1. Implemented missing event 'net.server.connect'
2. Added integer overflow checks on ILibMemory operations
3. Added better bounds checking for DNS resolve and PE header parsing
2020-06-26 23:10:43 -07:00
Bryan Roe
1962100df1 Added support for gzip stream to http.request 2020-06-20 10:40:10 -07:00
Bryan Roe
fc54e82ae9 Updated http.parseUri() to better handle malformed uri 2020-06-15 21:09:13 -07:00
Bryan Roe
fedd70072b Updated proxy support 2020-06-09 14:25:28 -07:00
Bryan Roe
432c0d2585 Added username/password parsing ability to http.parseUri() 2020-06-05 18:58:33 -07:00
Bryan Roe
383c19f5fe 1. Updated metadata
2. Fixed compiler warning
2020-05-21 19:06:05 -07:00
Bryan Roe
dd216efbe8 Updated metadata 2020-05-21 13:20:42 -07:00
Bryan Roe
5ba1288cdf Modified JS runtime to use ILibMemory_Extra to point to udata structure,
then used that for consistency checks
2020-04-17 15:05:47 -07:00
Bryan Roe
9aaef732d9 1. Fixed bug where ILibAsyncSocket wrote a corrupt TLS packet
2. Removed linux work-around/hack that is not needed due to above fix
2020-04-12 01:42:49 -07:00
Bryan Roe
e89274c835 Fixed edge case crash when calling response.end() with a buffer 2020-04-03 18:23:42 -07:00