Skip to content

Commit fa3d622

Browse files
committed
Clarify description of CIDR-address column of pg_hba.conf, to discourage
people from trying notations like '10.6/16', which is accepted but does not mean what you probably think. Per example from Paul Forgey.
1 parent 4f335a3 commit fa3d622

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/src/sgml/client-auth.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.94 2006/10/23 18:10:30 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.95 2006/11/17 23:25:17 tgl Exp $ -->
22

33
<chapter id="client-authentication">
44
<title>Client Authentication</title>
@@ -226,11 +226,12 @@ hostnossl <replaceable>database</replaceable> <replaceable>user</replaceable>
226226
</para>
227227

228228
<para>
229-
A typical <replaceable>CIDR-address</replaceable> is
229+
Typical examples of a <replaceable>CIDR-address</replaceable> are
230230
<literal>172.20.143.89/32</literal> for a single host, or
231-
<literal>172.20.143.0/24</literal> for a network.
231+
<literal>172.20.143.0/24</literal> for a small network, or
232+
<literal>10.6.0.0/16</literal> for a larger one.
232233
To specify a single host, use a CIDR mask of 32 for IPv4 or
233-
128 for IPv6.
234+
128 for IPv6. In a network address, do not omit trailing zeroes.
234235
</para>
235236

236237
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy