项目作者: davidqhr

项目描述 :
Socccks is a shadowsocks like separated socks5 proxy
高级语言: Go
项目地址: git://github.com/davidqhr/socccks.git
创建时间: 2017-03-26T16:48:46Z
项目社区:https://github.com/davidqhr/socccks

开源协议:MIT License

下载


Socccks

Build Status
Go Report Card

I create this repo to learn golang, socks5 protocol and shadowsocks(ss).

  1. obstacle
  2. |
  3. |
  4. |
  5. +--------------------+ | +--------------------+
  6. | your processes | | | real destination |
  7. +--------------------+ | +--------------------+
  8. | | |
  9. | | |
  10. socks5 protocol | | |
  11. | | |
  12. | | |
  13. +--------------------+ Encrypted Data pipe +--------------------+
  14. | socccks-client | <--------------------------------------> | socccks-server |
  15. +--------------------+ through tcp socket +--------------------+
  16. |
  17. ----------------------------------------------------------------------------------------------------
  18. |
  19. your computer | remote computer
  20. |
  21. obstacle

Socccks is a separated socks5 proxy. It allows you to access some resources that are behind a obstacle through a socks5 socket. The Data between socccks-client and socccks-server is encryped(aes-256-cfb) and no features.

install

  • install golang
  • install server: go get github.com/davidqhr/socccks/cli/socccks-server
  • install client: go get github.com/davidqhr/socccks/cli/socccks-client

usage

server side

  1. # config.example.yml
  2. {
  3. "address": "0.0.0.0",
  4. "users": {
  5. "david": 8112,
  6. "monika": 8113
  7. }
  8. }
  1. socccks-server -c config.example.yml

client side

  1. socccks-client -s server_ip:server_port -l bindaddress:port -p pass
  2. curl --socks5-hostname bindaddress:port https://www.google.com -v
  3. # eg:
  4. socccks-client -s 192.168.1.132:8113 -l localhost:1090 -p david
  5. curl --socks5-hostname localhost:1090 https://www.google.com -v

Licence

MIT