This pull request adds the ability to set an IP whitelist for the socks5 proxy server.
The SetIPWhitelist method has been added to the socks5.Server struct (armon/go-socks5). This feature is being used in server.go, allowing users to specify a list of allowed IP addresses. Any incoming connection from an IP address that is not in the whitelist will be rejected.
Also docker-compose.build.yml was added to build an image from the source code.
This pull request adds the ability to set an IP whitelist for the socks5 proxy server. The
SetIPWhitelist
method has been added to thesocks5.Server
struct (armon/go-socks5
). This feature is being used inserver.go
, allowing users to specify a list of allowed IP addresses. Any incoming connection from an IP address that is not in the whitelist will be rejected. Alsodocker-compose.build.yml
was added to build an image from the source code.