These are chat archives for elazarl/goproxy

Dec 2015
Alex Walker
Dec 08 2015 15:48

@abourget so I am doing a goproxy.FORWARD:

 proxy.HandleConnectFunc( func(ctx *goproxy.ProxyCtx) goproxy.Next {
            // Potentially best to REJECT so that MITM is not detected. detection of MITM could cause suspicion
            if ctx.SNIHost() != "" {
                //log.Printintln(" *** HTTPS Connection: ", ctx.SNIHost())
                //return goproxy.MITM // This is failing...
                return goproxy.NEXT
            return goproxy.FORWARD

But it feels like going inside this function is causing the SSL Error. Or should I just ALWAYS return a FORWARD?