hlswatch icon indicating copy to clipboard operation
hlswatch copied to clipboard

Real IP Passing To hlswatch

Open aminhusni opened this issue 6 years ago • 2 comments

Fixed on Issue #10 where the Nginx proxy is not passing real IP to hlswatch. This is fixed by making Nginx attach the original requester's IP to the X headers. hlswatch then read these headers and extract the real IP.

Fixed on docker build problem #7

aminhusni avatar Feb 08 '19 20:02 aminhusni

Hi Amin, thank you for your pull request and your awesome work. da9028d and 9a9eb47 should be merged to master as soon as possible.

Im not sure about excluding private IPs.

faryon93 avatar Feb 09 '19 10:02 faryon93

The idea of excluding private IP was because the client might forward private IP in the chain of proxies that the client itself is using.

Perhaps it is a good idea to have an enable and disable the option that is read from the config file to filter out private IP?

aminhusni avatar Feb 09 '19 14:02 aminhusni