Re: Need help in enabling remote connection

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Need help in enabling remote connection
Дата
Msg-id 4AF02158020000250002C1D7@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: Need help in enabling remote connection  (Scott Marlowe <scott.marlowe@gmail.com>)
Ответы Re: Need help in enabling remote connection  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-admin
Scott Marlowe <scott.marlowe@gmail.com> wrote:

>> -- Dear Ian Lea, i guess 10.0.0.1/24  is the same as 10.0.0.0/24
>> as the mask '24' means that the first 3 octets (24 bits from the
>> left hand side) must match ie both mean simply 10.0.0.*
>
> Actually 10.0.0.0/24 means that the right hand 24 bits don't matter,
> so anything starting with 10. will match.

I think you're mistaken on that.  The comment in pg_hbs.conf matches
everything else I can find on the topic:

# CIDR-ADDRESS specifies the set of hosts the record matches.
# It is made up of an IP address and a CIDR mask that is an integer
# (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies
# the number of significant bits in the mask.

-Kevin

В списке pgsql-admin по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Please Help... Service fails to start
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Need help in enabling remote connection