Skip to content
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

Suggestion to add IP along with username in logs #3

Closed
komatom opened this issue May 10, 2023 · 2 comments
Closed

Suggestion to add IP along with username in logs #3

komatom opened this issue May 10, 2023 · 2 comments

Comments

@komatom
Copy link

komatom commented May 10, 2023

Hi

It might be helpful to have an option to choose to log IP next to the username that run the command, otherwise you have to make manual search for this by the session id to find the ip of the user

Thanks

@matthill
Copy link
Contributor

Great suggestion. This is implemented in commit 3d8eeb3

After the change, the event log will look like this:

2023-05-12 11:05:04 connection_established (128181) mhill from ip 127.0.0.1:57976 tty 3
2023-05-12 11:05:04 command_start          (128181) mhill from ip 127.0.0.1:57976 executed /bin/sh -c /usr/bin/xauth -q -
2023-05-12 11:05:04 command_start          (128181) mhill from ip 127.0.0.1:57976 executed /usr/bin/xauth -q -
2023-05-12 11:05:47 connection_close       (128286) mhill from ip 127.0.0.1:57976

@komatom
Copy link
Author

komatom commented May 16, 2023

@matthill Thanks for this, I see you have some new commits since the last ubuntu deb build(since April 13th). Is it possible to make latest build for version like 1.0.1.. I am mainly interested in ubuntu deb package update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants