Max Lv
38e83d6b5d
Make sure socket buffer size no larger than max chunk size
5 years ago
Max Lv
a7291ea725
Enlarge the socket buffer size to 16KB.
After five years, memory footprint is not a problem for most of
low-end boxes and high-end routers now.
It should also improve the speed on loopback and high-speed LAN
networks.
5 years ago
Max Lv
49526d8556
Fix ss-nat's log
5 years ago
Max Lv
c96e284ea9
Fix an issue of IPv6 NAT
5 years ago
Max Lv
dc2c1e152a
Merge pull request #2358 from amphineko/master
doc: refine document for argument `-b`, fix #2353
5 years ago
amphineko
e509a19698
doc: refine document for argument `-b`, fix #2353
5 years ago
Max Lv
f35c162357
Reduce size of UDP remote context
5 years ago
Max Lv
71cc0fb362
Merge pull request #2331 from chinsyo/master
bump copyright year to 2019
5 years ago
Chinsyo
7bd382042b
bump copyright year
5 years ago
Max Lv
3590860a99
Merge pull request #2323 from ideal/master
cmake: change to absolute path to avoid command running every time
5 years ago
ideal
e64f9184cd
cmake: change to absolute path to avoid command running every time to generate documents
5 years ago
Max Lv
2254851e3f
Merge pull request #2318 from ideal/master
fix typo; change installation path of man and doc
5 years ago
ideal
56e805c99b
cmake: installing man and doc files compliant to distribution standard
5 years ago
ideal
a3265742d1
fix typo in comment
5 years ago
Max Lv
57231ce392
Merge pull request #2316 from ideal/master
cmake: fix for system shared libs building, version string
5 years ago
ideal
5c0b8d2ab4
cmake: let version available in config.h
5 years ago
ideal
55647ce5f2
define USE_SYSTEM_SHARED_LIB in config.h when cmake with -DWITH_EMBEDDED_SRC=OF
set USE_SYSTEM_SHARED_LIB to TRUE to let cmakedefine take effect in cmake/config.h.cmake
5 years ago
ideal
4913978a58
cmake: put pkgconfig file into lib/pkgconfig
5 years ago
Max Lv
3fa9e57248
Refine ipv6only handling
5 years ago
Max Lv
1a77023777
Fix #2314
5 years ago
Max Lv
b0c6ba4945
Bump version
5 years ago
Max Lv
831c2c05e9
Merge pull request #2311 from rampageX/master
dont overrides mbedtls's CFLAGS
5 years ago
Punk
0401d0efdb
dont overrides mbedtls's CFLAGS
From mbedtls README.md, "Please note that setting CFLAGS overrides its default value of -O2 and...".
Restore the -O2 will save ~100k for any of mbedtls's lib files.
5 years ago
rampageX
f5a25c2ac7
Merge pull request #1 from shadowsocks/master
resync
5 years ago
Max Lv
8fa86701ac
Merge pull request #2310 from ideal/master
cmake: keep execute permission of files in bin directory
5 years ago
ideal
a67e3308ce
cmake: keep execute permission of files in bin directory (e.g. ss-local) after cmake install
5 years ago
Max Lv
14dd82045e
Refine json config handling. #2308
5 years ago
Max Lv
c8ebaeb8ec
Merge pull request #2307 from ideal/master
fix cmake build on macOS
5 years ago
ideal
b020179bb5
fix cmake build error on macOS: find libsodium header files
5 years ago
ideal
3a641953ca
let check_include_files() can find pcre installed by homebrew on macOS
5 years ago
Max Lv
90a99cdb67
Merge pull request #2305 from tdh8316/patch-1
Fix typo in README
5 years ago
Donghyeok Tak
3c1f68c91b
Update README.md
Fix typo
5 years ago
Max Lv
2ee1235cc3
Merge pull request #2304 from isjerryxiao/master
Fix a bug introduced in #2230 , and some improvements
5 years ago
Jerry
1d5f250032
ss-nat: use ping to lookup dns A records
5 years ago
Jerry
6734e12172
ss-nat: fix hostname lookup bugs introduced in #2230
Fixes: An ipv4 address went through dig and returns nothing, causing the script to print help.
ip address can be handled correctly now.
5 years ago
Max Lv
144138788b
Refine ipv6 only handling. #2300
5 years ago
Max Lv
0f55830b1d
Remove default IPv6 and fast-open option in the dockerfile
5 years ago
Max Lv
c9159fc927
Bump version
5 years ago
Max Lv
404ec62b79
Fix #2285
5 years ago
Max Lv
b430124ed8
Refine is_remote_dns defination
5 years ago
Max Lv
ed67a1abcb
Update README.md
5 years ago
Max Lv
6a2f970817
Update README.md
5 years ago
Max Lv
d217209271
Revert "Switch user before starting plugin server" ( #2275 )
5 years ago
Max Lv
c1fe0468f9
Merge pull request #2274 from poplite/fix-su
Switch user before starting plugin server
5 years ago
poplite
afeceeaf4d
Switch user before starting plugin server
5 years ago
Max Lv
333e98dc86
Redirect standard fd to /dev/null by default
5 years ago
Max Lv
85b190372b
Fix the ss_free macros
5 years ago
Max Lv
782311ad2b
Refine ss_align interfaces
5 years ago
Max Lv
fbb311ed06
Use _aligned_free for MinGW
5 years ago
Max Lv
4fb34de463
Use _aligned_malloc instead
5 years ago