postgresql/src/backend/libpq
Bruce Momjian da872534ac Add mention of SIGHUP for pg_ident.conf. 2001-08-01 00:52:19 +00:00
..
Makefile Make the location of the Kerberos server key file run time configurable 2000-08-25 10:00:35 +00:00
README.SSL Add README.SSL 1999-09-27 03:16:09 +00:00
auth.c Source formatting cleanup. 2001-07-21 00:29:56 +00:00
be-fsstubs.c Allow a non-superuser database owner to vacuum all tables in his 2001-06-13 21:44:41 +00:00
crypt.c Since a missing pg_pwd file is a valid situation, don't print an error 2001-06-23 23:26:17 +00:00
hba.c Cleanup code for preparsing pg_hba.conf and pg_ident.conf. Store line 2001-07-31 22:55:45 +00:00
password.c Improve wording of authentication files. 2001-06-18 16:11:30 +00:00
pg_hba.conf.sample Add documentation changes for new pg_hba.conf behavior. 2001-08-01 00:48:52 +00:00
pg_ident.conf.sample Add mention of SIGHUP for pg_ident.conf. 2001-08-01 00:52:19 +00:00
pqcomm.c Instead of believing SOMAXCONN from the system header files (which is 2001-07-11 19:03:07 +00:00
pqformat.c Remove error report from pq_endmessage when pq_putmessage fails. The 2001-04-16 01:46:57 +00:00
pqpacket.c pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
pqsignal.c pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
util.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00

README.SSL

>From the servers perspective:


  Receives StartupPacket
           |
           |
 (Is SSL_NEGOTIATE_CODE?) -----------  Normal startup
           |                  No
           |
           | Yes
           |
           |
 (Server compiled with USE_SSL?) ------- Send 'N'
           |                       No        |
           |                                 |
           | Yes                         Normal startup
           |
           |
        Send 'S'
           |
           |
      Establish SSL
           |
           |
      Normal startup
     




>From the clients perspective (v6.6 client _with_ SSL):


      Connect
         |
         |
  Send packet with SSL_NEGOTIATE_CODE
         |
         |
  Receive single char  ------- 'S' -------- Establish SSL
         |                                       |
         | '<else>'                              |
         |                                  Normal startup
         |
         |
   Is it 'E' for error  ------------------- Retry connection
         |                  Yes             without SSL
         | No
         |
   Is it 'N' for normal ------------------- Normal startup
         |                  Yes
         |
   Fail with unknown