Commit Graph

118 Commits

Author SHA1 Message Date
Frank Denis 8076e206e0 Revert "Install the windows service as "NT AUTHORITY\NetworkService""
This reverts commit 17db0a658f.

On Windows, switching to user `NT AUTHORITY\NetworkService` apparently
breaks logging (reported by @Aland_123).
2019-03-14 20:10:53 +01:00
Frank Denis 707098a922 Bump 2019-03-14 02:18:20 +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 436125e812 Bump 2018-11-22 17:26:48 +01:00
Frank Denis 07de104ec7 Bump 2018-11-15 18:53:06 +01:00
Frank Denis 8de13842ae Bump 2018-10-03 18:26:54 +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 844057d9df Revert "Revert "Remove pledge(2) support""
This reverts commit a24cb0d900.
2018-08-23 00:44:32 +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
Frank Denis 1f54214821 pledge() on OpenBSD 2018-07-07 20:27:09 +02:00
Frank Denis 7f8b8d043e Remove old daemonization code
We will be able do it using fork+exec
2018-06-13 17:31:47 +02:00
Frank Denis 7866e6da51 Bump 2018-06-06 16:14:31 +02:00
Frank Denis 26579df8d1 Bump 2018-05-19 10:40:15 +02:00
Frank Denis d87f3618ac Bump 2018-05-16 11:41:55 +02:00
Frank Denis 6f047e07b8 Bump 2018-05-10 22:17:57 +02:00
Frank Denis bcaff6e3bd 2.0.11 2018-04-27 00:12:09 +02:00
Frank Denis a5b8401131 Bump 2018-04-16 02:33:10 +02:00
Frank Denis e2dd9c97a2 Remove b2
Fixes #347
2018-04-11 14:05:16 +02:00
Frank Denis aa538969a3 New beta 2018-04-09 13:27:02 +02:00
Frank Denis fcdf7d7e55 Update ChangeLog 2018-04-07 23:14:15 +02:00
Frank Denis fbe91ee58b No need to initialize xTransport before we have all the parameters 2018-04-07 22:33:11 +02:00
Frank Denis a938eeff7b Mainly revert 869d44c30e
Fixing #304 doesn't look trivial

The service module needs to know the arguments right away.

The arguments haven't been parsed yet. And if we do, we will prevent
further arguments to be added to the set. Including the ones added
by the service module itself.

So, we have quite of a circular dependency here.

If someone with some Go knowledge can fix that, that would be amazing.
But it's probably never going to happen.

Meanwhile, we can try to save the current directory and document
that we have to be in that directory when running the install command.

Which is not going to work on Windows, so this is a big fucking mess
2018-04-03 20:15:33 +02:00
Frank Denis c88e480a15 Include the -config option in the installed service
Untested on Linux and Windows. Fear.

Fixes #304
2018-04-03 19:42:27 +02:00
Frank Denis 5cc4663081 Bump 2018-03-29 11:22:20 +02:00
Frank Denis 50053d32a5 Bump 2018-03-18 09:21:36 -07:00
Frank Denis a0aeeabfa2 Nits 2018-03-17 14:47:17 -07:00
Frank Denis 2c7513a2c8 2.0.6 2018-03-02 11:05:58 +01:00
Frank Denis 85a64e3327 Add -pidfile
Fixes #200
2018-02-28 18:11:48 +01:00
Frank Denis 89d2973458 2.0.5 2018-02-27 09:51:26 +01:00
Frank Denis 38fd879b56 Check record type in xTransport
Prepare for IPv6-only support by the way

Fixes #189
2018-02-26 14:50:01 +01:00
Frank Denis 6000f5073a 2.0.4 2018-02-23 17:08:13 +01:00
Frank Denis 8d4f6770e5 Bump 2018-02-22 23:55:03 +01:00
Frank Denis ebd55ba954 Bump 2018-02-21 00:23:11 +01:00
Frank Denis 547e444afd Service installation: bail out with a meaningful error message on unsupported platforms
Fixes #154
2018-02-20 00:34:06 +01:00
Frank Denis 81ba5ef2c6 Update ChangeLog 2018-02-19 18:42:29 +01:00
Frank Denis 16c75172ad Remove "starting"
Fixes #97
2018-02-06 19:33:58 +01:00
Frank Denis 453299e49a 2.0.0 final 2018-02-06 16:13:06 +01:00
Frank Denis 88434fc39f Prepare support for multiple load balancing strategies 2018-02-04 21:13:54 +01:00
Frank Denis a4b70fa56d Last released candidate, so people can test cloaking 2018-02-04 12:00:24 +01:00
Frank Denis 588d8dabde rc2 2018-02-03 12:53:43 +01:00
Frank Denis f513ab21fa Check if the config file exists from the current directory
Try the executable directory if it fails

Then, go to that config file directory no matter what

Fixes #80
2018-02-03 10:46:47 +01:00
Frank Denis 6efd904b9f 2.0.0 release candidate 2018-02-01 10:26:14 +01:00
Frank Denis f6571af24f Nits 2018-01-31 08:38:22 +01:00
Frank Denis c39197f7b2 Prepare for beta12 2018-01-30 15:58:13 +01:00
Frank Denis ecaf18f614 Use a fallback resolver if the local DNS configuration doesn't work
This should fix all chicken-and-egg issues
2018-01-30 15:47:39 +01:00