Repository navigation
NetHook: per-session network hook (groundwork for one LAN IP per session) - #68
Merged
Merged
Conversation
…ession (bridge or NAT) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r, hide the other adapters) User-mode DLL (x64 and x86) loaded into a session's processes and passed on to every child, including children of the other architecture through osms-netinject.exe: - IPv4 sockets without an address (bind to 0.0.0.0, connect/sendto without bind) are bound to the session adapter's IP; multicast joins use it too; loopback connects to a server of the session are redirected to the session IP. - With HideOthers, adapter enumeration (GetAdaptersAddresses/Info, MIB tables) and the computer name lookup only show the session adapter, loopback and AlsoShow adapters (e.g. a ZeroTier of the session, which is not forced). - Config per Windows session in HKLM\SOFTWARE\OpenStreamMS\NetSessions\<id>, or OSMS_NETHOOK_* environment variables for tests. Not wired into the service or the installer yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Groundwork for giving each session its own LAN IP through a Hyper-V virtual adapter (bridge or NAT), described in ROADMAP section 5.
Native/NetHook: user-mode DLL (x64 and x86) loaded into a session's processes and passed on to every child, including children of the other architecture throughosms-netinject.exe:HKLM\SOFTWARE\OpenStreamMS\NetSessions\<id>, orOSMS_NETHOOK_*environment variables for testsNot wired into the service or the installer yet, so this changes nothing at runtime.
Tested: service build, unit and i18n tests (the native DLL is built separately with
Native/NetHook/build.cmd).🤖 Generated with Claude Code