- Notifications
You must be signed in to change notification settings - Fork28
Commit0f9cdd7
committed
Don't set PAM_RHOST for Unix sockets.
Since commit2f1d2b7 we have set PAM_RHOST to "[local]" for Unixsockets. This caused Linux PAM's libaudit integration to make DNSrequests for that name. It's not exactly clear what value PAM_RHOSTshould have in that case, but it seems clear that we shouldn't set itto an unresolvable name, so don't do that.Back-patch to 9.6. Bug #15520.Author: Thomas MunroReviewed-by: Peter EisentrautReported-by: Albert SchabhuetlDiscussion:https://postgr.es/m/15520-4c266f986998e1c5%40postgresql.org1 parentf69c959 commit0f9cdd7
1 file changed
+30
-20
lines changedLines changed: 30 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2162 | 2162 |
| |
2163 | 2163 |
| |
2164 | 2164 |
| |
2165 |
| - | |
2166 |
| - | |
2167 |
| - | |
2168 |
| - | |
2169 |
| - | |
2170 |
| - | |
2171 |
| - | |
2172 |
| - | |
2173 |
| - | |
2174 |
| - | |
2175 |
| - | |
2176 |
| - | |
2177 | 2165 |
| |
2178 | 2166 |
| |
2179 | 2167 |
| |
| |||
2219 | 2207 |
| |
2220 | 2208 |
| |
2221 | 2209 |
| |
2222 |
| - | |
2223 |
| - | |
2224 |
| - | |
| 2210 | + | |
2225 | 2211 |
| |
2226 |
| - | |
2227 |
| - | |
2228 |
| - | |
2229 |
| - | |
2230 |
| - | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
2231 | 2241 |
| |
2232 | 2242 |
| |
2233 | 2243 |
| |
|
0 commit comments
Comments
(0)