aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-08change the approach for strnvisOmar Polo
instead of making things more obscure via gmid_strnvis(), let's just check for strnvis with -Werror so we can swap the OS broken implementation with the bundled OpenBSD one.
2024-06-06...complete the sentenceOmar Polo
2024-06-06fix previous; was causing a shift/reduce conflictOmar Polo
2024-06-06regress: add a test for comments and blanks at the start of the fileOmar Polo
2024-06-06fix parser: empty lines are allowedOmar Polo
2024-06-06site: log for 2.0.4Omar Polo
2024-06-06-current againOmar Polo
2024-06-06prepare release 2.0.42.0.4Omar Polo
2024-06-06changelog for 2.0.4Omar Polo
2024-06-06sync file listOmar Polo
2024-06-06add a todoOmar Polo
2024-06-06attempt to deal with the portability fiasco of strnvis(3)Omar Polo
2024-06-06libtls: add missing includeOmar Polo
2024-06-05add a nice error message in case the `cgi' option is presentOmar Polo
was removed with gmid 2.0 but to ease the migration a friendly error message is more useful than a "syntax error".
2024-06-04site: fix syntax for 2.0.2 changelogOmar Polo
2024-06-04site: add changelog for 2.0.3Omar Polo
2024-06-04-current againOmar Polo
2024-06-04prepare release 2.0.32.0.3Omar Polo
2024-06-04changelog for 2.0.3Omar Polo
2024-06-03bump dateOmar Polo
2024-06-03regress: add a check for `fastcgi off' handling across locationsOmar Polo
Based on the bug report from Alex, thanks!
2024-06-03fix `fastcgi off' handlingOmar Polo
When a matching location has a `fastcgi off' directive, we should honour that and stop searching for further location which may have a `fastcgi' directive. Bug reported by Alex // nytpu, thanks!
2024-05-29regress: add test_ipv6_serverOmar Polo
2024-05-29regress: add a knob to disable test_ipv6_addrOmar Polo
at least on the CI is failing with "can't connect to ::1:10965: Address not available" which suggests IPv6 is broken there.
2024-05-29typoOmar Polo
2024-05-29regress: rename ipv4 test and add another with ipv6Omar Polo
2024-05-29iri: add support for raw IPv6 addressesOmar Polo
2024-05-29gg: unbreak -nOmar Polo
2024-05-29regress: run test_ip_addr with host=127.0.0.1Omar Polo
2024-05-29explain why we disable runtime tests on macosOmar Polo
2024-05-29regress: use the new gg -q to reduce the blabberingOmar Polo
2024-05-29gg: add -q to avoid printing "Server says"Omar Polo
2024-05-29pretty-print the socket address at configuration parsing timeOmar Polo
saves a getnameinfo(NI_NUMERICHOST) at runtime, even if it's pretty cheap.
2024-05-29add regress that hit gmid via a raw IPv4 addressOmar Polo
2024-05-29relax the SNI requirementOmar Polo
There are legitimate cases where SNI can't be used, for example when connecting via an IPv6 address, so don't rejects those requests. Instead, fill the requested domain with the address (literal) of the socket they're connected to and attempt to match on it. This possibly still incur in a "won't proxy" error if the client then requests a different hostname. See the github issue https://github.com/omar-polo/gmid/issues/25
2024-05-27github: add workflow to build images for ghcr.ioOmar Polo
2024-05-25s/MIN/MINIMUM/gOmar Polo
2024-04-27contrib/gmid.service: remove User and GroupOmar Polo
May cause weird errors (status=216/GROUP) on some distros, and running as root is already the default, so remove the two lines. Reported by and debugged together with leandro del Flug, thanks!
2024-04-27contrib/gmid.service: start as root by defaultOmar Polo
Various techniques used by gmid are effective only when the daemon is started as root. Strongly suggest to do so by switching the sample configuration. This way, provided that a local user is created as well, the chroot configuration will work out-of-the-box and the TLS certificates can be readable only by root.
2024-04-27improve the description for -fOmar Polo
2024-04-11typo: semicolors -> semicolonsOmar Polo
2024-04-04set next versionOmar Polo
2024-04-04prepare release 2.0.12.0.2Omar Polo
2024-04-04changelog for 2.0.2Omar Polo
2024-04-04add a test for the config dumpingOmar Polo
2024-04-04fix config dumping (-nn) handlingOmar Polo
with the privsep rework the config dumping was unadvertitely broken, it prints the content of the key itself.
2024-04-03use -Werror=implicit-function-declaration for function detectionOmar Polo
the previous -Werror triggers too easily: on NixOS for example the FORTIFY_SOURCE #warning about a missing optimization level breaks all the checks when using -O0 (which is the default for non-release builds).
2024-04-03fix landlock testOmar Polo
include stddef.h for size_t
2024-03-12remove dead codeOmar Polo
2024-03-06update mac CI target to sonomaOmar Polo