Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
shell.remote-1.0.4
-
None
-
None
Description
shell.remote opens a server socket listening only on IP 127.0.0.1 by default (if non specified in osgi.shell.telnet.ip).
This prevents to telnet to the console on any other IP.
The servers socket should listen on ALL ips by default and only restrict to a single IP if osgi.shell.telnet.ip is set.
Proposed fix:
In org.apache.felix.shell.remote.Listener, modify:
m_ip = getProperty(context, "osgi.shell.telnet.ip", "127.0.0.1");
for
m_ip = getProperty(context, "osgi.shell.telnet.ip", null);
and in Listener.Acceptor modify:
Acceptor() throws IOException
for
Acceptor() throws IOException