1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-09 19:58:45 -05:00
Commit Graph

37 Commits

Author SHA1 Message Date
Shelikhoo
98ee44befd
update test for router refactor 2021-09-07 13:43:28 +01:00
Shelikhoo
ea5bb04acf
incorporate changes in router implementation 2021-09-04 11:12:32 +01:00
Jebbs
fa0cf6db26
v5: Health Check & LeastLoad Strategy (rebased from 2c5a714903)
Some changes will be necessary to integrate it into V2Ray
2021-09-04 11:11:45 +01:00
Shelikhoo
caaf7f74f5
adjust test to match new init function 2021-04-09 16:02:45 +01:00
Loyalsoldier
e6aaa57def
Feat: add queryStrategy option for DNS (#794) 2021-03-19 15:55:18 +08:00
yuhan6665
afb8385a7e
Feat: routing and freedom outbound ignore Fake DNS (#696)
Turn off fake DNS for request sent from Routing and Freedom outbound.
Fake DNS now only apply to DNS outbound.
This is important for Android, where VPN service take over all system DNS
traffic and pass it to core.  "UseIp" option can be used in Freedom outbound
to avoid getting fake IP and fail connection.

Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-02-23 10:17:20 +08:00
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
loyalsoldier
784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
Vigilans
4d5a4f4cb6 Routing: Implement Route interface as the routing result of Router 2020-09-18 17:30:59 +08:00
Vigilans
f9d37b724c Extract session information during routing as routing context 2020-09-04 11:32:19 +08:00
Darien Raymond
0d31a68694
extract all session context before checking conditions 2019-02-28 09:28:55 +01:00
Darien Raymond
82d562d1f0
use session.Outbound.ResolvedIPs 2018-12-04 20:36:51 +01:00
Darien Raymond
769f770cf7
migrate NetworkList to []Network 2018-11-20 16:58:26 +01:00
Darien Raymond
2cc92920fa
test case for balancer 2018-11-07 21:25:43 +01:00
Darien Raymond
73d3be424b
prototype for balancing rules 2018-11-07 21:08:20 +01:00
Darien Raymond
9e66f315e6
update mocks 2018-10-23 22:41:27 +02:00
Darien Raymond
5fc606ce9d
relocate mocks 2018-10-23 22:27:45 +02:00
Darien Raymond
f78cf6cfc2
testing with mock 2018-10-22 15:58:52 +02:00
Darien Raymond
a5dcb0f13e
refactor dependency resolution 2018-10-21 10:27:13 +02:00
Darien Raymond
94b880d060
move session based info into session package 2018-09-18 23:09:54 +02:00
Darien Raymond
292d7cc353
massive refactoring for interoperability 2018-01-10 12:22:37 +01:00
Darien Raymond
c277c6de54
fix test 2017-12-20 00:00:36 +01:00
Darien Raymond
74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond
d04d92c187
update context functions 2017-02-09 22:49:38 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
8b00d6fc30
clean imports 2017-01-14 00:27:45 +01:00
Darien Raymond
17504d2aac
context'ize apps 2017-01-13 13:41:40 +01:00
Darien Raymond
b11d48d73f
simplify app design 2017-01-06 15:32:36 +01:00
Darien Raymond
095c29fa8c
decouple outbound handler manager 2016-12-16 23:02:11 +01:00
Darien Raymond
a7ef82ffbc
fix test break 2016-10-19 12:01:11 +02:00
Darien Raymond
22ef12a456
simplify router 2016-10-12 16:11:13 +02:00
v2ray
3ded18a75b initializable apps 2016-05-18 08:12:04 -07:00
v2ray
dac1339d6e Use dns in router 2016-05-16 00:25:34 -07:00
v2ray
dde47290d7 completely remove json folder in v2ray 2016-01-17 21:43:10 +01:00
Darien Raymond
ae8121e633 remove json packages in app folder 2016-01-17 15:20:49 +00:00
v2ray
34a0cb0b70 move port out of address 2015-12-16 23:53:38 +01:00
v2ray
cf56b89898 more router test cases 2015-12-12 20:47:29 +01:00