Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Add a way to specify trusted proxies #278

Open
stefanotorresi opened this issue Sep 29, 2021 · 0 comments
Open

Add a way to specify trusted proxies #278

stefanotorresi opened this issue Sep 29, 2021 · 0 comments
Labels
enhancement Improvement of existing features security Security related

Comments

@stefanotorresi
Copy link
Member

stefanotorresi commented Sep 29, 2021

In the web component, we need to implement an additional configuration option to specify a list of trusted proxies.
See: gin-gonic/gin#2632 and https://github.com/gin-gonic/gin#dont-trust-all-proxies

I spotted this because, when running trento behind traefik in k3s, the logs always report the same client ip: the one of the traefik ingress.

@stefanotorresi stefanotorresi added enhancement Improvement of existing features security Security related labels Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement of existing features security Security related
Development

No branches or pull requests

1 participant