uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

Add proxying support for TCP Port (SOCKS v5)

Open gi-yt opened this issue 1 year ago • 1 comments

⚠️ Please verify that this feature request has NOT been suggested before.

  • [X] I checked and didn't find similar feature request

🏷️ Feature Request Type

Other

🔖 Feature description

Even if socks5 is used for proxying, proxying support is only available for the http(s) mode and not TCP Port/Ping modes... This shouldn't be too hard to implement since SOCKS v5 does support this unlike HTTP proxies..

✔️ Solution

Implement proxying for SOCKS based proxies on TCP Port/Ping mode

❓ Alternatives

N/A

📝 Additional Context

image With HTTP(s) mode ^ image With TCP Port mode ^

gi-yt avatar Jul 28 '22 06:07 gi-yt

FYI since the tcp-ping library and node.js's Socket.connect() does not support the use of proxies, this would not be very easy. We may have to switch to another library like socks, and possibly rewrite or modify tcp-ping to make use of it.

chakflying avatar Aug 03 '22 10:08 chakflying

I think this is more important, after all, I don't want to deploy multiple uptimes at the same time

In some important network environments, if you can open fewer ports, open fewer ports

Ran-Xing avatar Feb 05 '23 15:02 Ran-Xing

I would like to see this implemented as well.

ShadowVoyd avatar Oct 28 '23 04:10 ShadowVoyd