472,127 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

7.4 defaulting to ipv6 ?

Sorry if this is obvious to you, but it's not obvious to me.

In 7.4 this

psql -h 127.0.0.1 test and
psql -h localhost test

will be authenticated as ipv6 addresses. As long as you know, it's OK, but is
this intentional?

--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 12.00-18.00 Email: ka*@kakidata.dk
2000 Frederiksberg Lørdag 12.00-16.00 Web: www.suse.dk

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 11 '05 #1
4 2688
Kaare Rasmussen wrote:
Sorry if this is obvious to you, but it's not obvious to me.

In 7.4 this

psql -h 127.0.0.1 test and
psql -h localhost test

will be authenticated as ipv6 addresses. As long as you know, it's OK, but is
this intentional?


This will be clearer in 7.4beta3. We will accept 127.0.0.1 properly.

--
Bruce Momjian | http://candle.pha.pa.us
pg***@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 11 '05 #2
Kaare Rasmussen <ka*@kakidata.dk> writes:
Sorry if this is obvious to you, but it's not obvious to me.
In 7.4 this
psql -h 127.0.0.1 test and
psql -h localhost test
will be authenticated as ipv6 addresses.


Only if your libc and/or kernel preferentially treats them as ipv6.

CVS tip contains a fix to allow ipv4 addresses in pg_hba.conf to match
ipv4-mapped-to-v6 ipv6 connections; this should allow people to continue
believing they are using ipv4 even when their system is mapping to v6.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 11 '05 #3
Kaare Rasmussen wrote:
Sorry if this is obvious to you, but it's not obvious to me.

In 7.4 this

psql -h 127.0.0.1 test and
psql -h localhost test

will be authenticated as ipv6 addresses. As long as you know, it's OK, but is
this intentional?


This will be clearer in 7.4beta3. We will accept 127.0.0.1 properly.

--
Bruce Momjian | http://candle.pha.pa.us
pg***@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 11 '05 #4
Kaare Rasmussen <ka*@kakidata.dk> writes:
Sorry if this is obvious to you, but it's not obvious to me.
In 7.4 this
psql -h 127.0.0.1 test and
psql -h localhost test
will be authenticated as ipv6 addresses.


Only if your libc and/or kernel preferentially treats them as ipv6.

CVS tip contains a fix to allow ipv4 addresses in pg_hba.conf to match
ipv4-mapped-to-v6 ipv6 connections; this should allow people to continue
believing they are using ipv4 even when their system is mapping to v6.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 11 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Agent | last post: by
7 posts views Thread by Torsten Schmidt | last post: by
8 posts views Thread by John Burton | last post: by
reply views Thread by Kaare Rasmussen | last post: by
2 posts views Thread by PaulH | last post: by
3 posts views Thread by jiri.juranek | last post: by
3 posts views Thread by Pramod TK | last post: by
8 posts views Thread by Giampaolo Rodola' | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.