Commit Graph

502 Commits

Author SHA1 Message Date
henrik karlsson
1bd7940eef [UBA]
* Fixed so bad file path entries are not saved to casdb file
* Added so allow proxy can be set from config files
* Added assert for if bad files have entered the cas entry directory on disk

[CL 34476627 by henrik karlsson in ue5-main branch]
2024-06-18 16:23:41 -04:00
henrik karlsson
81920d7856 [UBA]
* Fixed validation code in scheduler for process reuse
* Moved all code inside ServerSession::HandleMessage into one function per message to more easily be able to read callstacks
* Added more validation around missing file errors.. now server logs out lots of information too

[CL 34414815 by henrik karlsson in ue5-main branch]
2024-06-17 02:02:04 -04:00
henrik karlsson
58447b5837 [UBA]
* Fixed validation code for reusing processes.. needs to match the fixed up path

[CL 34400549 by henrik karlsson in ue5-main branch]
2024-06-15 19:20:55 -04:00
henrik karlsson
040fd30999 [Uba]
* Moved UbaProcessStartInfoHolder to public

[CL 34400521 by henrik karlsson in ue5-main branch]
2024-06-15 19:19:55 -04:00
henrik karlsson
5a015c6dc4 [UBA]
* Added so remote helpers register output files to file mapping in case there are child processes that wants to read the output of parent processes

[CL 34397713 by henrik karlsson in ue5-main branch]
2024-06-15 15:30:22 -04:00
henrik karlsson
40ef33bfa2 [UBA]
* Fixed file attributes bug for posix platforms
* Added so unit test output detoured process log when failing

[CL 34396672 by henrik karlsson in ue5-main branch]
2024-06-15 13:59:50 -04:00
henrik karlsson
f1ee094c7e [UBA]
* Fix for when absolute path was sent in to SearchPathForFile

[CL 34394134 by henrik karlsson in ue5-main branch]
2024-06-15 03:26:48 -04:00
henrik karlsson
6b98dde0b7 [UBA]
* Fixed bug in waccess when running remotely.. it could return the result that a file exists even though it didn't

[CL 34394002 by henrik karlsson in ue5-main branch]
2024-06-15 02:47:18 -04:00
henrik karlsson
07e85ed2d9 [UBA]
* Added so path environment variable is networked over to helper. Needed when programs do their own search to find executable from name

[CL 34393859 by henrik karlsson in ue5-main branch]
2024-06-15 01:59:17 -04:00
henrik karlsson
339e9c9d52 [UBA]
* Added more code to be able to diagnose rare issue on the farm

[CL 34393839 by henrik karlsson in ue5-main branch]
2024-06-15 01:57:17 -04:00
henrik karlsson
978134e2bf [UBA]
* Changed so ProcessStartupInfoHolder inherits from ProcessStartupInfo

[CL 34393813 by henrik karlsson in ue5-main branch]
2024-06-15 01:56:18 -04:00
henrik karlsson
8d1c317262 [UBA]
* Added support for starting processes suspended
* Added support for processes being able to start processes that are not child processes (services like mspdbsrv.exe etc)
* Moved wait-for-parent code to its own function

[CL 34393790 by henrik karlsson in ue5-main branch]
2024-06-15 01:44:18 -04:00
henrik karlsson
438fb65734 [UBA]
* Exposed more options out through creation structs and configs

[CL 34393761 by henrik karlsson in ue5-main branch]
2024-06-15 01:35:47 -04:00
henrik karlsson
d97e1a534e [UBA]
* Added tests for Create/Remove directory
* Misc small cleanups

[CL 34393738 by henrik karlsson in ue5-main branch]
2024-06-15 01:29:18 -04:00
henrik karlsson
fdcc4ddd88 [UBA]
* Fixed another compile error in UbaCli

[CL 34393691 by henrik karlsson in ue5-main branch]
2024-06-15 01:20:47 -04:00
henrik karlsson
5d18c91fe8 [UBA]
* Added option to be able to trace child processes in visualizer
* Made WriteDirectoryEntries offset output parameter optional
* Fixed so GetKeyAndFixedName can handle relative paths

[CL 34393678 by henrik karlsson in ue5-main branch]
2024-06-15 01:20:18 -04:00
henrik karlsson
dae1ab42db [Uba]
* Changed Config GetTable to return a pointer that can be null if table does not exist

[CL 34393645 by henrik karlsson in ue5-main branch]
2024-06-15 01:11:17 -04:00
henrik karlsson
02109ba4e4 [UBA]
* Forgot to bump trace version in earlier change
* Minor fix to make code compile with older compilers

[CL 34393621 by henrik karlsson in ue5-main branch]
2024-06-15 01:08:47 -04:00
henrik karlsson
b4f71409da [UBA]
* Fixed missing include

[CL 34393584 by henrik karlsson in ue5-main branch]
2024-06-15 00:56:46 -04:00
henrik karlsson
0e04dc3843 [UBA]
* Added option to keep files in memory
* Added option to allow using output files (transferred via handle to session process)
* Added option to suppress logging

[CL 34393564 by henrik karlsson in ue5-main branch]
2024-06-15 00:56:16 -04:00
henrik karlsson
3988c62d7f [UBA]
* Improved GetVolumeInformationW
* Changed so GetFullPathNameW is always going through detour
* Some cleanup in CreateProcessW

[CL 34393527 by henrik karlsson in ue5-main branch]
2024-06-15 00:46:16 -04:00
henrik karlsson
4d07fbf9c2 [UBA]
* Fixed so CreateProcessA is detoured and calling CreateProcessW
* Added more detours only enabled in debug  (for debugging purposes)

[CL 34393508 by henrik karlsson in ue5-main branch]
2024-06-15 00:41:51 -04:00
henrik karlsson
4ae98f4792 [UBA]
* Added support for GetLongPathName and RemoveDirectory for remote helpers

[CL 34393494 by henrik karlsson in ue5-main branch]
2024-06-15 00:37:17 -04:00
henrik karlsson
0a94bfe21e [UBA]
* Fixed so default constructed StringView can still be used to do EndsWith and Contains

[CL 34393465 by henrik karlsson in ue5-main branch]
2024-06-15 00:17:52 -04:00
henrik karlsson
fbd6c0db89 [UBA]
* Fixed so file mapping table is updated in Rpc_UpdateTables

[CL 34393464 by henrik karlsson in ue5-main branch]
2024-06-15 00:17:46 -04:00