- Notifications
You must be signed in to change notification settings - Fork5
Commit17386ac
committed
Well, the discussion about SSL a bit back perked my interest and I did
some reading on the subject.1) PostgreSQL uses ephemeral keying, for its connections (good thing)2) PostgreSQL doesn't set the cipher list that it allows (bad thing, fixed)3) PostgreSQL's renegotiation code wasn't text book correct (could be bad, fixed)4) The rate of renegotiating was insanely low (as Tom pointed out, set to a more reasonable level)I haven't checked around much to see if there are any other SSL bitsthat need some review, but I'm doing some OpenSSL work right nowand'll send patches for improvements along the way (if I find them).At the very least, the changes in this patch will make security folkshappier for sure. The constant renegotiation of sessions was likely aboon to systems that had bad entropy gathering means (read: Slowaris/dev/rand|/dev/urand != ANDIrand). The new limit for renegotiationsis 512MB which should be much more reasonable.Sean Chittenden1 parent5357566 commit17386ac
1 file changed
+14
-4
lines changedLines changed: 14 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
| 127 | + | |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
| |||
320 | 320 |
| |
321 | 321 |
| |
322 | 322 |
| |
323 |
| - | |
324 |
| - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
325 | 328 |
| |
326 | 329 |
| |
327 | 330 |
| |
| |||
639 | 642 |
| |
640 | 643 |
| |
641 | 644 |
| |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
642 | 652 |
| |
643 | 653 |
| |
644 | 654 |
| |
|
0 commit comments
Comments
(0)