aboutsummaryrefslogtreecommitdiff
path: root/gmid.1
AgeCommit message (Collapse)Author
2022-04-08rework the 'running gmid as a daemon' example a bitOmar Polo
2022-04-07move the documentation of the config file into gmid.conf.5Omar Polo
2022-04-07don't mention the `map' rule anymore: `types' is way betterOmar Polo
2022-03-27tag 1.8.3 -- "Lightbulb Sun" bugfix release1.8.3Omar Polo
gmid 1.8.3 "Lightbulb Sun" bugfix release ========================================= Released March 27, 2022. signify(1) pubkeys for this release: RWTy3UJQzpxBUAymBwb2EGLLm0b3H/1n8hzhaC9HYFYzNuTavGt9QSwC Bug Fixes ~~~~~~~~~ * fix a possible out-of-bound access in the CGI handling. It was introduced last October during a refactoring, but due to how many malloc(3) implementations works this hasn't been found until now. Otto' malloc is more strict fortunately.
2022-03-26tag 1.8.2 -- "Lightbulb Sun" bugfix release1.8.2Omar Polo
gmid 1.8.2 "Lightbulb Sun" bugfix release ========================================= Released March 26, 2022. signify(1) pubkeys for this release: RWTy3UJQzpxBUAymBwb2EGLLm0b3H/1n8hzhaC9HYFYzNuTavGt9QSwC Bug Fixes ~~~~~~~~~ * fix a CGI timing issue: if a connection handled by a CGI scripts is interrupted with the right timing it causes the server process to exit with "fatal in client_by_id: invalid id X". New Features ~~~~~~~~~~~~ * add a new block `type { ... }' to define mime types mapping. Improvements ~~~~~~~~~~~~ * use shell built-in `command' instead of which(1), prodded by cage and Allen Sobot. * configure script: allow to set MANDIR from cmdline (Allen Sobot) * add systemd-sysusers sample file in contrib/ (Nakaya) * [linux/seccomp] allow fstatat64(2), llseek(2) and sigreturn(2), needed by glibc on armv7. (Tobias Berger) * [linux/seccomp] tightens rules by allowing openat(2) only with the O_RDONLY flag.
2022-03-26bump MdocdateOmar Polo
2022-02-26document the type { ... } blockOmar Polo
2022-01-30prepare 1.8 release1.8Omar Polo
2022-01-30rename MIME section to "MEDIA TYPES"Omar Polo
2022-01-30allow using a custom hostname for SNI during proxyingOmar Polo
add a `sni' option for the `proxy' block: the given name is used instead of the one extracted by the `relay-to' rule.
2022-01-04some Pa -> Ar; while here drop two `The' from the start of the sentenceOmar Polo
2022-01-04document `require client ca' for proxiesOmar Polo
2022-01-02sync manpageOmar Polo
2022-01-01document use-tlsOmar Polo
2022-01-01document the new proxy stuffOmar Polo
2021-12-29document the `proxy relay-to' ruleOmar Polo
2021-12-02explain config-less modeOmar Polo
2021-10-15Implement OCSP stapling supportStephen Gregoratto
Currently dogfooding this patch at gemini.sgregoratto.me. To test, run the following command and look for the "OCSP response" header: openssl s_client -connect "gemini.sgregoratto.me:1965" -status
2021-10-09two -n to dump the parsed configurationOmar Polo
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-09split the cert generation example on multiple linesOmar Polo
2021-09-19tag 1.7.31.7.3Omar Polo
bump version number
2021-07-29keep the openssl key generation example under 80 columnsOmar Polo
2021-07-29gmid.1: some spelling, grammar and crosslinksAnna “CyberTailor”
2021-07-29gmid.1: provide certificate generation exampleAnna “CyberTailor”
2021-07-29gmid.1: document loggingAnna “CyberTailor”
2021-07-21use \e instead of \\ as a mean to escape \Omar Polo
Just read in a mail from Ingo to tech@ > Using \\ outside macro definitions (i.e., outside the bodies of roff(7) > .de and similar requests) is almost always wrong even in low-level roff > code, and \\ must never be used in manual pages.
2021-07-11tag v1.7.11.7.1Omar Polo
This version includes two bugfixes: - use ${MAKE} to recursively call make - fix the misleading example in the man page: macros name may not be reserved words Both bugs found and fixed by Anna “CyberTailor”, thanks!
2021-07-11alignOmar Polo
2021-07-11fix misleading example in man pageAnna “CyberTailor”
> Macros names may not be reserved words
2021-07-10tag v1.71.7Omar Polo
2021-07-09sync macro usage and mention the `include' keywordOmar Polo
2021-07-09`param' is forbidden inside `location's tooOmar Polo
and while there sort the list of disallowed rules.
2021-07-09misc improvements to the manualOmar Polo
2021-07-09change (again) the env/param separator: use '='Omar Polo
Given that env/param are new features of this release, no support for the "old" syntax is needed.
2021-07-09add => in env/param and `port' between hostname and port for fastcgiOmar Polo
In the same spite of the last commit, add the missing separators between strings to avoid the auto-concat pitfalls. `=>' is used to separate between `env' and `param' arguments, while for `fastcgi' the keyword `port' is required between the hostname/ip address and the port (if provided). Since `env', `param' and `fastcgi' are all new stuff, there's no need to keep compatibility.
2021-07-09rename `mime MIME EXT' to `map MIME to-ext EXT'Omar Polo
With the newish automatic string concatenation, options like `mime' that accepts two strings as parameter start to become ambiguous: which strings gets concatenated? Instead of trying to document in the manpage which argument(s) is subject to string concatenation, do the concat always and introduce a separator. In the case of mime, `to-ext' now acts as a separator to distinguish. While there, also use a new keyword because it sounds better. It's dead-easy to upgrade to the new configuration, possibly with some sed magic, but for the moment the old `mime' form is preserved: (with a warning!) Will be dropped in the next release.
2021-07-02revert 2c16dbd5486 -- macro names can't be reserved wordsOmar Polo
While one can define a macro using a reserved word as name using -Dname=val, inside the configuration file it'll fail.
2021-06-29macro names can be reserved wordsOmar Polo
2021-06-29fix macro exampleOmar Polo
2021-06-29document the c-like handling of stringsOmar Polo
2021-06-29don't expand macros inside the quotesOmar Polo
Now that we have this auto concat string thingy, macros can simply expand to standalone strings in place, as single words. Forgot to point it out in previous commits, but now we can cert = "/etc/keys" server "foo" { cert $cert "/foo.crt" ... }
2021-06-29document macros: both -D and syntaxOmar Polo
2021-06-29mention -V/--version and --help in the manpageOmar Polo
2021-06-17document `log' optionOmar Polo
2021-06-11fix warnings in manpageOmar Polo
man -Tlint
2021-06-11document fastcgi and the new `param' optionsOmar Polo
2021-05-24document `fastcgi' config optionOmar Polo
2021-05-15correct the description of `strip'Omar Polo
now it's also used in the path lookup process
2021-05-11gmid don't enforce anymore that a root is specifiedOmar Polo
2021-04-30allow ``root'' rule to be specified per-location blockOmar Polo