-
Notifications
You must be signed in to change notification settings - Fork 6
/
Shadowsocks.html
777 lines (320 loc) · 27.7 KB
/
Shadowsocks.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
<!DOCTYPE HTML>
<html lang="zh-hans" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Shadowsocks相关知识 · 科学上网翻墙教程 | SPhard</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
<meta name="author" content="SPhard">
<link rel="stylesheet" href="gitbook/style.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-donate/plugin.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-sunlight-highlighter/sunlight.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="hosts-dns.html" />
<link rel="prev" href="luyouqi.html" />
</head>
<body>
<div class="book">
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="输入并搜索" />
</div>
<nav role="navigation">
<ul class="summary">
<li class="chapter " data-level="1.1" data-path="./">
<a href="./">
简介
</a>
</li>
<li class="chapter " data-level="1.2" data-path="gfw/gfw1.html">
<a href="gfw/gfw1.html">
什么是GFW
</a>
</li>
<li class="chapter " data-level="1.3" data-path="gfw/gfw2.html">
<a href="gfw/gfw2.html">
为什么要翻墙
</a>
</li>
<li class="chapter " data-level="1.4" data-path="free/free.html">
<a href="free/free.html">
免费翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.4.1" data-path="free/vpn.html">
<a href="free/vpn.html">
免费VPN
</a>
</li>
<li class="chapter " data-level="1.4.2" data-path="free/ssr.html">
<a href="free/ssr.html">
免费ss/ssr
</a>
</li>
<li class="chapter " data-level="1.4.3" data-path="free/Lantern.html">
<a href="free/Lantern.html">
Android破解版蓝灯Lantern
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.5" data-path="tizi.html">
<a href="tizi.html">
自己建梯子
</a>
<ul class="articles">
<li class="chapter " data-level="1.5.1" data-path="vps.html">
<a href="vps.html">
购买服务器
</a>
</li>
<li class="chapter " data-level="1.5.2" data-path="lianjie.html">
<a href="lianjie.html">
连接服务器
</a>
</li>
<li class="chapter " data-level="1.5.3" data-path="wenti.html">
<a href="wenti.html">
连接服务器常见问题
</a>
</li>
<li class="chapter " data-level="1.5.4" data-path="passwd.html">
<a href="passwd.html">
修改Vultr服务器密码
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.6" data-path="ping-IP.html">
<a href="ping-IP.html">
怎样 ping IP地址
</a>
</li>
<li class="chapter " data-level="1.7" data-path="ss/ss.html">
<a href="ss/ss.html">
搭建 ss 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.7.1" data-path="ss/Windows.html">
<a href="ss/Windows.html">
Windows上使用ss
</a>
</li>
<li class="chapter " data-level="1.7.2" data-path="ss/linux.html">
<a href="ss/linux.html">
Linux上使用ss
</a>
</li>
<li class="chapter " data-level="1.7.3" data-path="ss/android.html">
<a href="ss/android.html">
Android上使用ss
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.8" data-path="ssr/ssr.html">
<a href="ssr/ssr.html">
搭建 ssr 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.8.1" data-path="ssr/Windows.html">
<a href="ssr/Windows.html">
Windows上使用ssr
</a>
</li>
<li class="chapter " data-level="1.8.2" data-path="ssr/linux.html">
<a href="ssr/linux.html">
Linux上使用ssr
</a>
</li>
<li class="chapter " data-level="1.8.3" data-path="ssr/android.html">
<a href="ssr/android.html">
Android上使用ssr
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.9" data-path="brook/brook.html">
<a href="brook/brook.html">
搭建 Brook 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.9.1" data-path="brook/windows.html">
<a href="brook/windows.html">
Windows上使用Brook
</a>
</li>
<li class="chapter " data-level="1.9.2" data-path="brook/android.html">
<a href="brook/android.html">
Android上使用Brook
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.10" data-path="vpn.html">
<a href="vpn.html">
搭建 VPN 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.10.1" data-path="vpn-error.html">
<a href="vpn-error.html">
连不上VPN?
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.11" data-path="V2ray/V2ray.html">
<a href="V2ray/V2ray.html">
搭建 V2ray 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.11.1" data-path="V2ray/Ubuntu.html">
<a href="V2ray/Ubuntu.html">
Ubuntu下使用V2ray
</a>
</li>
<li class="chapter " data-level="1.11.2" data-path="V2ray/Windows.html">
<a href="V2ray/Windows.html">
Windows下使用V2ray
</a>
</li>
<li class="chapter " data-level="1.11.3" data-path="V2ray/Android.html">
<a href="V2ray/Android.html">
Android下使用V2ray
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.12" data-path="Outline/Outline.html">
<a href="Outline/Outline.html">
搭建 Outline 翻墙
</a>
</li>
<li class="chapter " data-level="1.13" data-path="luyouqi.html">
<a href="luyouqi.html">
路由器翻墙
</a>
</li>
<li class="chapter active" data-level="1.14" data-path="Shadowsocks.html">
<a href="Shadowsocks.html">
Shadowsocks相关知识
</a>
</li>
<li class="chapter " data-level="1.15" data-path="hosts-dns.html">
<a href="hosts-dns.html">
hosts&DNS工作原理
</a>
</li>
<li class="chapter " data-level="1.16" data-path="end.html">
<a href="end.html">
结语
</a>
</li>
<li class="chapter " data-level="1.17" >
<a target="_blank" href="https://sphard.com/thanks">
感谢
</a>
</li>
<li class="divider"></li>
<li>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
本书使用 GitBook 发布
</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="." >Shadowsocks相关知识</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h1 id="shadowsocks相关知识">Shadowsocks相关知识</h1>
<p>Shadowsocks官网: <a href="https://shadowsocks.org" target="_blank">https://shadowsocks.org</a></p>
<p>Shadowsocks官方GitHub: <a href="https://github.com/shadowsocks" target="_blank">https://github.com/shadowsocks</a></p>
<font color="red">A secure socks5 proxy, designed to protect your Internet traffic.</font>
<h3 id="shadowsocks作者是谁?是否还在更新?">Shadowsocks作者是谁?是否还在更新?</h3>
<p>Shadowsocks是由若干人因为兴趣而制作的一个项目,主要开发者和领导者是<a href="https://twitter.com/clowwindy" target="_blank">@clowwindy</a> ,但是在2015年下半年被“相关部门”约谈喝茶,于是被迫删除<a href="https://github.com/clowwindy" target="_blank">Github</a>的源码及相关文档。
<img src="https://www.png8.com/2019/03/23/5c959c520c72d.png" alt="1"></p>
<p>但Shadowsocks属于开源项目,所以删除前已经有人备份,同时由另一个志愿者跟进维护原版<a href="https://github.com/shadowsocks/shadowsocks-windows/releases" target="_blank">Shadowsocks</a>客户端,而其他基于Shadowsocks项目的第三方项目有:<a href="https://github.com/shadowsocksr-backup/shadowsocksr" target="_blank">ShadowsocksR</a>、<a href="https://github.com/shadowsocks/shadowsocks-qt5" target="_blank">Shadowsocks-qt5</a>、<a href="https://sourceforge.net/projects/sscap/" target="_blank">ShadowsocksCap</a>等来维护更新Window/Linux客户端(其他系统的不一一举例了)。</p>
<h3 id="shadowsocks是否安全?加密性如何?">Shadowsocks是否安全?加密性如何?</h3>
<p>Shadowsocks是被设计来混淆数据,增加 墙 检查出流量特征所需的计算量,提高实时检测和匹配的成本,而不是加密。</p>
<p>SS的作者多次强调过这一点---><a href="https://github.com/shadowsocks/shadowsocks/issues/169" target="_blank">Correct username/password auth model · Issue #169 · shadowsocks/shadowsocks · GitHub</a></p>
<blockquote>
<p>"We don't need security. We need indistinguishability from random bytes."</p>
</blockquote>
<p>再三强调不要忘记SS作者的本意——这是一个能帮你上谷歌,上被墙屏蔽的网站的工具,其意义是瞒过 墙 的实时流量检测,而不是瞒过 墙 后面的master minds。</p>
<p>Shadowsocks是一个业余兴趣制作的项目,并没有经过严谨的密码学算法计算,Shadowsocks不是一个VPN,它无法100%的保护你的数据安全!</p>
<h3 id="shadowsocks-原版和-shadowsocksr-的区别是什么?">Shadowsocks 原版和 ShadowsocksR 的区别是什么?</h3>
<p>Shadowsocks 原版在更新到 v2.5.8 之后被“相关部门”约谈喝茶了,于是就停止了更新。但是应网友要求,另一个开发者把 v2.5.8 的一些严重BUG修复了更新为 v3.0,然后宣布不再管了。</p>
<p>Shadowsocks 原版本身,也是具有协议和混淆功能的,也就是原版协议/混淆,只是只有一个不能自行选择,并且全靠作者维护,作者喝茶后,就 GG 了,其他的接手者只是继续完善其他的功能。</p>
<p>而 ShadowsocksR 是在原版作者喝茶前,由另一个程序员 <a href="https://twitter.com/breakwa11" target="_blank">@breakwa11</a> 制作的第三方版本,主要特点是增加了一些人性化功能,比如服务器连接统计、连接管理、协议转换、多重代理等。</p>
<p>最主要的是 ShadowsocksR 的混淆协议和插件功能,因为 Shadowsocks 原版项目已经无人维护,同时 墙 的工作人员也在不停的寻找效率批量匹配特征的方法,目前 SS 原版协议在大部分地区已经被 匹配流量特征 QOS 限速了。</p>
<p>所以 ShadowsocksR 的混淆协议和插件就应运而生,其目的就是欺骗 墙 目前的流量匹配功能和 QOS 限速。</p>
<p>需要说明的是,ShadowsocksR 目前最新的协议和混淆是会增加延迟和损耗15%的速度(因为混淆需要时间,越复杂的混淆越不容易被墙发现,同时混淆时间越长),所以如果你没有限速,或许用原版协议和混淆会更好。</p>
<p>你可以理解为在原版协议的基础上加强了混淆功能,所以在部分地区只有使用 ShadowsocksR 的混淆功能才能达到最佳速度,当然不同地区也不一样,所以最好都试试!</p>
<p>感谢参考:<a href="https://doub.io/ss-jc35/" target="_blank">逗比根据地-->关于Shadowsocks的小白常见问题 总结篇</a>
<a href="https://www.vultr.com/?ref=7775614-4F" target="_blank"><img src="https://www.vultr.com/media/banner_1.png" width="100%" height="90"></a></p>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> By <a href="https://sphard.com" target="_blank">https://sphard.com</a> </span>            <span class="page-footer-ex-footer-update"> 最后更新: 2019-04-13 10:39:12 </span> </footer>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="luyouqi.html" class="navigation navigation-prev " aria-label="Previous page: 路由器翻墙">
<i class="fa fa-angle-left"></i>
</a>
<a href="hosts-dns.html" class="navigation navigation-next " aria-label="Next page: hosts&DNS工作原理">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Shadowsocks相关知识","level":"1.14","depth":1,"next":{"title":"hosts&DNS工作原理","level":"1.15","depth":1,"path":"hosts-dns.md","ref":"hosts-dns.md","articles":[]},"previous":{"title":"路由器翻墙","level":"1.13","depth":1,"path":"luyouqi.md","ref":"luyouqi.md","articles":[]},"dir":"ltr"},"config":{"plugins":["donate","adsense","page-footer-ex","sunlight-highlighter","livereload"],"root":".","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"livereload":{},"page-footer-ex":{"copyright":"By [https://sphard.com](https://sphard.com)","markdown":true,"update_format":"YYYY-MM-DD HH:mm:ss","update_label":"最后更新: "},"search":{},"adsense":{"client":"ca-pub-7115184053783576","slot":"3505263189","format":"auto","element":".page-inner section","position":"top"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"donate":{"alipay":"https://sphard.com/images/alipay.jpg","alipayText":"支付宝打赏","button":"打赏","title":"","wechat":"https://sphard.com/images/wechatpay.jpg","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"lineNumbers":true,"theme":"dark"}},"theme":"default","author":"SPhard","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"科学上网翻墙教程 | SPhard","language":"zh-hans","gitbook":"*","description":"科学上网翻墙教程 | SPhard"},"file":{"path":"Shadowsocks.md","mtime":"2019-04-13T02:39:12.932Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-04-14T07:18:04.060Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>
<script src="gitbook/gitbook.js"></script>
<script src="gitbook/theme.js"></script>
<script src="gitbook/gitbook-plugin-donate/plugin.js"></script>
<script src="gitbook/gitbook-plugin-adsense/plugin.js"></script>
<script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
<script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
<script src="gitbook/gitbook-plugin-search/search.js"></script>
<script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
<script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
<script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
<script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
</body>
</html>