Commit Graph

155 Commits

Author SHA1 Message Date
Omar Polo
83c62ff950 sync 2022-09-10 13:31:37 +00:00
Omar Polo
aae8f6bf2b change the flags to be consistent with other OpenBSD daemons
-d is `debug' (run in the foreground)
 -f to load the configuration file

adjust regress and contrib accordingly
2022-09-08 21:34:29 +00:00
Omar Polo
f7c6f7155a sync 2022-09-08 20:45:19 +00:00
Omar Polo
39ad4b8d7f sync 2022-07-07 18:19:34 +00:00
Omar Polo
93124fce99 mention Anna' patch too 2022-07-07 08:57:28 +00:00
Omar Polo
9ac625870e mention the removal of the rc file 2022-07-07 08:56:23 +00:00
Omar Polo
ddd291dd7c mention the 1.8.4 release 2022-07-07 08:55:32 +00:00
Omar Polo
de8dc03c4d sync 2022-07-07 08:54:26 +00:00
Omar Polo
0d823f229d sync 2022-07-04 14:31:20 +00:00
Omar Polo
ddd3c5529f sync 2022-07-04 09:32:02 +00:00
Omar Polo
3bd4a6dea0 log when it fails to open a file because of permissions 2022-07-04 08:25:15 +00:00
Omar Polo
df40c96931 changelog 2022-07-04 08:15:45 +00:00
Omar Polo
5c4e8e97bd wording 2022-04-08 15:45:46 +00:00
Omar Polo
6d362b3556 revise changelog 2022-04-08 15:26:16 +00:00
Omar Polo
99a95569a4 sync 2022-04-08 15:14:21 +00:00
Omar Polo
9b64995359 wrong email... 2022-04-08 13:45:33 +00:00
Omar Polo
1d6cbdd0df sync 2022-04-08 13:45:26 +00:00
Omar Polo
8036523fff add forgotten entries 2022-04-07 18:04:50 +00:00
Omar Polo
f731e4a781 update changelog 2022-04-07 17:59:25 +00:00
Omar Polo
cd3e28ffe4 fix email 2022-02-26 14:19:30 +00:00
Omar Polo
74994ae7e5 sync changelog 2022-02-26 14:19:24 +00:00
Omar Polo
c273bc0e41 sync changelog 2022-02-13 16:21:37 +00:00
Omar Polo
67347fb021 sync changelog 2022-02-13 15:29:20 +00:00
Omar Polo
b4b432e78e sync changelog 2022-02-10 23:14:17 +00:00
Omar Polo
a14b9f779f prepare 1.8 release 2022-01-30 13:35:45 +00:00
Omar Polo
d23cd12c68 sync changelog 2022-01-30 13:05:13 +00:00
Omar Polo
e2534fd11f note who requested what 2022-01-06 18:13:14 +00:00
Omar Polo
6effb78141 sync changelog 2022-01-02 16:38:59 +00:00
Omar Polo
5df593f3a6 oops, wrong email address 2022-01-02 16:37:26 +00:00
Omar Polo
a9cb709d44 sync changelog 2022-01-01 16:34:37 +00:00
Omar Polo
cc1c8f548c sync changelog 2022-01-01 10:54:17 +00:00
Omar Polo
fe903d30e7 sync changelog 2021-12-11 09:12:10 +00:00
Omar Polo
52c92ef680 relax the "wont proxy request" check: don't check the port number
Don't refuse to serve the request if the port number doesn't match the
one we're listening on, as initially suggested by Allen Sobot.

Complex setup may have a gmid instance reachable from multiple ports and
the meaning of the check in the first places was to avoid tricking
clients into thinking that we're serving for those domains: the port
number is way less important than the schema or domain name.

In the long run, the best way would probably to add a `listen on'
keyword for the servers blocks, just like OpenBSD' httpd, but gmid can't
listen on multiple ports/interfaces yet
2021-12-09 20:59:05 +00:00
Omar Polo
34c4ca6ebc configure: support --prefix=...
It's like passing PREFIX=... on the command line
2021-12-09 19:24:18 +00:00
Omar Polo
aa76c675eb sync changelog 2021-11-16 09:06:01 +00:00
Omar Polo
eaa02ac8c7 sync changelog 2021-10-24 16:34:34 +00:00
Omar Polo
818d6aeeb6 sync changelog 2021-10-15 08:28:35 +00:00
Omar Polo
2ae10bb4ee sync 2021-10-13 20:50:37 +00:00
Omar Polo
536026c565 add script to automatically renew self-signed certificates 2021-10-11 14:42:11 +00:00
Omar Polo
f0a01fc742 two -n to dump the parsed configuration
This adds a barebone dumping of the parsed configuration.  It is not
complete, but I'm interested in dumping the full path to `cert' and
`key' in order to write some scripts that can inspect the
configuration, extract the certificates and renew them when expired
automatically.

It's not easy to parse gmid configuration otherwise because the syntax
is flexible and users can use macros.  Instead, the idea is to run
gmid and let it dump the configuration once it's been parsed in a
static and predictable format.

Now is possible to parse gmid configuration with, say, awk or perl.
2021-10-09 21:40:55 +00:00
Omar Polo
d7e2e22c58 add gencert, a simple script to generate self-signed certs 2021-10-09 14:07:21 +00:00
Omar Polo
2072343d6b sync changelog 2021-10-04 09:35:17 +00:00
Omar Polo
c1272f63e4 sync 2021-10-04 09:08:21 +00:00
Omar Polo
a49800c86a sync 2021-10-02 17:21:26 +00:00
Omar Polo
2a44a2ab6e sync changelog 2021-09-26 17:00:16 +00:00
Omar Polo
775ef04f82 mention the thanks to cage for the bugfix
Since I was in a hurry, I forgot to mention it in the tag message :/
2021-09-24 14:21:16 +00:00
Omar Polo
0d9a5b7a18 sync release 2021-09-24 11:16:32 +00:00
Omar Polo
36d2d7b4b3 sync changelog 2021-09-19 17:15:24 +00:00
Omar Polo
fba809b5c7 tag 1.7.3
bump version number
2021-09-19 14:48:07 +00:00
Omar Polo
ca3d8bfde6 retroactively mention the fstat64 fix 2021-09-18 11:15:40 +00:00