[Opensim-dev] Fwd: Canonical name versus www names in Opensim (Ferd Frederix)
Ai Austin
ai.ai.austin at gmail.com
Mon Jul 24 19:44:56 UTC 2017
At 17:51 24/07/2017, Fred Beckhusen <fred at mitsi.com> wrote:
>How does one solve the problem of Opensim answering to only one toplevel
>domain? Opensim supports only one Public DNS name, yet a server can be
>both TLD.com and a www.TLD.com. Or more.
>
>For example, my problem seems to be that my system responds to both
>www.Outworldz.com:9000 and Outworldz.com:9000. There are two A records
>at Dyn DNS, both pointing to the same server. In the web site, the
>web server can be told to redirect traffic to Outworldz.com with a 301
>to www.Outworldz.com. But this is not possible with Opensim.
>
>So what happens in Opensim on one of them is a failure to verify.
>
>06:14:46 - [GATEKEEPER SERVICE]: Verifying http://outworldz.com:9000
>against http://www.outworldz.com:9000
>06:14:46 - [GATEKEEPER SERVICE]: Unable to verify identity of agent XX
>YY. Refusing service.
Would it be useful to at least try the www. and non www. variants
when the one given fails, before giving up?
I assume trailing "/" is already stripped of before the string
comparison? If not, that's definitely needed.
And it seems that a HG lookup that subsequently fails to complete the
teleport is still cached.... that was the issue I had in testing with
Fred in the last few days,. I had to do a 'show hyperlinks' and
'unlink-region <region-domain:port/>' to allow subsequent teleports
to work. This means its only open to someone with a region server
and console access. A normal user could not have fixed this. If
possible that failed teleport should lead to the cache entry not
being made.. or deleted from the cache if it was already in place?
More information about the Opensim-dev
mailing list