Skip to content

Commit ae3f419

Browse files
Update
1 parent c3ab528 commit ae3f419

6 files changed

+31
-92
lines changed

1-buy-shadowsocks.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
## 普通版、高級版和旗艦版的區別
66

7-
普通版(Essential):適合偶爾使用,加速國外網站需求不强烈的客戶
8-
高級版(Premium):適合使用頻率較高,但對綫路不敏感的客戶
9-
旗艦版(Ultimate):適合對綫路敏感,要求速度保障的客戶
10-
定制版:目前暫時不開放
7+
Starter :適合偶爾使用,加速國外網站需求不强烈的客戶  
8+
Premium :適合使用頻率較高,但對綫路不敏感的客戶
9+
Ultimate :適合對綫路敏感,要求速度保障的客戶  
10+
IPv6 : 適合本地網絡支持 IPv6 環境的用戶使用
1111

1212
閣下可以在[這裏](https://portal.shadowsocks.la/cart.php)查看我們的產品列表和介紹。
1313

2-windows-settings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
登陸我們的 [Portal](https://portal.shadowsocks.la/),在 服務 > [我的服務](https://portal.shadowsocks.la/clientarea.php?action=services) 頁面中,進入您的產品信息頁面,點擊配置文件下載,即可得到一個 `gui-config.json` 文件
2020

21-
![](https://ooo.0o0.ooo/2017/01/04/586d06d54ada2.png)
21+
![](https://i.loli.net/2017/11/02/59fa820b000dd.png)
2222

2323
![](https://ooo.0o0.ooo/2017/01/04/586d06f3a425b.png)
2424

5-android-settings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
### 手工配置
3030

31-
![](https://ooo.0o0.ooo/2017/01/04/586d0a101ccc6.png)
31+
![](https://i.loli.net/2017/11/02/59fa8533ca17f.jpg)
3232

3333
## 4、相關説明
3434

6-linux-settings.md

+21-84
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Linux 下 Shadowsocks 設置方法
22

3-
## 1、GUI 客戶端
3+
## 1、GUI 客戶端 ( 尚不支持 chacha20-ietf-poly1305 加密方式,請使用命令行客戶端 )
44

55
這裏我們推薦使用 [shadowsocks-qt5](https://github.com/shadowsocks/shadowsocks-qt5)
66

@@ -10,83 +10,41 @@
1010

1111

1212
## 2、命令行客戶端
13+
使用最新的 Python 版本或是 Shadowsocks-libev
1314

14-
下面我們以 [Python 版](https://pypi.python.org/pypi/shadowsocks)的 Shadowsocks 為例
15-
16-
### 1、更新系統
17-
18-
Debian / Ubuntu
19-
20-
```
21-
sudo apt-get update
22-
```
23-
24-
CentOS / RHEL / Fedroa
25-
26-
```
27-
sudo yum update
28-
```
29-
30-
### 2、根據自己的發行版安裝 PIP
15+
### 1. 安裝:
16+
Python : https://github.com/shadowsocks/shadowsocks/tree/master#install
17+
Shadowsocks-libev: https://github.com/shadowsocks/shadowsocks-libev#installation
3118

32-
Debian
33-
34-
```
35-
sudo apt-get install python-dev build-essential python-pip
36-
```
37-
38-
Ubuntu
39-
40-
```
41-
sudo apt-get install python-pip
42-
```
43-
44-
CentOS / RHEL / Fedora
45-
46-
```
47-
sudo yum install python-pip
48-
```
49-
50-
Archlinux
51-
52-
```
53-
sudo pacman -S python-pip
54-
```
55-
56-
### 3、升級 PIP
57-
`pip install --upgrade pip`
58-
59-
### 4、用 pip 安裝 Shadowsocks 和相關依賴
19+
下面我們以 [Python 版](https://pypi.python.org/pypi/shadowsocks)的 Shadowsocks 為例
6020

61-
```
62-
pip install shadowsocks
63-
```
6421

65-
### 5. 設置 Shadowsocks 配置文件
22+
### 2. 設置 Shadowsocks 配置文件
6623

6724
創建一個 `/etc/shadowsocks.json` 文件,格式如下
6825

6926
```
7027
{
71-
"server":"服務器IP或域名",
72-
"server_port":端口號,
73-
"local_address": "127.0.0.1",
74-
"local_port":1080,
75-
"password":"密碼",
76-
"timeout":300,
77-
"method":"aes-256-cfb",
78-
"fast_open": false
28+
"server":"服務器IP或域名",
29+
"server_port":端口號,
30+
"local_address": "127.0.0.1",
31+
"local_port":1080,
32+
"password":"密碼",
33+
"timeout":300,
34+
"method":"aes-256-cfb",
35+
"fast_open": false
7936
}
8037
```
8138

82-
### 6、啓動 Shadowsocks
39+
### 3、啓動 Shadowsocks
40+
Python 版客戶端命令是 sslocal , Shadowsocks-libev 客戶端命令為 ss-local
8341

8442
```
8543
/usr/local/bin/sslocal -c /etc/shadowsocks.json -d start
8644
```
8745

8846

89-
### 7、安裝 proxychains
47+
### 4、安裝 proxychains
9048

9149
這裏以 Debian / Ubuntu 爲例
9250

@@ -111,13 +69,13 @@ sudo proxychains wget xxxx
11169

11270
類似的命令使用 Shadowsocks 進行操作程序
11371

114-
### 8、 在應用程序內代理
72+
### 5、 在應用程序內代理
11573

116-
您衹需要將程式指定為**socks v5**的代理
74+
您衹需要將程式指定為 **socks v5** 的代理
11775

11876
服務器 127.0.0.1 端口 1080(應與 Shadowsocks 客戶端的本地端口對應,默認為1080)
11977

120-
### 9、 關閉 Shadowsocks
78+
### 6、 關閉 Shadowsocks
12179

12280
在終端輸入
12381

@@ -127,27 +85,6 @@ lsof –i:1080
12785

12886
kill 相應 pid 即可
12987

130-
### 10、OpenSSL 1.1.0 錯誤
131-
132-
如果您在最新的 Debian 9.x 下遇到如下錯誤提示
133-
134-
```
135-
AttributeError: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: undefined symbol: EVP_CIPHER_CTX_cleanup
136-
```
137-
138-
是因為 OpenSSL 1.1.x 版本中,廢棄了 `EVP_CIPHER_CTX_cleanup` 函數,我們可以用 `EVP_CIPHER_CTX_reset` 來代替此函數
139-
140-
修改文件 `/usr/lib/python2.7/site-packages/shadowsocks/crypto/openssl.py`
141-
142-
將第 52 行 `libcrypto.EVP_CIPHER_CTX_cleanup.argtypes = (c_void_p,)` 改為 `libcrypto.EVP_CIPHER_CTX_reset.argtypes = (c_void_p,)`
143-
144-
將第 111 行 `libcrypto.EVP_CIPHER_CTX_cleanup(self._ctx)` 改爲 `libcrypto.EVP_CIPHER_CTX_reset(self._ctx)`
145-
146-
然後重新啓動 Shadowsocks 即可
147-
148-
[參考](https://blog.lyz810.com/article/2016/09/shadowsocks-with-openssl-greater-than-110/)
149-
150-
15188
## 3、瀏覽器使用方法
15289

15390
1. [Firefox 瀏覽器設置教程](https://github.com/Shadowsocks-Wiki/shadowsocks/blob/master/7-1-firefox-settings.md)

7-2-chrome-settings.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
如果無法訪問,您也可以直接在 [Github](https://github.com/FelisCatus/SwitchyOmega/releases) 下載 .crx 文件并拖入 `chrome://extensions/` (請使用 Chrome 瀏覽器複製粘貼輸入地址欄並回車訪問)
1818

19+
本擴展同樣適用于 Firefox 57 (Firefox Quantum) 以上版本: 安裝鏈接 [Proxy SwitchyOmega](https://addons.mozilla.org/zh-CN/firefox/addon/switchyomega/)
20+
1921
## 2、擴展的配置(以下方法 2 選 1 即可)
2022

2123
### 1、使用本站提供的已經設置好的備份直接恢復配置(推薦)

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
## 7 瀏覽器設置教程
2828

29-
1. [Firefox 瀏覽器設置教程](https://github.com/Shadowsocks-Wiki/shadowsocks/blob/master/7-1-firefox-settings.md)
30-
2. [Chrome 瀏覽器設置教程](https://github.com/Shadowsocks-Wiki/shadowsocks/blob/master/7-2-chrome-settings.md)
29+
1. [Firefox 瀏覽器設置教程 (擴展 Foxyproxy-Standard )](https://github.com/Shadowsocks-Wiki/shadowsocks/blob/master/7-1-firefox-settings.md)
30+
2. [Firefox / Chrome 瀏覽器設置教程 (擴展 Proxy SwitchyOmega)](https://github.com/Shadowsocks-Wiki/shadowsocks/blob/master/7-2-chrome-settings.md)
3131

3232
## 8 Proxifier 設置教程
3333

0 commit comments

Comments
 (0)