-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix the empty host
column from logged_in_users
table
#7685
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you run into trouble with the CLA signing?
Didn't think this was mandatory, will do tomorrow |
Are we sure that the empty case it's not an error caused by this? osquery/osquery/tables/system/windows/logged_in_users.cpp Lines 118 to 119 in fa48b83
Because as I far as I can understand we are reinterpreting the IPv6 bytes as characters, not converting those bytes to digits that can be printed as with IPv4 case. How were you able to reproduce this issue? |
Here is my debug session, with a RDP connected user: Looks like WTSQuerySessionInformationW using the WTSClientInfo _WTS_INFO_CLASS is not following the expected behavior described in MSDN, reason why I chose to use WTSClientName in case of an empty host. Maybe its a Microsoft related bug? |
I signed the CLA yesterday, is there anything more to do? |
/easycla |
Hm that's strange, the original commit was done using my ssh pub key, linked to this account... How can I fix this? Sorry, not really familiar with easyCLA here. |
It's more a problem of the author/email in the commit itself. Is the email in the commit associated with the Github account? |
Ok, got it, the commit was done using my professional email. Do you want me to close this PR and open a clean one? |
It's not necessary, either modify the commit author with Finally push force the branch, and the PR will update. One unrelated thing for the future: I would suggest to use a dedicated branch in your repository for the PR to be pointed at instead of |
Thank you, should be good now |
Ok thank you, are you waiting fro an action from me to close the change request? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @sm0k, sorry for waiting.
The code works, but I'd like to have a final small change.
Did the final small change address all the feedback? Can this PR be approved? |
host
column from logged_in_users
table
Fixes empty "host" column from logged_in_users table