Syrone Wong
e81b205e61
Add mbed TLS support for shadowsocks-libev
Notes:
- Test cipher CFB support just in case (i.e. OpenWrt disabled it)
- Added some inline notes, please feel free to modify or remove them.
- Sorry for my bad English
- If you want to compile for OpenWrt, please make sure this hunk[1] not exists.
- Only tested on ARM mamba (Linksys WRT1900AC v1), it works.
[1] https://github.com/openwrt-mirror/openwrt/blob/master/package/libs/mbedtls/patches/200-config.patch#L12-L20
Have fun!
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Max Lv
aaf7284234
avoid protect socket every time
9 years ago
Max Lv
7260153439
add log for possible ip fragmentation
9 years ago
Max Lv
b3911fc84f
fix a build issue
9 years ago
Max Lv
a9f8b2bdfa
drop large UDP packets
9 years ago
Max Lv
d2794c0c98
disable TCP_FASTOPEN for EI Capitan
9 years ago
Max Lv
60bdea5b85
update a marco of detecting linux
9 years ago
Max Lv
3d2b980161
add android vpn mode option
9 years ago
Max Lv
94a1c4fa10
use blocking IPC
9 years ago
Max Lv
680007589c
fix a build issue
9 years ago
Max Lv
87fb636545
fix some issues
9 years ago
Max Lv
15010013a4
protect udp relay socket
9 years ago
Max Lv
2c0dd4a33d
fix some issues
9 years ago
Max Lv
feed7cc1f9
add android ipc function
9 years ago
Max Lv
a132e84465
refine a function name
9 years ago
Max Lv
2b1eef1197
fix #356 , disable TLS for uClibc
9 years ago
Max Lv
53ddb3b4d2
enlarge min UDP relay timeout
9 years ago
Max Lv
8283e51597
enlarge the default timeout
9 years ago
Max Lv
e4a795dad2
fix an issue of TPROXY
9 years ago
Max Lv
09152d405d
refine the handling of dest addr
9 years ago
Max Lv
b517ec2c91
fix a corner case
9 years ago
Max Lv
e980265bde
allow different destination addresses in UDP relay
9 years ago
Max Lv
415da01dcd
refine udp header constructor
9 years ago
Max Lv
78c2ab9166
fix #341
9 years ago
Max Lv
12c3136b9c
fix a typo
9 years ago
Max Lv
7764466998
fix the timer
9 years ago
Max Lv
e0a864aca7
Fix #337
9 years ago
Max Lv
944e3b2a16
refine the log of TCP only mode
9 years ago
Max Lv
a312986239
remove UDP relay only from local mode
9 years ago
Max Lv
ea9d293abe
add UDP relay only mode
9 years ago
Max Lv
4883903e65
increase max udp timeout to 60s
9 years ago
Max Lv
9a5468d313
fix the timer of udprelay
9 years ago
Max Lv
00e7ea205c
check name_len in the header
9 years ago
Max Lv
d53cd0c3fd
decrease the MAX_UDP_TIMEOUT to 10s
9 years ago
Max Lv
248abd3d02
clean up
9 years ago
Max Lv
d5765a8bbe
fix incorrect p_len in ss_decrypt_all
9 years ago
Max Lv
9431b9b0c3
Add TPROXY support for redir mode
9 years ago
Max Lv
1a3b56170d
refine addr_header comparison
10 years ago
JohnnySun
4f45870970
Add try to use /etc/shadowsocks/config.json for ss-redir ss-server ss-tunnel.
10 years ago
JohnnySun
cc639b18a4
When user running ss-local but not input any argument, ss-local will try to use ./config(if exist).
bettter way.
change default config path as /etc/shadowsocks/config.json
When user running ss-local but not input any argument, ss-local will try to use ./config(if exist).
Fixed the indent
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
b875797839
clean up
10 years ago
Max Lv
c760f11902
refine #274
10 years ago
Max Lv
f8e86c57c0
fix #274
10 years ago
Max Lv
39362601a8
fix #271
10 years ago
Max Lv
434a10b512
refine #269
10 years ago
Leonard Li
8335bae6f7
fixed config.json compatibility issue
10 years ago
Max Lv
223b8bcd68
refine UDP timeout
10 years ago
Max Lv
a365d66d69
fix an issue of acl
10 years ago