Re: Limiting number of connections to PostgreSQL per IP (not per DB/user)?
В списке pgsql-general по дате отправления:
| От | Heiko Wundram |
|---|---|
| Тема | Re: Limiting number of connections to PostgreSQL per IP (not per DB/user)? |
| Дата | |
| Msg-id | 4ED5E7FD.5000305@modelnine.org обсуждение исходный текст |
| Ответ на | Re: Limiting number of connections to PostgreSQL per IP (not per DB/user)? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Limiting number of connections to PostgreSQL per IP
(not per DB/user)?
|
| Список | pgsql-general |
Am 29.11.2011 23:49, schrieb Tom Lane: > Another way that we've sometimes recommended people handle custom login > restrictions is > (1) use PAM for authentication > (2) find or write a PAM plugin that makes the kind of check you want Very interesting - I'll first try the connlimit approach hinted at by Filip, but if PostgreSQL does normal session setup/teardown using PAM (I've never used PAM authentication for PostgreSQL before), this should be a workable solution in case using iptables doesn't turn out to properly handle disconnected sessions quickly enough. Thanks for pointing me at the PAM! -- --- Heiko.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера