RE: Remote Host Filter
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: Remote Host Filter allow=\\machine43namefile://\\machine43name Why do you have a leading backwards slash on the allow? Why do you have a file: thingie buried in the allow? (Hint: send to the list in plain-text only, not HTML.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Remote Host Filter
On 24/05/2010 18:56, Caldarale, Charles R wrote: From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: Remote Host Filter allow=\\machine43namefile://\\machine43name Why do you have a leading backwards slash on the allow? That looks like Windows name. You need to use the DNS name. Mark Why do you have a file: thingie buried in the allow? (Hint: send to the list in plain-text only, not HTML.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Remote Host Filter
Sorry about thatHTML was the default setting -- let me switch it. I had the following: Valve className=org.apache.catalina.valves.RemoteHostValve allow=\\machine43name / like this. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, May 24, 2010 12:56 PM To: Tomcat Users List Subject: RE: Remote Host Filter From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: Remote Host Filter allow=\\machine43namefile://\\machine43name Why do you have a leading backwards slash on the allow? Why do you have a file: thingie buried in the allow? (Hint: send to the list in plain-text only, not HTML.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Remote Host Filter
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: Remote Host Filter Valve className=org.apache.catalina.valves.RemoteHostValve allow=\\machine43name / like this. As Mark said, use the actual name as it appears in the HTTP header, not the Windows corruption of it. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Remote Host Filter
I believe that's my problem, there. A few years back I tried to use both .getRemoteAddr and .getRemoteHost in one of my servlets to retrieve those user agent variables (both IP and machine names), and both returned the IP address. So I'm probably stuck using the RemoteAddrValve filter. Thanks, though. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, May 24, 2010 1:58 PM To: Tomcat Users List Subject: RE: Remote Host Filter From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: Remote Host Filter Valve className=org.apache.catalina.valves.RemoteHostValve allow=\\machine43name / like this. As Mark said, use the actual name as it appears in the HTTP header, not the Windows corruption of it. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org