summaryrefslogtreecommitdiffstats
path: root/src/lib/SSLServer.py
Commit message (Collapse)AuthorAgeFilesLines
* PY3K + PEP8 fixes for remaining filesSol Jerome2011-04-071-14/+27
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SSLServer: Stop raising trapped exceptions from XMLRPCRequestHandler. ↵Tim Laszlo2011-01-241-1/+3
| | | | Causes the server to wedge. (Resolves #970)
* SSLServer: handle socket errors on shutdown gracefully (Resolves #907 and #909)Narayan Desai2010-08-111-2/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6011 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: Retry failed writesTim Laszlo2010-07-301-8/+37
| | | | | | | | Fixes an issue where a client can no longer connect to the server after dropping a connection without properly terminating the ssl connection. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5991 ce84e21b-d406-0410-9b95-82705330c041
* Set a timeout on sockets accepted by the serverTim Laszlo2010-06-141-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5937 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-071-1/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5899 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: add in transaction timeoutsNarayan Desai2010-03-131-0/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5762 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: fix socket shutdown code (compatible across trunk, 1.0.1rc, and ↵Narayan Desai2010-01-121-1/+0
| | | | | | 0.9.6) [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5672 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: Add file descriptor leak fix from 1.0.0 stable branchSol Jerome2010-01-081-4/+5
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5664 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: set socket timeout for client sockets [bugfix]Narayan Desai2010-01-061-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5660 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: fix socket leak reported by Cory and LisaNarayan Desai2009-12-141-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5620 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-24/+24
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: Fix rmi method exportNarayan Desai2009-09-181-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5442 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: don't pass address argument to methods with dotted namesNarayan Desai2009-09-181-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5440 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: Re-implement support for plugin rmi callsNarayan Desai2009-09-151-0/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5436 ce84e21b-d406-0410-9b95-82705330c041
* Improve error handling when key improperly specified on server (Reported by ↵Narayan Desai2009-07-131-3/+3
| | | | | | nicely) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5321 ce84e21b-d406-0410-9b95-82705330c041
* SSL: Implement protocol selection in bcfg2.confNarayan Desai2009-06-241-4/+11
| | | | | | | Add explicit knob to select encryption for client/server connections. The default value is xmlrpc/ssl, but xmlrpc/tlsv1 is also supported (needed to use DOE grid certs) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5297 ce84e21b-d406-0410-9b95-82705330c041
* Improve server error handlingNarayan Desai2009-06-231-3/+20
| | | | | | | | Issues - Log bind failures properly - Log ssl key/cert/ca key existence problems git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5294 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: SimpleXMLRPCServer patch for python 2.4 (Patch from Jack Neely)Sol Jerome2009-05-291-44/+46
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5264 ce84e21b-d406-0410-9b95-82705330c041
* Fall back to previous XMLRPCDispatcher calling convention (Resolves Ticket #669)Narayan Desai2009-05-291-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5260 ce84e21b-d406-0410-9b95-82705330c041
* Integrate server-side performance statistics infrastructureNarayan Desai2009-05-141-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5225 ce84e21b-d406-0410-9b95-82705330c041
* SSL: client side read based on server-provided content length (allows ↵Narayan Desai2009-05-111-3/+1
| | | | | | graceful ssl shutdowns to work, makes server portable 0.9.5.7-trunk) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5215 ce84e21b-d406-0410-9b95-82705330c041
* SSL: revert unwrap change for now (it broke compat with trunk)Narayan Desai2009-05-081-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5214 ce84e21b-d406-0410-9b95-82705330c041
* SSL: shut sockets down gracefullyNarayan Desai2009-05-081-3/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5213 ce84e21b-d406-0410-9b95-82705330c041
* SSL Server: handle ctrl-c properlyNarayan Desai2009-05-061-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5191 ce84e21b-d406-0410-9b95-82705330c041
* Get basic auth working again with new ssl frameworkNarayan Desai2009-05-061-29/+26
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5189 ce84e21b-d406-0410-9b95-82705330c041
* remove old refnameNarayan Desai2009-05-061-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5188 ce84e21b-d406-0410-9b95-82705330c041
* more to python 2.6 sslNarayan Desai2009-05-061-0/+326
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5187 ce84e21b-d406-0410-9b95-82705330c041