Max Lv
3fde843ec8
Fix #1061
2017-01-12 10:24:27 +08:00
Max Lv
dc39af8195
Avoid free the cwd with getcwd()
2017-01-10 22:21:47 +08:00
Max Lv
ecf1fcc845
Fix #1059
2017-01-10 21:57:38 +08:00
Roger Shimizu
1397bf133b
Fix FTBFS of PATH_MAX on GNU/Hurd
...
Info:
- https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
- https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL
Quote:
when the __GLIBC__ macro is defined, getcwd() calls can be just
replaced by get_current_dir_name() calls.
2017-01-10 21:46:22 +08:00
Max Lv
c6355f5060
Fix #1057
2017-01-10 12:57:06 +08:00
Max Lv
355c264a20
Fix #1055
2017-01-10 11:00:40 +08:00
Max Lv
51135c9184
Fix #1054
2017-01-10 10:41:08 +08:00
Max Lv
dc96bced39
Fix #1051
2017-01-10 09:55:16 +08:00
Roger Shimizu
f59cd07992
fix typo in src/manager.c
2017-01-09 22:45:50 +08:00
Max Lv
94a341fe2c
Refine SIGCHLD handling
2017-01-09 17:56:56 +08:00
Max Lv
f67518a9d4
Fix #1050
2017-01-09 17:15:40 +08:00
Max Lv
77da84fb21
Validate hostname in redir mode #1047
2017-01-09 08:43:22 +08:00
Max Lv
a3bf80cf11
Fix a typo
v2.6.1
2017-01-08 16:33:51 +08:00
Max Lv
48b6a59df4
Bump version
2017-01-08 16:31:54 +08:00
Max Lv
97c58ad44d
Refine signal handling
2017-01-08 16:22:49 +08:00
Max Lv
61b82c45c5
Add SIP003 plugin support ( #1044 )
...
https://github.com/shadowsocks/shadowsocks-org/issues/28
2017-01-08 01:10:00 -06:00
Syrone Wong
637f207934
mbedtls: Make rc4, camellia, blowfish cipher checks optional
...
Per Felix Fietkau's request in https://github.com/lede-project/source/pull/657
Signed-off-by: Syrone Wong <wong.syrone@gmail.com >
2017-01-06 22:26:14 -06:00
Roger Shimizu
1ce4bf903d
Sync debian/ folder with v2.6.0+ds-2
2017-01-06 05:49:37 -06:00
Roger Shimizu
69f1c46778
debian/copyright: Update copyright year
2017-01-06 05:49:26 -06:00
Roger Shimizu
fa81c6ec79
debian/copyright: Add new entry
...
Add new entry of copyright on src/base64.{c,h}
2017-01-06 05:49:26 -06:00
Roger Shimizu
b85ae24d7c
debian/shadowsocks-libev.postinst: Limit capabilities setting
...
setcap setting is only for configure/reconfigure case in postinst script
2017-01-06 05:49:19 -06:00
GhostFlying
c807d2d6c4
fix bug when port reuse fail ( #1037 )
2017-01-05 23:26:47 -06:00
Max Lv
3b4af24fec
Fix indent
2017-01-06 12:22:15 +08:00
Mygod
29eacdcb40
Refine gfwlist regexp ( #1036 )
...
* Refine gfwlist regexp
See debuggex for pcre at: https://www.debuggex.com/r/gVJ0mwnpdoKDoeGQ
* Refine domain part regexp
See debuggex at: https://www.debuggex.com/r/5uTCAlXjbvHr_Koy
2017-01-05 20:58:12 -06:00
wtlusvm
3565ffacc3
Update README.md ( #1034 )
2017-01-05 07:12:09 -06:00
GhostFlying
9753cc54dc
Check port before add port via ss-manager ( #1035 )
...
* add simple port check functions
* release sock lock when manager exit
* simplfy the sock lock
* release sock lock when receive the stat report
* simplfy dns query
* add udp port check
* enable port check function
* clean code and logs
2017-01-05 06:06:05 -06:00
Max Lv
53d2a75892
Remove deprecated PolarSSL sections from README.md
2017-01-02 20:24:02 +08:00
Zhengjun Zhang
363bf5735e
Add capabilities for Debian Linux, so you can run ss-* as non-root.
2016-12-31 20:23:05 -06:00
Max Lv
bf385587be
Fix #1027
2017-01-01 10:19:13 +08:00
Max Lv
2f3eb4c11e
Fix building warnings on Cygwin
2016-12-30 19:50:22 +08:00
Max Lv
96a16f2612
Remove static_assert for clang
2016-12-30 16:14:56 +08:00
Mygod
5f33b73d4e
Add support for comments in the middle of the line in ACL files
2016-12-30 01:49:47 -06:00
Max Lv
79c722cded
Add static assert
2016-12-30 15:40:58 +08:00
Max Lv
6ecbf8e6b9
Avoid ms_struct on Cygwin and MingW
2016-12-30 14:39:33 +08:00
Mygod
422b9d3df2
Refine ACL logic in local.c
2016-12-29 06:23:02 -06:00
Max Lv
b9e19bfdb7
Remove the hardcode compiler-time endian convert
2016-12-29 16:30:32 +08:00
Max Lv
15dfb6f10d
Refine the alignment again
2016-12-29 16:00:50 +08:00
Max Lv
60cdaf98df
Use internal BIG_ENDIAN check
2016-12-29 14:32:47 +08:00
Max Lv
b47d28920f
Refine packed alignment
2016-12-29 14:06:23 +08:00
Max Lv
a4f4afdf98
Fix a typo
2016-12-29 12:43:51 +08:00
Max Lv
47b3406739
Disable fast_open when setsockopt failed
2016-12-29 11:40:07 +08:00
Max Lv
3383501e7b
Disable fast_open when it's not supported
2016-12-29 11:26:32 +08:00
Max Lv
8557555c7c
Refine the defination of global variables
2016-12-28 21:07:24 +08:00
Max Lv
2694e86bd9
Fix #1016
2016-12-28 18:02:08 +08:00
Max Lv
80565eece1
Refine the log of obfuscating
2016-12-28 15:01:17 +08:00
VampireSH
39fbb819b3
update the README.md
2016-12-27 05:00:29 -06:00
Max Lv
8cb4f81eba
Add HTTP/TLS obfuscating. [SIP001] ( #1009 )
...
Add experimental HTTP/TLS obfuscating as an **optional extension** of shadowsocks protocol.
More discussions can be found here: https://github.com/shadowsocks/shadowsocks-org/issues/26
As this feature is still a SIP (Shadowsocks Improvement Proposal), it's very unstable and experimental. So,
1. Don't enable it unless you know what it is.
2. Be very careful when using it in production environment.
v2.6.0
2016-12-27 02:53:25 -06:00
Max Lv
9b2b394249
Update ACL
2016-12-27 16:02:07 +08:00
Max Lv
32f52dabf9
Fix #1008
2016-12-27 15:02:13 +08:00
Max Lv
8e52029d31
Fix #1006
2016-12-23 18:17:25 +08:00