CIDR addresses in pg_hba.conf
here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
address/mask forms:
. address/maskbits, or
. address netmask (as now)
If the patch is accepted I will submit a documentation patch to cover it.
This is submitted by agreement with Kurt Roeckx, who has worked on a patch
that covers this and other IPv6 issues.
cheers
andrew
Attachments:
cidr.patchapplication/octet-stream; name=cidr.patchDownload+98-32
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Andrew Dunstan wrote:
here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
address/mask forms:. address/maskbits, or
. address netmask (as now)If the patch is accepted I will submit a documentation patch to cover it.
This is submitted by agreement with Kurt Roeckx, who has worked on a patch
that covers this and other IPv6 issues.cheers
andrew
[ Attachment, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
--
Bruce Momjian | http://candle.pha.pa.us
pgman@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
Patch applied. Thanks.
Please send in doc changes when you are ready.
---------------------------------------------------------------------------
Andrew Dunstan wrote:
here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
address/mask forms:. address/maskbits, or
. address netmask (as now)If the patch is accepted I will submit a documentation patch to cover it.
This is submitted by agreement with Kurt Roeckx, who has worked on a patch
that covers this and other IPv6 issues.cheers
andrew
[ Attachment, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
--
Bruce Momjian | http://candle.pha.pa.us
pgman@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
I have backed out this patch because it is now packaged inside of Kurt
Roeckx's patch.
---------------------------------------------------------------------------
Andrew Dunstan wrote:
here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
address/mask forms:. address/maskbits, or
. address netmask (as now)If the patch is accepted I will submit a documentation patch to cover it.
This is submitted by agreement with Kurt Roeckx, who has worked on a patch
that covers this and other IPv6 issues.cheers
andrew
[ Attachment, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
--
Bruce Momjian | http://candle.pha.pa.us
pgman@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
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Andrew Dunstan wrote:
here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
address/mask forms:. address/maskbits, or
. address netmask (as now)If the patch is accepted I will submit a documentation patch to cover it.
This is submitted by agreement with Kurt Roeckx, who has worked on a patch
that covers this and other IPv6 issues.cheers
andrew
[ Attachment, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
--
Bruce Momjian | http://candle.pha.pa.us
pgman@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
Sorry, this was already applied.
---------------------------------------------------------------------------
Bruce Momjian wrote:
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Andrew Dunstan wrote:
here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
address/mask forms:. address/maskbits, or
. address netmask (as now)If the patch is accepted I will submit a documentation patch to cover it.
This is submitted by agreement with Kurt Roeckx, who has worked on a patch
that covers this and other IPv6 issues.cheers
andrew
[ Attachment, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)-- Bruce Momjian | http://candle.pha.pa.us pgman@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 4: Don't 'kill -9' the postmaster
--
Bruce Momjian | http://candle.pha.pa.us
pgman@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