datadog-agent icon indicating copy to clipboard operation
datadog-agent copied to clipboard

[windows] convert IPC to named pipes.

Open derekwbrown opened this issue 1 year ago • 2 comments

First commit: change process agent <-> system probe communication to use named pipes.

Motivation

Change ipc transport to named pipes instead of localhost tcp connections. Prevents port collisions.

Additional Notes

Possible Drawbacks / Trade-offs

Due to switch to named pipes, can no longer use curl/wget/iwr to connect to system probe endpoint for debugging.

Describe how to test/QA your changes

  • install build, enable npm and/or usm
  • ensure process agent can still communicate with system probe
    • no errors in logs indicating problem at startup
    • logs indicate successful retrieval of connection informatoin.

derekwbrown avatar Feb 18 '24 04:02 derekwbrown

Due to switch to named pipes, can no longer use curl/wget/iwr to connect to system probe endpoint for debugging.

Is there a tool that does support named pipes?

brycekahle avatar Feb 20 '24 19:02 brycekahle

Due to switch to named pipes, can no longer use curl/wget/iwr to connect to system probe endpoint for debugging.

Is there a tool that does support named pipes?

I've been googling around and haven't found anything with the built-in tools. It would be straightforward enough to write our own python and/or powershell and/or go tool.

derekwbrown avatar Feb 20 '24 19:02 derekwbrown