1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
Commit Graph

24 Commits

Author SHA1 Message Date
Mark Ma
a339721af8
feat: RandomStrategy AliveOnly (#2850)
* feat: strategy_randomalive

* feat: RandomStrategy AliveOnly

* fix: unobserved candidate not alive

* fix: StrategySettings nil panic

* fix: TestRouterConfig

* fix: alive_only typo
2024-03-10 11:00:06 +00:00
Vigilans
f8ac919d66
[app/dns] Support per-client configuration for fakedns (#2212)
* Move `filterIP` from `hosts.go` to `dnscommon.go`

* Implement adding pools for fakedns.HolderMulti

* Implement per-client fakedns for DNS app

* Remove `dns.ClientWithIPOption` and replace with new programming model

* Implement JSON config support for new fakedns config

* Fix lint and tests

* Fix some codacy analysis
2022-12-15 10:38:28 +08:00
Vigilans
5604863859
DNS: Support specifying domain matcher (#1979) 2022-11-30 14:34:24 +08:00
Vigilans
d3b50bb989
Feat: [app/dns] Support per-client configuration (#1977)
* DNS: Support per-client configuration

* Add deprecated feature warnings for `skipFallback`, `disableCache`, `disableFallback`, `disableFallbackIfMatch`
2022-11-30 08:43:39 +08:00
Loyalsoldier
d9125f91af
Fix: gci command for formatting code (#1757)
* Fix: gci command for formatting code
* Chore: format code
2022-05-01 00:47:14 +08:00
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
Bo He
b057a37fd6
fix some typo (#1482) 2021-12-27 12:33:08 +08:00
Loyalsoldier
dce8764fd7
Lint: fix lint (#1427)
* Lint: replace golint with revive
* Lint: fix lint
2021-11-27 17:16:41 +08:00
Loyalsoldier
43447aa2e4
Chore: format code to fix lint (#1426) 2021-11-27 14:32:07 +08:00
世界
a66bb28aee
Reformat code 2021-10-28 18:34:19 +08:00
Shelikhoo
ee185a5824
rework protocol buffer log settings 2021-10-02 22:29:37 +01:00
世界
f383f896ed
Add disableFallbackIfMatch dns option 2021-09-27 22:10:54 +01:00
Shelikhoo
98ee44befd
update test for router refactor 2021-09-07 13:43:28 +01:00
Shelikhoo
68f28b1913
refactor common router structure into separate package 2021-09-07 09:13:58 +01:00
Shelikhoo
eb423bee54
update router to adapt to protobuf change 2021-09-07 08:02:38 +01:00
Shelikhoo
9bb67daa69
update dns to reflect change in proto 2021-09-07 07:59:57 +01:00
Shelikhoo
45dae48d21
added build context to dns 2021-09-04 21:54:21 +01:00
Shelikhoo
62f71c80ca
added buildV5 interface to dns and router 2021-09-04 21:44:10 +01:00
Shelikhoo
881571374d
rename Router Enum name Domain to prevent name collision
This creates build break in C++ environment.
2021-09-04 11:13:31 +01:00
Shelikhoo
c86ac3aca6
isolate dns settings synthesis: auto generated 2021-09-04 11:13:13 +01:00
Shelikhoo
b37755d111
isolate dns settings synthesis 2021-09-04 11:13:13 +01:00
Shelikhoo
3510ddb464
isolate log settings synthesis 2021-09-04 11:13:13 +01:00
Shelikhoo
72d2184dba
isolate router settings synthesis: auto generated file 2021-09-04 11:13:13 +01:00
Shelikhoo
39b3866774
isolate router settings synthesis 2021-09-04 11:13:11 +01:00