alibaba / anyproxy

A fully configurable http/https proxy in NodeJS
http://anyproxy.io
Apache License 2.0
7.75k stars 1.21k forks source link

抓取https请求时 无法获取客户端真实ip地址 #599

Open yuexia-martin opened 2 years ago

yuexia-martin commented 2 years ago

Plese fill the template when you reporting a new issue, thanks!

Which platform are you running AnyProxy

 centos7

The version of the AnyProxy

4.1.3

Your expected behavior of AnyProxy

   beforeSendResponse 现在只能获取到ip地址为127.0.0.1的。 beforeDealHttpsRequest能获取到正确的客户端ip 但是又无法与
  beforeSendResponse 中的ip地址对应起来。需要在beforeSendResponse 中获取客户端的地址  

The actual behavior of AnyProxy

The log of the error