Max Lv
aa9fe8cceb
Fix #2692
5 years ago
Max Lv
8c251b2bc5
Fix build
5 years ago
babarosaM33
247d53098c
server: replace memmove with idx
5 years ago
babarosaM33
b48dcddc6c
server: fix setTosFromConnmark typo
Server made a connection to remote, remote replied with that connection.
nf_conntrack module would not check reply-dst and reply-src by default.
more information please refer to https://www.spinics.net/lists/netfilter/msg57842.html
As a result, src and dst should be swapped to make nf_conntrack find the connection.
5 years ago
Max Lv
6d73201b9a
Fix #2539
5 years ago
Max Lv
1ba753adaa
Fix #2536
5 years ago
Max Lv
22d5e59972
Remove request timeout
5 years ago
Max Lv
29936626b2
Refine the timeout logic
5 years ago
Max Lv
5da991a88c
Refine the handling of fragment request
5 years ago
Max Lv
313b9a7086
Refine #2463 , set default min timeout to 24h
5 years ago
Max Lv
03fb8c9f74
Revert "Add option '--long-idle' for server"
This reverts commit b4cda9dd42
.
5 years ago
lixingcong
b4cda9dd42
Add option '--long-idle' for server
Restore the default behavior handling timeout, make an option to enable
long idle connections.
Previously discussion:
https://github.com/shadowsocks/shadowsocks-libev/pull/2421
https://github.com/shadowsocks/shadowsocks-libev/issues/2427
5 years ago
Max Lv
1c4ddd3724
Fix #2449
5 years ago
Max Lv
64b97cd9a3
Clean up
5 years ago
Max Lv
a5daf4d502
Fix #2427
5 years ago
Mygod
ebdf27975c
Allow long idle connections in server
5 years ago
Max Lv
6c28add775
Enable -Wcas-align for #2412
5 years ago
Max Lv
a99c39c7dd
Simplify the server auto blocking mechanism
6 years ago
Max Lv
4a42da641b
Allow bind to local IPv4/v6 addresses. Fix #2372
6 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.
6 years ago
Max Lv
f35c162357
Reduce size of UDP remote context
6 years ago
Chinsyo
7bd382042b
bump copyright year
6 years ago
Max Lv
3fa9e57248
Refine ipv6only handling
6 years ago
Max Lv
14dd82045e
Refine json config handling. #2308
6 years ago
Max Lv
144138788b
Refine ipv6 only handling. #2300
6 years ago
Max Lv
404ec62b79
Fix #2285
6 years ago
Max Lv
d217209271
Revert "Switch user before starting plugin server" ( #2275 )
6 years ago
poplite
afeceeaf4d
Switch user before starting plugin server
6 years ago
Max Lv
782311ad2b
Refine ss_align interfaces
6 years ago
Max Lv
d6b21daa9c
Refine ACL log
6 years ago
Max Lv
c33cf3efc0
Fix #2267
6 years ago
Mygod
641e4ed9c8
Refine passing plugin args
Refine 68f885c271
. Somehow I postponed this change for 8 months. Good job me!
6 years ago
Gyt
84b157e866
add server port in log file
6 years ago
Max Lv
46ff0a8045
Refine #2162
6 years ago
Max Lv
dd5e954ab4
Clean up
6 years ago
Max Lv
1dcfe68c8c
Fix #2162
6 years ago
sxyoxygen
8356d8ae74
Update server.c
6 years ago
Yegor Ievlev
8fd83e2686
Use chacha20-ietf as a default cipher instead of rc4-md5 ( #2080 )
* Use chacha20-ietf as a default cipher instead of rc4-md5
* Update tunnel.c
* Update utils.c
* Update ss-local.asciidoc
* Update ss-local.asciidoc
* Update tunnel.c
* Update ss-tunnel.asciidoc
* Update ss-manager.asciidoc
* Update ss-redir.asciidoc
* Update shadowsocks-libev.asciidoc
* Update aead.c
* Update local.c
* Update server.c
* Update utils.c
7 years ago
Max Lv
a0ef456977
Fix #2051
7 years ago
FlyingheartCN
662b6db3f3
Fix Build Fail with GCC8
7 years ago
Linus Yang
14fb82b966
Enable plugins on MinGW
7 years ago
Max Lv
a377c5114a
Fix #1974
7 years ago
Linus Yang
3f00e533bf
Minor format fix
7 years ago
Linus Yang
0a11c87aa5
Do not override error code of setsockopt
7 years ago
Linus Yang
b4c5021c65
Missing macro for MinGW
7 years ago
Linus Yang
f4c612f832
Support TCP fast open on Windows
7 years ago
Linus Yang
2ed8791dab
Re-add support for MinGW
7 years ago
Max Lv
8acbe68e66
Fix #1915
7 years ago
ksqsf
3c3c50b4f8
Search XDG_CONFIG_HOME for user-specific config
7 years ago
Max Lv
5fa98a6693
Fix #1911
7 years ago