{"id":42844055,"url":"https://github.com/dosgo/xsocks","last_synced_at":"2026-01-30T11:55:08.538Z","repository":{"id":48276357,"uuid":"275302210","full_name":"dosgo/xsocks","owner":"dosgo","description":"A transparent proxy tool based on quic/websocket+tls.","archived":false,"fork":false,"pushed_at":"2026-01-28T12:52:05.000Z","size":64224,"stargazers_count":19,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-29T05:09:33.714Z","etag":null,"topics":[],"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/dosgo.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-06-27T04:53:27.000Z","updated_at":"2026-01-28T12:52:08.000Z","dependencies_parsed_at":"2024-01-02T11:26:26.920Z","dependency_job_id":"91e2a3f4-585f-42c0-871f-c4d62775bb86","html_url":"https://github.com/dosgo/xsocks","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/dosgo/xsocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dosgo%2Fxsocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dosgo%2Fxsocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dosgo%2Fxsocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dosgo%2Fxsocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dosgo","download_url":"https://codeload.github.com/dosgo/xsocks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dosgo%2Fxsocks/sbom","scorecard":{"id":352838,"data":{"date":"2025-08-11","repo":{"name":"github.com/dosgo/xsocks","commit":"ebb62f5d52e6d25fcd50ade633fe2eeb9bd78ae9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: cli/upx.exe:1"],"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":"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":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-3302 / GHSA-px8v-pp82-rcvr","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-3333","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-18T08:45:43.760Z","repository_id":48276357,"created_at":"2025-08-18T08:45:43.760Z","updated_at":"2025-08-18T08:45:43.760Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28912139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T08:15:08.179Z","status":"ssl_error","status_checked_at":"2026-01-30T08:14:31.507Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-01-30T11:55:07.965Z","updated_at":"2026-01-30T11:55:08.533Z","avatar_url":"https://github.com/dosgo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# xSocks\r\n\r\n\r\n一个基于quic/websocket+tls的透明代理工具，支持智能DNS，本软件只用于学习网络原理使用编程学习练手,请勿用于非法用途，后果自负。\r\n\r\n\r\n# 优点\r\n\r\n 1.部署超级简单\r\n \r\n 2.纯go语言编写交叉编译简单，移植简单\r\n \r\n 3.维护简单要换传输协议，只要在server client目录各加一个实现文件，然后tunnel增加一个类型即可。\r\n\r\n\r\n\r\n\r\n# 编译方法\r\n1.git clone https://github.com/dosgo/xsocks.git\r\n\r\n2.cd cli\r\n\r\n3.go build server.go  //编译服务器端\r\n\r\n4.go build client.go  //编译客户端\r\n\r\n\r\n# 使用方法\r\n一.自签名证书使用\r\n\r\n  1.运行server -webPort 443 -quicPort 5002  -password  123456  //运行启动后会在当前目录生成你xx_server.key/xx_server.perm/xx_ca.perm/xx_ca.key; 4个文件。\r\n  \r\n  2.使用quic协议 client  -sock5Addr \"127.0.0.1:6000\"  -serverAddr \"quic://你的vps公网Ip:5002\" -password 123456   //启动好后使用SwitchyOmega填写127.0.0.1:6000地址就可以了\r\n  \r\n  3.使用websocket+tls client -caFile \"第一步生成的xx_ca.perm\" -sock5Addr \"127.0.0.1:6000\"  -serverAddr \"wss://你的vps公网Ip\" -password 123456  //启动好后使用SwitchyOmega填写127.0.0.1:6000地址就可以了\r\n  \r\n \r\n二.收费tls证书使用\r\n   \r\n  1.运行server -webPort 443 -quicPort 5002  -password  123456 -certFile \"购买的收费证书路径\"  -keyFile \"私钥路径\" \r\n  \r\n  2.使用quic协议 client -sock5Addr \"127.0.0.1:6000\"  -serverAddr \"quic://你的vps公网Ip:5002\" -password 123456   //启动好后使用SwitchyOmega填写127.0.0.1:6000地址就可以了\r\n  \r\n  3.使用websocket+tls client   -sock5Addr \"127.0.0.1:6000\"  -serverAddr \"wss://你证书签名的域名\" -password 123456  //启动好后使用SwitchyOmega填写127.0.0.1:6000地址就可以了\r\n  \r\n# Android\r\n  https://github.com/dosgo/xsocks-android\r\n  \r\n\r\n# 感谢\r\n  github.com/google/netstack\r\n  \r\n  github.com/yinghuocho/gotun2socks\r\n  \r\n  github.com/miekg/dns\r\n  \r\n  github.com/xtaci/smux\r\n  \r\n  github.com/hashicorp/yamux\r\n  \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdosgo%2Fxsocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdosgo%2Fxsocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdosgo%2Fxsocks/lists"}