forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit96ed0b8
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 parent4e7395d commit96ed0b8
1 file changed
+30
-20
lines changedLines changed: 30 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2158 | 2158 |
| |
2159 | 2159 |
| |
2160 | 2160 |
| |
2161 |
| - | |
2162 |
| - | |
2163 |
| - | |
2164 |
| - | |
2165 |
| - | |
2166 |
| - | |
2167 |
| - | |
2168 |
| - | |
2169 |
| - | |
2170 |
| - | |
2171 |
| - | |
2172 |
| - | |
2173 | 2161 |
| |
2174 | 2162 |
| |
2175 | 2163 |
| |
| |||
2215 | 2203 |
| |
2216 | 2204 |
| |
2217 | 2205 |
| |
2218 |
| - | |
2219 |
| - | |
2220 |
| - | |
| 2206 | + | |
2221 | 2207 |
| |
2222 |
| - | |
2223 |
| - | |
2224 |
| - | |
2225 |
| - | |
2226 |
| - | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 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 | + | |
2227 | 2237 |
| |
2228 | 2238 |
| |
2229 | 2239 |
| |
|
0 commit comments
Comments
(0)