Commit Graph

20 Commits

Author SHA1 Message Date
Loyalsoldier 10ca68f277
Feat: remove geo files from repo & refine tests (#869) 2021-04-07 03:08:03 +08:00
Loyalsoldier 3a50affa0a
Feat: add reverse match for GeoIP (#860) 2021-04-06 12:29:12 +08:00
Shelikhoo e22cf451f4
Allow bulk definition of domain matcher at parent level 2021-03-05 18:37:32 +00:00
Shelikhoo 38b0f026fe
json parsing rule for domain matcher 2021-03-03 22:35:55 +00:00
Loyalsoldier f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier 7a020d2d71
DNS & Routing: refine rule parsing process (#528) 2020-12-18 08:36:34 +08:00
CalmLong 6858a7b0a7
Routing: consistent with domains key in DNS configuration (#502) 2020-12-11 21:16:52 +08:00
loyalsoldier 784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
Loyalsoldier dfed0dc03a
Refine: geofile reading errors (#236) 2020-09-29 14:01:12 +08:00
Vigilans 22b4e68a2d Log matched rules and DNS to use during priority matching
2. Dotless domain support in static host & modify first letter's captial in log
2020-08-16 22:18:28 +08:00
Kslr 111d48130d
Merge pull request #89 from Vigilans/vigilans/dns-dotless-domain
Dotless and local domain support in built-in DNS
2020-08-09 19:27:53 +08:00
Vigilans 40c0bcc3ab Support source port matching in routing config 2020-08-09 16:53:45 +08:00
Vigilans 17f51f412c Dotless domain support in built-in DNS 2020-08-09 16:51:06 +08:00
Shelikhoo d2266bb52c
Alias for ext: to reduce ambiguous ext: used without context 2020-07-11 09:24:03 +08:00
Kirill Motkov 0401a91ef4 Some code improvements
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
heapops 0563d3a4bf Fix ip rule with custom geoip file
Signed-off-by: heapops <heapbin1@gmail.com>
2019-05-18 13:10:40 +08:00
Darien Raymond 02d8845093
add scripting support for attributes matching 2019-02-28 14:04:43 +01:00
Darien Raymond 6db7935b8c
tolerate domain type names as much as possible. 2019-02-26 21:32:07 +01:00
Darien Raymond 95583b5031
support range list in routing rule 2019-02-24 23:43:00 +01:00
Darien Raymond 4eb2b5e607
merge ext into core 2019-02-10 19:04:11 +01:00