postgresql/src/backend/libpq
Peter Eisentraut 49c86099f3 Shrink the pg_hba.conf and pg_ident.conf default files and move most of the
inline documentation to the main docs.
2002-09-14 18:35:46 +00:00
..
auth.c Guard against send-lots-and-lots-of-data DoS attack from unauthenticated 2002-09-04 23:31:35 +00:00
be-fsstubs.c Remove sys/types.h in files that include postgres.h, and hence c.h, 2002-09-02 02:47:07 +00:00
be-secure.c Guard against send-lots-and-lots-of-data DoS attack from unauthenticated 2002-09-04 23:31:35 +00:00
crypt.c pgindent run. 2002-09-04 20:31:48 +00:00
hba.c pgindent run. 2002-09-04 20:31:48 +00:00
Makefile UPDATED PATCH: 2002-06-14 04:23:17 +00:00
md5.c pgindent run. 2002-09-04 20:31:48 +00:00
pg_hba.conf.sample Shrink the pg_hba.conf and pg_ident.conf default files and move most of the 2002-09-14 18:35:46 +00:00
pg_ident.conf.sample Shrink the pg_hba.conf and pg_ident.conf default files and move most of the 2002-09-14 18:35:46 +00:00
pqcomm.c Guard against send-lots-and-lots-of-data DoS attack from unauthenticated 2002-09-04 23:31:35 +00:00
pqformat.c Guard against send-lots-and-lots-of-data DoS attack from unauthenticated 2002-09-04 23:31:35 +00:00
pqsignal.c Update copyright to 2002. 2002-06-20 20:29:54 +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