-
Notifications
You must be signed in to change notification settings - Fork 26
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
Is it possible to replay https traffic via goreplay? #529
Comments
Probably not |
yup , not possible @onestraw 👎 |
Hello, |
I would say so, it is not possible to capture HTTPS traffic by its nature (without putting proxy behind it which terminate the traffic), but you feel free to replay captured traffic to https endpoint. No special configuration needed. |
hello,in latest version v0.16.1,there is a feature "Add support for TLS connections between --input-tcp and --output-tcp.",Could you give me an example to use TLS connections? |
|
Thanks for your reply,but I'm still confused about this question. |
Short: you can't capture https traffic on netwrok interface, maybe if except FBI, since such traffic is encrypted. Long: The only way to capture TLS protected traffic is to put proxy on top of your app which will terminate traffic for you, and you will intercept non-TLS traffic, behind proxy. Or maybe if proxy can record traffic for you (and GoReplay at the moment can't act as proxy). Maybe smth like nginx mirror module will suite better for your needs http://nginx.org/en/docs/http/ngx_http_mirror_module.html |
Firstly thanks a lot.@buger |
I think doc can clarify it https://github.com/buger/goreplay/wiki/Distributed-configuration In some cases, you may want to have GoReplay worker nodes, which redirect intercepted traffic to GoReplay master node on separate machine. --input-tcp and --output-tcp made exactly for this purpose. |
So I guess this new feature(Add support for TLS connections between --input-tcp and --output-tcp) is used for encrypting http traffic between -input-tcp and --output-tcp. Since I still can not make it work even thouth I followed the example of this doc(https://github.com/buger/goreplay/wiki/Distributed-configuration).I still get error message like my above comment.I gave up trying because I think maybe there is a bug in establishing tls connection. |
No description provided.
The text was updated successfully, but these errors were encountered: