firestack icon indicating copy to clipboard operation
firestack copied to clipboard

`netstack.InboundUDP` jeopardizes all future `gonet.UDPConn`s

Open ignoramous opened this issue 10 months ago • 0 comments

netstack(tun).InboundUDP() (used by udpmux.go to vend netstack routes for remote IPs a mxconn isn't connected to) seemingly results in ALL subsequent UDP connections to timeout / non responsive.

https://github.com/celzero/firestack/blob/23f8b882bae69b8c4b3f95473bfea06721154d56/intra/netstack/udp.go#L85-L97

We see similar "hang ups" in a reverse scenario with WireGuard, which tries to invoke netstack(wg).Outbound...() => netstack(tun).Inbound... when it sees new destinations (inbound).

ignoramous avatar Mar 18 '25 13:03 ignoramous