<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
For the socket transport and its descendants (sslsocket, bisocket,
sslbisocket), we can get the remote address and add it to the
requestPayload Map in the InvocationRequest.&nbsp; For the http transport,
it looks like we can also get the remote address from the
org.apache.coyote.Request, but I haven't verified that.&nbsp; I don't think
we can get access to the remote address in the rmi transport.<br>
<br>
Would you like to create a JIRA issue?&nbsp; Otherwise, assuming I
understand you now, I will.<br>
<br>
-Ron<br>
<br>
Carlo de Wolf wrote:
<blockquote cite="mid1182170075.15343.30.camel@laptop-mainvm"
 type="cite">
  <pre wrap="">No I mean the remote socket address:
<a class="moz-txt-link-freetext" href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#getRemoteSocketAddress(">http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#getRemoteSocketAddress(</a>)

Somewhere deep down if a remote invocation comes in over a socket the
remote address is known. If it can be associated with the invocation it
can be used to set up auditing and filtering.

Carlo

On Sun, 2007-06-17 at 03:46 -0400, Ron Sigal wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Carlo,

I'm not sure I understand what you're asking for.  An
org.jboss.remoting.Client has an identity, the sessionId, which is
included in the InvocationRequest.  But Client doesn't really map to
an InetAddress.  The socket transport, for example, maintains a pool
of TCP connections, each with a different port.  Remoting could supply
the InetAddress of the connection used for a particular invocation, if
that's what you mean.  But note that that same connection could be
used by a different Client for a different invocation at any time.

-Ron

Carlo de Wolf wrote: 
    </pre>
    <blockquote type="cite">
      <pre wrap="">I would like to see the client endpoint (InetAddress most of the time)
of an invocation. Maybe it's already in the InvocationRequest, but I
can't find it.

Carlo

On Thu, 2007-05-17 at 15:51 -0400, Ron Sigal wrote:
  
      </pre>
      <blockquote type="cite">
        <pre wrap="">There have been various attempts to get some discussion going about the 
features desired for the next generation of Remoting, and so far I think 
the buzz has broken the -80 db level.  I'm trying again with the wiki 
page at 
<a class="moz-txt-link-freetext" href="http://wiki.jboss.org/wiki/Wiki.jsp?page=TowardsGreaterSymmetryInRemoting">http://wiki.jboss.org/wiki/Wiki.jsp?page=TowardsGreaterSymmetryInRemoting</a>.  
We in the Remoting group (i.e., me in the Remoting group) would like to 
hear from the Remoting stakeholders about what features would make 
Remoting more usable for you.  Of course, I could just go ahead and 
write fun stuff.  :-)

-Ron
_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>
    
        </pre>
      </blockquote>
      <pre wrap="">_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>
  
      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<font color="#000000">JBoss, a Division of Red Hat<br>
"My company's smarter than your company."
</font></div>
</body>
</html>