Max Lv
3f8cd982e5
Drop MinGW32 support
2017-01-24 20:10:31 +08:00
Max Lv
96a16f2612
Remove static_assert for clang
2016-12-30 16:14:56 +08:00
Max Lv
79c722cded
Add static assert
2016-12-30 15:40:58 +08: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
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
Max Lv
25cc062e5d
Use cork_container_of instead
2016-12-08 15:06:42 +08:00
Max Lv
65843154cf
Fix building error
2016-12-08 14:51:14 +08:00
Max Lv
a63a33861f
Add container_of
2016-12-08 14:48:40 +08:00
Rayson zhu
99a1ece116
Feature: uid support in run_as
2016-11-16 10:45:15 +08:00
rampageX
6e60e17224
Show encryption library used in the help message ( #851 )
2016-09-27 21:57:43 -05:00
Max Lv
b28638ab80
Clean up
2016-09-09 13:17:58 +08:00
Max Lv
fd422008b7
Avoid linking issues on Android
2016-06-05 14:45:01 +08:00
Kim
08f873adc7
Roll up year to 2016
2016-04-22 22:50:26 +08:00
Kim
b3b522fd5e
Fix missing leading space in macro LOGI()
2016-04-22 22:38:51 +08:00
Max Lv
6c2c49ad60
Fix #586
2016-04-17 20:03:36 +08:00
Max Lv
114128668c
Refine helper functions
2016-04-16 00:43:27 +08:00
Max Lv
b0600a8784
Refine buffer handling
2015-11-30 15:03:04 +08:00
Max Lv
9431b9b0c3
Add TPROXY support for redir mode
2015-05-05 14:37:27 +08:00
Max Lv
339372af39
fix #277
2015-03-06 09:25:45 +08:00
JohnnySun
2de1ef639b
Add isatty check when change STDERR_FILENO to a file
2015-03-05 21:32:05 +08:00
Max Lv
434a10b512
refine #269
2015-02-28 23:28:21 +08:00
Max Lv
e5289e9ba4
Replace libasyncns with libudns
2015-01-10 12:31:13 +09:00
Max Lv
2a15e97196
bump version
2015-01-07 21:54:19 +09:00
Max Lv
93d861f9b9
fix #187
2014-12-19 10:50:29 +08:00
Symeon Huang
5bf9f7e439
fflush stderr on Windows.
...
unfortunately, Windows will buffer stderr if it's not executed in `cmd.exe`,
which will cause unpleasant buffered log output. adding fflush(stderr) will
solve this aged issue.
2014-11-13 23:55:34 +00:00
Max Lv
b198d1da2e
bump version
2014-11-12 13:12:59 +08:00
Max Lv
6f64d431b6
enable building shared library for #128
2014-11-06 10:42:00 +08:00
Max Lv
1008cf1f5b
fix #128
2014-11-03 17:04:40 +08:00
Max Lv
86087825a9
refine library interface
2014-11-02 10:24:32 +08:00
Datong Sun
1d8719f2e4
Added support for setrlimit(2)
2014-07-14 01:49:24 -05:00
Max Lv
aec9f9bc9a
add license headers
2014-05-25 13:13:39 +08:00
Max Lv
815c61f853
fix a typo
2014-05-09 19:40:29 +08:00
Max Lv
5709df6e83
add run_as option
2014-03-06 12:50:58 +08:00
Max Lv
f402119f6d
refine get_addr_str
2014-02-28 13:02:19 +08:00
Zhang Yi
c6b3b99fe0
Log to syslog when running in daemon mode.
2013-12-11 23:59:05 +08:00
Linus Yang
21b9258d77
Add initial support for native win32 platform
...
Should be built against MinGW, and please note that
only ss-local is ported due to lack win32 support of
libasyncns. And libev doesn't support IOCP but only
supports select
2013-09-09 20:59:22 +08:00
Max Lv
70ddd012e3
fix a bug on OS X 10.6.x
2013-05-18 18:43:16 +08:00
Max Lv
3ed7551ce1
add ANDROID utils
2013-04-19 18:00:44 +08:00
Max Lv
ab58addc58
remove uncessary memcpy
2013-04-17 15:14:49 +08:00
Max Lv
9a2fda8005
remove source file location info
2013-04-15 19:31:21 +08:00
Max Lv
db6b156808
fix some weird data corruptions caused by optimized memcpy
2013-04-15 17:49:03 +08:00
Max Lv
5df9644823
fix issues
2013-04-02 16:33:50 +08:00
Max Lv
73a13d2e8a
fix build
2013-04-01 19:03:08 +08:00
Max Lv
e2efa22733
embedded libev
2013-04-01 17:56:39 +08:00