forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit48d23c7
committed
Disable ssl renegotiation by default.
While postgres' use of SSL renegotiation is a good idea in theory, itturned out to not work well in practice. The specification and openssl'simplementation of it have lead to several security issues. Postgres' useof renegotiation also had its share of bugs.Additionally OpenSSL has a bunch of bugs around renegotiation, reportedand open for years, that regularly lead to connections breaking withobscure error messages. We tried increasingly complex workarounds to getaround these bugs, but we didn't find anything complete.Since these connection breakages often lead to hard to debug problems,e.g. spuriously failing base backups and significant latency spikes whensynchronous replication is used, we have decided to change the defaultsetting for ssl renegotiation to 0 (disabled) in the releasedbackbranches and remove it entirely in 9.5 and master..Author: Michael Paquier, with changes by meDiscussion: 20150624144148.GQ4797@alap3.anarazel.deBackpatch: 9.0-9.4; 9.5 and master get a different patch1 parent03d7f3b commit48d23c7
File tree
3 files changed
+11
-3
lines changed- doc/src/sgml
- src/backend/utils/misc
3 files changed
+11
-3
lines changedLines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
858 | 858 |
| |
859 | 859 |
| |
860 | 860 |
| |
861 |
| - | |
| 861 | + | |
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
| |||
870 | 870 |
| |
871 | 871 |
| |
872 | 872 |
| |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
873 | 881 |
| |
874 | 882 |
| |
875 | 883 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2377 | 2377 |
| |
2378 | 2378 |
| |
2379 | 2379 |
| |
2380 |
| - | |
| 2380 | + | |
2381 | 2381 |
| |
2382 | 2382 |
| |
2383 | 2383 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
| 84 | + | |
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
|
0 commit comments
Comments
(0)