Commit Graph

2062 Commits

Author SHA1 Message Date
Ryan Boehning f44e11fa65 Switch from glide to dep. Check in vendor/ 2018-01-11 13:39:18 -08:00
Frank Denis 9a3cd91cd7 Use dlog for everything 2018-01-11 11:50:54 +01:00
Frank Denis 735213f45a Use glog 2018-01-11 02:11:54 +01:00
Frank Denis 80e5bb5eb2 crop 2018-01-10 23:58:54 +01:00
Frank Denis e5e3b5df99 Remove redundancy 2018-01-10 23:56:35 +01:00
Frank Denis 2f27530456 nocache 2018-01-10 23:56:07 +01:00
Frank Denis 60a0b72b4c Update README 2018-01-10 23:54:50 +01:00
Frank Denis 822ae27a46 Always use negative caching except on srvfail (and obviously on success) 2018-01-10 23:26:03 +01:00
Frank Denis 9cd31e27f5 Link to the latest binaries 2018-01-10 23:11:21 +01:00
Frank Denis 55fc0e465e Don't compile with go-tip 2018-01-10 22:52:40 +01:00
Frank Denis 8de6fb3eed Move tags: true to the right place 2018-01-10 22:49:17 +01:00
Frank Denis 1527d6ed5e Improve caching 2018-01-10 22:47:29 +01:00
Frank Denis 4c934fc816 nits 2018-01-10 22:33:28 +01:00
Frank Denis 1e48065a3d Download link 2018-01-10 22:32:41 +01:00
Frank Denis eecbaca3ee tag: true 2018-01-10 22:31:44 +01:00
Frank Denis 1ad61f706e Update Travis 2018-01-10 22:15:28 +01:00
Frank Denis 5dcd90e78d Include config file in tarballs 2018-01-10 20:21:57 +01:00
Frank Denis b3c0a7be96 up 2018-01-10 20:19:16 +01:00
Frank Denis dd9ada305b + README.md 2018-01-10 20:17:46 +01:00
Frank Denis 3dd473910b Doc 2018-01-10 19:49:39 +01:00
Frank Denis 3fe60f64c4 So, daemonization only works on linux :/ 2018-01-10 19:49:02 +01:00
Frank Denis 85a44206e3 Glide update 2018-01-10 19:33:51 +01:00
Frank Denis 99c5273e3a Add configuration cache size and other parameters 2018-01-10 19:32:56 +01:00
Frank Denis b60c728067 If computeCacheKey ever returns an error, bubble it up 2018-01-10 19:23:24 +01:00
Frank Denis 132add7955 Use a LRU for the cache 2018-01-10 19:02:43 +01:00
Frank Denis 8e73bb4a2c Working DNS cache 2018-01-10 18:53:09 +01:00
Frank Denis 77cdc1db78 Start implementing a basic cache 2018-01-10 18:32:05 +01:00
Frank Denis da3e3e61b4 Add Travis 2018-01-10 17:27:48 +01:00
Frank Denis f283105866 Implement the IPv6 block plugin 2018-01-10 17:23:20 +01:00
Frank Denis fb16eadb24 Single entry for now 2018-01-10 16:43:11 +01:00
Frank Denis fa22cc32d7 Basic load balancing/failover
Try to send queries to one of the two fastest servers
2018-01-10 16:42:14 +01:00
Frank Denis 9eeb799d6e Many improvements 2018-01-10 16:01:29 +01:00
Frank Denis 32a8a3d3e2 Get the path to the config file from the command line 2018-01-10 13:40:50 +01:00
Frank Denis cefaa1c3a6 Update glide 2018-01-10 13:35:12 +01:00
Frank Denis 6dfcb659d4 Handle daemonization 2018-01-10 13:33:06 +01:00
Frank Denis b86e7f268e Use more things from the config file 2018-01-10 12:09:59 +01:00
Frank Denis 2822a9781b Add a config file 2018-01-10 12:02:09 +01:00
Frank Denis f24884a27a Update .gitignore 2018-01-10 10:32:21 +01:00
Frank Denis 20e3182692 Improve the plugins interface 2018-01-10 10:11:59 +01:00
Frank Denis efd0477c2b Implement an actual estimator for the response size
Scale back the minimum question size when relevant.

Did I mention that this is yet another thing that was never properly
implemented in dnscrypt-proxy 1.x?
2018-01-10 09:46:27 +01:00
Frank Denis f4346691bc Transform queries via an initial edns mangling plugin
Yet another thing that was utterly broken in dnscrypt-proxy v1.x
2018-01-10 09:04:03 +01:00
Frank Denis 705cf440b1 Skip queries without a question 2018-01-10 03:04:13 +01:00
Frank Denis d8f8d561c8 Synthesize a truncated response if the response wouldn't fit the local MSS 2018-01-10 02:52:09 +01:00
Frank Denis ab9006e74c Be more tolerant with invalid/unsupported certificates 2018-01-10 00:38:37 +01:00
Frank Denis 3049f43bc7 Nits 2018-01-10 00:32:16 +01:00
Frank Denis 72a6963f2e Cleanups 2018-01-10 00:31:12 +01:00
Frank Denis 35ec5bd044 We can now receive queries on UDP and forward them on TCP
Something that had never been possible with the old implementation
2018-01-09 20:10:06 +01:00
Frank Denis 1a59d93192 Support TCP connection to the backend 2018-01-09 19:47:24 +01:00
Frank Denis 888db6a8fb The preferred protocol will be a global (for Tor users) 2018-01-09 18:42:24 +01:00
Frank Denis ce5e0c8031 Try to retrieve the certificates using UDP before TCP 2018-01-09 18:37:37 +01:00