mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
tun的tcp功能在mac上测试通过;修订代码;修复若干问题:
修正ReplaceSymbol函数 SelfListen时也打印Listen日志 修正machine的DefaultClient的赋值 添加tun示例文件以及路由指导
This commit is contained in:
@@ -127,7 +127,7 @@ func (s *Server) StartListen(infoChan chan<- netLayer.TCPRequestInfo, udpInfoCha
|
||||
Target: targetAddr,
|
||||
}
|
||||
|
||||
if ce := utils.CanLogInfo("TProxy loop read got new tcp"); ce != nil {
|
||||
if ce := utils.CanLogInfo("TProxy got new tcp"); ce != nil {
|
||||
ce.Write(zap.String("->", targetAddr.String()))
|
||||
}
|
||||
if tm.Closed() {
|
||||
@@ -175,7 +175,7 @@ func (s *Server) StartListen(infoChan chan<- netLayer.TCPRequestInfo, udpInfoCha
|
||||
}
|
||||
break
|
||||
} else {
|
||||
if ce := utils.CanLogInfo("TProxy loop read got new udp"); ce != nil {
|
||||
if ce := utils.CanLogInfo("TProxy got new udp"); ce != nil {
|
||||
ce.Write(zap.String("->", raddr.String()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user