Commits


CHANGES for 0.120


plug memory leaks in gotwebd config parser, found by gotwebd regress with otto malloc


allow gotwebd to optionally display a login hint when authentication fails ok op@


reject bad hostnames provided to the gotsh weblogin command


add gotwebd config parameters for hiding repositories Add gotwebd.conf parameters which allow repositories to be hidden from regular gotwebd output. This builds on the per-repository configuration parameter syntax added for the authentication feature. ok op@


make gotwebd warn if the webserver's user is set to root in /etc/gotwebd.conf


make gotwebd refuse to start up if the _gotwebd user is root


clean out tog build artifacts as well as they can break the build inside VM


prevent date-specific gotsysd regress failures due to asctime_r whitespace


use GOTWEBD_LOGIN_TIMEOUT for login timeout in gotwebd/login.c Use GOTWEBD_LOGIN_TIMEOUT (defined as 300) for the login timeout in gotwebd(8), the same which is used in gotsh(1). Patch by Martin Vahlensieck


disable gotwebd authentication if it is not enabled in gotwebd.conf gotwebd has always worked out of the box without requiring a configuration file to run, until the authentication feature was added and enabled by default. Enabling authentication by default means that gotwebd is useless out of the box unless a gotwebd.conf file exists which sets access rules or disables authentication.


bump version number


plug memory leaks on exit in gotwebd to pacify the test suite


plug a memory leak in gotwebd auth process found by the gotwebd test suite


disable authentication in gotwebd regress; auth is tested via gotsysd regress


CHANGES for 0.119


sync dist file list


revert some debug logging I accidentally committed in previous


pass gotwebd.conf's www user setting to every gotwebd child process


fix gotsysd.conf "listen on" statement failing on non-existent sockets Reported by Mischa Peters


gotd_accept_paused() is redundant, remove it The gotd_accept() handler already handles the EV_TIMEOUT case. We do not need a separate function for this case.


prevent gotd looping on unhandled errors raised by accept() gotd would somehow loop on ENOTSOCK in a case observed by "noodle" on IRC. For now, exit the event loop if an unknown accept error occurs.


gotwebd: rename LOGIN token to separate namespace There's differences in how yacc(1) works on BSD vs non-BSD systems. As such, the generated code can often clash with tokens which are defined elsewhere. In this case, LOGIN from gotwebd clashes with LOGIN defined in gotwebd.h Simple solution here is to rename the LOGIN token in gotwebd to be GOTWEBD_LOGIN OK @stsp, @op2


whitespace


make the sockets used for gotwebd IPC use non-blocking I/O as intended Hopefully fixes a deadlock I observed where the sockets and fcgi processes were stuck in sendmsg(2) trying to send messages to each other.