Skip to content

Added LastSeen and Active Members to Session Struct #374

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lobsterjerusalem
Copy link
Collaborator

Added a LastSeen value to session and added automatic updating of it. also added an Active param to the Session struct and changed the logic to RemoveSession(s) functions to set this value to false instead of deleting it.

This lets us keep track of connections in multiple ways and lets us determine the (past) success of an exploit.

… Also added an Active param to the Session struct and changed the logic to RemoveSession(s) functions to set this value to false instead of deleting it
@lobsterjerusalem
Copy link
Collaborator Author

Just to clarify instead of deleting the sessions when we're done with one, we're just setting it to inactive, so that we can still determine whether or not a session ever existed even after the sockets are closed.

@lobsterjerusalem lobsterjerusalem self-assigned this Jun 3, 2025
@lobsterjerusalem lobsterjerusalem added the enhancement New feature or request label Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant