| От | Stefan Kaltenbrunner |
|---|---|
| Тема | Re: Limit number connections by IP |
| Дата | |
| Msg-id | 46976113.5040007@kaltenbrunner.cc обсуждение |
| Ответ на | Limit number connections by IP (tabai <tabai.net@gmail.com>) |
| Ответы |
Re: Limit number connections by IP
|
| Список | pgsql-general |
tabai wrote: > Hi > > I know that i can limited the total number of connections in > postgresql.conf with max_connections, but... can i limite the max > number of connections from an specific IP? > > For example y like have total max connections of 40 buy the same ip > can't have more than 5 connections open. > > It is possible? no - you can limit the maximum numbers of connections on a per database and also a per role base. If you really need a per source address limitation look into using whatever firewall solution is available on your OS. Stefan
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера