Commit Graph
2247 Commits
Author SHA1 Message Date
kuangniu 0f87d7cb68 Fix sockopt level. 2020-01-24 14:06:45 +09:00
Max Lv 4214894f5d Fix a typo 2020-01-20 16:43:25 +08:00
Max Lv 4f577a0d31 Fix #2600 2020-01-19 18:13:18 +08:00
Max Lv d31fba3deb Fix #2599 2020-01-19 18:04:18 +08:00
Max Lv 0318168938 Merge pull request #2596 from babarosaM33/master
server: replace memmove with idx
2020-01-19 13:12:58 +08:00
Max Lv ddd0df53f7 Merge pull request #2598 from babarosaM33/udprelay
udprelay: fix more tos
2020-01-19 13:03:36 +08:00
babarosaM33 8c03d25314 udprelay: fix more tos 2020-01-19 12:07:50 +08:00
babarosaM33 247d53098c server: replace memmove with idx 2020-01-19 09:46:18 +08:00
Max Lv 6b85c980ee Fix #2595 2020-01-18 08:44:26 +08:00
Max Lv bebdcbedd7 Merge pull request #2592 from babarosaM33/master
refine tos setsockopt in redir and udprelay
2020-01-18 07:31:38 +08:00
babarosaM33 4d617adfb0 refine tos setsockopt in redir and udprelay
make tos setup working at ipv4 and ipv6
2020-01-17 19:16:02 +08:00
Max Lv 5eeff4df48 Merge pull request #2590 from babarosaM33/master
server: fix setTosFromConnmark typo
2020-01-17 14:19:06 +08:00
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.
2020-01-17 13:10:47 +08:00
Max Lv 8811ec27af Merge pull request #2586 from babarosaM33/master
crypto: md5 hash works without hmac mode
2020-01-15 17:18:48 +08:00
babarosaM33 3908f3ac85 crypto: md5 hash works without hmac mode
setup mbedtls_md_context_t with hmac disabled to save some memory.
2020-01-15 12:20:18 +08:00
Max Lv 40ba7c7fde Merge pull request #2582 from babarosaM33/master
ppbloom:remove unnecessay bloom_check
2020-01-13 14:51:22 +08:00
babarosaM33 9576dcea54 initialize after pass check
if check failes, no need to initialize crypto.
2020-01-13 13:39:02 +08:00
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.
2020-01-13 13:24:52 +08:00
Max Lv 6b5025bf74 Merge pull request #2581 from shadowsocks/stream-warning
Warn users when using stream ciphers
2020-01-13 08:01:33 +08:00
Mygod 80b887d16e Warn users when using stream ciphers 2020-01-12 23:09:52 +08:00
Max Lv 72d7d9217c Bump version v3.3.4 2020-01-10 09:48:42 +08:00
Max Lv f1b185ed3b Merge pull request #2577 from babarosaM33/master
Remove unnecessary memmove
2020-01-08 07:35:16 +08:00
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.
2020-01-08 04:33:35 +08:00
Max Lv f6bc4cc600 Delete test.json 2019-12-27 12:11:33 +08:00
Max Lv 74daa50e59 Fix #2565 #2566 2019-12-24 09:40:14 +08:00
Max Lv ffc2ea42fc Merge pull request #2563 from oszi/master
Set cap_net_bind_service for docker
2019-12-20 21:36:12 +08:00
David Osztertag 4c660f604f Set cap_net_bind_service for docker 2019-12-20 13:55:56 +01:00
Max Lv 20a6ad6dfc Merge pull request #2555 from rogers0/PR/fix_hurd_max_path
Fix of PATH_MAX for GNU/Hurd
2019-12-04 06:27:37 +08:00
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
2019-12-04 01:20:53 +09:00
Max Lv 4261a3de8e Merge pull request #2552 from ivq/fix-redir
Fix redir default cipher
2019-12-01 03:10:44 +08:00
igor 0b737a9525 Fix redir default cipher 2019-11-30 22:17:32 +08:00
Max Lv 97ee01326b Merge pull request #2549 from rogers0/PR/fix_pc_in
shadowsocks-libev.pc.in: Remove crypto library dependency
2019-11-24 09:15:45 +08:00
Max Lv e95c02b0d6 Merge pull request #2543 from mellow-io/fix-tos
Fix QoS
2019-11-16 07:25:37 +08:00
eric 16bd9af3a4 Fix QoS 2019-11-16 07:06:08 +08:00
Max Lv 6d73201b9a Fix #2539 2019-11-10 19:58:21 +08:00
Max Lv 748e6f3824 Refine #2537 2019-11-09 07:25:39 +08:00
Max Lv ce71f49af8 Fix #2537 2019-11-09 07:17:06 +08:00
Max Lv 1ba753adaa Fix #2536 2019-11-09 07:08:59 +08:00
Max Lv 7763b961c5 Merge pull request #2531 from jessie-backports/patch-1
Update README.md
2019-11-06 12:41:00 +08:00
Max Lv f7a0822e3e Fix #2532 2019-11-06 12:23:44 +08:00
jessie-backports f60057d69f Update README.md
update debian distribution
2019-11-06 10:24:36 +08:00
Max Lv e2765847cc Bump version v3.3.3 2019-10-31 15:16:05 +08:00
Max Lv 22d5e59972 Remove request timeout 2019-10-30 09:44:58 +08:00
Max Lv 3125c8c96b Merge pull request #2521 from xiaoding/master
Update FreeBSD section in README.md
2019-10-25 16:16:42 +08:00
Xiaoding Liu 602cacd2e7 Merge pull request #1 from xiaoding/xiaoding-patch-freebsd
Update FreeBSD section in README.md
2019-10-25 13:30:32 +08:00
Xiaoding Liu 488987927d Update FreeBSD section
Update FreeBSD section, including install / configuration / run / run as client.
2019-10-25 13:28:31 +08:00
Max Lv 29936626b2 Refine the timeout logic 2019-10-12 17:13:28 +08:00
Max Lv 346ab1be47 Bump version v3.3.2 2019-10-12 15:20:52 +08:00
Max Lv 5da991a88c Refine the handling of fragment request 2019-10-12 08:18:45 +08:00
Max Lv 73517220c3 Merge pull request #2508 from CertifiedBlyndGuy/master
cache: Remove unused return from 'cache_key_exist'
2019-10-07 16:28:42 +08:00