23 Commits

Author SHA1 Message Date
qyb 2df81db465 log real client ip behind a HTTPS gateway (#38)
* log real client ip behind a HTTPS gateway

* fix tab/space indent

* better compatible for apache/nginx log default format

* add  config option
2019-03-16 05:36:52 +08:00
Star Brilliant c51be0e69c Use context for more functions 2018-11-07 19:25:46 +08: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 033865e508 Workaround a bug causing Firefox 61-62 to reject responses with Content-Type = application/dns-message 2018-07-02 19:42:57 +08:00
Star Brilliant 7e7cd1ee90 Workaround a bug causing Firefox 61-62 to reject responses with Content-Type = application/dns-message 2018-07-02 17:55:58 +08:00
Star Brilliant e19250dc99 Workaround a bug causing Firefox 61-62 to reject responses with Content-Type = application/dns-message 2018-07-02 17:49:34 +08:00
Star Brilliant a64df3f048 Preserve TransactionID 2018-07-02 13:49:59 +08:00
Star Brilliant 11056bcad5 Construct a real DNS packet for DNSCrypt-Proxy 2018-06-26 15:20:43 +08:00
Star Brilliant ca33027e04 Remove offensive words :-) 2018-06-26 14:39:05 +08:00
Star Brilliant 523b6120b9 Workaround a bug causing DNSCrypt-Proxy to expect a response with TransactionID = 0xcafe 2018-06-26 03:55:59 +08:00
Star Brilliant 5afdee6315 Put EDNS0 at the beginning of the OPT section 2018-04-25 03:05:06 +08:00
Star Brilliant 874a3613e4 Use dns.DefaultMsgSize instead of magic number 4096 2018-04-25 03:04:31 +08:00
Star Brilliant 83f20767ea Update to IETF draft-07 2018-04-13 02:46:03 +08:00
Star Brilliant 236f7931e6 Update to IETF draft-06 2018-04-10 14:02:51 +08:00
Star Brilliant 0a107be362 Use absolute path for ../json-dns 2018-04-02 21:07:49 +08:00
Star Brilliant 1be3052cda Fix cache privateness 2018-03-21 15:08:12 +08:00
Star Brilliant 2b3a261247 Fix case issue 2018-03-21 04:14:45 +08:00
Star Brilliant cefa3a6ba8 Fix HTTP header time zone 2018-03-21 02:52:22 +08:00
Star Brilliant ebaaa7ff71 Enable verbose for IETF protocol 2018-03-21 02:14:11 +08:00
Star Brilliant 2ab2120a39 Implement IETF protocol 2018-03-21 02:01:56 +08:00
Star Brilliant 64664a59b8 Implement IETF protocol 2018-03-21 01:38:21 +08:00
Star Brilliant 521b4b6abc Implement IETF protocol 2018-03-21 00:14:59 +08:00