fix: harden Ext2Mgr mount assigns and Ext2Srv pipe accept - #102
Open
Obsidian-Jackal wants to merge 10 commits into
Open
fix: harden Ext2Mgr mount assigns and Ext2Srv pipe accept#102Obsidian-Jackal wants to merge 10 commits into
Obsidian-Jackal wants to merge 10 commits into
Conversation
Interactive services (SERVICE_INTERACTIVE_PROCESS) have been deprecated since Windows Vista. While the service still works with this flag on many systems, it can cause issues in some setups where Session 0 isolation prevents named pipes from being accessible to user applications. This change removes the deprecated flag to follow modern Windows best practices and prevent potential compatibility issues, even though the service continues to function without it. Also update Visual Studio project files (Ext4Fsd.vcxproj, Ext2Mgr.vcxproj) for better compatibility with Visual Studio 2019/2022.
Add PowerShell scripts for building, installing, signing, and diagnosing the Ext4Fsd driver: - build.ps1: Build driver, Ext2Srv, Ext2Mgr with optional signing - install_driver.ps1: Copy driver to System32 and register services - uninstall_driver.ps1: Remove driver and services - register_driver.ps1: Register kernel driver service - disable_driver.ps1: Disable Ext2Fsd service - sign_driver.ps1: Sign driver with code-signing certificate - install_certificate.ps1: Install signing certificate to Trusted Publishers - diagnose_ext2fsd.ps1: Unified diagnostic for signature, cert stores, event log - check_driver_load_error.ps1, diagnose_error_577.ps1, verify_driver_signature.ps1: Wrapper scripts for common diagnostic scenarios - fix_sdk_version.ps1: Update project files' WindowsTargetPlatformVersion All scripts are designed to be run from the repository root.
…device-removal Fix system hang on USB/removable device removal
Bring in driver reliability fixes (USB surprise-remove timeouts), CcCopyRead wait corrections, Ext2Mgr DPI/mountmgr.h, and related cleanup while retaining fork SpectreMitigation and WDK include helper.
Prevent Ext2Mgr Session Manager assigns from crashing on non-EXT volumes (MountPoints.cpp). Speed Ext2Srv named-pipe accept with dual idle listeners, softer create retries, and no WRITE_THROUGH. Document those changes in Ext2Mgr/IMPROVEMENTS.md and the root README. Drop the January .gitignore entries for docs/ and Ext4Fsd.sln.
Bump FileVersion/ProductVersion to match the Ext2Srv fixes already on this branch (interactive service flag removal and named-pipe accept hardening).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MountPoints.cpp: return after registry success; skip nullEVPExt2 property path).FILE_FLAG_WRITE_THROUGH.Ext2Mgr/IMPROVEMENTS.mdand update rootREADME.md; drop unused January.gitignoreentries fordocs/andExt4Fsd.sln.Test plan
Ext2Mgr/IMPROVEMENTS.md/ README changelog bullets for accuracy.