Commit Graph

882 Commits

Author SHA1 Message Date
Frank Denis 99133f53ef Skip BOMs in configuration files
Fixes #613
2018-10-15 17:56:31 +02:00
Sergey Fionov 4192e2fff7 Use Android NDK r18, use API 19 for 32-bit Android builds (#610)
Older Androids had some functions like `sigfillset` implemented as macros,
and `android-19` is the last backward-compatible and forward-compatible version
of unified headers.
2018-10-10 20:06:50 +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 b183836a3a The Android changes didn't get it 2018-10-10 08:55:19 +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 8be1fef464 Update deps for BSD 2018-10-03 18:36:19 +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 4f02f44279 Update ChangeLog 2018-10-03 17:28:20 +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 76fdb51c38 Update deps for Go 1.11 2018-10-02 18:06:43 +02:00
Frank Denis b6847fab99 Go 1.11.1 2018-10-02 17:04:52 +02:00
Chris Lane da5ee45b8c Correct CoinblockerLists URL (#583) 2018-09-03 18:35:06 +02:00
Frank Denis c53b28d1f1 Remove CGO_CFLAGS="-D__ANDROID_API__=19" 2018-08-25 16:12:53 +02:00
Frank Denis 60dfbe47a9 Go 1.11 2018-08-25 16:00:59 +02:00
Frank Denis 4344d335d1 Android: Use NDK r18-beta2 and -D__ANDROID_API__=19 2018-08-25 15:45:01 +02:00
Frank Denis e8a7250bf6 Try the current stable Android NDK 2018-08-24 18:04:22 +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 40f2dc6a7d Apply kardianos/service PR #144 2018-08-23 00:25:56 +02:00
Frank Denis e3d5f3e6e5 Update deps 2018-08-23 00:23:59 +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
Frank Denis 7740e9d3bc Update dep and deps 2018-08-10 01:39:33 +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
Yegor Timoshenko daa10c92af Fix some discrepancies in SVG logo (#545) 2018-07-15 14:57:31 +02:00
Frank Denis a63da435ae Bump 2018-07-09 18:19:45 +02:00
Yegor Timoshenko b5cc393ccb Add dnscrypt-proxy vector logo (#538) 2018-07-09 17:41:41 +02:00
Frank Denis c90579b731 Bump 2018-07-09 15:56:50 +02:00
Frank Denis 9b5948d697 Do not ignore ReadPrefixed() errors 2018-07-09 15:49:36 +02:00
Frank Denis 887f6ac299 Log invalid stamps 2018-07-09 15:47:59 +02:00
Frank Denis 9234014f17 Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy
* 'master' of github.com:jedisct1/dnscrypt-proxy:
  Don't call PledgeChild() too early
  Fix pledge() usage
  Store the userName value again
2018-07-09 14:31:40 +02:00
Frank Denis 67729d02aa Draft 12 2018-07-09 14:29:27 +02:00
Frank Denis dc602512ff Don't call PledgeChild() too early 2018-07-07 21:03:08 +02:00
Frank Denis 127d4f0e68 Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy 2018-07-07 18:56:06 +00:00
Frank Denis 17e07d80bb Fix pledge() usage 2018-07-07 20:50:44 +02:00
Frank Denis 35e4d36f67 Add sys/unix for pledge 2018-07-07 20:39:04 +02:00