wyx2685
c4581ad34b
Xray core1.8.20 & support splitHTTP ( #661 )
...
* upgrade xray core 1.8.20
* support splitHTTP
2024-07-21 10:59:38 +08:00
Jat
d1e5762937
support passing redis network and redis username to redis client ( #576 )
...
Signed-off-by: Jat <jat@sinosky.org>
2024-01-12 22:22:28 +08:00
Senis John
e34a3b4a94
Update dependencies and replace go-redis with redis library
...
Replaced go-redis older version with a more updated version of redis library in limiter.go and go.mod files. This change will help to improve the performance and efficiency of the existing code. Updated the versions of 'gocache/store/redis/v4' and 'bsm/gomega' in go.sum and go.mod files to keep the project's dependencies up-to-date and fix potential security vulnerabilities. Removed the unnecessary indirect dependency 'go-redis/redis/v8' from go.sum file. Added 'redis/go-redis/v9' instead, to ensure compatibility with the newer version of Redis.
2023-09-12 17:28:27 +08:00
Senis John
eea6c0dea6
fix: typo
2022-12-11 06:51:25 +08:00
pocketW
be4f9cdac1
reduce clear interval
2022-12-07 21:58:12 +11:00
Senis John
9a06f78653
fix: Add deviceLimit to the prefix of email string
...
Solve different node and different device limit the less limit node cannot work normally.
2022-12-07 18:49:08 +08:00
Senis John
85d73408c3
update: refactor global limit cache. Use gocache lib for level 2 cache
...
fix: shadowsocks2022 init feat
2022-12-07 13:29:05 +08:00
pocketW
5397720430
fix: expire time error
2022-12-03 19:17:33 +11:00
pocketW
839b15c22c
fix: fix condition of check cert service
...
fix: check devices on redis first
2022-12-03 14:28:32 +11:00
Senis John
5b45b8ffe8
fix: refactor the InboundInfo struct
...
Global limit can separate settings for each node
2022-12-03 09:11:43 +08:00
Senis John
b6600729b2
update: code clean
2022-11-30 09:13:35 +08:00
Senis John
8d0225bcbb
fix: On enable global limit, the online device report feat will failure
...
update: add pushIP method for limiter
2022-11-29 20:42:09 +08:00
thank243
d320aadb54
fix: global limit will failure on some situation ( #124 )
...
fix: typo
2022-11-28 11:16:27 +08:00
thank243
40ae48f507
update: refactor the global limit ( #121 )
...
fix: some log prefix
It an enhance device limit. Redis just use to sync local ipMap.
If global limit is enabled. The online report will faliure. All enabled nodes will report the device from redis.
2022-11-27 10:12:30 +08:00
pocketW
d1bc36782b
add timeout
2022-11-26 21:44:14 +11:00
AikoCute
c04330d0bf
Merge branch 'master' of https://github.com/Github-Aiko/XrayR-Real
2022-11-26 16:14:06 +07:00
AikoCute
872eb12d35
Check Connect Redis Server
2022-11-26 16:13:45 +07:00
pocketW
2f10c3f6b8
revert error format
2022-11-20 14:57:20 +11:00
AikoCute
86324ff1ae
Logs for GlobalDeviceLimit
2022-11-20 10:10:03 +07:00
Senis
e0237f5c54
fix: http mode not working
...
fix: use "email|uid" for global limit user identify
update: tls alpn challenge for apply certificate
2022-11-16 12:59:44 +08:00
pocketW
4013f71e4c
fix: update global device limit
2022-11-12 02:22:53 +11:00
Senis
a397af5d73
fix: init global limit
2022-11-04 14:36:34 +08:00
Senis
b47954ea64
fix: minor bugs
2022-11-04 08:58:41 +08:00
Senis
9a2188cb0c
update: Global User IP limit.
2022-11-04 08:26:56 +08:00
Senis
838c667a87
fix: typo
2022-10-27 08:26:23 +08:00
pocketW
79528d3e17
feat: dynamic update speedlimit bucket
2022-10-13 08:37:59 +11:00
pocketW
05ec5660cf
Add files via upload
2022-04-27 14:01:18 +10:00