tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37859] - add a reliable "real_remote_socket" and "real_remote_port" attribute to requets
Date Fri, 20 Jan 2006 22:02:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37859


william.barker@wilshire.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From william.barker@wilshire.com  2006-01-20 23:02 -------
(In reply to comment #2)
> ok, understood - especially if there is a proxy in-between you don't want the
> proxy address but the address and port of the original requestor.
> However, wouldn't it be useful, to add e.g. in
> org.apache.coyote.http11.Http11Processor
> a request.setAttribute("javax.servlet.request.real_remote_host", socket.
> getRemoteSocketAddress()); //or socket.getInetAddress() ?
> and a request.setAttribute("javax.servlet.request.real_remote_port",
> socket.getPort())
> ?

Seems pretty useless, since it simply duplicates what is already available via 
request.getRemoteAddr() and request.getRemotePort().




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message