-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support detached console #8
Labels
enhancement
New feature or request
Comments
rsmmr
added a commit
that referenced
this issue
Feb 24, 2023
rsmmr
added a commit
that referenced
this issue
Feb 27, 2023
rsmmr
added a commit
that referenced
this issue
Jan 4, 2024
By default, an agent now creates a UNIX socket for its console that an external client can connect to. To connect to an already running agent, execute `zeek-agent -r` on the same machine (note that client and server must be running as the same user, probably `root`). Client and server can specify a different socket path through `-s <PATH>`. The environment variable `ZEEK_AGENT_SOCKET` can be set to specify the path as well. Remote consoles aren't support on Windows yet. Internally, we switch the classic local console over to the same IPC mechanism we now use for remote consoles, so that there's only one implementation. For Windows, where actual IPC isn't implemented yet, we provide a dummy implementation for this purpose that just forwards data inside the main (and only) process. Closes #8.
rsmmr
added a commit
that referenced
this issue
Jan 4, 2024
By default, an agent now creates a UNIX socket for its console that an external client can connect to. To connect to an already running agent, execute `zeek-agent -r` on the same machine (note that client and server must be running as the same user, probably `root`). Client and server can specify a different socket path through `-s <PATH>`. The environment variable `ZEEK_AGENT_SOCKET` can be set to specify the path as well. Remote consoles aren't support on Windows yet. Internally, we switch the classic local console over to the same IPC mechanism we now use for remote consoles, so that there's only one implementation. For Windows, where actual IPC isn't implemented yet, we provide a dummy implementation for this purpose that just forwards data inside the main (and only) process. Closes #8.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That would allow attaching a console to an already running agent.
The text was updated successfully, but these errors were encountered: