node-mitmproxy icon indicating copy to clipboard operation
node-mitmproxy copied to clipboard

为什么https时responseInterceptor中得到客户端IP(req.socket中得到)总是127.0.0.1呢?

Open Whhy opened this issue 7 years ago • 0 comments

想在responseInterceptor中得到代理客户端的IP,在http时能通过req.socket中得到,但是在https时,得到的全是127.0.0.1了,无法得到客户端的IP。

请问怎么在https时得到请求客户端的IP信息?

Whhy avatar Jan 21 '19 10:01 Whhy