summaryrefslogtreecommitdiff
path: root/usr.sbin/slowcgi
AgeCommit message (Expand)Author
2014-07-13Use lerrx instead of errx since the logging subsystem is already initialized.Claudio Jeker
2014-06-10Implement -u (user to drop privs to) and -p flag (path to chroot to).Florian Obser
2014-06-10Cleanup socket creation.Florian Obser
2014-04-16My previous attempt to chdir(2) to the directory containing the cgiFlorian Obser
2014-04-14Calculate the length of name and value for parameters the right wayFlorian Obser
2014-04-13httpd(8) did a chdir(2) to the directory containing the cgi script. AsFlorian Obser
2014-03-17jturner pointed out that if one wants to run cgi scripts outsideFlorian Obser
2014-01-20Better explanation what slowcgi(8) is for.Florian Obser
2014-01-19Wording improvements from Patrik LundinTheo de Raadt
2014-01-19fix reaper loop that could run indefinitelyDamien Miller
2013-12-12Make it clear that slowcgi(8) drops privileges to user www.Florian Obser
2013-10-31Initialize sun_len, pointed out by deraadt@.Florian Obser
2013-10-29Fix a potential file descriptor overlap in exec_cgi() by making sureFlorian Obser
2013-10-23We need to loop around waitpid to catch all exited children as we areFlorian Obser
2013-10-21Do not leak fds in fork(2) error path.Florian Obser
2013-10-21Check for EINTR, too.Florian Obser
2013-10-21No need for volatile here.Florian Obser
2013-10-20spelling, spacing, etcTheo de Raadt
2013-10-20reserve file descriptors for incoming connections so weSebastian Benoit
2013-10-19Keep track of which fds were closed before and only close those stillFlorian Obser
2013-10-18Do not fiddle with the response queue directly but go throughFlorian Obser
2013-10-18Logging to syslog works better with openlog(3).Florian Obser
2013-10-18Use a dedicated socketpair for stdin, makes the code more symetric andFlorian Obser
2013-10-18Calculate correct pointer for fcgi_{begin,end}_request_body.Florian Obser
2013-10-18Calculate correct pointer for end_request; while there initializeFlorian Obser
2013-10-18set FD_CLOEXECFlorian Obser
2013-09-19adjust the names to more accurately reflect the names of structsBret Lambert
2013-09-11Sprinkle some comments which clarify the protocol/process flow.Bret Lambert
2013-09-06When dumping FastCGI protocol headers during debug, dump theBret Lambert
2013-09-06Use the correct buffer size for memory allocation and reads.Bret Lambert
2013-08-30If the CGI script died due to receipt of signal, pass that backBret Lambert
2013-08-26slowcgi grows an option to specify an alternate FastCGI socketBret Lambert
2013-08-23Give slowcgi a style(9) scrubbing. No functional change.Bret Lambert
2013-06-02move bgplg and slowcgi sockets to /var/www/runFlorian Obser
2013-05-23tweaks; ok florianJason McIntyre
2013-05-23off by one, from Henri Kemppainen <duclare-at-guu.fi>, thanks!Florian Obser
2013-05-23Fix pasto where 'c' instead of 'clients' is checked for NULL and add missingJasper Lievisse Adriaanse
2013-05-23Put slowcgi(8) a FastCGI to CGI wrapper in to work on it in tree.Florian Obser