Skip to content

Problem with reverse-proxy headers (x-forwarded-for / x-real-ip) #75

@Knight1

Description

@Knight1

Hi!

If the X-Forwarded-For Header is set the below error only shows the original IP and Port not the forwarded one in the log. Making it harder to identify the client.

https://github.com/d-Rickyy-b/certstream-server-go/blob/master/internal/web/broadcastmanager.go#L117

2025/09/06 23:11:18 broadcastmanager.go:117: Not providing client '10.2.0.35:45712' with cert because client's buffer is full. The client can't keep up. Skipped certs: 22001

Metadata

Metadata

Assignees

No one assigned

    Labels

    Prio HighbugSomething isn't workingdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions