{"id":13539539,"url":"https://github.com/shadowsocks/openwrt-shadowsocks","last_synced_at":"2025-05-14T22:07:22.546Z","repository":{"id":18531284,"uuid":"21731829","full_name":"shadowsocks/openwrt-shadowsocks","owner":"shadowsocks","description":"Shadowsocks-libev for OpenWrt/LEDE","archived":false,"fork":false,"pushed_at":"2020-11-18T12:33:58.000Z","size":514,"stargazers_count":3264,"open_issues_count":1,"forks_count":1764,"subscribers_count":282,"default_branch":"master","last_synced_at":"2025-04-13T18:44:34.497Z","etag":null,"topics":["lede","openwrt","shadowsocks-libev"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shadowsocks.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}},"created_at":"2014-07-11T10:09:05.000Z","updated_at":"2025-04-06T08:15:18.000Z","dependencies_parsed_at":"2022-07-10T22:16:09.136Z","dependency_job_id":null,"html_url":"https://github.com/shadowsocks/openwrt-shadowsocks","commit_stats":null,"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fopenwrt-shadowsocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fopenwrt-shadowsocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fopenwrt-shadowsocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fopenwrt-shadowsocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowsocks","download_url":"https://codeload.github.com/shadowsocks/openwrt-shadowsocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235695,"owners_count":22036963,"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":["lede","openwrt","shadowsocks-libev"],"created_at":"2024-08-01T09:01:27.422Z","updated_at":"2025-05-14T22:07:17.435Z","avatar_url":"https://github.com/shadowsocks.png","language":"Makefile","funding_links":[],"categories":["\u003ca id=\"1a9934198e37d6d06b881705b863afc8\"\u003e\u003c/a\u003e通信\u0026\u0026代理\u0026\u0026反向代理\u0026\u0026隧道","Makefile","\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"f932418b594acb6facfc35c1ec414188\"\u003e\u003c/a\u003eSocks\u0026\u0026ShadowSocksXx","\u003ca id=\"cb16466a31a167bb61f39e2a4a85f449\"\u003e\u003c/a\u003eShadowsocks"],"readme":"Shadowsocks-libev for OpenWrt\n===\n\n[![Download][B]][2]  \n\n简介\n---\n\n 本项目是 [shadowsocks-libev][1] 在 OpenWrt 上的移植  \n\n特性\n---\n\n软件包只包含 [shadowsocks-libev][1] 的可执行文件, 可与 [luci-app-shadowsocks][3] 搭配使用  \n可编译两种版本  \n\n - shadowsocks-libev\n\n   ```\n   客户端/\n   └── usr/\n       └── bin/\n           ├── ss-local       // 提供 SOCKS 代理\n           ├── ss-redir       // 提供透明代理, 从 v2.2.0 开始支持 UDP\n           └── ss-tunnel      // 提供端口转发, 可用于 DNS 查询\n   ```\n\n - shadowsocks-libev-server\n\n   ```\n   服务端/\n   └── usr/\n       └── bin/\n           └── ss-server      // 服务端可执行文件\n   ```\n\n编译\n---\n\n - 从 OpenWrt 的 [SDK][S] 编译\n\n   ```bash\n   # 以 ar71xx 平台为例\n   tar xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2\n   cd OpenWrt-SDK-ar71xx-*\n   # 添加 feeds\n   git clone https://github.com/shadowsocks/openwrt-feeds.git package/feeds\n   # 获取 shadowsocks-libev Makefile\n   git clone https://github.com/shadowsocks/openwrt-shadowsocks.git package/shadowsocks-libev\n   # 选择要编译的包 Network -\u003e shadowsocks-libev\n   make menuconfig\n   # 开始编译\n   make package/shadowsocks-libev/compile V=99\n   ```\n\n配置\n---\n\n   软件包本身并不包含配置文件, 配置文件内容为 JSON 格式, 支持的键:  \n\n   键名           | 数据类型 | 说明\n   ---------------|----------|-----------------------------------------------\n   server         | 字符串   | 服务器地址, 可以是 IP 或者域名\n   server_port    | 整数值   | 服务器端口号\n   local_address  | 字符串   | 本地绑定的 IP 地址, 默认 `127.0.0.1`\n   local_port     | 整数值   | 本地绑定的端口号\n   password       | 字符串   | 服务端设置的密码\n   method         | 字符串   | 加密方式, [详情参考][E]\n   timeout        | 整数值   | 超时时间（秒）, 默认 60\n   plugin         | 字符串   | 插件名称, eg: `obfs-local`\n   plugin_opts    | 字符串   | 插件参数, eg: `obfs=http;obfs-host=www.bing.com`\n   fast_open      | 布尔值   | 是否启用 [TCP Fast Open][F]\n   nofile         | 整数值   | 设置 Linux ulimit\n   mode           | 枚举值   | 转发模式, 可用值: [`tcp_only`, `udp_only`, `tcp_and_udp`]\n   mptcp          | 布尔值   | 是否启用 [Multipath TCP][M]\n   reuse_port     | 布尔值   | 是否启用端口复用, 需要内核版本大于 3.9.0\n\n\n  [1]: https://github.com/shadowsocks/shadowsocks-libev\n  [2]: https://github.com/shadowsocks/openwrt-shadowsocks/releases/latest\n  [B]: https://img.shields.io/github/release/shadowsocks/openwrt-shadowsocks.svg\n  [3]: https://github.com/shadowsocks/luci-app-shadowsocks\n  [A]: https://shadowsocks.org/en/spec/one-time-auth.html\n  [E]: https://github.com/shadowsocks/luci-app-shadowsocks/wiki/Encrypt-method\n  [F]: https://github.com/shadowsocks/shadowsocks/wiki/TCP-Fast-Open\n  [S]: https://wiki.openwrt.org/doc/howto/obtain.firmware.sdk\n  [M]: https://www.multipath-tcp.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowsocks%2Fopenwrt-shadowsocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowsocks%2Fopenwrt-shadowsocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowsocks%2Fopenwrt-shadowsocks/lists"}