Skip to content

Conversation

@vadmeste
Copy link
Member

@vadmeste vadmeste commented Jul 9, 2024

Currently, the websocket code adds an IP to X-Forwarded-For where the IP is calculated
from the TCP connection established to Console, however the established TCP connection
can be coming from the load balancer as well, hence the necesssity to evaluate the client
IP based on X-Forwarded-For or X-Real-IP headers

Look for client IPs in the websocket request connection.

Copy link
Member

@harshavardhana harshavardhana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no random logs please

Currently, the websocket code adds an IP to X-Forwarded-For where the IP is
calculated from the TCP connection established to Console, however the established
TCP connection can be coming from the load balancer as well, hence the
necesssity to evaluate the client IP based on X-Forwarded-For or
X-Real-IP headers

Look for client IPs in the websocket request connection.
@harshavardhana harshavardhana merged commit e3e3599 into minio:master Jul 10, 2024
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.

3 participants