aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2022-01-30prepare 1.8 release1.8Omar Polo
2022-01-30sync changelogOmar Polo
2022-01-06note who requested whatOmar Polo
2022-01-02sync changelogOmar Polo
2022-01-02oops, wrong email addressOmar Polo
2022-01-01sync changelogOmar Polo
2022-01-01sync changelogOmar Polo
2021-12-11sync changelogOmar Polo
2021-12-09relax the "wont proxy request" check: don't check the port numberOmar Polo
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-09configure: support --prefix=...Omar Polo
It's like passing PREFIX=... on the command line
2021-11-16sync changelogOmar Polo
2021-10-24sync changelogOmar Polo
2021-10-15sync changelogOmar Polo
2021-10-13syncOmar Polo
2021-10-11add script to automatically renew self-signed certificatesOmar Polo
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-09add gencert, a simple script to generate self-signed certsOmar Polo
2021-10-04sync changelogOmar Polo
2021-10-04syncOmar Polo
2021-10-02syncOmar Polo
2021-09-26sync changelogOmar Polo
2021-09-24mention the thanks to cage for the bugfixOmar Polo
Since I was in a hurry, I forgot to mention it in the tag message :/
2021-09-24sync releaseOmar Polo
2021-09-19sync changelogOmar Polo
2021-09-19tag 1.7.31.7.3Omar Polo
bump version number
2021-09-18retroactively mention the fstat64 fixOmar Polo
2021-09-18fix changelog syntaxOmar Polo
2021-09-17sync changelogOmar Polo
2021-08-23syncOmar Polo
2021-07-29syncOmar Polo
2021-07-27syncOmar Polo
2021-07-19unbreak configless modeOmar Polo
An un-initialized field in the configless code path leads to a crash on the first request.
2021-07-13syncOmar Polo
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-11syncOmar Polo
2021-07-10tag v1.71.7Omar Polo
2021-07-09syncOmar Polo
2021-07-09parsing: bring lots of goodies from OpenBSD' parse.yOmar Polo
This allows to solve the problem with the \n in the grammar (before two following macro declaration were treated as invalid. This also brings in a nice `include' keyword.
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-06add -T timeout to gg; don't let the regress test hangOmar Polo
2021-07-06try to preserve as much as possible CFLAGS and LDFLAGS from envOmar Polo
but still try to autodetect with pkg-config if they aren't provided. Passing CFLAGS/LDFLAGS from the command line will still override the guessed ones.
2021-07-02reworked seccomp filterOmar Polo
* SECCOMP_AUDIT_ARCH extended to support more architectures * relax fcntl policy: allow the syscall regardless of the flags * wrap every syscall in a ifdef, and add some (statx, fcntl64, ...) used in x86 Some bits were taken from dhcpcd[0], thanks! #4 related [0]: https://roy.marples.name/git/dhcpcd/blob/HEAD:/src/privsep-linux.c
2021-06-29[config] concat two or more strings next to each othersOmar Polo
2021-06-29don't require the strict order macro > options > serversOmar Polo
2021-06-29add -D to define macros from the cmd lineOmar Polo
2021-06-29allow to define macros in the config fileOmar Polo
Macros can be defined at the top of the configuration file: dir = "/var/gemini" cert = "/etc/keys" and re-used later, for example server "foo" { root "$dir/foo" # -> /var/gemini/foo cert "$cert/foo.pem" # -> /etc/keys/foo.pem }
2021-06-29use getopt_long, add --help as synonym of -h and -V/--versionOmar Polo
2021-06-17document `log' optionOmar Polo
2021-06-16drop the dependency on lex by implementing yylex by ourselvesOmar Polo
The actual implementation is based off doas' parse.y. This gave us various benefits, like cleaner code, \ to break long lines, better handling of quotes etc...
2021-06-11add `param' keywordOmar Polo