Re: strange problem with ip6 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: strange problem with ip6
Date
Msg-id 13244.1179437330@sss.pgh.pa.us
Whole thread Raw
In response to Re: strange problem with ip6  (Christian Kratzer <ck-lists@cksoft.de>)
Responses Re: strange problem with ip6  (Christian Kratzer <ck-lists@cksoft.de>)
List pgsql-bugs
Christian Kratzer <ck-lists@cksoft.de> writes:
> It's not that simple though.  The ipv6 stack will propably not allow
> users to build sockets from addresses in link local scope from a
> specific interface to a server bound to a global address, ::1, or
> scoped to any other interface.  After all link local means exactly
> this.

> So if you have your postgres listening on ::1 you will not be
> able to connect from your fe80::dead:beef%fxp0 address.

But if you tell it to listen to *, won't it bind to everything in sight?
In particular we know that this thread started because someone had a
connection through a scoped address, so one way or another it's possible.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: strange problem with ip6
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Removing pg_auth_members.grantor (was Grantor name gets lost when grantor role dropped)