| Commit message (Expand) | Author | Age | Lines |
* | re-shuffle slowcgi_listen to run less code as root. OK benno@ | florian | 2020-05-24 | -15/+16 |
* | Output the contents of the environment in debug mode which is most helpful in... | millert | 2020-05-24 | -1/+2 |
* | Clean up includes, while here fix a white space which lead to a false positiv... | florian | 2020-05-24 | -5/+5 |
* | The kernel doesn't actually care what a sockaddr's sa_len is on input, so don... | guenther | 2020-05-24 | -5/+3 |
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where poss... | deraadt | 2020-05-24 | -4/+5 |
* | read(2) returns ssize_t, not size_t | blambert | 2020-05-24 | -2/+3 |
* | enable warnings | florian | 2020-05-24 | -1/+6 |
* | Bail out if the buffer is too small to contain the length of a parameter valu... | florian | 2020-05-24 | -4/+4 |
* | dead stores; pointed out by llvm scan-build; no binary change | florian | 2020-05-24 | -5/+1 |
* | pause shadows global; pointed out by gcc; no binary change | florian | 2020-05-24 | -5/+5 |
* | mode is unused; pointed out by gcc; no binary change | florian | 2020-05-24 | -2/+2 |
* | declare lerr and lerrx __dead; unconfuses llvm scan-build | florian | 2020-05-24 | -12/+12 |
* | Instead of doing the fcntl(2) and ioctl(2) song and dance just tell socket(2)... | florian | 2020-05-24 | -11/+5 |
* | fix previous, and add a SEE ALSO section for httpd; | jmc | 2020-05-24 | -5/+5 |
* | remove nginx references | robert | 2020-05-24 | -5/+2 |
* | Use lerrx instead of errx since the logging subsystem is already initialized.... | claudio | 2020-05-24 | -3/+3 |
* | Implement -u (user to drop privs to) and -p flag (path to chroot to). This al... | florian | 2020-05-24 | -13/+45 |
* | Cleanup socket creation. Input ajacoutot some time ago; OK henning@ | florian | 2020-05-24 | -13/+10 |
* | My previous attempt to chdir(2) to the directory containing the cgi script wa... | florian | 2020-05-24 | -5/+10 |
* | Calculate the length of name and value for parameters the right way around fo... | florian | 2020-05-24 | -6/+6 |
* | httpd(8) did a chdir(2) to the directory containing the cgi script. As there ... | florian | 2020-05-24 | -1/+10 |
* | jturner pointed out that if one wants to run cgi scripts outside /cgi-bin SCR... | florian | 2020-05-24 | -2/+6 |
* | Better explanation what slowcgi(8) is for. Room for improvements pointed out ... | florian | 2020-05-24 | -2/+25 |
* | Wording improvements from Patrik Lundin | deraadt | 2020-05-24 | -4/+4 |
* | fix reaper loop that could run indefinitely | djm | 2020-05-24 | -2/+5 |
* | Make it clear that slowcgi(8) drops privileges to user www. Pointed out some ... | florian | 2020-05-24 | -3/+5 |
* | Initialize sun_len, pointed out by deraadt@. While there also check length of... | florian | 2020-05-24 | -2/+6 |
* | Fix a potential file descriptor overlap in exec_cgi() by making sure that fil... | florian | 2020-05-24 | -2/+26 |
* | We need to loop around waitpid to catch all exited children as we are not gua... | florian | 2020-05-24 | -19/+20 |
* | Do not leak fds in fork(2) error path. pointed out by deraadt@ | florian | 2020-05-24 | -1/+17 |
* | Check for EINTR, too. pointed out by deraadt@ | florian | 2020-05-24 | -3/+3 |
* | No need for volatile here. pointed out by deraadt@ | florian | 2020-05-24 | -2/+2 |
* | spelling, spacing, etc | deraadt | 2020-05-24 | -18/+20 |
* | reserve file descriptors for incoming connections so we will be able to actua... | benno | 2020-05-24 | -3/+35 |
* | Keep track of which fds were closed before and only close those still open. O... | florian | 2020-05-24 | -4/+16 |
* | Do not fiddle with the response queue directly but go through a new slowcgi_a... | florian | 2020-05-24 | -9/+12 |
* | Logging to syslog works better with openlog(3). OK blambert | florian | 2020-05-24 | -1/+7 |
* | Use a dedicated socketpair for stdin, makes the code more symetric and gets r... | florian | 2020-05-24 | -15/+25 |
* | Calculate correct pointer for fcgi_{begin,end}_request_body. input / OK blambert | florian | 2020-05-24 | -3/+3 |
* | Calculate correct pointer for end_request; while there initialize reserved to... | florian | 2020-05-24 | -3/+6 |
* | set FD_CLOEXEC OK blambert | florian | 2020-05-24 | -1/+8 |
* | adjust the names to more accurately reflect the names of structs and function... | blambert | 2020-05-24 | -65/+65 |
* | Sprinkle some comments which clarify the protocol/process flow. | blambert | 2020-05-24 | -1/+18 |
* | When dumping FastCGI protocol headers during debug, dump the "request begin" ... | blambert | 2020-05-24 | -8/+43 |
* | Use the correct buffer size for memory allocation and reads. | blambert | 2020-05-24 | -5/+9 |
* | If the CGI script died due to receipt of signal, pass that back to the HTTP f... | blambert | 2020-05-24 | -6/+20 |
* | slowcgi grows an option to specify an alternate FastCGI socket on which to li... | blambert | 2020-05-24 | -8/+17 |
* | Give slowcgi a style(9) scrubbing. No functional change. | blambert | 2020-05-24 | -41/+47 |
* | move bgplg and slowcgi sockets to /var/www/run input reyk@, guenther@ "move f... | florian | 2020-05-24 | -5/+5 |
* | tweaks; ok florian | jmc | 2020-05-24 | -7/+5 |