pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgres client Configuration
2+ messages / 2 participants
[nested] [flat]

* Postgres client Configuration
@ 2008-09-24 14:23 Napolean Periathambi <Napolean.Periathambi@VSOFTCORP.COM>
  2008-09-24 18:29 ` Re: Postgres client Configuration Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 1 reply; 2+ messages in thread

From: Napolean Periathambi @ 2008-09-24 14:23 UTC (permalink / raw)
  To: pgsql-admin


Is there any ways to include wildcard in pg_hba.conf file to accept all postgres clients on the network rather than specifying specific IP addresses on this file?

Any assistance is appreciated

Thanks
Napolean





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Postgres client Configuration
  2008-09-24 14:23 Postgres client Configuration Napolean Periathambi <Napolean.Periathambi@VSOFTCORP.COM>
@ 2008-09-24 18:29 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 0 replies; 2+ messages in thread

From: Kevin Grittner @ 2008-09-24 18:29 UTC (permalink / raw)
  To: pgsql-admin; Napolean Periathambi <Napolean.Periathambi@VSOFTCORP.COM>

>>> Napolean Periathambi <Napolean.Periathambi@VSOFTCORP.COM> wrote: 
 
> Is there any ways to include wildcard in pg_hba.conf file to accept
all 
> postgres clients on the network rather than specifying specific IP
addresses 
> on this file?
 
# CIDR-ADDRESS specifies the set of hosts the record matches.
# It is made up of an IP address and a CIDR mask that is an integer
# (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies
# the number of significant bits in the mask.  Alternatively, you can
write
# an IP address and netmask in separate columns to specify the set of
hosts.
 
In other words, it says how many bits of the IP address need to match.
 
For example:
 
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         postgres                          ident sameuser
local   cir         all                               md5

# IPv4 local connections:
host    cir         all         127.0.0.1/32          md5
# IPv6 local connections:
host    cir         all         ::1/128               md5

# Programmer/analyst network segment
host    cir         all         165.219.88.0/22       md5
# STEP network segment
host    cir         all         165.219.80.0/24       md5
# TECH network segment
host    cir         all         165.219.95.0/24       md5

-Kevin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-09-24 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-09-24 14:23 Postgres client Configuration Napolean Periathambi <Napolean.Periathambi@VSOFTCORP.COM>
2008-09-24 18:29 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox