add recorder for relay tunnel endpoint

This commit is contained in:
ginuerzh
2023-10-14 21:06:03 +08:00
parent 4be7d60147
commit 5488076801
5 changed files with 25 additions and 9 deletions

View File

@ -182,7 +182,7 @@ func (h *relayHandler) handleConnectTunnel(ctx context.Context, conn net.Conn, n
}
var features []relay.Feature
af := &relay.AddrFeature{} // visitor address
af := &relay.AddrFeature{} // source/visitor address
af.ParseFrom(conn.RemoteAddr().String())
features = append(features, af)