Commit graph

1384 commits

Author SHA1 Message Date
Frank Denis
b624f8ef58 Accept sdns: scheme without a namespace 2019-03-03 18:20:39 +01:00
corsmith
d1a337f64b logging enhancement CLOAK (#742) 2019-03-02 18:01:21 +01:00
Frank Denis
8899389d8b Store IP addresses, not references 2019-02-25 18:25:35 +01:00
Frank Denis
734483226b Support multiple IPs for a single cloaking rule
Fixes #617
2019-02-23 15:51:30 +01:00
Frank Denis
5dc66adaa9 Move disabled_server_names down 2019-02-23 14:55:23 +01:00
Frank Denis
c10fbb2aa7 + disabled_server_names
Fixes #735
2019-02-23 14:54:22 +01:00
Frank Denis
2aa0b7d6a7 Add refused_code_in_responses to the example.
Fixes #738
2019-02-23 12:34:59 +01:00
Frank Denis
a726a40dc5 Add refused_code_in_responses
Fixes #737
2019-02-23 00:58:25 +01:00
Frank Denis
cb022ece82 Set GODEBUG to enable TLS 1.3
Fixes #731
2019-02-17 23:56:02 +01:00
Frank Denis
17db0a658f Install the windows service as "NT AUTHORITY\NetworkService"
Untested

Maybe
Fixes #686
2019-01-10 22:44:58 +01:00
Frank Denis
b886585486 Remove unused var 2019-01-02 22:59:16 +01:00
Frank Denis
3ccc989be5 Improve error logging, not only on Linux 2018-12-23 18:11:55 +01:00
Alexey Ivanov
1cf7ce94ba Fixed error reporting (#671) 2018-12-23 18:10:14 +01:00
Frank Denis
4a7c932fdc Remove debug statement 2018-11-22 18:13:30 +01:00
Frank Denis
70bdd46425 Add a hash of the query to POST requests 2018-11-22 18:09:27 +01:00
Frank Denis
fd9e97a570 Pad only once 2018-11-22 17:59:11 +01:00
Frank Denis
436125e812 Bump 2018-11-22 17:26:48 +01:00
Frank Denis
c52b3ef124 Bump the netprobe timeout up to 60 seconds 2018-11-22 17:24:41 +01:00
Frank Denis
68ff5d2205 Set the Content-Length for POST queries 2018-11-22 17:23:22 +01:00
Frank Denis
7174fdc8c8 Do not always override the netprobe_timeout option from config file
Fixes #641
2018-11-16 18:13:39 +01:00
Frank Denis
07de104ec7 Bump 2018-11-15 18:53:06 +01:00
Frank Denis
2e147364e9 Add support for HTTP/HTTPS proxies
Fixes #638
2018-11-15 18:47:33 +01:00
Frank Denis
e48779c2eb Make the network timeout configuration via the command line
Fixes #619
2018-11-15 14:24:26 +01:00
Frank Denis
62755427a2 Always include the Accept: header in GET queries 2018-11-15 08:56:22 +01:00
iiic
4fe62bc7cc @typo in example-dnscrypt-proxy.toml (#628)
This can be can be useful… -> This can be useful…
2018-10-29 14:16:02 +01:00
Frank Denis
99133f53ef Skip BOMs in configuration files
Fixes #613
2018-10-15 17:56:31 +02:00
Frank Denis
dda3ca1ea3 Add dash 2018-10-10 19:38:24 +02:00
Frank Denis
4e9397d83e Revert "Remove Quad9 example until they remove prefixes"
This reverts commit 5cb7d8df35.
2018-10-10 16:32:39 +02:00
Frank Denis
e4a1245fb2 user.Current() fails when CGO is disabled and USER/HOME are not defined
So, ignore it if it fails.

This used to happen on Linux; not sure about other systems.

Fixes #607
2018-10-08 17:48:05 +02:00
Frank Denis
b81a72cc3e Fix 16f1f8b71d 2018-10-05 01:06:44 +02:00
Frank Denis
16f1f8b71d If syscall.Exec() fails, print why 2018-10-05 00:48:17 +02:00
Frank Denis
d58d5ffbf6 Oh, Google updated their servers, and "body" is not required any more! 2018-10-03 18:33:10 +02:00
Frank Denis
8de13842ae Bump 2018-10-03 18:26:54 +02:00
Frank Denis
bfca70000e A note about pidfile 2018-10-03 18:17:39 +02:00
Frank Denis
772c8d0e6c user.Lookup() may not be available on some platforms
So, explain what's going on, support numeric ids, try to be a bit
more friendly to these platforms
2018-10-03 17:57:39 +02:00
Frank Denis
a937a184ca Try to preserve edns0 options in client queries 2018-10-03 17:10:52 +02:00
Frank Denis
fdc2f3c474 Revert "Keep the original OPT record before setting the payload size"
This reverts commit d49a7b462d.
2018-10-03 16:41:37 +02:00
Frank Denis
5cb7d8df35 Remove Quad9 example until they remove prefixes 2018-10-03 16:36:23 +02:00
Frank Denis
9f1be6e079 killChild() is not needed any more; update config example by the way 2018-10-03 16:35:59 +02:00
Frank Denis
a74c0fedeb Of course, Linux has to do things differently 2018-10-03 16:33:33 +02:00
Frank Denis
d49a7b462d Keep the original OPT record before setting the payload size
Maybe
fixes #592
2018-10-03 16:24:41 +02:00
Frank Denis
77f5c41b21 Forget about the supervisor, and use syscall.Exec() 2018-10-03 16:05:07 +02:00
Frank Denis
844057d9df Revert "Revert "Remove pledge(2) support""
This reverts commit a24cb0d900.
2018-08-23 00:44:32 +02:00
Frank Denis
0ff066c80b Revert "Add unix to the pledge promises"
This reverts commit 7734cc9d2a.
2018-08-23 00:44:21 +02:00
Frank Denis
7734cc9d2a Add unix to the pledge promises
Required for writing to syslog.

Reported by @eau-u4f, thanks!
2018-08-15 17:58:07 +02:00
Frank Denis
a24cb0d900 Revert "Remove pledge(2) support"
This reverts commit bc3215a8a6.
2018-08-15 17:56:33 +02:00
Frank Denis
bc3215a8a6 Remove pledge(2) support
Fixes #571
2018-08-15 17:53:36 +02:00
Sebastian Schmidt
33bcff7d4a Minor improvements for the user_name option (#559)
* Fix missing pidfile when run with user_name opt.

* Make sure we are root when dropping privilege

This is required on macOS.

* Kill child process on exit. Fixes https://github.com/jedisct1/dnscrypt-proxy/issues/547
2018-08-04 00:57:52 +02:00
Frank Denis
c043bd73dd Ping the service manager early
Maybe
fixes #548

(untested)
2018-07-19 19:03:57 +02:00
Frank Denis
c90579b731 Bump 2018-07-09 15:56:50 +02:00