Rahul Sinha

Results 6 comments of Rahul Sinha

You can do something like ```go proxy.OnRequest().DoFunc(func(r *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) { proxy.Tr = &http.Transport{...} return r, nil }) ```

maybe @elazarl can answer it better.

You need to do man-in-the-middle attack for https first, so that goproxy can read/intercept the traffic. Something like this. https://github.com/rahulwa/camouflage/blob/master/proxy/proxy.go#L116-L120

Sorry for jump in between, i never tried config-rs, just wanted to share quite famous way to handle config. https://github.com/spf13/viper Let’s you use config without worry of from where value...

[Please prioritize this. Nowadays IPv6 support is becoming common among the providers (like aws, scaleway, Hetzner, Online.net). Our company is becoming IPv6 only network for internal traffic due to easiness...

I believe 1 and 2 should be good enough.