{"id":13775965,"url":"https://github.com/honwen/openwrt-shadowsocksr","last_synced_at":"2025-03-22T16:21:06.980Z","repository":{"id":110399247,"uuid":"98545356","full_name":"honwen/openwrt-shadowsocksr","owner":"honwen","description":"ShadowsocksR-libev for OpenWrt/LEDE","archived":false,"fork":false,"pushed_at":"2022-07-27T14:45:08.000Z","size":261,"stargazers_count":145,"open_issues_count":1,"forks_count":49,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-02-03T18:46:35.020Z","etag":null,"topics":["lede","openwrt","shadowsocksr"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"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/honwen.png","metadata":{"files":{"readme":"README.EN.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}},"created_at":"2017-07-27T14:25:56.000Z","updated_at":"2025-01-18T17:06:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d768be2-5ee9-4c4d-b7a0-f36875fdc0bb","html_url":"https://github.com/honwen/openwrt-shadowsocksr","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Fopenwrt-shadowsocksr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Fopenwrt-shadowsocksr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Fopenwrt-shadowsocksr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Fopenwrt-shadowsocksr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/honwen","download_url":"https://codeload.github.com/honwen/openwrt-shadowsocksr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244983518,"owners_count":20542481,"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","shadowsocksr"],"created_at":"2024-08-03T17:01:56.021Z","updated_at":"2025-03-22T16:21:06.959Z","avatar_url":"https://github.com/honwen.png","language":"Makefile","funding_links":[],"categories":["\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"cb16466a31a167bb61f39e2a4a85f449\"\u003e\u003c/a\u003eShadowsocks"],"readme":"ShadowsocksR-libev for OpenWrt\n===\n\nIntroduction\n---\n\n This project it [shadowsocksr-libev][1] make file for LEDE/OpenWrt  \n\nFeatures\n---\n\nPackage contains only [shadowsocksr-libev][1]\n\n - shadowsocksr-libev\n\n   ```\n   /\n   └── usr/\n       └── bin/\n           ├── ssr-local       // SOCKS Proxy\n           ├── ssr-redir       // Transparent proxy with UDP support\n           └── ssr-tunnel      // Provide port forwarding for DNS queries\n   ```\n\nCompile\n---\n\n - Compile with OpenWrt [SDK][S]\n\n   ```bash\n   # Taking AR71XX platform as an example\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   # Add feeds\n   git clone https://github.com/paulgit/openwrt-feeds.git package/feeds\n   # Get shadowsocks-libev Makefile\n   git clone https://github.com/paulgit/openwrt-shadowsocksr.git package/feeds/shadowsocksr-libev\n   # Select packages to compile Network -\u003e shadowsocksr-libev (note new static link options)\n   make menuconfig\n   # Start compiling\n   make package/shadowsocksr-libev/compile V=99\n   ```\n\nConfiguration\n---\n\n   The package itself does not contain a configuration file, the configuration file format is JSON, and supports the following keys:  \n\n   Key Name       | Data Type  | Descriptions\n   ---------------|------------|-----------------------------------------------\n   server         | String     | Server address, can be IP or domain name\n   server_port    | Number     | Server port number, less than 65535\n   local_address  | String     | Local bound IP address, default 127.0.0.1\n   local_port     | Number     | Local bound port number less than 65535\n   password       | String     | Server password\n   method         | String     | Encryption method, [Details][E]\n   timeout        | Number     | Timeout Time (seconds), default 60\n   fast_open      | Boolean    | Whether [TCP-Fast-Open][F] is enabled and applies only to ssr-local\n   nofile         | Number     | Setup Linux ulimit\n   protocol       | String     | [Protocol Plugin][P], Recommended to use ```orgin, auth_aes128_{md5, sha1}, auth_chain_{a, b, c, d, e, f}```\n   obfs           | String     | [Obsfuscation Plugin][P], Recommended to use ```plain, http_{simple, post}, tls1.2_ticket_auth```\n\n\n  [1]: https://github.com/shadowsocksrr/shadowsocksr-libev/tree/Akkariiin/master\n  [E]: http://shadowsocks.org/en/spec/Stream-Ciphers.html\n  [F]: https://github.com/shadowsocks/shadowsocks/wiki/TCP-Fast-Open\n  [S]: https://wiki.openwrt.org/doc/howto/obtain.firmware.sdk\n  [P]: https://github.com/shadowsocksrr/shadowsocks-rss/blob/master/ssr.md\n\nUsage\n---\n\n - Taking ssr-redir as an example\n\n   ```\n   # ssr-redir -h\n\n   shadowsocks-libev 2018-03-07 with mbed TLS 2.8.0\n\n     usage:\n\n       ss-redir\n\n          -s \u003cserver_host\u003e           Host name or IP address of your remote server.\n          -p \u003cserver_port\u003e           Port number of your remote server.\n          -l \u003clocal_port\u003e            Port number of your local server.\n          -k \u003cpassword\u003e              Password of your remote server.\n          -m \u003cencrypt_method\u003e        Encrypt method: table, rc4, rc4-md5,\n                                     aes-128-cfb, aes-192-cfb, aes-256-cfb,\n                                     aes-128-ctr, aes-192-ctr, aes-256-ctr,\n                                     bf-cfb, camellia-128-cfb, camellia-192-cfb,\n                                     camellia-256-cfb, cast5-cfb, des-cfb,\n                                     idea-cfb, rc2-cfb, seed-cfb, salsa20,\n                                     chacha20 and chacha20-ietf.\n                                     The default cipher is rc4-md5.\n\n          -o \u003cobfs\u003e                  Obfs of your remote server: plain,\n                                     http_simple, http_post and tls1.2_ticket_auth.\n          -g \u003cobfs-param\u003e            Obfs-Param of your remote server.\n          -O \u003cprotocol\u003e              Protocol of your remote server: orgin,\n                                     auth_sha1, auth_sha1_v2, auth_sha1_v4,\n                                     auth_aes128_md5, auth_aes128_sha1,\n                                     auth_chain_a, auth_chain_b, auth_chain_c,\n                                     auth_chain_d, auth_chain_e and auth_chain_f.\n          -G \u003cprotocol-param\u003e        Protocol-Param of your remote server.\n\n          [-a \u003cuser\u003e]                Run as another user.\n          [-f \u003cpid_file\u003e]            The file path to store pid.\n          [-t \u003ctimeout\u003e]             Socket timeout in seconds.\n          [-c \u003cconfig_file\u003e]         The path to config file.\n          [-n \u003cnumber\u003e]              Max number of open files.\n          [-b \u003clocal_address\u003e]       Local address to bind.\n\n          [-u]                       Enable UDP relay.\n                                     TPROXY is required in redir mode.\n          [-U]                       Enable UDP relay and disable TCP relay.\n\n          [--mtu \u003cMTU\u003e]              MTU of your network interface.\n          [--mptcp]                  Enable Multipath TCP on MPTCP Kernel.\n\n          [-v]                       Verbose mode.\n          [-h, --help]               Print this message.\n\n   ```\n\nExclude Error\n---\n   Error Message: ```error: MBEDTLS_CAMELLIA_C required```  \n   Solution: ```rm -rf package/libs/mbedtls```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonwen%2Fopenwrt-shadowsocksr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonwen%2Fopenwrt-shadowsocksr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonwen%2Fopenwrt-shadowsocksr/lists"}