~delthas

Recent activity

[PATCH kimchi] Set the X-Forwarded-* headers a month ago

From delthas to ~emersion/public-inbox

---
 directives.go | 3 +++
 kimchi.1.scd  | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/directives.go b/directives.go
index caafd0e..4d01791 100644
--- a/directives.go
+++ b/directives.go
@@ -149,6 +149,9 @@ var backends = map[string]parseBackendFunc{
			forwarded := fmt.Sprintf("for=%q;host=%q;proto=%q", req.RemoteAddr, req.Host, req.URL.Scheme)
			director(req)
			req.Header.Set("Forwarded", forwarded)
			req.Header.Set("X-Forwarded-For", req.RemoteAddr)
[message trimmed]

Re: [PATCH] Update copyright notices 2 months ago

From delthas to ~emersion/soju-dev

I agree with Simon, it's not worth the bother. I don't want to see 
trivial copyright year patches to all my projects every year. It's a bad 
habit.

-- 
delthas

[PATCH go-scfg] Add Unmarshal, Decode, NewDecoder 3 months ago

From delthas to ~emersion/public-inbox

This adds unmarshaling support to go-scfg, inspired by the Go json
library.
---
 struct.go         |  98 ++++++++++++++++++++
 unmarshal.go      | 231 ++++++++++++++++++++++++++++++++++++++++++++++
 unmarshal_test.go | 183 ++++++++++++++++++++++++++++++++++++
 3 files changed, 512 insertions(+)
 create mode 100644 struct.go
 create mode 100644 unmarshal.go
 create mode 100644 unmarshal_test.go

diff --git a/struct.go b/struct.go
new file mode 100644
index 0000000..d5ba7e8
[message trimmed]

Re: [PATCH] Advertise all caps, CAP DEL them on registration 4 months ago

From delthas to ~emersion/soju-dev

LGTM. Tested locally, it works fine. Let's merge this emersion?

[PATCH tlstunnel] Enable certmagic logging 6 months ago

From delthas to ~emersion/public-inbox

---
 go.mod    |  3 ++-
 server.go | 13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/go.mod b/go.mod
index df497b6..c2d4b9f 100644
--- a/go.mod
+++ b/go.mod
@@ -7,12 +7,13 @@ require (
	github.com/caddyserver/certmagic v0.12.0
	github.com/klauspost/cpuid v1.3.1 // indirect
	github.com/libdns/digitalocean v0.0.0-20200817185712-f11d70f2506c
	github.com/mholt/acmez v0.1.1
[message trimmed]

[PATCH tlstunnel] Add support for wildcard server names in frontend directives 7 months ago

From delthas to ~emersion/public-inbox

This adds support for matching incoming TLS connections to the
corresponding frontend when the frontend has a wildcard server name.

This does not add support for generating wildcard certificates from
Let's Encrypt, which requires DNS challenges.
---
 server.go | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/server.go b/server.go
index 40c9854..8aecf5c 100644
--- a/server.go
+++ b/server.go
@@ -7,6 +7,7 @@ import (
[message trimmed]

[PATCH tlstunnel v3] Add support for DNS challenges 7 months ago

From delthas to ~emersion/public-inbox

DNS challenges require enabling a specific build tag. DNS providers are
community-supported and located in contrib/dns.
---
 cmd/tlstunnel/dns.go        |   5 +
 cmd/tlstunnel/main.go       |   2 +
 contrib/dns/README.md       |  36 +++
 contrib/dns/cloudflare.go   |  19 ++
 contrib/dns/digitalocean.go |  19 ++
 contrib/dns/dns.go          |  15 ++
 contrib/dns/dnspod.go       |  19 ++
 contrib/dns/gandi.go        |  19 ++
 contrib/dns/route53.go      |  24 ++
 directives.go               |  18 ++
 dns.go                      |  11 +
[message trimmed]

[PATCH tlstunnel v2] Add support for DNS challenges 7 months ago

From delthas to ~emersion/public-inbox

DNS challenges require enabling specific build tags for each DNS
provider. DNS providers are community-supported and located in
contrib/dns.
---
 cmd/tlstunnel/main.go       |   2 +
 contrib/dns/README.md       |  37 +++
 contrib/dns/cloudflare.go   |  21 ++
 contrib/dns/digitalocean.go |  21 ++
 contrib/dns/dns.go          |  15 ++
 contrib/dns/dnspod.go       |  21 ++
 contrib/dns/gandi.go        |  21 ++
 contrib/dns/route53.go      |  26 ++
 directives.go               |  18 ++
 dns.go                      |  11 +
[message trimmed]

[PATCH tlstunnel] Add support for DNS challenges 7 months ago

From delthas to ~emersion/public-inbox

DNS challenges require enabling specific build tags for each DNS
provider. DNS providers are community-supported and located in
contrib/dns.
---
 cmd/tlstunnel/main.go       |  2 ++
 contrib/dns/README.md       | 37 +++++++++++++++++++++++++++++++++++++
 contrib/dns/cloudflare.go   | 21 +++++++++++++++++++++
 contrib/dns/digitalocean.go | 21 +++++++++++++++++++++
 contrib/dns/dns.go          | 15 +++++++++++++++
 contrib/dns/dnspod.go       | 21 +++++++++++++++++++++
 contrib/dns/gandi.go        | 21 +++++++++++++++++++++
 contrib/dns/route53.go      | 26 ++++++++++++++++++++++++++
 contrib/dns/transip.go      | 22 ++++++++++++++++++++++
 directives.go               | 18 ++++++++++++++++++
[message trimmed]

[PATCH builds.sr.ht] images/archlinux: skip compression of AUR packages 1 year, 7 months ago

From delthas to ~sircmpwn/sr.ht-dev

All AUR packages installed in the install() step are first built
by makepkg, which by defaults compresses them after building them.

This patch explicitly skips the compression step by temporarily
setting the extension of newly built packages to .pkg.tar.

The extension is only changed temporarily, and this patch has no
effect on any makepkg run by the user in its build script after
the install() step ends.
---
 images/archlinux/functions | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/archlinux/functions b/images/archlinux/functions
[message trimmed]