summaryrefslogtreecommitdiffstats
path: root/src/lib/Proxy.py
Commit message (Collapse)AuthorAgeFilesLines
* SSL: Implement protocol selection in bcfg2.confNarayan Desai2009-06-241-2/+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
* SSL: Implememt client-side server cN verificationNarayan Desai2009-05-191-5/+22
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5244 ce84e21b-d406-0410-9b95-82705330c041
* pylint fixesNarayan Desai2009-05-151-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5240 ce84e21b-d406-0410-9b95-82705330c041
* SSL: Fix Transport constructor call on python2.4 (Patch from Tim Laszlo)Narayan Desai2009-05-111-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5218 ce84e21b-d406-0410-9b95-82705330c041
* SSL: client side read based on server-provided content length (allows ↵Narayan Desai2009-05-111-0/+39
| | | | | | 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 Proxy: only use timeout parm with py2.6+ (patch from Torsten Rehn) ↵Narayan Desai2009-05-071-2/+11
| | | | | | (Resolves Ticket #652) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5209 ce84e21b-d406-0410-9b95-82705330c041
* SSL Proxy: pass through key/cert/ca args to transportNarayan Desai2009-05-061-3/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5192 ce84e21b-d406-0410-9b95-82705330c041
* Proxy support for keys/certs/casNarayan Desai2009-05-061-5/+23
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5184 ce84e21b-d406-0410-9b95-82705330c041
* clean up handshake stuffNarayan Desai2009-05-061-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5183 ce84e21b-d406-0410-9b95-82705330c041
* Implement basic proxy based on 2.6 sslNarayan Desai2009-05-061-22/+26
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5182 ce84e21b-d406-0410-9b95-82705330c041
* Remove unused imports for pylintSol Jerome2009-04-171-4/+7
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5168 ce84e21b-d406-0410-9b95-82705330c041
* Implement ssl certificate split, in preparation for SSL client cert authNarayan Desai2009-04-081-3/+17
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5155 ce84e21b-d406-0410-9b95-82705330c041
* Fix TLS error path (Reported by kisielk) (Resolves Ticket #621) [bugfix]Narayan Desai2008-12-031-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4990 ce84e21b-d406-0410-9b95-82705330c041
* Print ProtocolError messages (patch from Kamil Kisiel)Sol Jerome2008-09-271-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4924 ce84e21b-d406-0410-9b95-82705330c041
* Improve error messages in client metadata resolution failure path (Resolves ↵Narayan Desai2008-06-121-0/+2
| | | | | | Ticket #563) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4693 ce84e21b-d406-0410-9b95-82705330c041
* Fix error path (Reported by jcollie on irc)Narayan Desai2008-06-031-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4653 ce84e21b-d406-0410-9b95-82705330c041
* multi-fingerprint support (mainly from Ben Ritcey)Narayan Desai2008-04-011-4/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4464 ce84e21b-d406-0410-9b95-82705330c041
* Handle checksum problems properlyNarayan Desai2008-01-161-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4246 ce84e21b-d406-0410-9b95-82705330c041
* Simplify proxy code. We don't need a multi-component infrastructure or local ↵Narayan Desai2008-01-091-128/+6
| | | | | | instantiation for bcfg2 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4229 ce84e21b-d406-0410-9b95-82705330c041
* Replace bcfg2 proxy code with simplified code from CobaltNarayan Desai2008-01-091-0/+188
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4226 ce84e21b-d406-0410-9b95-82705330c041