socccks
1.0.0
Je crée ce dépôt pour apprendre le protocole Golang, SOCKS5 et Shadowsocks (SS).
obstacle
|
|
|
+--------------------+ | +--------------------+
| your processes | | | real destination |
+--------------------+ | +--------------------+
| | |
| | |
socks5 protocol | | |
| | |
| | |
+--------------------+ Encrypted Data pipe +--------------------+
| socccks-client | <--------------------------------------> | socccks-server |
+--------------------+ through tcp socket +--------------------+
|
----------------------------------------------------------------------------------------------------
|
your computer | remote computer
|
obstacle
SOCCCKS est un proxy SOCKS5 séparé. Il vous permet d'accéder à certaines ressources qui sont derrière un obstacle via une prise SCOCKS5. Les données entre SOCCCKS-CLIENT et SOCCCKS-Server sont chiffrées (AES-256-CFB) et aucune fonctionnalité.
go get github.com/davidqhr/socccks/cli/socccks-servergo get github.com/davidqhr/socccks/cli/socccks-client # config.example.yml
{
"address" : " 0.0.0.0 " ,
"users" : {
"david" : 8112 ,
"monika" : 8113
}
}
socccks-server -c config.example.ymlsocccks-client -s server_ip:server_port -l bindaddress:port -p pass
curl --socks5-hostname bindaddress:port https://www.google.com -v
# eg:
socccks-client -s 192.168.1.132:8113 -l localhost:1090 -p david
curl --socks5-hostname localhost:1090 https://www.google.com -vMit