feat(ghidra): add authenticated Windows loopback transport
Keep private Unix sockets on supported POSIX hosts and add a Windows P0 transport that binds the Java bridge to IPv4 loopback on an ephemeral port. Publish only a strict, token-free endpoint record through an atomic rename, validate it before connecting, and retain the same authenticated request protocol, bounded queue, handshake, cancellation, and shutdown semantics across both transports.
This commit is contained in:
@@ -357,6 +357,10 @@ export class GhidraProvider implements AnalysisProviderCandidate {
|
||||
}),
|
||||
targetPath: target.path,
|
||||
targetSha256: target.sha256,
|
||||
transport:
|
||||
installation.platform === "win32"
|
||||
? "authenticated-loopback-tcp"
|
||||
: "unix-socket",
|
||||
providerVersion: prerequisites.value.providerVersion,
|
||||
profileDigest: committedProfile.digest,
|
||||
logger: this.logger.child({ layer: "ghidra-bridge" }),
|
||||
|
||||
Reference in New Issue
Block a user