Skip to content

Add support for TcpIP in all tooling using ReverseDiagnosticsServer. #2160

@lateralusX

Description

@lateralusX

PR #2050 add TcpIP support into ReverseDiagnosticsServer. Part of that PR only enables it for the dsrouter components and prevent other tools to use it by adding a specific constructor to ReverseDiagnosticsServer that needs to be used in order to enable TcpIP support. It was done this way to limit the ability to start TcpIP listeners as part of existing tooling using ReverseDiagnosticsServer (dotnet-counters, dotnet-trace).

By removing this limitation we could open up the possibility to run ReverseDiagnosticsServer using TcpIP listener instead of NamedPipes/UnixDomainSockets, in all tools currently working with the reverse connect scenarios for runtime supporting diagnostics server TcpIP transports . This would enable users to use the --diagnostic-ports argument with a TcpIP endpoint, like tcp://127.0.0.1:x and if detected as a valid TcpIP address ReverseDiagnosticsServer will use TcpIp transport instead of NamedPipes or UnixDomainSockets.

/CC @josalem @shirhatti

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions