17 months agoBump version to 2.0.0
Star Brilliant []
Bump version to 2.0.0

17 months agoUpdate build scripts
Star Brilliant []
Update build scripts

17 months agoReplace Url with URL
Star Brilliant []
Replace Url with URL

17 months agoAdd backend weight round robin select (#34)
Sherlock Holo []
Add backend weight round robin select (#34)

* Add upstream selector, there are two selector now:
- random selector
- weight random selector

random selector will choose upstream at random; weight random selector will choose upstream at random with weight

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Rewrite config and config file example, prepare for weight round robbin selector

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Replace bad implement of weight random selector with weight round robbin selector, the algorithm is nginx weight round robbin like

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Use new config module

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Disable deprecated DualStack set

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Fix typo

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Optimize upstreamSelector judge

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Fix typo

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Add config timeout unit tips

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Set wrr http client timeout to replace http request timeout

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Add weight value range

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Add a line ending for .gitignore

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Optimize config file style

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Modify Weight type to int32

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Add upstreamError

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Rewrite Selector interface and wrr implement

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Use http module predefined constant to judge req.response.StatusCode

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Use Selector.ReportUpstreamError to report upstream error for evaluation loop in real time

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Make client selector field private

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Replace config file url to URL
Add miss space for 'weight= 50'

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Rewrite Selector.ReportUpstreamError to Selector.ReportUpstreamStatus, report upstream ok in real time

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Fix checkIETFResponse: if upstream OK, won't increase weight

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

* Fix typo

Signed-off-by: Sherlock Holo <sherlockya@gmail.com>

20 months agoBump to version 1.4.3
Star Brilliant []
Bump to version 1.4.3

20 months agoRelease 1.4.2 v1.4.2
Star Brilliant []
Release 1.4.2

20 months agoRemove dns.ErrTruncated according to https://github.com/miekg/dns/pull/815
Star Brilliant []
Remove dns.ErrTruncated according to https://github.com/miekg/dns/pull/815

20 months agoMerge pull request #30 from Sherlock-Holo/master
Star Brilliant []
Merge pull request #30 from Sherlock-Holo/master

Refine runtime.GOOS check, use switch case to replace a long if

20 months agoRefine runtime.GOOS check, use switch case to replace a long if
Sherlock Holo []
Refine runtime.GOOS check, use switch case to replace a long if

20 months agoUse time.Since to replace time.Now().Sub
Star Brilliant []
Use time.Since to replace time.Now().Sub

20 months agoAdd PID file support
Star Brilliant []
Add PID file support

21 months agoRemove an item from Changelog since it was actually fixed in eariler version
Star Brilliant []
Remove an item from Changelog since it was actually fixed in eariler version

21 months agoCorrect spelling
Star Brilliant []
Correct spelling

21 months agoBump version to 1.4.2
Star Brilliant []
Bump version to 1.4.2

21 months agoRelease 1.4.1 v1.4.1
Star Brilliant []
Release 1.4.1

21 months agoAdd detectportal.firefox.com to default passthrough list
Star Brilliant []
Add detectportal.firefox.com to default passthrough list

21 months agoEnable CORS by default, which is necessary for AJAX resolver to run
Star Brilliant []
Enable CORS by default, which is necessary for AJAX resolver to run

21 months agoDetect context.DeadlineExceeded
Star Brilliant []
Detect context.DeadlineExceeded

21 months agoUse context for more functions
Star Brilliant []
Use context for more functions

21 months agoPut cancel() earlier
Star Brilliant []
Put cancel() earlier

21 months agoUse RCODE_REFUSED for unsupported Qclass
Star Brilliant []
Use RCODE_REFUSED for unsupported Qclass

21 months agoTry to use context.WithTimeout to detect HTTP timeout. Hopefully it might work.
Star Brilliant []
Try to use context.WithTimeout to detect HTTP timeout. Hopefully it might work.

21 months agoSlightly change the log format
Star Brilliant []
Slightly change the log format

21 months agoAdd passthrough feature, tests are welcome
Star Brilliant []
Add passthrough feature, tests are welcome

21 months agoFix HTTP stream leaking problem
Star Brilliant []
Fix HTTP stream leaking problem

21 months agoMerge pull request #28 from Chaz6/patch-1
Star Brilliant []
Merge pull request #28 from Chaz6/patch-1

doh-server: change to google.go

21 months agoUpdate google.go
Chris Hills []
Update google.go

Make "cd" check case-insensitive.

21 months agodoh-server: change to google.go
Chris Hills []
doh-server: change to google.go

Allow the "cd" parameter to be case insensitive to work with some clients that send True/False instead of true/false such as gDNS.

21 months agoCongratulations RFC 8484, remove the word "draft" from Readme
Star Brilliant []
Congratulations RFC 8484, remove the word "draft" from Readme

21 months agoCongratulations RFC 8484, remove the word "draft" from Readme
Star Brilliant []
Congratulations RFC 8484, remove the word "draft" from Readme

22 months agoUpdate Readme, fix issue #27
Star Brilliant []
Update Readme, fix issue #27

22 months agoUpdate Readme
Star Brilliant []
Update Readme

22 months agoAdd a ink to a guide
Star Brilliant []
Add a ink to a guide

22 months agoFix panic with debug_http_headers
Star Brilliant []
Fix panic with debug_http_headers

22 months agoMerge pull request #22 from paulie-g/master
Star Brilliant []
Merge pull request #22 from paulie-g/master

Fix segfault when no_cookies=true

22 months agoFix segfault when no_cookies=true
Paul G []
Fix segfault when no_cookies=true

22 months agoBuild doh-logger with static libswiftCore, fix #20
Star Brilliant []
Build doh-logger with static libswiftCore, fix #20

22 months agoAdd configuration option: debug_http_headers
Star Brilliant []
Add configuration option: debug_http_headers

23 months agoBump version to 1.3.11
Star Brilliant []
Bump version to 1.3.11

23 months agoRelease 1.3.10 v1.3.10
Star Brilliant []
Release 1.3.10

23 months agoEnable application/dns-message (draft-13) by default, since Google has finally supported it
Star Brilliant []
Enable application/dns-message (draft-13) by default, since Google has finally supported it

2 years agoMove linux-install.* to contrib/
Star Brilliant []
Move linux-install.* to contrib/

2 years agoBump version to 1.3.10
Star Brilliant []
Bump version to 1.3.10

2 years agoRelease 1.3.9 v1.3.9
Star Brilliant []
Release 1.3.9

2 years agoChange the ECS prefix length from /48 to /56 for IPv6, per RFC 7871
Star Brilliant []
Change the ECS prefix length from /48 to /56 for IPv6, per RFC 7871

2 years agoUpdate Readme to instruct Debian users to set $GOROOT
Star Brilliant []
Update Readme to instruct Debian users to set $GOROOT

2 years agoIf $GOROOT is defined, Makefile should respect the value, fix #8
Star Brilliant []
If $GOROOT is defined, Makefile should respect the value, fix #8

2 years agoAdd 5380 as an additional default doh-client port
Star Brilliant []
Add 5380 as an additional default doh-client port

2 years agoFix #16: doh-client panics when connecting no_cookies = true
Star Brilliant []
Fix #16: doh-client panics when connecting no_cookies = true

2 years agoUpdate example configuration
Star Brilliant []
Update example configuration

2 years agoUpdate example configuration
Star Brilliant []
Update example configuration

2 years agoBump version to 1.3.9
Star Brilliant []
Bump version to 1.3.9

2 years agoRelease 1.3.8 v1.3.8
Star Brilliant []
Release 1.3.8

2 years agoWorkaround a bug causing Firefox 61-62 to reject responses with Content-Type = application/dns-message
Star Brilliant []
Workaround a bug causing Firefox 61-62 to reject responses with Content-Type = application/dns-message

2 years agoWorkaround a bug causing Firefox 61-62 to reject responses with Content-Type = application/dns-message
Star Brilliant []
Workaround a bug causing Firefox 61-62 to reject responses with Content-Type = application/dns-message

2 years agoWorkaround a bug causing Firefox 61-62 to reject responses with Content-Type = application/dns-message
Star Brilliant []
Workaround a bug causing Firefox 61-62 to reject responses with Content-Type = application/dns-message

2 years agoPreserve TransactionID
Star Brilliant []
Preserve TransactionID

2 years agoDisable preventing capitalization scrambling
Star Brilliant []
Disable preventing capitalization scrambling

2 years agoTurn on no_cookies by default according to the IETF draft
Star Brilliant []
Turn on no_cookies by default according to the IETF draft

2 years agoConstruct a real DNS packet for DNSCrypt-Proxy
Star Brilliant []
Construct a real DNS packet for DNSCrypt-Proxy

2 years agoRemove offensive words :-)
Star Brilliant []
Remove offensive words :-)

2 years agoUpdate Readme
Star Brilliant []
Update Readme

2 years agoUpdate Readme
Star Brilliant []
Update Readme

2 years agoUpdate documentation about TLS
Star Brilliant []
Update documentation about TLS

This is to avoid confusions like issue #12

2 years agoBump version to 1.3.8
Star Brilliant []
Bump version to 1.3.8

2 years agoRelease 1.3.7 v1.3.7
Star Brilliant []
Release 1.3.7

2 years agoWorkaround a bug causing DNSCrypt-Proxy to expect a response with TransactionID = 0xcafe
Star Brilliant []
Workaround a bug causing DNSCrypt-Proxy to expect a response with TransactionID = 0xcafe

2 years agoWorkaround a bug causing Unbound to refuse returning anything about the root
Star Brilliant []
Workaround a bug causing Unbound to refuse returning anything about the root

2 years agoFix typo
Star Brilliant []
Fix typo

2 years agoInstall default configuration files to *.conf.example
Star Brilliant []
Install default configuration files to *.conf.example

2 years agoPrint upstream information if error happens
Star Brilliant []
Print upstream information if error happens

2 years agoAdd CloudFlare DNS resolver for Tor to the preset
Star Brilliant []
Add CloudFlare DNS resolver for Tor to the preset

