Commits
- Commit:
5d22294a59e7e9cbe6457b9e6244fff2ede09956
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move fastcgi from global var to the config struct
while here also make them a list rather than a fixed-size array.
- Commit:
deadd9e1311204415754dcfa404bec4bf3cd557c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
readd proxy certs and `require client ca' support
Was temporarly disabled during the transition to real privsep.
While here, fix a memory leak when using `require client ca'.
Also, avoid leaking info about the parent address space layout to
server processes by not sending pointer values.
- Commit:
9b2587bb33052c4564987990d281c9f8c25c7024
- From:
- Omar Polo <op@omarpolo.com>
- Date:
safety measure, explicitly memset config in config_init
- Commit:
1c6967b33a31b4c24881a72dc0ab95286ece8f62
- From:
- Omar Polo <op@omarpolo.com>
- Date:
keep cert/key/ocsp path as strings and don't send them via imsg
- Commit:
f5c8360ade5e07f80671e53789f8f9d5315bd92a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix previous
- Commit:
4f4937f06a536661ffafa589d1cfb5d91ca27bf3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move make_socket to config.c and make it private
- Commit:
c26f2460e42aa0822c283c805958989f339e7d8b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework the daemon to do fork+exec
It uses the 'common' proc.c from various OpenBSD-daemons.
gmid grew organically bit by bit and it was also the first place where I
tried to implement privsep. It wasn't done very well, in fact the
parent process (that retains root privileges) just fork()s a generation
of servers, all sharing *exactly* the same address space. No good!
Now, we fork() and re-exec() ourselves, so that each process has a fresh
address space.
Some features (require client ca for example) are temporarly disabled,
will be fixed in subsequent commits. The "ge" program is also
temporarly disabled as it needs tweaks to do privsep too.
- Commit:
c68baad22af4c65c090a3ba6d83a155561275134
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move config-related code to config.c
reuse it in ge too.