Previously the default AJP hostname was an IPv4 loopback address.
To avoid problems in IPv6 environments the default has been
changed to a generic "localhost" address. The man page has been
updated accordingly.

https://fedorahosted.org/pki/ticket/2570

Tested with IPA. Pushed to master under trivial rule.

--
Endi S. Dewata
>From 79e0df4285104ea0fb17e4951c015ad835e03b99 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edew...@redhat.com>
Date: Thu, 5 Jan 2017 07:28:51 +0100
Subject: [PATCH] Replaced default AJP hostname with generic loopback address.

Previously the default AJP hostname was an IPv4 loopback address.
To avoid problems in IPv6 environments the default has been
changed to a generic "localhost" address. The man page has been
updated accordingly.

https://fedorahosted.org/pki/ticket/2570
---
 base/server/etc/default.cfg            | 2 +-
 base/server/man/man5/pki_default.cfg.5 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/server/etc/default.cfg b/base/server/etc/default.cfg
index 31267ed88159e36e94e900c5fff103a2f2a2357d..f35b6a7d585f6cae3440fa489f37a30b9172226f 100644
--- a/base/server/etc/default.cfg
+++ b/base/server/etc/default.cfg
@@ -198,7 +198,7 @@ pki_subsystem_registry_link=%(pki_subsystem_path)s/registry
 ##               are MUTUALLY EXCLUSIVE entities!!!                          ##
 ###############################################################################
 [Tomcat]
-pki_ajp_host=127.0.0.1
+pki_ajp_host=localhost
 pki_ajp_port=8009
 pki_server_pkcs12_path=
 pki_server_pkcs12_password=
diff --git a/base/server/man/man5/pki_default.cfg.5 b/base/server/man/man5/pki_default.cfg.5
index aaf7b53d608e3126792735e7ce5848dcbc9e4625..1eb4ab99b1863a1927fba0f3f69ccf2e0431211f 100644
--- a/base/server/man/man5/pki_default.cfg.5
+++ b/base/server/man/man5/pki_default.cfg.5
@@ -86,7 +86,7 @@ Ports for Tomcat subsystems.  Defaults to standard Tomcat ports of 8009 and 8005
 .TP
 .B pki_ajp_host
 .IP
-Host on which to listen for AJP requests.  Defaults to 127.0.0.1 to listen to local traffic only.
+Host on which to listen for AJP requests.  Defaults to localhost to listen to local traffic only.
 .TP
 .B pki_proxy_http_port, pki_proxy_https_port, pki_enable_proxy
 .IP
-- 
2.5.5

_______________________________________________
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel

Reply via email to