Check wg handshake status on worker relay

This commit is contained in:
Zoltán Papp
2024-07-23 22:43:20 +02:00
parent 2576221315
commit e9e3b8ba10
4 changed files with 63 additions and 19 deletions

View File

@@ -181,7 +181,7 @@ func (p *WGEBPFProxy) proxyToRemote() {
conn, ok := p.turnConnStore[uint16(addr.Port)]
p.turnConnMutex.Unlock()
if !ok {
log.Infof("turn conn not found by port: %d", addr.Port)
log.Infof("turn conn not found by port, exit form proxy: %d", addr.Port)
return // todo replace it to return. For debug troubleshooting keep it
}