Re: TCP/IP with 7.4 beta2 broken?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: TCP/IP with 7.4 beta2 broken?
Дата
Msg-id 3694.24.211.141.25.1062587484.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: TCP/IP with 7.4 beta2 broken?  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: TCP/IP with 7.4 beta2 broken?  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-hackers
Andreas Pflug said:
> Tommi Maekitalo wrote:
>
>>>*nod* but it would be nicer if all loopback interfaces worked by
>>>default - hence my localhost suggestion, which would match any of
>>>
>>>  127.0.0.1/32
>>>
>>>  ::ffff:127.0.0.1/128 and
>>>  ::1/128
>>>
>>...
>>That sounds good. Is it possible to extend lookup that way?
>>
> I'd feel a bit uncomfortable making ::1/128 from 127.0.0.1/32 because
> it's not converting the same address from one format into another, but
> a  completely different address.
> Extending "local" to accept all local tcpip addresses would fit better.
>

I agree. The only automatic mapping in host* lines should be from
p.q.r.s/n to ::ffff:p.q.r.s/n+96. Loopback interfaces are special and
should be treated separately from the general case, which is what I
propose to do.

cheers

andrew






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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: TCP/IP with 7.4 beta2 broken?
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [GENERAL] Using oids