babarosaM33
247d53098c
server: replace memmove with idx
4 years ago
babarosaM33
4d617adfb0
refine tos setsockopt in redir and udprelay
make tos setup working at ipv4 and ipv6
4 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.
4 years ago
babarosaM33
3908f3ac85
crypto: md5 hash works without hmac mode
setup mbedtls_md_context_t with hmac disabled to save some memory.
4 years ago
babarosaM33
9576dcea54
initialize after pass check
if check failes, no need to initialize crypto.
4 years ago
babarosaM33
9ae59819be
ppbloom:remove unnecessay bloom_check
bbloom_add and bbloom_check are in fact the same function.
let's make bbloom_add return collision information.
4 years ago
babarosaM33
7fe555c756
Remove unnecessary memmove
Before patch, after one chunk decoded, we do a memmove.
After patch, after all complete chunk decoded, we do a memmove.
4 years ago
Max Lv
f6bc4cc600
Delete test.json
4 years ago
Max Lv
74daa50e59
Fix #2565 #2566
4 years ago
Max Lv
ffc2ea42fc
Merge pull request #2563 from oszi/master
Set cap_net_bind_service for docker
4 years ago
David Osztertag
4c660f604f
Set cap_net_bind_service for docker
4 years ago
Max Lv
20a6ad6dfc
Merge pull request #2555 from rogers0/PR/fix_hurd_max_path
Fix of PATH_MAX for GNU/Hurd
5 years ago
Roger Shimizu
a7d57ab9d5
Fix of PATH_MAX for GNU/Hurd
PATH_MAX is not defined on each platform, and should be avoided.
Info:
- https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
- https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL
5 years ago
Max Lv
4261a3de8e
Merge pull request #2552 from ivq/fix-redir
Fix redir default cipher
5 years ago
igor
0b737a9525
Fix redir default cipher
5 years ago
Max Lv
97ee01326b
Merge pull request #2549 from rogers0/PR/fix_pc_in
shadowsocks-libev.pc.in: Remove crypto library dependency
5 years ago
Max Lv
e95c02b0d6
Merge pull request #2543 from mellow-io/fix-tos
Fix QoS
5 years ago
eric
16bd9af3a4
Fix QoS
5 years ago
Max Lv
6d73201b9a
Fix #2539
5 years ago
Max Lv
748e6f3824
Refine #2537
5 years ago
Max Lv
ce71f49af8
Fix #2537
5 years ago
Max Lv
1ba753adaa
Fix #2536
5 years ago
Max Lv
7763b961c5
Merge pull request #2531 from jessie-backports/patch-1
Update README.md
5 years ago
Max Lv
f7a0822e3e
Fix #2532
5 years ago
jessie-backports
f60057d69f
Update README.md
update debian distribution
5 years ago
Max Lv
e2765847cc
Bump version
5 years ago
Max Lv
22d5e59972
Remove request timeout
5 years ago
Max Lv
3125c8c96b
Merge pull request #2521 from xiaoding/master
Update FreeBSD section in README.md
5 years ago
Xiaoding Liu
602cacd2e7
Merge pull request #1 from xiaoding/xiaoding-patch-freebsd
Update FreeBSD section in README.md
5 years ago
Xiaoding Liu
488987927d
Update FreeBSD section
Update FreeBSD section, including install / configuration / run / run as client.
5 years ago
Max Lv
29936626b2
Refine the timeout logic
5 years ago
Max Lv
346ab1be47
Bump version
5 years ago
Max Lv
5da991a88c
Refine the handling of fragment request
5 years ago
Max Lv
73517220c3
Merge pull request #2508 from CertifiedBlyndGuy/master
cache: Remove unused return from 'cache_key_exist'
5 years ago
RJ Trujillo
7132ff1b7c
cache: Remove unused return from 'cache_key_exist'
If 'tmp' isn't accessed, 0 is returned by the function anyway. This
is a duplicate case therefore is not needed.
Signed-off-by: RJ Trujillo <certifiedblyndguy@gmail.com>
5 years ago
Max Lv
936f3283a4
Merge pull request #2503 from unl89/patch-1
readme: add manjaro
5 years ago
Alonzo Liu
964f145a60
readme: add manjaro
5 years ago
Max Lv
6cc9e01a6f
Delete FUNDING.yml
5 years ago
Max Lv
e911625696
Revert "Add echo for stat API"
This reverts commit 94dc47da9d
.
Fix #2477 .
5 years ago
Max Lv
74e87ba6c7
Merge pull request #2475 from lkebin/patch-1
Update Dockerfile
5 years ago
Max Lv
9109b63aaa
Avoid confusion of the return value of aead_cipher_decrypt()
5 years ago
Max Lv
345ef5c075
Fix #2481
5 years ago
Max Lv
5e3f5710d5
Add IPv4-mapped IPv6 localhost
5 years ago
Kebin Liu
2f61bac4c0
Update Dockerfile
Add ca-certificates for runtime dependency
When you use shadowsocks/shadowsocks-libev with [v2ray-plugin](https://github.com/shadowsocks/v2ray-plugin ), it may occurs `x509: certificate signed by unknown authority` error.
5 years ago
Max Lv
ec91e4f266
Update FUNDING.yml
5 years ago
Max Lv
715f26e285
Change the default timeout value to 24h
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
Max Lv
11c9a022ca
Merge pull request #2463 from lixingcong/long-idle
Add option '--long-idle' for server
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