{"id":20279548,"url":"https://github.com/xukeawsl/coro_socks","last_synced_at":"2025-07-11T14:16:41.486Z","repository":{"id":241360825,"uuid":"805719673","full_name":"xukeawsl/coro_socks","owner":"xukeawsl","description":"A high-performance socks5 server implemented using C++20 asio coroutine and asiomp","archived":false,"fork":false,"pushed_at":"2025-02-15T05:50:00.000Z","size":3438,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T06:28:59.540Z","etag":null,"topics":["asio","cpp20-coroutine","linux-platform","socks5-server"],"latest_commit_sha":null,"homepage":"","language":"C++","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/xukeawsl.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":"2024-05-25T09:17:21.000Z","updated_at":"2025-02-15T05:50:03.000Z","dependencies_parsed_at":"2024-06-21T01:54:40.085Z","dependency_job_id":"25db8e08-f651-4bb8-8cb2-b750d1d36497","html_url":"https://github.com/xukeawsl/coro_socks","commit_stats":null,"previous_names":["xukeawsl/coro_socks"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xukeawsl%2Fcoro_socks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xukeawsl%2Fcoro_socks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xukeawsl%2Fcoro_socks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xukeawsl%2Fcoro_socks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xukeawsl","download_url":"https://codeload.github.com/xukeawsl/coro_socks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241773256,"owners_count":20018064,"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","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":["asio","cpp20-coroutine","linux-platform","socks5-server"],"created_at":"2024-11-14T13:31:23.817Z","updated_at":"2025-03-04T02:40:30.319Z","avatar_url":"https://github.com/xukeawsl.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coro_socks\n[![License](https://img.shields.io/npm/l/mithril.svg)](https://github.com/xukeawsl/coro_socks/blob/master/LICENSE)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/0578118cbfb246d0ab6b74efc984c754)](https://app.codacy.com/gh/xukeawsl/coro_socks/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n\nA high-performance socks5 server implemented using C++20 asio coroutine and [asiomp](https://github.com/xukeawsl/asiomp)\n\n## Protocol support\n\n* \"No Auth\" mode\n\n* User/Password authentication\n\n* Support for the `CONNECT` command\n\n* Support for the `UDP ASSOCIATE` command\n\n* Support IPv4/IPv6 and DNS resolution\n\n## Features\n\n* Only supports Linux platform\n\n* Using multiple processes and coroutines\n\n* Support daemon processes mode\n\n* Support docker-compose deployment\n\n## Build with CMake\n\n```bash\ngit clone --recurse-submodules https://github.com/xukeawsl/coro_socks.git\nmkdir build \u0026\u0026 cd build\ncmake -DCMAKE_BUILD_TYPE=Release ..\ncmake --build .\n```\n\n## Configuration\n\n```yaml\nserver:\n  # listening address (default 0.0.0.0)\n  address: '0.0.0.0'\n\n  # listening port (default 1080)\n  port: 1080\n\n  # when num == 0, use default worker_process_num\n  # when num == 1, use singal worker process mode\n  # when num  \u003e 1, use master-worker process mode\n  worker_process_num: 0\n\n  # work in daemon mode (default false)\n  daemon: false\n\n  protocol:\n    # keep alive time (default 30s)\n    keep_alive_time: 30\n\n    # duration for check keep alive (default 1s)\n    check_duration: 1\n\n    # enable username/password authentication (default false)\n    auth: false\n\n    # setting your username and password when enable auth\n    credentials:\n      - username: 'coro_socks_user1'\n        password: 'coro_socks_pswd1'\n      - username: 'coro_socks_user2'\n        password: 'coro_socks_pswd2'\n```\n\n## Deploy with docker-compose\n\n```bash\ngit clone https://github.com/xukeawsl/coro_socks.git\ncd docker\ndocker-compose up -d\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxukeawsl%2Fcoro_socks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxukeawsl%2Fcoro_socks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxukeawsl%2Fcoro_socks/lists"}