diff --git a/ChangeLog b/ChangeLog index f9d28113..47b87ee4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2024-08-03 Omar Polo + * configure (VERSION): release 2.1 "From Mars To Sirius" * add support for the proxy-protocol v1 in outgoing connections too; needs to be enabled with the new `proxy-v1' flag in a `proxy' block. * gg.c (parse_proxy): support IPv6 addresses in -P diff --git a/Makefile b/Makefile index 6e116fdf..f5500900 100644 --- a/Makefile +++ b/Makefile @@ -131,7 +131,7 @@ y.tab.c: parse.y lint: man -Tlint -Wstyle -l gmid.8 gmid.conf.5 gemexp.1 gg.1 titan.1 -PUBKEY = keys/gmid-2.0.pub +PUBKEY = keys/gmid-2.1.pub PRIVKEY = set-PRIVKEY DISTFILES = .cirrus.yml .dockerignore .gitignore ChangeLog LICENSE \ Makefile README.md config.c configure crypto.c dirs.c fcgi.c \ diff --git a/configure b/configure index ec069128..e63f6753 100755 --- a/configure +++ b/configure @@ -19,7 +19,7 @@ set -e RELEASE=no -VERSION=2.0.5-current +VERSION=2.1 usage() { diff --git a/gmid.conf.5 b/gmid.conf.5 index 66e4299d..57a6c4e1 100644 --- a/gmid.conf.5 +++ b/gmid.conf.5 @@ -384,7 +384,7 @@ The port the server is listening on. .Dq GEMINI .It Ev SERVER_SOFTWARE The name and version of the server, i.e. -.Dq gmid/2.0.5 +.Dq gmid/2.1 .It Ev REMOTE_USER The subject of the client certificate if provided, otherwise unset. .It Ev TLS_CLIENT_ISSUER diff --git a/keys/Makefile b/keys/Makefile index 55827047..7f8cbf57 100644 --- a/keys/Makefile +++ b/keys/Makefile @@ -1,4 +1,4 @@ -DISTFILES = Makefile gmid-1.7.pub gmid-1.8.pub gmid-2.0.pub +DISTFILES = Makefile gmid-1.7.pub gmid-1.8.pub gmid-2.0.pub gmid-2.1.pub all: false diff --git a/keys/gmid-2.1.pub b/keys/gmid-2.1.pub new file mode 100644 index 00000000..5dea3bba --- /dev/null +++ b/keys/gmid-2.1.pub @@ -0,0 +1,2 @@ +untrusted comment: signify public key +RWSMZUrn4u03g0AwurM9kGiIfhetO5OISPlMMb4+th+Bw8ViotgbzKss diff --git a/site/Makefile b/site/Makefile index 69cc9dac..9e1cc9d0 100644 --- a/site/Makefile +++ b/site/Makefile @@ -21,8 +21,8 @@ REPOLOGY_URL = https://repology.org/project/gmid/versions SUBST = ./subst GITHUB=https://github.com/omar-polo/gmid \ SITE=https://ftp.omarpolo.com \ - VERS=2.0.5 \ - PUBKEY=gmid-2.0.pub \ + VERS=2.1 \ + PUBKEY=gmid-2.1.pub \ TREE=https://github.com/omar-polo/gmid/blob/master SUBST_GEM = ${SUBST} MANEXT=txt EXT=gmi REPOLOGY=${REPOLOGY_URL} diff --git a/site/changelog.gmi b/site/changelog.gmi index 13228891..0ba96111 100644 --- a/site/changelog.gmi +++ b/site/changelog.gmi @@ -1,5 +1,17 @@ # change log +## 2024/08/03 - 2.0.5 “From Mars To Sirius” + +### New Features + +* support for the proxy protocol v1 both when accepting connections and when proxying via the new `proxy-v1' keyword available in `listen' and `proxy' directives. + +### Bug fixes + +* fixed typo in bound check that resulted in "chroot path too long" on some systems +* correctly propagate the prefork value; was causing failures if it was changed from the default +* titan: improve error check when reading from standard input; errors such as "no space left on device" would have been silently ignored. + ## 2024/06/11 - 2.0.5 “Lady Stardust” security release This release fixes a logic error that can result in a DoS; therefore is a strongly reccomended update for all users. It's safe to update to it from any version of the 2.0.x series.