Max Lv
1d83944f5e
Fix typos
v3.2.1
2018-11-07 22:49:14 -08:00
Max Lv
b9ed8da571
Bump version
2018-11-07 22:46:20 -08:00
Max Lv
92cab3503c
Add check for reusing server's nonce/salt
2018-10-19 09:01:39 +08:00
Max Lv
482040a5dd
Fix a potential stackoverflow issue
2018-10-19 08:52:04 +08:00
Max Lv
1acdb1997d
Fix #2194
2018-10-15 12:58:40 +08:00
Max Lv
ce6989aff8
Merge pull request #2184 from DDoSolitary/fix-clearenv-libcork
...
Update for shadowsocks/libcork#6 .
2018-09-16 20:50:38 +08:00
DDoSolitary
929f1779ca
Update for shadowsocks/libcork#6 .
2018-09-16 18:55:22 +08:00
Max Lv
52e23688e8
Merge pull request #2182 from edsgerlin/fix-systemd
...
Add `CAP_NET_BIND_SERVICE` to `shadowsocks-libev.service`
2018-09-16 07:25:51 +08:00
Max Lv
ced2350247
Merge pull request #2181 from edsgerlin/travis
...
Add `gcc` back to Travis.
2018-09-16 07:25:21 +08:00
edsgerlin
0496416387
Add AmbientCapabilities for all.
2018-09-15 17:20:57 +09:00
edsgerlin
d5d28580f9
Add CAP_NET_BIND_SERVICE to shadowsocks-libev.service
...
It ensures process have permission to bind to port <=1000.
Other systemd config files already have it except this one.
2018-09-15 01:39:49 +09:00
edsgerlin
a87b490a94
Add gcc back to travis.
2018-09-15 00:51:49 +09:00
Max Lv
ed7c1e64af
Fix a compilation issue for GCC < 5.0
2018-09-13 14:20:07 -07:00
Max Lv
a7877c5f61
Merge pull request #2176 from edsgerlin/sodium-gcm
...
Use libsodium for `aes-256-gcm` when available.
2018-09-12 07:57:07 +08:00
Max Lv
eb37201470
Merge pull request #2175 from edsgerlin/docker
...
Docker: Support for IPv6 host, set default encryption method to GCM.
2018-09-12 07:56:46 +08:00
Boyuan Yang
8a4b9d04e9
debian: Remove debian/*.symbols file ( #2177 )
...
Symbols file are meant to be used by distribution maintainers and
it is rather useless for upstream repository.
2018-09-12 07:56:05 +08:00
edsgerlin
761e66a969
Implement AES256-GCM with precomputation.
2018-09-12 02:14:11 +09:00
edsgerlin
79592a8b16
Use libsodium for aes-256-gcm when available.
2018-09-12 00:52:33 +09:00
edsgerlin
09762eda3f
Docker: Support for IPv6 host, set default encryption method to GCM.
2018-09-10 15:35:49 +09:00
Max Lv
57e74eaa34
Fix a bug in bypassing
2018-09-08 11:38:18 +08:00
Max Lv
46ff0a8045
Refine #2162
2018-09-02 17:27:59 -07:00
Max Lv
dd5e954ab4
Clean up
2018-09-02 17:21:23 -07:00
Max Lv
1dcfe68c8c
Fix #2162
2018-09-02 12:43:37 +08:00
Max Lv
cd98427ebd
Add missing fast open headers
2018-08-29 01:38:43 -07:00
Jared Hillier
b7f3e2226c
TCP Fast Open support for ss-tunnel ( #2150 )
...
* ...
* ...
* ...
* Update README.md
* Update README.md
* TCP Fast Open support
* TCP Fast Open support
* TCP Fast Open CONNECT_IN_PROGRESS
* TCP Fast Open support
* TCP Fast Open support
* TCP Fast Open support
* TCP Fast Open support
* TCP Fast Open support via conf
* Cross-platform support for TCP Fast Open
* Cross-platform support for TCP Fast Open
* Enable SO_KEEPALIVE client side
* TCP Fast Open is not supported on this platform
* TCP Fast Open support
* Update tunnel.c
* It's from my forked repo, so please ignore any changes in README.md
* Fix trailing whitespace
* Fix #1376
2018-08-28 18:42:48 +08:00
Mygod
307088ed4a
Support hostname resolving in VPN mode
2018-08-24 14:00:13 +08:00
Max Lv
ded41f2e53
Merge pull request #2140 from sxyoxygen/patch-1
...
Use ss_is_ipv6addr()
2018-08-08 14:35:25 +08:00
sxyoxygen
46e2b28d39
Update utils.h
2018-08-08 12:03:56 +08:00
sxyoxygen
059780ff9b
Update local.c
2018-08-08 01:56:37 +08:00
sxyoxygen
8356d8ae74
Update server.c
2018-08-08 01:56:12 +08:00
sxyoxygen
95c1dba176
Update utils.c
2018-08-08 01:47:19 +08:00
sxyoxygen
9e7a99378a
Update utils.h
2018-08-08 01:45:59 +08:00
Mygod
d107f9ecdb
More bugfix
2018-07-30 23:50:35 +08:00
Max Lv
9387267267
Merge pull request #2132 from Mygod/master
...
Refine local server_handshake
2018-07-30 23:15:54 +08:00
Max Lv
fad3ca59e7
Revert "Refine ip initialization"
...
This reverts commit 9a56155513 .
2018-07-30 23:15:28 +08:00
Max Lv
9a56155513
Refine ip initialization
2018-07-30 23:06:22 +08:00
Mygod
78aa6521cd
Bugfix
2018-07-30 23:06:02 +08:00
Mygod
4a97acd44e
Refine local server_handshake
...
* Removed STAGE_PARSE and the 5-year-old hacky "fake" reply;
* SOCKS5 server returns more error code than 0x07;
* Ensure `ip` is initialized in all cases; (I guess security guys don't want to audit the local part)
* Code more readable magically.
2018-07-30 22:52:40 +08:00
Mygod
09fbae1d3f
Refine .gitignore
2018-07-30 20:45:58 +08:00
Max Lv
dc5f295835
Merge pull request #2125 from xuminready/master
...
Update README.md
2018-07-20 10:33:40 +08:00
xuminready
cda5126689
Update README.md
...
update Usage. encrypt methods are outdated.
2018-07-19 00:47:24 -07:00
Max Lv
3806f8ef25
Merge pull request #2120 from fanck0605/master
...
update url
2018-07-19 09:02:59 +08:00
Max Lv
e29f5ced43
Merge pull request #2122 from hangim/master
...
Delete unnecessary code
2018-07-12 17:11:55 +08:00
Hang
cab3057f3d
Delete unnecessary code
2018-07-11 17:33:11 +08:00
fanck0605
52ee4c7ded
update url
2018-07-09 09:15:45 +08:00
Max Lv
38f72a1006
Merge pull request #2118 from chenhw2/master
...
Multipe nameservers support
2018-07-07 22:08:59 +08:00
hwchan
00354513e6
Multipe nameservers support
2018-07-07 17:05:34 +08:00
Max Lv
11a0d8db60
Reset timer in server_stream as well
2018-07-02 12:51:20 +08:00
Max Lv
0a8d194426
Merge pull request #2097 from rogers0/PR/fix_hurd
...
Fix of PATH_MAX for GNU/Hurd
2018-06-16 19:10:54 +08:00
Roger Shimizu
d88345fa46
Fix of PATH_MAX for GNU/Hurd
...
Memory of userconf in src/utils.c:get_default_conf() only gets allocated
once, and will not be freed. It's used as static buffer.
This can avoid using PATH_MAX, which actually doesn't exist on certain
platforms.
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
2018-06-16 19:47:39 +09:00