Commit Graph
23 Commits
Author SHA1 Message Date
VigilansandGitHub 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
Shelikhoo 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
秋のかえで 423d566024 fix typo 2021-12-23 13:14:43 +08:00
Shelikhoo ea5bb04acf incorporate changes in router implementation 2021-09-04 11:12:32 +01:00
JebbsandShelikhoo 2523d77919 improve commands
(rebased from ebbf31f07e)
2021-09-04 11:11:45 +01:00
JebbsandShelikhoo 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
LoyalsoldierandGitHub d7a202a705 Lint: update linter config & fix code style (#1089)
* Lint: update linter config
* Fix: code style
2021-06-22 22:36:23 +08:00
Shelikhoo 9a03b425c9 apply coding style 2021-06-22 12:56:35 +01:00
LoyalsoldierandGitHub e6aaa57def Feat: add queryStrategy option for DNS (#794) 2021-03-19 15:55:18 +08:00
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
LoyalsoldierandGitHub f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
V2Fly TeamandGitHub 66e203f156 DNS: refine skipRoutePick (#558) 2020-12-30 18:35:19 +08:00
loyalsoldier b181045b0c Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
Vigilans 4d5a4f4cb6 Routing: Implement Route interface as the routing result of Router 2020-09-18 17:30:59 +08:00
Vigilans 5a497890e6 Routing Context: Fix GetUser() & Use string for Attributes Value 2020-09-13 00:34:35 +08:00
Vigilans f9d37b724c Extract session information during routing as routing context 2020-09-04 11:32:19 +08:00
Darien Raymond 28fa84ce69 API doc 2018-12-03 22:44:42 +01:00
Darien Raymond 128a90b98b move link to transport 2018-11-03 12:36:29 +01:00
Darien Raymond 9decb3fe36 comments 2018-10-22 08:42:10 +02:00
Darien Raymond a5dcb0f13e refactor dependency resolution 2018-10-21 10:27:13 +02:00
Darien Raymond abf0cb1ec4 move function to features 2018-10-13 15:15:49 +02:00
Darien Raymond d730637239 Require Type() for Feature 2018-10-12 23:57:56 +02:00
Darien Raymond b6dc31d3fe first part to move feature interfaces into dedicated directory 2018-10-11 20:43:37 +02:00