{"id":19866087,"url":"https://github.com/things-go/go-socks5","last_synced_at":"2026-01-25T16:41:30.896Z","repository":{"id":45992371,"uuid":"256927057","full_name":"things-go/go-socks5","owner":"things-go","description":"socks5 server in pure Golang with much custom optional. Full TCP/UDP and IPv4/IPv6 support. ","archived":false,"fork":false,"pushed_at":"2025-12-18T23:48:12.000Z","size":267,"stargazers_count":548,"open_issues_count":12,"forks_count":89,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-12-21T23:07:57.951Z","etag":null,"topics":["socks5","socks5-client","socks5-server"],"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/things-go.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-19T06:05:29.000Z","updated_at":"2025-12-20T12:11:48.000Z","dependencies_parsed_at":"2023-02-18T23:45:21.422Z","dependency_job_id":"e556a529-5353-4ad5-b8c2-e7b4e77b987d","html_url":"https://github.com/things-go/go-socks5","commit_stats":null,"previous_names":["thinkgos/go-socks5"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/things-go/go-socks5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fgo-socks5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fgo-socks5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fgo-socks5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fgo-socks5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/things-go","download_url":"https://codeload.github.com/things-go/go-socks5/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fgo-socks5/sbom","scorecard":{"id":881197,"data":{"date":"2025-08-11","repo":{"name":"github.com/things-go/go-socks5","commit":"8948145949a74875a63adc7c3141bbd2a0eb76b9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 1/6 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Warn: no topLevel permission defined: .github/workflows/pr_review_dog.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yml:10","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/lint.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr_review_dog.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/pr_review_dog.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr_review_dog.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/pr_review_dog.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr_review_dog.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/pr_review_dog.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/things-go/go-socks5/release.yml/master?enable=pin","Info:   0 out of  12 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":8,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 14 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T08:16:07.475Z","repository_id":45992371,"created_at":"2025-08-24T08:16:07.475Z","updated_at":"2025-08-24T08:16:07.475Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28755558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"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":["socks5","socks5-client","socks5-server"],"created_at":"2024-11-12T15:24:58.037Z","updated_at":"2026-01-25T16:41:30.878Z","avatar_url":"https://github.com/things-go.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# go-socks5 \n\n[![GoDoc](https://godoc.org/github.com/things-go/go-socks5?status.svg)](https://godoc.org/github.com/things-go/go-socks5)\n[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go\u0026logoColor=white)](https://pkg.go.dev/github.com/things-go/go-socks5?tab=doc)\n![Action Status](https://github.com/things-go/go-socks5/workflows/Go/badge.svg)\n[![codecov](https://codecov.io/gh/things-go/go-socks5/branch/master/graph/badge.svg)](https://codecov.io/gh/things-go/go-socks5)\n[![Go Report Card](https://goreportcard.com/badge/github.com/things-go/go-socks5)](https://goreportcard.com/report/github.com/things-go/go-socks5)\n[![License](https://img.shields.io/github/license/things-go/go-socks5)](https://github.com/things-go/go-socks5/raw/master/LICENSE)\n[![Tag](https://img.shields.io/github/v/tag/things-go/go-socks5)](https://github.com/things-go/go-socks5/tags)\n\nProvides the `socks5` package that implements a [SOCKS5](http://en.wikipedia.org/wiki/SOCKS).\nSOCKS (Secure Sockets) is used to route traffic between a client and server through\nan intermediate proxy layer. This can be used to bypass firewalls or NATs.\n\n### Feature\n\n\nThe package has the following features:\n- Support socks5 server\n- Support TCP/UDP and IPv4/IPv6\n- Unit tests\n- \"No Auth\" mode\n- User/Password authentication optional user addr limit\n- Support for the CONNECT command\n- Support for the ASSOCIATE command\n- Rules to do granular filtering of commands\n- Custom DNS resolution\n- Custom goroutine pool\n- buffer pool design and optional custom buffer pool\n- Custom logger\n\n### TODO\n\nThe package still needs the following:\n- Support for the BIND command\n\n### Installation\n\nUse go get.\n```bash\n    go get github.com/things-go/go-socks5\n```\n\nThen import the socks5 server package into your own code.\n\n```bash\n    import \"github.com/things-go/go-socks5\"\n```\n\n### Example\n\nBelow is a simple example of usage, more see [example](https://github.com/things-go/go-socks5/tree/master/_example)\n\n[embedmd]:# (_example/main.go go)\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"os\"\n\n\t\"github.com/things-go/go-socks5\"\n)\n\nfunc main() {\n\t// Create a SOCKS5 server\n\tserver := socks5.NewServer(\n\t\tsocks5.WithLogger(socks5.NewLogger(log.New(os.Stdout, \"socks5: \", log.LstdFlags))),\n\t)\n\n\t// Create SOCKS5 proxy on localhost port 8000\n\tif err := server.ListenAndServe(\"tcp\", \":8000\"); err != nil {\n\t\tpanic(err)\n\t}\n}\n```\n\n### Reference\n- [rfc1928](https://www.ietf.org/rfc/rfc1928.txt) \n- original armon's [go-sock5](https://github.com/armon/go-socks5) library\n\n## License\n\nThis project is under MIT License. See the [LICENSE](LICENSE) file for the full license text.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthings-go%2Fgo-socks5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthings-go%2Fgo-socks5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthings-go%2Fgo-socks5/lists"}