-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support attaching interactive console to a running agent.
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.
- Loading branch information
Showing
19 changed files
with
1,286 additions
and
238 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.