Commit Graph

26 Commits

Author SHA1 Message Date
Star Brilliant 4f46b89feb Resolve (some) linter warnings 2020-08-02 05:58:24 +08:00
Star Brilliant 2c7e70466e Rewrite globalip_test 2020-08-02 05:53:21 +08:00
Star Brilliant 63bceea638 Merge branch 'master' into globalip_use_iptree 2020-08-02 05:01:56 +08:00
leixiang 34feec9f5d json-dns/response.go: Fix variant question response in Response.Question
Known affected DoH server:
    https://www.alidns.com/faqs/#dns-safe
2020-08-01 13:26:35 +08:00
sanyo 31ea7c520d Use ipTree to determine the global IP 2020-07-16 17:11:34 +08:00
gdm85 2067eb688f Fix Opcode never assigned in jsonDNS.PrepareReply 2019-10-16 13:14:03 +02:00
Star Brilliant afa0d563d0 Add passthrough feature, tests are welcome 2018-11-07 17:10:39 +08:00
Star Brilliant ffe5573552 Change the ECS prefix length from /48 to /56 for IPv6, per RFC 7871 2018-08-14 09:06:13 +08:00
Star Brilliant f4516429ee Take User-Agent out of common library, that would be better for packaging 2018-04-24 14:25:33 +08:00
Star Brilliant 450c10a594 Fix version number in User-Agent 2018-04-17 03:27:42 +08:00
Star Brilliant 521b4b6abc Implement IETF protocol 2018-03-21 00:14:59 +08:00
Star Brilliant 32e3cfa636 Always set RecursionAvailable even on error 2017-11-30 17:25:22 +08:00
Star Brilliant c42303e93e Improve DNS error handling 2017-11-30 17:09:55 +08:00
Star Brilliant 72211674fa Retab 2017-11-30 16:31:51 +08:00
Star Brilliant 1b998d13de Relicense as MIT license 2017-11-29 10:45:04 +08:00
Star Brilliant 43337472b4 Fix HTTP error handling 2017-10-04 14:59:50 +08:00
Star Brilliant 1668f0f18c Revert "Set ECS prefix as scope"
This reverts commit 82c793d78d.
2017-10-04 14:27:02 +08:00
Star Brilliant 15e6ec1491 Remove X-Edns-Client-Subnet, that is not useful 2017-10-04 14:23:39 +08:00
Star Brilliant 82c793d78d Set ECS prefix as scope 2017-10-04 13:32:23 +08:00
Star Brilliant dc242ed284 Fix ECS serialization 2017-10-04 13:18:19 +08:00
Star Brilliant 8cede6e423 Fix ECS serialization 2017-10-04 13:13:25 +08:00
Star Brilliant 8f9d5dbdbe Fix ECS serialization 2017-10-04 13:09:12 +08:00
Star Brilliant dd627b2407 Workaround bug https://github.com/miekg/dns/pull/530 2017-10-04 12:54:26 +08:00
Star Brilliant e0f127f1b1 Reduce source address reveal 2017-10-04 12:42:18 +08:00
Star Brilliant 252a335b89 Fix crash 2017-10-04 00:41:28 +08:00
Star Brilliant 1f8b1ea7ad Update 2017-10-03 23:50:16 +08:00