- Notifications
You must be signed in to change notification settings - Fork28
Commit2bd0735
committed
Clean up management of IP addresses in our SSL tests.
Instead of hard-wiring the netmask as /32, allow it to be specifiedwhere we specify the server address. This will ease changing thetest to use IPv6, when/if somebody wants to do that.Also remove the hard-wired pg_hba.conf entries for IPv6 (::1/128).These have never had any usefulness, because the client sideof the tests has always explicitly connected to $SERVERHOSTADDRwhich has always been set to IPv4 (127.0.0.1). All they accomplishis to break the test on non-IPv6-supporting hosts, and besidesthat they violate the express intent of the code to minimize theserver's range of allowed connections.This could be back-patched, perhaps, but for now I don't seea need to.Discussion:https://postgr.es/m/1899.1578356089@sss.pgh.pa.us1 parente369f37 commit2bd0735
3 files changed
+21
-17
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
| 30 | + | |
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
| |||
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
69 |
| - | |
| 71 | + | |
| 72 | + | |
70 | 73 |
| |
71 | 74 |
| |
72 | 75 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| |||
43 | 45 |
| |
44 | 46 |
| |
45 | 47 |
| |
46 |
| - | |
47 |
| - | |
| 48 | + | |
| 49 | + | |
48 | 50 |
| |
49 | 51 |
| |
50 | 52 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
| 97 | + | |
| 98 | + | |
97 | 99 |
| |
98 | 100 |
| |
99 |
| - | |
| 101 | + | |
| 102 | + | |
100 | 103 |
| |
101 | 104 |
| |
102 | 105 |
| |
| |||
153 | 156 |
| |
154 | 157 |
| |
155 | 158 |
| |
156 |
| - | |
| 159 | + | |
157 | 160 |
| |
158 | 161 |
| |
159 | 162 |
| |
| |||
181 | 184 |
| |
182 | 185 |
| |
183 | 186 |
| |
184 |
| - | |
| 187 | + | |
185 | 188 |
| |
186 | 189 |
| |
187 |
| - | |
| 190 | + | |
188 | 191 |
| |
189 | 192 |
| |
190 | 193 |
| |
191 | 194 |
| |
192 | 195 |
| |
193 | 196 |
| |
194 | 197 |
| |
195 |
| - | |
| 198 | + | |
196 | 199 |
| |
197 |
| - | |
| 200 | + | |
198 | 201 |
| |
199 |
| - | |
| 202 | + | |
200 | 203 |
| |
201 |
| - | |
| 204 | + | |
202 | 205 |
| |
203 |
| - | |
| 206 | + | |
204 | 207 |
| |
205 |
| - | |
206 |
| - | |
207 |
| - | |
208 |
| - | |
209 |
| - | |
| 208 | + | |
210 | 209 |
| |
211 | 210 |
| |
212 | 211 |
| |
|
0 commit comments
Comments
(0)