Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bypass是否支持在拦截后让流量重定向 #432

Open
iLemonRain opened this issue Mar 21, 2024 · 1 comment
Open

bypass是否支持在拦截后让流量重定向 #432

iLemonRain opened this issue Mar 21, 2024 · 1 comment

Comments

@iLemonRain
Copy link

从客户端来讲,如果传出的流量被流量网关侧的bypass拦截,只能从日志里的host unreachable看出遇到访问失败了。
但是host unreachable同样适用于访问资源不存在等情形,所以客户端无法确切得知是否真的是因为被拦截。
所以麻烦bypass可以增加一个可选设置参数(比如叫redirect),在请求拒绝时重定向到指定的位置,不知道是否可行?

@ginuerzh
Copy link
Member

Bypass的目的就是流量拦截,如果需要redirect也应该是额外的模块,而不应该由Bypass来处理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants