Commit Graph
105 Commits
Author SHA1 Message Date
Max Lv ef0402eb10 Add --key option to set key directly (#1207) 2017-02-06 17:02:04 +08:00
Max Lv 894eae567c Refine ciphers 2017-02-04 20:04:48 +08:00
Max Lv 6e0c257bce Fix help message 2017-02-03 07:24:18 +08:00
Max Lv 7b290f30d6 Make SO_REUSEPORT disabled by default 2017-02-02 21:05:57 +08:00
Max Lv 78cf5348f0 Update documents 2017-02-01 18:51:48 +08:00
Max Lv 4ebe5aeb12 Add SIP004 (AEAD) support 2017-01-29 10:10:44 +08:00
Roger Shimizu d714d1f182 Refine #1133 second time (#1136) 2017-01-25 18:20:21 +08:00
Max Lv 3f8cd982e5 Drop MinGW32 support 2017-01-24 20:10:31 +08:00
Max Lv 0acc79b430 Fix UDP relay when plugin enabled 2017-01-14 12:34:05 +08:00
Max Lv 92f0baa789 Update SIP003 interfaces 2017-01-14 10:40:14 +08:00
Max Lv 3fde843ec8 Fix #1061 2017-01-12 10:24:27 +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
Max Lv 2f3eb4c11e Fix building warnings on Cygwin 2016-12-30 19:50:22 +08: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.
2016-12-27 02:53:25 -06:00
Syrone Wong 9db8c3abe8 zeroize some structs before using
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-12-08 04:11:43 -06:00
Max Lv 24b407c37d Fix #981 2016-12-04 11:53:42 +08:00
Rayson Zhu 135ceedb14 revert pwd->name to user when error occurs (#979) 2016-11-28 22:02:45 -06:00
Rayson Zhu 4034190b15 Change supplementary groups after setgid. (#977) 2016-11-28 16:42:35 -06:00
Rayson zhu a6ef853e2b will not print user name 2016-11-20 01:31:58 +08:00
Max Lv 52e391962f Add option for firewall rules 2016-11-17 15:18:46 +08:00
Max Lv a76f8f46ba Merge pull request #953 from vfreex/feature-uid
Feature: Support uid for `-a` option.
2016-11-15 22:03:58 -06:00
Rayson zhu 99a1ece116 Feature: uid support in run_as 2016-11-16 10:45:15 +08:00
Yuxiang Zhu 78b7afb9ac ss_strndup will fail if insufficient memory was available 2016-11-16 10:26:25 +08:00
Max Lv 87b01a14d5 Fix #939 2016-11-10 17:22:03 +08:00
Max Lv cb0cc25fd9 Fix a typo 2016-11-10 15:25:53 +08:00
Max Lv b136d6c6d3 Fix #938 2016-11-10 14:51:24 +08:00
Max Lv bac7ba79dd Drop FIN packets to misbehaving clients (#925)
* Drop FIN if detecting bad clients

* Fix the command line

* Refine iptables rules

* Refine euid
2016-11-07 02:26:57 -06:00
Max Lv 83c244bc9a Update the document to use rc4-md5 as default cipher 2016-10-26 09:15:12 +08:00
Max Lv efafb59647 Fix #863 2016-10-02 13:37:45 +08:00
rampageX 6e60e17224 Show encryption library used in the help message (#851) 2016-09-27 21:57:43 -05:00
Syrone Wong b5c64b925f Add AES-CTR ciphers info (#820)
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-10 14:03:16 +08:00
Max Lv b28638ab80 Clean up 2016-09-09 13:17:58 +08:00
Max Lv 42d9b68dcc Remove white list option in CLI 2016-09-08 13:06:13 +08:00
Max Lv 5812840b24 Fix typo 2016-08-26 09:19:38 +08:00
Max Lv d319c0300c Add mptcp option, close #756 2016-08-04 13:30:39 +08:00
Max Lv 34b9036b5b Add MTU option 2016-08-03 11:53:28 +08:00
Max Lv 6cd81b3cfb Add tips for usage with kcptun 2016-08-03 09:53:12 +08:00
Max Lv fd422008b7 Avoid linking issues on Android 2016-06-05 14:45:01 +08:00
Max Lv bb50fc22ca Add option for binding to address #626 2016-05-06 14:52:33 +08:00
Max Lv 72ee77ea35 Fix #615 2016-04-28 10:34:26 +08:00
Syrone Wong 7481ffffc7 clarify encrypt method info
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-04-24 21:25:26 +08:00
Kim 08f873adc7 Roll up year to 2016 2016-04-22 22:50:26 +08:00
Kim dfa9e17c1b Add help option
* updated cli option 'help'

- all 5 apps supports cli option '-h' without error exit code
- supports long option '--help'

* fixed bad line brake
2016-04-21 06:22:58 +08:00
Max Lv ac5f26c6fa Fix #585 2016-04-17 19:38:10 +08:00
Max Lv 114128668c Refine helper functions 2016-04-16 00:43:27 +08:00
Syrone Wong 53c6a09b93 Reset errno to 0 before checking it
errno is never set to zero by any system call or library function,
and it's programmer's resposibility to reset it before doing checks.
Otherwise the error might be misleading.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-04-15 08:35:16 -07:00
Max Lv 62a7dcbae8 Fix a typo 2016-01-19 08:57:30 +08:00
Max Lv 52ff163cd6 Fix a build error 2015-12-15 09:17:44 +08:00
Max Lv 47f984e61c Refine nofile option 2015-12-14 19:31:12 +08:00
Max Lv eccc91d711 Refine ACL support 2015-12-03 14:18:29 +08:00