Re: TCP/IP with 7.4 beta2 broken? - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: TCP/IP with 7.4 beta2 broken?
Date
Msg-id 3F53E270.7090205@pse-consulting.de
Whole thread Raw
In response to Re: TCP/IP with 7.4 beta2 broken?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: TCP/IP with 7.4 beta2 broken?
List pgsql-hackers
Tom Lane wrote:

>Tommi Mäkitalo <t.maekitalo@epgmbh.de> writes:
>  
>
>>For remote connections I added:
>>host  all         all         ::ffff:192.168.41.0/120                trust
>>and it worked also (I guessed it - I don't know much about IPv6). Is
>>there any chance to get it work like 7.3? It is no nice experience for
>>new users.
>>    
>>
>
>Are you saying it does not work with just 192.168.41.0/24 ?  That would
>be really unfortunate --- it suggests that your kernel pretends that
>IPv4 connections are IPv6.
>  
>
Tom,
we discussed this problem some months ago when I started using 7.4 on 
SuSE 8.1. Since 7.4 accepts IPV6, the kernel will always deliver IPV6 
addresses, that's why I find most IPV6 problems. While this behaviour 
might be irritating, it shouldn't be much of a problem if known.

How about silently creating a IPV6 style host internally for every IPV4 
pg_hba.conf entry? It won't make any sense to handle a real IPV4 address 
different from an IPV4 address converted to IPV6 address space.

Regards,
Andreas





pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: massive quotes?
Next
From: Andrew Dunstan
Date:
Subject: Re: TCP/IP with 7.4 beta2 broken?