{"id":42885121,"url":"https://github.com/realzhangliu/socks5-go","last_synced_at":"2026-01-30T14:47:59.249Z","repository":{"id":49245542,"uuid":"336268678","full_name":"realzhangliu/socks5-go","owner":"realzhangliu","description":"PURE GOLANG SOCKS5 SERVER ,FULL PROTOCOL FEATURES!","archived":false,"fork":false,"pushed_at":"2025-06-10T15:01:31.000Z","size":105,"stargazers_count":79,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-06-10T16:36:19.361Z","etag":null,"topics":["golang","socks5","udp-associate"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realzhangliu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-05T12:42:50.000Z","updated_at":"2025-06-10T15:01:35.000Z","dependencies_parsed_at":"2024-06-18T22:55:41.655Z","dependency_job_id":"ba20de7a-b208-4561-9e49-aebbdd792236","html_url":"https://github.com/realzhangliu/socks5-go","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/realzhangliu/socks5-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangliu%2Fsocks5-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangliu%2Fsocks5-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangliu%2Fsocks5-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangliu%2Fsocks5-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realzhangliu","download_url":"https://codeload.github.com/realzhangliu/socks5-go/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangliu%2Fsocks5-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28914826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","socks5","udp-associate"],"created_at":"2026-01-30T14:47:54.817Z","updated_at":"2026-01-30T14:47:59.238Z","avatar_url":"https://github.com/realzhangliu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# socks5-go 🎉\n![CircleCI](https://img.shields.io/circleci/build/github/realzhangliu/socks5-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/realzhangliu/socks5-go)](https://goreportcard.com/report/github.com/realzhangliu/socks5-go)\n\nInspired by go-socks5,This package provides full functionality of [socks5 protocol](https://www.rfc-editor.org/rfc/pdfrfc/rfc1928.txt.pdf).\n\n\u003eThe protocol described here is designed to provide a framework for client-server applications in both the TCP and UDP domains to conveniently and securely use the services of a network firewall.\n\nAdvantages👍\n=======\n- A painless host service\n- Support UDP ASSOCIATE (game network accelerator)\n![SSTAP](https://raw.githubusercontent.com/realzhangliu/socks5-go/dev/misc/sstap.jpg)\n  \n\nFeature 🎯\n=======\nThe package has the following features:\n- [x] \"No Auth\" mode\n- [x] User/Password authentication mode\n- [x] Support for the **CONNECT** command\n- [x] Support for the **BIND** command(require the client to accept connections from the server,like FTP etc.)\n- [x] Support for the **UDP ASSOCIATE** command\n- [x] TCP connection optimize and copy buffer \n- [ ] UDP sessions management\n- [ ] UDP sessions timeout clearing mechanism missing\n- [ ] UDP session memory pool\n- [ ] Monitoring index (active connection count,traffic statistics,Delay statistics)\n- [ ] Unit tests\n\nDownload📶\n=======\nGet the latest version on [**Release**](https://github.com/realzhangliu/socks5-go/releases)\n\nStart with terminal😀\n=======\nyou may need to add run permission first\n```shell\nchmod +x socks5g-linux-amd64\n```\nPort only(No Auth)\n```shell\n./socks5g-linux-amd64 1080\n```\nPort and Username/Password\n```shell\n./socks5g-linux-amd64 1080 admin 123\n```\n\nStart with Docker 😘\n=======\nmodify the docker-compose.yml file, changing environment variables SOCKS5_PORT,SOCKS5_USER,SOCKS5_PASSWORD to the values you want.\n```shell\ngit pull https://github.com/realzhangliu/socks5-go.git\ncd socks5-go\ndocker-compose up -d\n```\n\nExample 👌\n=======\n```shell \ngo get github.com/realzhangliu/socks5-go\n```\n```go\npackage main\n\nimport (\n\t\"github.com/realzhangliu/socks5-go\"\n\t\"log\"\n)\n\nfunc main() {\n\t//var config socks5.Config\n\t//Implement yourself Config , default is provided.\n\tS5Server := socks5.NewSocks5Server(nil)\n\tlog.Println(S5Server.Listen())\n}\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealzhangliu%2Fsocks5-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealzhangliu%2Fsocks5-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealzhangliu%2Fsocks5-go/lists"}