1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
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
Bryan Roe
46e4113814 1. Fixed Control Channel bug, where host field never contained port number
2. Updated tunnels, so host field only contains port if its not a default port
2020-03-19 23:54:16 -07:00
Bryan Roe
bbe2c92817 Added 'timeout' event to websocket
Added 'setTimeout' method to websocket
2020-01-28 12:23:05 -08:00
Bryan Roe
384cbd411d Fixed edge case bug, where HTTP body fragment could get written to stream without acknowledging it, at the start of the response, which could result in the bodystream having a single duplicate fragment. 2020-01-21 13:27:45 -08:00
Bryan Roe
6a84582764 Dropped autofragmentation size to 5k on Linux, until we figure out why on old hardware on linux, OpenSSL tends to corrupt TLS if we try to encode a large fragment 2019-09-19 16:37:45 -07:00
Bryan Roe
84735cf3dc Lowered autofragment size to 15k from 30k 2019-09-17 12:42:42 -07:00
Bryan Roe
5d2e5dab8b Added compile switch to support SSL/TLS key export for debug 2019-09-17 00:52:04 -07:00
Bryan Roe
e666a5f7b9 Fixed compiler warning 2019-08-22 16:54:04 -07:00
Bryan Roe
1360835f1b 1. Updated libfinder for Linux for cases when ldconfig is not on PATH
2. Updated websockets, so it will autofragment into 30k chunks, as a temp workaround for platforms like CentOS 5.11 until I find the underlying issue
2019-08-21 11:46:38 -07:00
Bryan Roe
585595791b Updated to use revices ReAlloc Macro 2019-05-01 16:13: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