Skip site navigation (1) Skip section navigation (2)

Re: BUG #4330: Bonjour connections ignore hba config METHOD and always trusted

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: William Kyngesburye <kyngchaos(at)kyngchaos(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4330: Bonjour connections ignore hba config METHOD and always trusted
Date: 2008-07-28 22:50:41
Message-ID: 29938.1217285441@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
William Kyngesburye <kyngchaos(at)kyngchaos(dot)com> writes:
>> What exactly have you got in pg_hba.conf?

> The default:

> # "local" is for Unix domain socket connections only
> local   all         all                               trust
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          trust
> # IPv6 local connections:
> host    all         all         ::1/128               trust

> and:

> host  all  somerole  192.168.1.0/24  md5

Well, there's an awful lot of "trust" laying about there.  I'd suggest
enabling log_connections so you can see what address the connections
are actually coming in on.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Volker RudolphDate: 2008-07-29 09:48:02
Subject: BUG #4331: Postgres Installer doesn't provide complete library files
Previous:From: William KyngesburyeDate: 2008-07-28 20:58:27
Subject: Re: BUG #4330: Bonjour connections ignore hba config METHOD and always trusted

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group