Configuring tomcat to serve request from specific IP addresses
Hi, Is there any way to configure tomcat to enable its services (HTTP request/responses ) to specific IP address(s) only ? If yes, Can these configurations be made dynamically so that without restarting the tomcat changes should be active? I am using Tomcat 4.0.1 and is a standalone. I checked the tags and thier attributes of server.xml but couldn't find a proper solution since I am not sure about the dynamic parameters.Can any one help me out in this or suggest some pointers to go ahead? regards Hari DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Configuring tomcat to serve request from specific IP addresses
Howdy, RemoteAddressFilter, RTFM. Yoav Shapira Millennium ChemInformatics -Original Message- From: Hari Krishna ( Associate ) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 9:59 AM To: Tomcat Users List Subject: Configuring tomcat to serve request from specific IP addresses Hi, Is there any way to configure tomcat to enable its services (HTTP request/responses ) to specific IP address(s) only ? If yes, Can these configurations be made dynamically so that without restarting the tomcat changes should be active? I am using Tomcat 4.0.1 and is a standalone. I checked the tags and thier attributes of server.xml but couldn't find a proper solution since I am not sure about the dynamic parameters.Can any one help me out in this or suggest some pointers to go ahead? regards Hari DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuring tomcat to serve request from specific IP addresses
http://jakarta.apache.org/tomcat/faq/security.html#restrict In 4.1.X, I think this can be configured on the fly via the admin webapp. But 4.0.X will need a restart. -Tim Hari Krishna ( Associate ) wrote: Hi, Is there any way to configure tomcat to enable its services (HTTP request/responses ) to specific IP address(s) only ? If yes, Can these configurations be made dynamically so that without restarting the tomcat changes should be active? I am using Tomcat 4.0.1 and is a standalone. I checked the tags and thier attributes of server.xml but couldn't find a proper solution since I am not sure about the dynamic parameters.Can any one help me out in this or suggest some pointers to go ahead? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuring tomcat to serve request from specific IP addresses
Is there any way to configure tomcat to enable its services (HTTP request/responses ) to specific IP address(s) only? I'm sure you can do something like Apache's: Deny From All Allow From ip address ... but that would require a restart. Programmatically, you can do this by poking the allowed ip address into the application scope and then checking the ip address of each request against that address; reject those that don't match. (Please see the past 24 hours of discussions about IP blocking, AOL/corporate users, etc.). Just remember that you might want to have the ip changer servlet be unprotected, or your could lock yourself out very easily :) -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]