Max Lv
33a1932023
Fix #2687
4 years ago
Max Lv
870f9d914d
Merge pull request #2686 from shadowsocks/rm-fedora-copr-librehat
Remove the unmaintained Fedora COPR section
4 years ago
Symeon Huang
4baff35e25
Remove the unmaintained Fedora COPR section
I'm no longer maintaining the packages for Fedora and RHEL. This PR seeks to remove this section to avoid confusions.
4 years ago
Max Lv
cc658e49cb
Merge pull request #2674 from cyber386/work
Update public libraries
4 years ago
cyber368
bab75a877a
Update public libraries
4 years ago
Max Lv
34f1bbed5b
Merge pull request #2673 from JamisHoo/master
cmake: fix build issues when this project is built as dependency of other CMake projects
4 years ago
Max Lv
2cdcb41fa8
Merge pull request #2672 from rogers0/PR/sync_debian
Sync debian/ folder with debian version 3.3.4+ds-3
4 years ago
Jamis Hoo
138186b3db
Add include_directories property for shared_libraries
4 years ago
Jamis Hoo
0aa55a29e5
Replace CMAKE_XXX_DIR with PROJECT_XXX_DIR, so that this project can be used in an enclosing project
4 years ago
Roger Shimizu
0d96da4471
Sync debian/ folder with debian version 3.3.4+ds-3
4 years ago
Max Lv
b9ce095ee7
Merge pull request #2666 from imMMX/add-dockerfile-timezone
Add Dockerfile timezone, Update readme.
4 years ago
mmx
57e0c9f924
Update Dockerfile set default timezone to UTC.
4 years ago
mmx
b6ddbbe0b0
Add Dockerfile timezone, Update readme.
4 years ago
Max Lv
f34b362af0
Merge pull request #2659 from ideal/master
Fix a tiny memory leak
4 years ago
ideal
af722a4b92
Fix a tiny memory leak
4 years ago
Max Lv
cafdd77b3d
Update README.md
4 years ago
Max Lv
6f7a6fd7e3
Merge pull request #2628 from Mygod/kill-sniparser
Remove sniparser
4 years ago
Max Lv
64d3235c67
Fix #2620
4 years ago
Max Lv
69b79e5b24
Merge pull request #2631 from shadowsocks/revert-2626-snapd-classic
Revert "Use classic mode to install shadowsocks-libev"
4 years ago
Max Lv
33976557d6
Revert "Use classic mode to install shadowsocks-libev"
4 years ago
Max Lv
8c251b2bc5
Fix build
4 years ago
Mygod
1c818ebca7
Fix build
4 years ago
Mygod
355adddff1
Remove unused is_remote_dns option
4 years ago
Mygod
301fea635b
Remove sniparser
4 years ago
Max Lv
bb12209941
Merge pull request #2626 from shadowsocks/snapd-classic
Use classic mode to install shadowsocks-libev
4 years ago
Mygod
5c16299c1a
Use classic mode to install shadowsocks-libev
This can prevent `Too many open files` error from happening due to sandboxing.
4 years ago
Max Lv
ac61025066
Merge pull request #2623 from babarosaM33/master
udprelay: exclude udp remote_recv_sendto buff full
4 years ago
babarosaM33
81bbd98d8b
udprelay: exclude udp remote_recv_sendto buff full
before:
udp send buff full would not reset timeout trigger
after:
fix it
4 years ago
Max Lv
f5c140dc1f
Merge pull request #2619 from babarosaM33/master
updrelay: cleanup
4 years ago
babarosaM33
a5111fe32f
updrelay: cleanup
4 years ago
Max Lv
375257954e
Merge pull request #2618 from imba-tjd/patch-1
readme(docker): remove "--fast-open"
4 years ago
谭九鼎
21e3224ff1
readme(docker): remove "--fast-open"
4 years ago
Max Lv
a0ef1a56f7
Merge pull request #2611 from hosiet/patch-1
tests/test.py: Make script compatible with python3
4 years ago
Boyuan Yang
defa4f8dcf
tests/test.py: Make script compatible with python3
Currently the test script assumes the returned web page is always encoded in UTF-8, which might not be the case. It is likely that the real encoding is `ISO-8859-1` and that running the script under python3 will raise error:
```
<
{ [11931 bytes data]
100 11923 0 11923 0 0 184k 0 --:--:-- --:--:-- --:--:-- 187k
Traceback (most recent call last):
File "tests/test.py", line 106, in <module>
line = str(line, 'utf8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 1105: invalid start byte
```
This pull request makes no assumption on the returned data and send the raw output to stderr as `bytes`. This should allow the test script to finish successfully when `tests/test.py` is run by python3.
4 years ago
Max Lv
0686909bb0
Merge pull request #2610 from babarosaM33/bloom_reset
ppbloom: save free() and subsequent init() overhead
4 years ago
Max Lv
6f9bd72def
Merge pull request #2609 from babarosaM33/bloom_slots
crypto: lower bloom filter error rate
4 years ago
babarosaM33
a5005664a7
ppbloom: save free() and subsequent init() overhead
init utilizes calloc which malloc and memset.
need cherry-pick commit of libbloom
4 years ago
Max Lv
5cd80951a3
Merge pull request #2608 from babarosaM33/master
Revert "ppbloom:remove unnecessay bloom_check"
4 years ago
babarosaM33
88c4d2aaab
crypto: lower bloom filter error rate
before patch:
full bloom filter error rate before reset 1-(1-1e-6)^5e5=1-0.606=0.394
after patch:
1-(1-1e-10)^5e5=1-0.99995=5e-5
4 years ago
babarosaM33
30d5b85fe7
Revert "ppbloom:remove unnecessay bloom_check"
ppbloom_add only checks current bloom filter not both PING PONG filters
This reverts commit 9ae59819be
.
4 years ago
Max Lv
b6a83d9497
Merge pull request #2606 from kuangniu/master
Fix sockopt level.
4 years ago
kuangniu
0f87d7cb68
Fix sockopt level.
4 years ago
Max Lv
4214894f5d
Fix a typo
4 years ago
Max Lv
4f577a0d31
Fix #2600
4 years ago
Max Lv
d31fba3deb
Fix #2599
4 years ago
Max Lv
0318168938
Merge pull request #2596 from babarosaM33/master
server: replace memmove with idx
4 years ago
Max Lv
ddd0df53f7
Merge pull request #2598 from babarosaM33/udprelay
udprelay: fix more tos
4 years ago
babarosaM33
8c03d25314
udprelay: fix more tos
4 years ago
babarosaM33
247d53098c
server: replace memmove with idx
4 years ago
Max Lv
6b85c980ee
Fix #2595
4 years ago