karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject karaf git commit: KARAF-4813, RMI should not listen to all hosts
Date Mon, 07 Nov 2016 07:11:25 GMT
Repository: karaf
Updated Branches:
  refs/heads/master 0595f9147 -> a2a7d62da


KARAF-4813, RMI should not listen to all hosts

The default RMI configuration will make Karaf listen to all hosts.
Instead. it is usually good practice to, by default, listen to localhost
only to avoid possible security risks.

This patch modified the default configuration file to set RMI to
localhost.

Signed-off-by: Lars Kiesow <lkiesow@uos.de>


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/a2a7d62d
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/a2a7d62d
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/a2a7d62d

Branch: refs/heads/master
Commit: a2a7d62dac4717242f7a7541ee5bdb7294d2ed77
Parents: 0595f91
Author: Lars Kiesow <lkiesow@uos.de>
Authored: Wed Nov 2 17:53:03 2016 +0100
Committer: Guillaume Nodet <gnodet@apache.org>
Committed: Mon Nov 7 08:10:57 2016 +0100

----------------------------------------------------------------------
 .../main/resources/resources/etc/org.apache.karaf.management.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/a2a7d62d/assemblies/features/base/src/main/resources/resources/etc/org.apache.karaf.management.cfg
----------------------------------------------------------------------
diff --git a/assemblies/features/base/src/main/resources/resources/etc/org.apache.karaf.management.cfg
b/assemblies/features/base/src/main/resources/resources/etc/org.apache.karaf.management.cfg
index 16a0c08..f95c0e3 100644
--- a/assemblies/features/base/src/main/resources/resources/etc/org.apache.karaf.management.cfg
+++ b/assemblies/features/base/src/main/resources/resources/etc/org.apache.karaf.management.cfg
@@ -29,7 +29,7 @@ rmiRegistryPort = 1099
 #
 # Host for RMI registry
 #
-rmiRegistryHost = 0.0.0.0
+rmiRegistryHost = 127.0.0.1
 
 #
 # Port number for RMI server connection
@@ -39,7 +39,7 @@ rmiServerPort = 44444
 #
 # Host for RMI server
 #
-rmiServerHost = 0.0.0.0
+rmiServerHost = 127.0.0.1
 
 #
 # Name of the JAAS realm used for authentication


Mime
View raw message