Commits
- Commit:
a5fb2593a9ab1c6cc4ae027924724dd2714f7fe1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust regress to use `ge' for the old configless test
- Commit:
d29a2ee2246e1b1b0c5222a823820e42422c894e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
get rid of the CGI support
I really want to get rid of the `executor' process hack for CGI scripts
and its escalation to allow fastcgi and proxying to work on non-OpenBSD.
This drops the CGI support and the `executor' process entirely and is
the first step towards gmid 2.0. It also allows to have more secure
defaults.
On non-OpenBSD systems this means that the sandbox will be deactivated
as soon as fastcgi or proxying are used: you can't open sockets under
FreeBSD' capsicum(4) and I don't want to go thru the pain of making it
work under linux' seccomp/landlock. Patches are always welcome however.
For folks using CGI scripts (hey, I'm one of you!) not all hope is lost:
fcgiwrap or OpenBSD' slowcgi(8) are ways to run CGI scripts as they were
FastCGI applications.
fixes for the documentation and to the non-OpenBSD sandboxes will
follow.
- Commit:
fb1212266f366f457b0c142869b8095213fc5b96
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add tests for the type block
- Commit:
1ca7a0f3bfa18beaeae28cae9afe64bad617dff4
- From:
- Anna “CyberTailor” <cyber@sysrq.in>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
don't skip unit tests when SKIP_RUNTIME_TESTS is set
IRI and Punycode tests don't run gmid binary and can be safely executed.
- Commit:
901905e0cf0f5f141461df7ea199711ea951c919
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bail out of client_read if we've already decide what to do
libevent2 can still somehowe call client_read even in code paths
that never enable reading from the evbuffer. Can't reproduce on
the libevent in base on OpenBSD. It's a bit ugly, but it's a small
workaround for something that otherwise *always* make gmid crash
when linked against libevent2. (client_read works under the
assumption that c->host != NULL, matched_proxy crashes otherwise.)
- Commit:
c064f3de1d3eac4784f185dce4ddf029e0429ead
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add proxying with client certificate test
- Commit:
4b5b1e82a9459f7b4c11a31da4409c5b527730e8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a test for the `proxy relay-to' rule
- Commit:
e5285d54220c0c595b8a29e5fd34837914fa762d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename `runtime' to `regress'
while there also kill an unused rule `regress', it's now redundant since
all the tests are run together.