Re: IP, hostnames and DNS issues

From: Jan Jonasen (jonasenREMOVE_at_THISit.dk)
Date: 04/29/04


Date: Thu, 29 Apr 2004 09:34:22 +0200

Thanks for the speedy reply.

Roedy Green wrote:
> If the end user is giving you urls, they can be domain style or ip
> style.
>
> Use the functions to take the URL apart and check with a regex that it
> has the correct pattern for an IP.
>
> 999.999.999.999
> Or you could just remove all .s and see if the result is numeric.
>
> No domain name could leak through.
>
They aren't directly giving the server any URLs or similiar, it's going
through the OpenOrb orb where it works its magic, so the server can't
see "who" the client is, as in whether it's an IP or hostname.

However, due to this I'm also unable (or at least don't know how) to see
if clients during connection gives their IP to the server, or if they
only provide it with a hostname. I *think* it's the last mentioned as it
would make good sense in that the server seems to have a hard time
communicating back to the client. In general it does however look like
it's only during initial creation of remote objects (we create about 10
during client boot), invoking methods on already created objects doesn't
have anywhere near the same overhead.

Best regards
Jan Jonasen



Relevant Pages

  • Re: Synchronized objects
    ... > proxies to remote objects and the appropriate one to use depends on how ... > plan to use the object in your clients and on your server. ... > 1) Does every client that connects need to access the same Foo instance ...
    (microsoft.public.dotnet.framework.remoting)
  • Three areas of confusion: instantiating remote objects locally on server side, extending the lifetim
    ... I'm working with remote objects for a client server application. ... Instantiating remote objects locally on the server side. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: .NET Remoting - client development/design-time and run-time requirements
    ... Service on my remote server. ... proxy object and the remote objects aren't instantiated on the server until ... My client is a hybrid ASP/ASP.NET ... remote object to take an additional, optional parameter. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Solution with RMI?
    ... It can misfire if there are routers in between the server and the client which go up and down for minutes at a time. ... But you can prevent DGC happening at all by holding static references to your remote objects in the server JVMs. ... If you have high-availability requirements I believe you should look at RMI/IIOP, which is much the same thing but using a CORBA ORB as the runtime system instead of the RMI runtime system. ...
    (comp.lang.java.programmer)
  • RE: Delegation fails over remoting if user is logged in for too lo
    ... So event after you restart the client program does the user still get the ... If the behavior remains after the client recreate new server ... remote objects, I'm thinking whether the token is cached by the server ...
    (microsoft.public.dotnet.framework)