Commits
- Commit:
534afd0ddcba7c3d2f8478e89db026010c6190c5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make the various strings in the config fixed-length
will help in future restructuring to have fixed-size objects.
- Commit:
9715efe6f3838c40bbb66a8d0806cf785f2e7368
- From:
- Omar Polo <op@omarpolo.com>
- Date:
retire fcgi' prog field
spawning programs was a hidden feature used only for testing. It's
gross and when got removed, I forgot to remove the field as well.
- Commit:
71ddfd2023f7358314ee13427919803c5917c6ab
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
5c4855299cc05b533c3b5229e864654f59fe69ea
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove remnats tentacles of the executor process
- Commit:
934f957f297e0bb5e9abf55ed425a18e169f7ae4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove unused entrypoint field
ventige of the cgi support (and lack of url rewriting)
- Commit:
2025e96d976677a7bf6bbe54185eb7bca026fe9d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop cgi vestiges from the struct host
The `env' list is no longer used since CGI scripts were removed
- Commit:
cd5826b8ba3b43ed9802309688ae029c0f5c4081
- From:
- Omar Polo <op@omarpolo.com>
- Date:
retire the deprecated `mime' and `map' config options
- Commit:
7277bb7dc2971fad2a51b7975df85dda1df4c936
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make config fields `chroot' and `user' fixed-size
- Commit:
aae8f6bf2b6be18c8bb4fc46c2df679110fe9d96
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change the flags to be consistent with other OpenBSD daemons
-d is `debug' (run in the foreground)
-f to load the configuration file
adjust regress and contrib accordingly
- Commit:
32fbc47803fbb51cfff0e5181b78d9050641709c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop the configless mode from gmid; now it's provided by `ge'
- 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:
a555e0d67baef271ffe4a186326ee5f1c16fff75
- From:
- Omar Polo <op@omarpolo.com>
- Date:
copyright years
- Commit:
18bd83915eab0f06b7e2920d0d71a39108b2d641
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort the MIME mappings and do a binary search to match
- Commit:
54203115cd0121ee0e44f5e58202a4d8054b9c09
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't load the built-in list when using `types'
- Commit:
d8d170aa5ee1498babee095078b3888f1525a2b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow add_mime to fail
add_mime nows allocate dinamically copies of the passed strings, so
that we can actually free what we parse from the config file.
This matters a lot especially with lengthy `types' block: strings that
reach the internal mapping are never free'd, so every manual addition
is leaked.