Max Lv
9431b9b0c3
Add TPROXY support for redir mode
10 years ago
Max Lv
339372af39
fix #277
10 years ago
JohnnySun
2de1ef639b
Add isatty check when change STDERR_FILENO to a file
10 years ago
Max Lv
434a10b512
refine #269
10 years ago
Max Lv
e5289e9ba4
Replace libasyncns with libudns
10 years ago
Max Lv
2a15e97196
bump version
10 years ago
Max Lv
93d861f9b9
fix #187
10 years ago
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.
10 years ago
Max Lv
b198d1da2e
bump version
10 years ago
Max Lv
6f64d431b6
enable building shared library for #128
10 years ago
Max Lv
1008cf1f5b
fix #128
10 years ago
Max Lv
86087825a9
refine library interface
10 years ago
Datong Sun
1d8719f2e4
Added support for setrlimit(2)
10 years ago
Max Lv
aec9f9bc9a
add license headers
11 years ago
Max Lv
815c61f853
fix a typo
11 years ago
Max Lv
5709df6e83
add run_as option
11 years ago
Max Lv
f402119f6d
refine get_addr_str
11 years ago
Zhang Yi
c6b3b99fe0
Log to syslog when running in daemon mode.
11 years ago
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
11 years ago
Max Lv
70ddd012e3
fix a bug on OS X 10.6.x
12 years ago
Max Lv
3ed7551ce1
add ANDROID utils
12 years ago
Max Lv
ab58addc58
remove uncessary memcpy
12 years ago
Max Lv
9a2fda8005
remove source file location info
12 years ago
Max Lv
db6b156808
fix some weird data corruptions caused by optimized memcpy
12 years ago
Max Lv
5df9644823
fix issues
12 years ago
Max Lv
73a13d2e8a
fix build
12 years ago
Max Lv
e2efa22733
embedded libev
12 years ago
Max Lv
5e65653d54
update README
12 years ago
Max Lv
75efb498e3
fix the bug in server end
12 years ago
Max Lv
68f31592d9
fix encryption context
12 years ago
Max Lv
0911c4ff76
add json config support
12 years ago