Tree
- Tree:
270df0a78a404e55e5d733e388747e56c1207e7a
- Date:
- Message:
- swap try_client_by_id with client_by_id i.e. allow client_by_id to fail and return NULL. Initially I thought it was a good idea to shut down a server process if we receive an invalid client id as reply from one of our requests to the executor process. This turned out not to be correct since a client can (read: will) disconnect in the delay beteewn we acknowledge their request and the cgi script execution. The fastcgi and proxy handler already handled this situation, so they're unaffected. This allows an attacker to make gmid unresponsible by just making enough requests until they hit the right timing.
Dockerfile | commits | blame |
README | commits | blame |
gencert* | commits | blame |
gmid* | commits | blame |
gmid.service | commits | blame |
gmid.sysusers | commits | blame |
renew-certs* | commits | blame |
vim/ |
README
This directory is for additional contributed files which may be useful. Dockerfile Sample Dockerfile to build alpine-based gmid images. gencert Simple shell script to generate self-signed certificates. gmid Sample rc(8) script for OpenBSD, to be placed in /etc/rc.d. gmid.service Simple systemd service file. gmid.sysusers Sample systemd-sysusers' config file. renew-certs Flexible script meant to be run in a cronjob to watch for cert expiration. It can optionally regen the (self-signed) certificate in place and restart the server too. vim Syntax highlighting of gmid configuration for vim, to be placed into ~/.vim/ or /usr/share/vim/vimfiles/. To enable Syntastic checker, put this line in your vimrc: let g:syntastic_gmid_checkers = ['gmid']