[X] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
[X] I have searched on the issue tracker for a related issue.
Version
2.5.1
What OS are you seeing the problem on?
No response
Description
Hello, after configuring tun2socks on windows everything works fine for a while, until tun2socks end up using every single available outgoing port on the system (check the image)
. I guess after it reaches the port 65535 the software doesn't work anymore and it outputs the message "time="2023-10-11T00:04:57+02:00" level=warning msg="[TCP] dial 38.84.70.82:443: connect to 31.204.3.13:5432: dial tcp 31.204.3.13:5432: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full."
Verify steps
Version
2.5.1
What OS are you seeing the problem on?
No response
Description
Hello, after configuring tun2socks on windows everything works fine for a while, until tun2socks end up using every single available outgoing port on the system (check the image) . I guess after it reaches the port 65535 the software doesn't work anymore and it outputs the message "time="2023-10-11T00:04:57+02:00" level=warning msg="[TCP] dial 38.84.70.82:443: connect to 31.204.3.13:5432: dial tcp 31.204.3.13:5432: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full."
CLI or Config
tun2socks-windows-amd64.exe -device wintun -proxy socks5://xxx:yyyy@zzzzzz:ttttt
Logs
How to Reproduce
Keep tun2socks going for a while on windows (many programs used at once) and you'll notice