2 years agoRelease 1.3.6 v1.3.6
Star Brilliant []
Release 1.3.6

2 years agoAdd an option to disable IPv6, this option is available to client only
Star Brilliant []
Add an option to disable IPv6, this option is available to client only

2 years agoRevert "Conflict with systemd-resolved.service"
Star Brilliant []
Revert "Conflict with systemd-resolved.service"

This reverts commit 88b3c95710536ba351132276783e6cd362629eb2.

2 years agoWrite a logger for macOS systems
Star Brilliant []
Write a logger for macOS systems

2 years agoConflict with systemd-resolved.service
Star Brilliant []
Conflict with systemd-resolved.service

2 years agoRelease 1.3.5 v1.3.5
Star Brilliant []
Release 1.3.5

2 years agoBump version to 1.3.5
Star Brilliant []
Bump version to 1.3.5

2 years agoLimit the frequency of creating HTTP client
Star Brilliant []
Limit the frequency of creating HTTP client

2 years agoRelease 1.3.4 v1.3.4
Star Brilliant []
Release 1.3.4

2 years agoBump version to 1.3.4
Star Brilliant []
Bump version to 1.3.4

2 years agoDo not respond to network error, silently fail to prevent caching of SERVFAIL
Star Brilliant []
Do not respond to network error, silently fail to prevent caching of SERVFAIL

Hopefully we can improve the availability of DoH under unstable network environments.

2 years agoAdd version.go to Makefile
Star Brilliant []
Add version.go to Makefile

2 years agoUpdate documents
Star Brilliant []
Update documents

2 years agoUpdate documents
Star Brilliant []
Update documents

2 years agoPut EDNS0 at the beginning of the OPT section
Star Brilliant []
Put EDNS0 at the beginning of the OPT section

2 years agoUse dns.DefaultMsgSize instead of magic number 4096
Star Brilliant []
Use dns.DefaultMsgSize instead of magic number 4096

2 years agoUse dns.DefaultMsgSize instead of magic number 4096
Star Brilliant []
Use dns.DefaultMsgSize instead of magic number 4096

2 years agoRename variables
Star Brilliant []
Rename variables

2 years agoTake User-Agent out of common library, that would be better for packaging v1.3.3
Star Brilliant []
Take User-Agent out of common library, that would be better for packaging

2 years agoRelease 1.3.2 v1.3.2
Star Brilliant []
Release 1.3.2

2 years agoFix version number in User-Agent
Star Brilliant []
Fix version number in User-Agent

2 years agoFix build system
Star Brilliant []
Fix build system

2 years agoFix build
Star Brilliant []
Fix build

2 years agoUpdate User-Agent
Star Brilliant []
Update User-Agent

2 years agoRelease 1.3.1 v1.3.1
Star Brilliant []
Release 1.3.1

2 years agoFix the "address already in use" issue
Star Brilliant []
Fix the "address already in use" issue

2 years agoRelease 1.3.0 v1.3.0
Star Brilliant []
Release 1.3.0

2 years agoPut [::1] into default listen addresses
Star Brilliant []
Put [::1] into default listen addresses