IP 黑名单

This commit is contained in:
yisier
2022-10-28 18:01:21 +08:00
parent d0a958426f
commit 7b1774308f
18 changed files with 133 additions and 23 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ func (https *HttpsServer) handleHttps(c net.Conn) {
logs.Warn(err.Error())
}
logs.Trace("new https connection,clientId %d,host %s,remote address %s", host.Client.Id, r.Host, c.RemoteAddr().String())
https.DealClient(conn.NewConn(c), host.Client, targetAddr, rb, common.CONN_TCP, nil, host.Flow, host.Target.LocalProxy)
https.DealClient(conn.NewConn(c), host.Client, targetAddr, rb, common.CONN_TCP, nil, host.Flow, host.Target.LocalProxy, nil)
}
type HttpsListener struct {