Hi,
I could fine all but one. I can also disable ssh, rmi ad management
ports by stopping the bundles. I can also disable the shutdown port as
well. There is one more random port and I think it is not associated
with any bundle as I have stopped all bundles one by one and the said
port was listening after stopping the bundles. This is the list of open
ports and Karaf version is 2.3.6.
tcp6 0 0 localhost:44444 [::]:* LISTEN
14462/java JMX/Management
tcp6 0 0 [::]:58654 [::]:* LISTEN
14462/java Suspicious/unknown
tcp6 0 0 localhost:38560 [::]:* LISTEN
14462/java Shutdown
tcp6 0 0 [::]:8101 [::]:* LISTEN
14462/java SSH
tcp6 0 0 localhost:rmiregistry [::]:*
LISTEN 14462/java RMI
Regards,
Raj
On Thursday 21 August 2014 11:45 PM, Jean-Baptiste Onofré wrote:
Hi
ssh is 8101 by default.
What's the version of Karaf ?
Regards
JB
On 08/21/2014 07:56 PM, Rajbir Saini wrote:
Hi,
I am trying to find the all open sockets by Karaf for a security audit.
It looks Karaf listens on 5 different ports. I can enable/disable RMI,
SSH and JMX ports but one port by starting/stopping the bundle. I could
also disable the shutdown port using settings in the custom.properties
file. There is another random port and I am not able to find what is the
purpose of this port and how to disable it.
List of open ports:
ssh : 8081
RMI : 1099
JMX: 44444
Shutdown: Random port
Unknown: Random ports
Regards,
Raj