{"id":13578513,"url":"https://github.com/dizda/fast-socks5","last_synced_at":"2026-01-20T06:08:58.812Z","repository":{"id":38423907,"uuid":"233554475","full_name":"dizda/fast-socks5","owner":"dizda","description":"Fast SOCKS5 TCP and UDP client/server implementation written in Rust async (with tokio)","archived":false,"fork":false,"pushed_at":"2025-07-24T03:58:04.000Z","size":187,"stargazers_count":515,"open_issues_count":2,"forks_count":87,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-08-12T01:39:13.565Z","etag":null,"topics":["async","async-std","rust","socks5","socks5-proxy"],"latest_commit_sha":null,"homepage":"https://anyip.io/","language":"Rust","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/dizda.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}},"created_at":"2020-01-13T09:07:49.000Z","updated_at":"2025-08-05T14:18:24.000Z","dependencies_parsed_at":"2024-04-01T08:23:29.139Z","dependency_job_id":"8121c57e-8904-43fc-8e7f-d3302ca4f3b6","html_url":"https://github.com/dizda/fast-socks5","commit_stats":{"total_commits":76,"total_committers":8,"mean_commits":9.5,"dds":"0.32894736842105265","last_synced_commit":"b792d0095c66269d436128002f2c511a657ffd95"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/dizda/fast-socks5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizda%2Ffast-socks5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizda%2Ffast-socks5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizda%2Ffast-socks5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizda%2Ffast-socks5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dizda","download_url":"https://codeload.github.com/dizda/fast-socks5/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizda%2Ffast-socks5/sbom","scorecard":{"id":345602,"data":{"date":"2025-08-11","repo":{"name":"github.com/dizda/fast-socks5","commit":"55cf325f0f39b5f223298f818d8ac8013109fc84"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":2,"reason":"Found 4/17 approved changesets -- score normalized to 2","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Maintained","score":5,"reason":"7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 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"}}]},"last_synced_at":"2025-08-18T06:57:35.774Z","repository_id":38423907,"created_at":"2025-08-18T06:57:35.775Z","updated_at":"2025-08-18T06:57:35.775Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27685505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["async","async-std","rust","socks5","socks5-proxy"],"created_at":"2024-08-01T15:01:31.283Z","updated_at":"2025-12-12T15:33:12.469Z","avatar_url":"https://github.com/dizda.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"[![License](https://img.shields.io/github/license/dizda/fast-socks5.svg)](https://github.com/dizda/fast-socks5)\n[![crates.io](https://img.shields.io/crates/v/fast-socks5.svg)](https://crates.io/crates/fast-socks5)\n[![dependency status](https://deps.rs/repo/github/dizda/fast-socks5/status.svg)](https://deps.rs/repo/github/dizda/fast-socks5)\n[![Release](https://img.shields.io/github/release/dizda/fast-socks5.svg)](https://github.com/dizda/fast-socks5/releases)\n\n\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://anyip.io/\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/user-attachments/assets/2582791e-0b95-402a-b8b0-cb7290236c05\"\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://github.com/user-attachments/assets/fa0187ae-e322-4b7e-9770-eade281ff9d8\"\u003e\n      \u003cimg alt=\"anyIP Logo\" src=\"https://github.com/user-attachments/assets/fa0187ae-e322-4b7e-9770-eade281ff9d8\" width=\"200\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eFast SOCKS5 TCP and UDP client/server library for Rust async (Tokio)\u003c/h4\u003e\n\n---\n\n\n## Features\n\n- An `async`/`.await` [SOCKS5](https://tools.ietf.org/html/rfc1928) implementation.\n- An `async`/`.await` [SOCKS4 Client](https://www.openssh.com/txt/socks4.protocol) implementation.\n- An `async`/`.await` [SOCKS4a Client](https://www.openssh.com/txt/socks4a.protocol) implementation.\n- No **unsafe** code\n- Built on top of the [Tokio](https://tokio.rs/) runtime\n- Ultra lightweight and scalable\n- No system dependencies\n- Cross-platform\n- Infinitely extensible, explicit server API based on typestates for safety\n  - You control the request handling, the library only ensures you follow the proper protocol flow\n  - Can skip DNS resolution\n  - Can skip the authentication/handshake process (not RFC-compliant, for private use, to save on useless round-trips)\n  - Instead of proxying in-process, swap out `run_tcp_proxy` for custom handling to build a router or to use a custom accelerated proxying method\n- Authentication methods:\n  - No-Auth method (`0x00`)\n  - Username/Password auth method (`0x02`)\n  - Custom auth methods can be implemented on the server side via the `AuthMethod` Trait\n    - Multiple auth methods with runtime negotiation can be supported, with fast *static* dispatch (enums can be generated with the `auth_method_enums` macro)\n- UDP is supported\n- All SOCKS5 RFC errors (replies) should be mapped\n- `IPv4`, `IPv6`, and `Domains` types are supported\n- Exhaustive [`examples`](https://github.com/dizda/fast-socks5/tree/master/examples) are provided that can be run immediately:\n  - client\n  - server\n  - custom_auth_server\n  - router\n  - udp_client\n\n\nThis library is maintained by [anyip.io](https://anyip.io/) a residential and mobile socks5 proxy provider.\n\n## Install\n\nOpen in [crates.io](https://crates.io/crates/fast-socks5).\n\n\n## Examples\n\nPlease check [`examples`](https://github.com/dizda/fast-socks5/tree/master/examples) directory.\n\n```bash\n# Run client\nRUST_LOG=debug cargo run --example client -- --socks-server 127.0.0.1:1337 --username admin --password password -a perdu.com -p 80\n\n# Run server\nRUST_LOG=debug cargo run --example server -- --listen-addr 127.0.0.1:1337 password -u admin -p password\n\n# Test it with cURL\ncurl -v --proxy socks5://admin:password@127.0.0.1:1337 https://ipapi.co/json/\n```\n\n\n## Inspired by\n\nThanks to all these SOCKS5 projects\n\n- https://github.com/sfackler/rust-socks/blob/master/src/v5.rs\n- https://github.com/shadowsocks/shadowsocks-rust/blob/master/src/relay/socks5.rs\n- https://github.com/ylxdzsw/v2socks/blob/master/src/socks.rs\n\n## Further Considerations\n\n- Implementation made with Tokio-codec https://github.com/yfaming/yimu-rs/blob/master/src/socks5.rs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdizda%2Ffast-socks5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdizda%2Ffast-socks5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdizda%2Ffast-socks5/lists"}