tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Hackers shutting down your Tomcat 4.x server?
Date Fri, 09 Nov 2001 18:56:52 GMT


On Fri, 9 Nov 2001, John Freeborg wrote:

> Date: Fri, 9 Nov 2001 12:49:23 -0600
> From: John Freeborg <jfreeborg@softswitch.com>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Subject: Hackers shutting down your Tomcat 4.x server?
>
> As I was reading through the server.xml config documentation I noticed
> that the shutdown attribute of the server element is described as:
>
>       The command string that must be received via a
>       TCP/IP connection to the specified port number
>       in order to shut down Tomcat.
>
>       <Server port="8005" shutdown="SHUTDOWN" debug="99">
>
> Am I correct in assuming that this would be a great thing to change if
> you have a server out in the wild? (and perhaps the port also)
>

Yes.  Another smart thing to do is to make sure no one can read the Tomcat
configuration files.

> Other than a firewall blocking traffic to this port, what would prevent
> some random hacker from connecting to port 8005 and shutting down my
> server?
>

It only accepts connections from localhost, and the attacker must know the
password.

> Thanks,
>  - John
>

Craig


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message