-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
# udptunnel -v -s 4096 127.0.0.1:55820
Listening for TCP connections on port 4096
setup_udp_recv: bind: Address in use
But netstat
doesn't show any instance of port 4096. I'm not using it for anything.
So I tried many different ports, but still udptunnel thinks they're all in use.
Any idea?
OpenWrt 23.05.2 (ramips/mt7621 architecture)
udptunnel 1.1-1 installed with opkg
.
andrew-aladjev
Activity
o-alquimista commentedon Feb 24, 2024
Side note: the options parser is also misbehaving.
If I input
it outputs:
It only seems to work with the port number alone (
udptunnel -v -s 4096 127.0.0.1:55820
)UPDATE: Actually, it's documented in the usage and I didn't see it.
Strange, because on Linux it isn't like this. Or maybe the package version I have is older. I need to check that.
On Linux I compile from source. On OpenWrt I install the precompiled binary.
o-alquimista commentedon Feb 24, 2024
I figured out that the "port in use" refers to port 55820, the port I use for Wireguard traffic. Of course it's being used! I think this is a bug.
This is the same issue reported in #9 and #8
[-]Port in use (except it isn't) on OpenWrt[/-][+]setup_udp_recv: bind: Address in use[/+]