Commit Graph
2428 Commits
Author SHA1 Message Date
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
Max Lv 167b510053 Merge pull request #2087 from rogers0/PR/fix_tests
Update config under tests/ folder
2018-06-09 17:07:39 +08:00
Max Lv c24b11f089 Merge pull request #2088 from linusyang92/docker-speed
Docker: speed up MinGW build by parallel make
2018-06-09 17:07:12 +08:00
Linus Yang 64100a1b22 Docker: speed up MinGW build by parallel make 2018-06-09 15:48:07 +08:00
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.)
2018-06-09 16:31:25 +09:00
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
2018-06-09 15:54:08 +09:00
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
2018-06-07 08:58:10 +08:00
Max Lv 873a577726 Add winsock.h to dist target 2018-05-28 21:53:13 -07:00
Max Lv 8c98bdecac Bump version v3.2.0 2018-05-28 19:55:12 -07:00
Max Lv 262c6d45fc Merge pull request #2064 from wogong/patch-1
update image value.
2018-05-28 11:03:45 +08:00
Cheng Zhen 6ddbecc10f update image value.
Current setting will cause following error: `ERROR: pull access denied for shadowsocks-libev, repository does not exist or may require 'docker login'`, this update fixes this.
2018-05-27 10:14:16 +08:00
Max Lv a0ef456977 Fix #2051 2018-05-24 16:54:57 +08:00
Max Lv 21fb6e639e Merge pull request #2049 from mcspr/rpm-copr
Fedora COPR support
2018-05-15 08:55:52 +08:00
Max Prokhorov 3c10661d81 Use correct outdir 2018-05-14 09:59:43 +03:00
Max Prokhorov 999e0555c7 Fedora COPR support
- Support .copr/Makefile for 'SCM / make srpm' COPR package
- Use genrpm.sh to generate srpm and optionally build it
- Use generic substitution syntax in specfile
2018-05-14 09:38:07 +03:00
Max Lv a0a56e713b Merge pull request #2045 from xnoreq/master
Fix DNS timeouts
2018-05-10 14:45:10 +08:00