Re: [PATCHES] Backend SSL configuration enhancement

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Victor B(dot) Wagner" <vitus(at)cryptocom(dot)ru>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] Backend SSL configuration enhancement
Date: 2006-08-31 07:52:08
Message-ID: 87ejux736f.fsf@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


"Victor B. Wagner" <vitus(at)cryptocom(dot)ru> writes:

> One example which can be tested with stock OpenSSL without national
> cryptography modules is - usage of NULL ciphers. They are not enabled by
> default, but use of them provides cryptographically strong
> authentication with client certificates and data consistency checking
> with MAC algorithm, but avoids overhead of encryption.
>
> Consider situation when data are public anyway, but data modification
> should be properly authorized.

I'm not sure that's a particularly good use case. There are attacks in the
wild that hijack existing TCP connections. If you only authenticate
connections and then even with the MAC checks I think you would have a chance
of being able to take over the connection.

That said it doesn't mean there aren't valid use cases. If for example you
wanted to do some initial data load without encryption but didn't want to have
to reconfigure your network to allow connections on different ports.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Victor B. Wagner 2006-08-31 08:11:46 Re: [PATCHES] Backend SSL configuration enhancement
Previous Message Victor B. Wagner 2006-08-31 06:49:22 Re: [PATCHES] Backend SSL configuration enhancement

Browse pgsql-patches by date

  From Date Subject
Next Message Victor B. Wagner 2006-08-31 08:11:46 Re: [PATCHES] Backend SSL configuration enhancement
Previous Message Victor B. Wagner 2006-08-31 06:49:22 Re: [PATCHES] Backend SSL configuration enhancement