summaryrefslogtreecommitdiff
path: root/sys/src/cmd/tlssrv.c
AgeCommit message (Collapse)Author
2019-09-21cmd/ip/*: chown the network connection after authenticationcinap_lenrek
for servers that handle incoming network connections and authentication, change the owner of the network connection file to the authenticated user after successfull authentication. note that we set the permissions as well to 0660 because old devip used to unconditionally set the bits.
2018-01-06tlssrv: remove usage reference to lost auth/secretpemcinap_lenrek
2016-02-13tlssrv: add -A flag to skip changing user after authentication (usefull for aan)cinap_lenrek
2016-02-01tlssrv: p9any authentication support using TLS-PSK cipher suitscinap_lenrek
2015-02-17tlssrv: produce meaningfull error message when unable to read certificatecinap_lenrek
2015-02-17tlssrv: fix usage, dont catcinap_lenrek
2015-02-17tlssrv: fix this mess (thanks burnzez for reporting the issue)cinap_lenrek
tlsServer() closes the passed in fd, in our case fd=1 leaving it with no std output which got occupied by pipe() filedescriptor which it then closed after duping... a classic. delete all this mess. theres no reason to fork() and copy traffic on a pipe at all as tlsServer() gives us a perfectly valid filedescriptor. just dup() and exec() and we'r done.
2013-09-14tls: fix various tlsClient()/tlsServer() related bugscinap_lenrek
- TLSconn structure on stack but not initialized (zeroed) - original filedescriptor double closed in error case - original filedescriptor leaked in success case - leaked TLSconn.sessionID and TLSconn.cert - clarify in pushtls(2) and pushssl(2)
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen