edsgerlin
0496416387
Add AmbientCapabilities for all.
6 years ago
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.
6 years ago
edsgerlin
a87b490a94
Add `gcc` back to travis.
6 years ago
Max Lv
ed7c1e64af
Fix a compilation issue for GCC < 5.0
6 years ago
Max Lv
a7877c5f61
Merge pull request #2176 from edsgerlin/sodium-gcm
Use libsodium for `aes-256-gcm` when available.
6 years ago
Max Lv
eb37201470
Merge pull request #2175 from edsgerlin/docker
Docker: Support for IPv6 host, set default encryption method to GCM.
6 years ago
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.
6 years ago
edsgerlin
761e66a969
Implement AES256-GCM with precomputation.
6 years ago
edsgerlin
79592a8b16
Use libsodium for `aes-256-gcm` when available.
6 years ago
edsgerlin
09762eda3f
Docker: Support for IPv6 host, set default encryption method to GCM.
6 years ago
Max Lv
57e74eaa34
Fix a bug in bypassing
6 years ago
Max Lv
46ff0a8045
Refine #2162
6 years ago
Max Lv
dd5e954ab4
Clean up
6 years ago
Max Lv
1dcfe68c8c
Fix #2162
6 years ago
Max Lv
cd98427ebd
Add missing fast open headers
6 years ago
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
6 years ago
Mygod
307088ed4a
Support hostname resolving in VPN mode
6 years ago
Max Lv
ded41f2e53
Merge pull request #2140 from sxyoxygen/patch-1
Use ss_is_ipv6addr()
6 years ago
sxyoxygen
46e2b28d39
Update utils.h
6 years ago
sxyoxygen
059780ff9b
Update local.c
6 years ago
sxyoxygen
8356d8ae74
Update server.c
6 years ago
sxyoxygen
95c1dba176
Update utils.c
6 years ago
sxyoxygen
9e7a99378a
Update utils.h
6 years ago
Mygod
d107f9ecdb
More bugfix
6 years ago
Max Lv
9387267267
Merge pull request #2132 from Mygod/master
Refine local server_handshake
6 years ago
Max Lv
fad3ca59e7
Revert "Refine ip initialization"
This reverts commit 9a56155513
.
6 years ago
Max Lv
9a56155513
Refine ip initialization
6 years ago
Mygod
78aa6521cd
Bugfix
6 years ago
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.
6 years ago
Mygod
09fbae1d3f
Refine .gitignore
6 years ago
Max Lv
dc5f295835
Merge pull request #2125 from xuminready/master
Update README.md
6 years ago
xuminready
cda5126689
Update README.md
update Usage. encrypt methods are outdated.
6 years ago
Max Lv
3806f8ef25
Merge pull request #2120 from fanck0605/master
update url
6 years ago
Max Lv
e29f5ced43
Merge pull request #2122 from hangim/master
Delete unnecessary code
6 years ago
Hang
cab3057f3d
Delete unnecessary code
6 years ago
fanck0605
52ee4c7ded
update url
6 years ago
Max Lv
38f72a1006
Merge pull request #2118 from chenhw2/master
Multipe nameservers support
6 years ago
hwchan
00354513e6
Multipe nameservers support
6 years ago
Max Lv
11a0d8db60
Reset timer in server_stream as well
6 years ago
Max Lv
0a8d194426
Merge pull request #2097 from rogers0/PR/fix_hurd
Fix of PATH_MAX for GNU/Hurd
6 years ago
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
6 years ago
Max Lv
167b510053
Merge pull request #2087 from rogers0/PR/fix_tests
Update config under tests/ folder
6 years ago
Max Lv
c24b11f089
Merge pull request #2088 from linusyang92/docker-speed
Docker: speed up MinGW build by parallel make
6 years ago
Linus Yang
64100a1b22
Docker: speed up MinGW build by parallel make
6 years ago
Colin Watson
4a4531d866
skip tests if an upstream HTTP proxy is set
shadowsocks-libev doesn't support connecting through an upstream HTTP
proxy, so if the test environment requires that then there's nothing we can
do. (In future it might be possible to set up a local server to avoid this
problem.)
6 years ago
Roger Shimizu
44c557c170
Update config under tests/ folder
Fix tests by using "local" setting instead of "local_address" in config.
This is mentioned in:
- https://github.com/shadowsocks/shadowsocks-libev/issues/247
6 years ago
Yegor Ievlev
8fd83e2686
Use chacha20-ietf as a default cipher instead of rc4-md5 ( #2080 )
* Use chacha20-ietf as a default cipher instead of rc4-md5
* Update tunnel.c
* Update utils.c
* Update ss-local.asciidoc
* Update ss-local.asciidoc
* Update tunnel.c
* Update ss-tunnel.asciidoc
* Update ss-manager.asciidoc
* Update ss-redir.asciidoc
* Update shadowsocks-libev.asciidoc
* Update aead.c
* Update local.c
* Update server.c
* Update utils.c
6 years ago
Max Lv
873a577726
Add winsock.h to dist target
6 years ago
Max Lv
8c98bdecac
Bump version
6 years ago
Max Lv
262c6d45fc
Merge pull request #2064 from wogong/patch-1
update image value.
6 years ago