Bill Church

Results 53 comments of Bill Church

log messages to be prefixed with: `WebSSH2 (/) (): ` Example: `WebSSH2 (48C6PpHh4efNC2nK9S8BhM8xA8tGLTq8/ZN5nZc2gsZEBQTVFAAAF) AUDIT: LOGIN user=root from=127.0.0.1 host=192.168.0.1:22`

Debug messages planned to follow similar format ``` WebSSH2 (DUN2aRdg2k7zLWMrQfPR3iWs3sNOVWZI/dAnsjbLTgOakVC2UAAAB) SOCKET DISCONNECTING: server namespace disconnect +0ms WebSSH2 (DUN2aRdg2k7zLWMrQfPR3iWs3sNOVWZI/dAnsjbLTgOakVC2UAAAB) CONN END BY HOST +0ms WebSSH2 (DUN2aRdg2k7zLWMrQfPR3iWs3sNOVWZI/dAnsjbLTgOakVC2UAAAB) CONN CLOSE +0ms ```

reworked client js to generate reauth control message to signify termination in order to support a "LOGOUT" log event. Client: https://github.com/billchurch/webssh2/blob/50cfcb97788cbd3409b4605adceef3d47e370e38/app/client/src/js/index.ts#L63-L68 Server: https://github.com/billchurch/webssh2/blob/50cfcb97788cbd3409b4605adceef3d47e370e38/app/server/socket.js#L172-L184

Addition of `login` variable to track the state of the users login. Mostly to prevent multiple LOGOUT log entries as a "logout" can come from different events depending on how...

While, I have the logging "consistent" for the messages that are output. It's maybe not industry standard of any sort. Feedback welcome for the format... For reference: https://www.graylog.org/post/log-formats-a-complete-guide

This makes more sense as a separate RFE, even though it might be related to modal... I opened #290 to talk about this and track it, but it feels like...

@tracker1 Check out #290 and main to give this a test. It seems like this is all that's needed for the initial functionality. I'll work on adding the rest of...