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

fix(ssh): add ip address to web session #4231

Merged
merged 3 commits into from
Oct 15, 2024
Merged

Conversation

henrybarreto
Copy link
Member

No description provided.

@henrybarreto henrybarreto self-assigned this Oct 14, 2024
@henrybarreto henrybarreto marked this pull request as ready for review October 14, 2024 19:15
@henrybarreto henrybarreto requested a review from a team as a code owner October 14, 2024 19:15
@henrybarreto henrybarreto force-pushed the fix/web_session_ip branch 5 times, most recently from 65bb797 to 45d65e6 Compare October 15, 2024 12:21
When logging from the web interface, we could not get the client IP as
the connection was coming, officially, from the own server. In the past,
we have used environment variables to set this data, but after the last
SSH refactor, we lost this capability. To solve the problem, we have
used a generated UUID on the connection creation to capture the IP of
web session, saving it on cache, and retrieving it on the SSH server it
detected web session.
@gustavosbarreto gustavosbarreto merged commit d01e08c into master Oct 15, 2024
9 checks passed
@gustavosbarreto gustavosbarreto deleted the fix/web_session_ip branch October 15, 2024 13:31
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

Successfully merging this pull request may close these issues.

2 participants