Commit Graph

154 Commits

Author SHA1 Message Date
Josh Soref
fbd5c65a6a Spelling (#89)
* spelling: the challenging

* spelling: effects

* spelling: received

* spelling: vagrantfile
2018-06-05 11:42:16 +03:00
Gabe Cook
4646e7f7e5 Add systemd service information (#83)
* Add systemd service information

* Requested changes for systemd service information
2018-05-27 00:08:55 +03:00
Andrew Meyer
3006cb712b Make ACME cache directory location configurable (#81)
* Remove trailing whitespace from README and config

* Make ACME cache directory location configurable
2018-05-14 13:42:39 +03:00
Ryan Bolger
fde566fe67 Added Posh-ACME to client list (#78)
* Added Posh-ACME to client list

* alphabetical order as requested
2018-05-02 23:15:50 +03:00
Joona Hoikkala
a17792d33c
Merge pull request #75 from joohoi/golintfix-revert
Revert "Disable golint until golang/go#25048 is resolved."
2018-04-25 11:50:32 +03:00
Joona Hoikkala
d1af1d029f
Revert "Disable golint until golang/go#25048 is resolved."
This reverts commit 1c918fcaa4.
2018-04-25 11:44:34 +03:00
Joona Hoikkala
a5b417901c
Merge pull request #73 from joohoi/add-sewer
README: Add Sewer client
2018-04-24 15:00:30 +03:00
Joona Hoikkala
065083781e
Merge remote-tracking branch 'origin/master' into add-sewer 2018-04-24 14:55:32 +03:00
Joona Hoikkala
0af5dc2cd9
Merge pull request #74 from joohoi/golintfix
Fix golint dependency issue
2018-04-24 14:55:05 +03:00
Joona Hoikkala
1c918fcaa4
Disable golint until golang/go#25048 is resolved. 2018-04-24 14:49:20 +03:00
Joona Hoikkala
299c520c2b
Add Sewer client 2018-04-24 14:17:59 +03:00
Joona Hoikkala
3343d943d6
Merge pull request #68 from joohoi/update-clients
README: add acme.sh and change Certbot hook URL
2018-04-08 12:55:59 +03:00
Joona Hoikkala
7744357b61
README: add acme.sh and change Certbot hook URL 2018-04-08 12:51:06 +03:00
Joona Hoikkala
14f552e970
Merge pull request #66 from cpu/cpu-typo-fix
db_test: fix 'recieve' typo
2018-04-08 12:41:20 +03:00
Joona Hoikkala
f2d1fc692b
Merge branch 'master' into cpu-typo-fix 2018-04-08 12:37:14 +03:00
Joona Hoikkala
dd12fa7c9b
Merge pull request #64 from Daniel15/patch-2
Make installation instructions more comprehensive
2018-04-08 12:34:00 +03:00
Joona Hoikkala
0991b3e3c9
Merge branch 'master' into patch-2 2018-04-08 12:24:24 +03:00
Daniel
d18cd65374
db_test: fix 'recieve' typo 2018-03-26 17:22:23 -04:00
Daniel Lo Nigro
8eed75b495
Explain CNAMEs in DNS records section 2018-03-22 20:37:07 -07:00
Daniel Lo Nigro
46b9c45e1b
Remove unintended newline 2018-03-22 20:33:30 -07:00
Daniel Lo Nigro
ed82e15349
Refactor readme changes
- Move DNS config to separate "DNS Records" section
- Move testing to separate "Testing It Out" section
2018-03-22 20:32:56 -07:00
Joona Hoikkala
7b2203ccca
Merge pull request #65 from joohoi/clients
README: Add link to a client hook written in Go
2018-03-20 15:01:51 +02:00
Joona Hoikkala
945013579f
README: Add link to a client hook written in Go 2018-03-20 14:56:35 +02:00
Daniel Lo Nigro
3ee50d0c20
Make installation instructions more comprehensive 2018-03-18 23:47:45 -07:00
Joona Hoikkala
f2fe21934c
Merge pull request #60 from joohoi/link_clientlib
README: Add link to the client library
2018-03-18 17:13:23 +02:00
Joona Hoikkala
07aa5e0043
README: Add link to the client library 2018-03-18 16:02:25 +02:00
Joona Hoikkala
01f010e35e
README: link to client implementation (#55) 2018-03-15 13:40:45 +02:00
Joona Hoikkala
cd3a587e43
Release v0.4 (#53) 2018-03-15 00:47:36 +02:00
Joona Hoikkala
439da9c09f
Properly parse r.RemoteAddr (#50)
* Properly parse r.RemoteAddr

* Add tests, and fix net.ParseCIDR issues with IPv6 addresses enclosed in brackets
2018-03-15 00:23:55 +02:00
Joona Hoikkala
5c2e60a828
Add configuration option to disable registration endpoint (#51) 2018-03-14 23:35:39 +02:00
Joona Hoikkala
d542ee03b5
Merge pull request #42 from cpu/cpu-differentiate-errors
API: Differentiate bad TXT update error.
2018-03-13 11:32:40 +02:00
Joona Hoikkala
92f8cc2802
Merge branch 'master' into cpu-differentiate-errors 2018-03-13 10:55:02 +02:00
Joona Hoikkala
978ac5d62b
Merge pull request #49 from Yannik/patch-1
return cname if requested RR was not found and cname exists (fixes #48)
2018-03-13 10:42:44 +02:00
Yannik Sembritzki
4d214d7f52 return cname if requested RR was not found and cname exists 2018-03-03 11:24:32 +01:00
Daniel McCarney
f463d07d0b
Merge branch 'master' into cpu-differentiate-errors 2018-03-01 09:54:41 -05:00
Joona Hoikkala
9a908d7d6b
Log IP address that we're matching against allowFrom values stored in the DB (#46)
* Add logging for IP matching

* Fix typo
2018-03-01 16:53:38 +02:00
Daniel McCarney
11c852ee91 README: simplify installation instructions with go get. (#41)
* README: simplify installation instructions with `go get`.

Prior to this commit the installation instructions in the README had you
use `git clone` and then `go build`. This can be collapsed into one step
using a more idiomatic `go get` command. This commit updates the README
accordingly.

* Also mention supported config file locations

* Fix go get URL
2018-02-28 20:38:44 +02:00
Joona Hoikkala
32608e9f47
Merge pull request #44 from cpu/cpu-add-api-ip-example-config
README: Add example 'ip' in example API config.
2018-02-28 20:24:08 +02:00
Daniel
77b5fda6fb
README: Add example 'ip' in example API config.
`acme-dns` supports binding the API to a specific interface instead of
all interfaces by providing an `ip` address in the `[api]` configuration
section. Prior to this commit the `ip` field wasn't shown in the example
configuration in the README. This commit adds an example showing how to
configure `acme-dns` to listen only on `127.0.0.1` to the example config
and describes what the default value (`""`) does.
2018-02-27 21:45:13 -05:00
Daniel
efdd560ee4
API: Differentiate bad TXT update error.
Previous to this commit, if the update message had a valid subdomain but
an invalid TXT the error returned was for a bad subdomain. This can
confuse developers who were POSTing junk TXT records to test acme-dns
:-)

This commit adjusts the `webUpdatePost` error handling such that
`!validSubdomain(input)` and `!validTXT(input)` give distinct errors.

The `!validSubdomain` case should never happen in `webUpdatePost`
because `auth.go`'s `Auth` function already vets the post data
subdomain but I retained the error handling code just in case.

Unit tests for an update with an invalid subdomain and an update with an
invalid TXT are included.
2018-02-27 19:26:15 -05:00
Joona Hoikkala
830cceb62c
Release v0.3.2 (#40) 2018-02-01 16:10:24 +02:00
Leon Kyneur
9f896759f0 reinstall ca-certificates (#39) 2018-02-01 16:02:06 +02:00
Joona Hoikkala
476f6fc555
Only autobuild for linux, as sqlite needs cgo (#38) 2018-02-01 15:33:57 +02:00
Joona Hoikkala
e2e84ede6b
Goreleaser config (#37) 2018-02-01 14:20:40 +02:00
Joona Hoikkala
562d7cbad4
Make autocert use HTTP-01 challenge instead of TLS-SNI (#36) 2018-02-01 10:53:34 +02:00
Joona Hoikkala
5470ba7a41
Remove unused variable and prepare for v0.2 (#22)
* Remove unused variable and prepare for v0.2

* Added new changes to changelog and feature list

* Modified changelog
2018-01-22 12:47:26 +02:00
Joona Hoikkala
665455d319
Docker instructions and configuration (#33)
* Added dockerfile

* Docker configuration

* Added Docker images, composer configuration and documentation
2018-01-22 12:35:07 +02:00
Joona Hoikkala
c5337fc841
Update dependencies (#32) 2018-01-22 11:19:33 +02:00
Joona Hoikkala
733245fb3d
Support for multiple TXT records per subdomain (#29)
* Support for multiple TXT records per subdomain and database upgrade functionality

* Linter fixes

* Make sure the database upgrade routine works for PostgreSQL

* Move subdomain query outside of the upgrade transaction
2018-01-22 09:53:07 +02:00
Joona Hoikkala
ba695134ce
Make cors messages respect the debug flag (#25) 2017-11-15 21:35:35 +02:00