UDP NAT map is leaking~
linkerlin opened this issue · comments
Halo Master commented
nm := newNATmap(config.UDPTimeout)
There is no change to remove key-values from nm.
And the keys are only made from remote addresses. If there are two clients which send-receive udp packet from the same remote address, it will be a problem.
nm.Add(raddr, c, pc, false)
Rio commented
Incorrect. Read the code again.