alibaba / alibaba/anyproxy

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

Open
#599 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how beforeDealHttpsRequest and beforeSendResponse receive and retain connection information, focusing on how the client address is represented across the two hooks. Done means beforeSendResponse can expose the real client IP and reliably associate it with the address observed by beforeDealHttpsRequest.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.