• Stars
    star
    3,249
  • Rank 13,813 (Top 0.3 %)
  • Language Makefile
  • License
    GNU General Publi...
  • Created over 10 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Shadowsocks-libev for OpenWrt/LEDE

Shadowsocks-libev for OpenWrt

Download

简介

本项目是 shadowsocks-libev 在 OpenWrt 上的移植

特性

软件包只包含 shadowsocks-libev 的可执行文件, 可与 luci-app-shadowsocks 搭配使用
可编译两种版本

  • shadowsocks-libev

    客户端/
    └── usr/
        └── bin/
            ├── ss-local       // 提供 SOCKS 代理
            ├── ss-redir       // 提供透明代理, 从 v2.2.0 开始支持 UDP
            └── ss-tunnel      // 提供端口转发, 可用于 DNS 查询
    
  • shadowsocks-libev-server

    服务端/
    └── usr/
        └── bin/
            └── ss-server      // 服务端可执行文件
    

编译

  • 从 OpenWrt 的 SDK 编译

    # 以 ar71xx 平台为例
    tar xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
    cd OpenWrt-SDK-ar71xx-*
    # 添加 feeds
    git clone https://github.com/shadowsocks/openwrt-feeds.git package/feeds
    # 获取 shadowsocks-libev Makefile
    git clone https://github.com/shadowsocks/openwrt-shadowsocks.git package/shadowsocks-libev
    # 选择要编译的包 Network -> shadowsocks-libev
    make menuconfig
    # 开始编译
    make package/shadowsocks-libev/compile V=99

配置

软件包本身并不包含配置文件, 配置文件内容为 JSON 格式, 支持的键:

键名 数据类型 说明
server 字符串 服务器地址, 可以是 IP 或者域名
server_port 整数值 服务器端口号
local_address 字符串 本地绑定的 IP 地址, 默认 127.0.0.1
local_port 整数值 本地绑定的端口号
password 字符串 服务端设置的密码
method 字符串 加密方式, 详情参考
timeout 整数值 超时时间(秒), 默认 60
plugin 字符串 插件名称, eg: obfs-local
plugin_opts 字符串 插件参数, eg: obfs=http;obfs-host=www.bing.com
fast_open 布尔值 是否启用 TCP Fast Open
nofile 整数值 设置 Linux ulimit
mode 枚举值 转发模式, 可用值: [tcp_only, udp_only, tcp_and_udp]
mptcp 布尔值 是否启用 Multipath TCP
reuse_port 布尔值 是否启用端口复用, 需要内核版本大于 3.9.0

More Repositories

1

shadowsocks-windows

A C# port of shadowsocks
C#
58,398
star
2

shadowsocks-android

A shadowsocks client for Android
Kotlin
35,072
star
3

shadowsocks

Python
33,580
star
4

ShadowsocksX-NG

Next Generation of ShadowsocksX
Swift
32,386
star
5

shadowsocks-rust

A Rust port of shadowsocks
Rust
8,442
star
6

shadowsocks-iOS

Removed according to regulations.
Objective-C
8,181
star
7

shadowsocks-qt5

A cross-platform shadowsocks GUI client
C++
7,971
star
8

shadowsocks-go

go port of shadowsocks (Deprecated)
Go
6,610
star
9

shadowsocks-manager

A shadowsocks manager tool for multi user and traffic control.
JavaScript
4,116
star
10

ChinaDNS

Protect yourself against DNS poisoning in China.
C
3,596
star
11

v2ray-plugin

A SIP003 plugin based on v2ray
Go
2,689
star
12

simple-obfs

A simple obfuscating tool (Deprecated)
C
2,361
star
13

shadowsocks-gui

Shadowsocks GUI client
CoffeeScript
2,013
star
14

libQtShadowsocks

A lightweight and ultra-fast shadowsocks library written in C++14 with Qt framework
C++
1,500
star
15

shadowsocks-nodejs

CoffeeScript
1,246
star
16

luci-app-shadowsocks

OpenWrt/LEDE LuCI for Shadowsocks-libev
Lua
1,149
star
17

shadowsocks-org

www.shadowsocks.org
HTML
877
star
18

ChinaDNS-Python

Protect yourself against DNS poisoning in China.
Python
767
star
19

shadowsocks-chromeapp

Chrome client for shadowsocks
CoffeeScript
698
star
20

kcptun-android

kcptun for Android.
Shell
570
star
21

simple-obfs-android

A simple obfuscating tool for Android
C
440
star
22

v2ray-plugin-android

A SIP003 V2ray plugin on Android
Kotlin
439
star
23

crypto2

The fastest cryptographic library in the galaxy
Rust
350
star
24

ShadowDNS

A DNS forwarder using Shadowsocks as the server
Python
334
star
25

papers

List of papers related to shadowsocks
211
star
26

shadowsocks-dotcloud

a port of shadowsocks via websockets protocol, able to tunnel through HTTP proxy
CoffeeScript
202
star
27

shadowsocks-hub

A web app managing shadowsocks users, servers, nodes, products, accounts, and traffic. Suitable for internal use by companies, organizations, and friends.
JavaScript
133
star
28

qtun

Yet another SIP003 plugin based on IETF-QUIC
Rust
122
star
29

shadow-shop

Building highly customizable e-commerce websites selling shadowsocks services, using Wordpress and WooCommerce
PHP
107
star
30

tun2socks-iOS

tun2socks as a library for iOS apps
96
star
31

Shadowsocks-Net

✈ A light-weight, cross-platform, extensible Shadowsocks developed in C# (.NET Core).
C#
95
star
32

shadowsocks-restful-api

Secure, reliable, standard restful api for managing shadowsocks-libev
JavaScript
83
star
33

stackscript

Shell
73
star
34

libsscrypto

Build libsscrypto.dll for shadowsocks-windows.
C
61
star
35

iptables

iptables is the userspace command line program used to configure the Linux 2.4.x and later packet filtering ruleset. It is targeted towards system administrators.
C
56
star
36

openwrt-feeds

OpenWrt/LEDE feeds
Makefile
54
star
37

shadowsocks-crypto

Shadowsocks Crypto
Rust
46
star
38

libev

A fork of libev
Shell
37
star
39

sysproxy

System Proxy Agent for Shadowsocks Windows
C
32
star
40

shadowsocks-hub-api

A set of open and standard restful APIs for managing shadowsocks users, servers, nodes, products, accounts, and traffic.
JavaScript
27
star
41

openssl-android

A fork of OpenSSL for shadowsocks-android
C
27
star
42

tun2socks

Rust
25
star
43

android-ndk-go

Circle CI Android image with NDK and golang + rust, for building golang and/or rust for NDK.
Dockerfile
20
star
44

libudns

A fork of libudns
C
13
star
45

overture-android

A wrapper of overture for shadowsocks-android
Shell
10
star
46

tls

TLS version 1.3
Rust
8
star
47

iana-ip-db

IANA IP Number Resources
Rust
5
star