Re: IP, hostnames and DNS issues
From: Jan Jonasen (jonasenREMOVE_at_THISit.dk)
Date: 04/29/04
- Next message: Sudsy: "Re: Official newsgroups"
- Previous message: Andrew Thompson: "Re: how are Java GUI apps being used these days?"
- In reply to: Roedy Green: "Re: IP, hostnames and DNS issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Sudsy: "Re: Official newsgroups"
- Previous message: Andrew Thompson: "Re: how are Java GUI apps being used these days?"
- In reply to: Roedy Green: "Re: IP, hostnames and DNS issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|