<!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">
Things are very messy right now. You can search for "sim_ip", for
example, which is used in chatting with the grid server, and where it
is being converted to an IP address in about half of the cases.<br>
<br>
To compensate, and before I noticed this inconsistency, Homer
introduced another field called "sim_host", so not to mess with what
was already there, that is supposed to carry the external host name,
but this only works up to the point in which RegionInfo data structures
are created. At that point, we need to decide what to place in
m_externalHostName, sim_ip or sim_host. Which means changes in OGS1.<br>
<br>
I also noticed that there is yet another data structure called
RegionUpData that uses IP addresses.<br>
<br>
So, messy. Someone should decide what this field is supposed to be, and
make it a rule.<br>
<br>
Charles Krinke wrote:
<blockquote cite="mid:321992.85173.qm@web82603.mail.mud.yahoo.com"
 type="cite">
  <style type="text/css"><!-- DIV {margin:0px;} --></style>
  <div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;">
  <div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;">Dear
Diva:<br>
  <br>
You have a very good point and I would support harmonizing to one
notion even at the expense of breaking some things for a while.<br>
  <br>
In fact, if someone can identify what some of those things are, or come
up with a couple of search strings or grep expressions, I would like to
look at the anomalies myself.<br>
  <br>
+1 on external_host_name<br>
  <br>
Charles<br>
  <br>
  <div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font
 face="Tahoma" size="2">
  <hr size="1"><b><span style="font-weight: bold;"><br>
  <br>
From:</span></b> Cristina Videira Lopes <a class="moz-txt-link-rfc2396E" href="mailto:lopes@ics.uci.edu"><lopes@ics.uci.edu></a><br>
  <b><span style="font-weight: bold;">To:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:opensim-dev@lists.berlios.de">opensim-dev@lists.berlios.de</a><br>
  <b><span style="font-weight: bold;">Sent:</span></b> Thursday,
December 11, 2008 2:42:05 PM<br>
  <b><span style="font-weight: bold;">Subject:</span></b> [Opensim-dev]
external host name<br>
  </font><br>
It turns out that a lot of problems with CAPs have to do with <br>
inconsistencies surrounding the URL of the seed cap. Specifically, in <br>
some cases we're producing URLs with hostnames, other times we're <br>
producing URLs with IP addresses, for example:<br>
  <br>
  <a moz-do-not-send="true"
 href="http://ucigrid03.nacs.uci.edu:9000/CAPS/4cfc94fa-09be-409b-b136-cda2cdde0000/"
 target="_blank">http://ucigrid03.nacs.uci.edu:9000/CAPS/4cfc94fa-09be-409b-b136-cda2cdde0000/</a><br>
vs.<br>
  <a moz-do-not-send="true"
 href="http://128.200.71.43:9000/CAPS/4cfc94fa-09be-409b-b136-cda2cdde0000/"
 target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "128.200.71.43:9000" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical
links are often malicious:</b></font>
http://128.200.71.43:9000/CAPS/4cfc94fa-09be-409b-b136-cda2cdde0000/</a><br>
  <br>
The client is not smart enough to test if this is the same host, it <br>
assumes it isn't, so it decides someone's trying to game it.<br>
  <br>
The inconsistencies are all over the code in OpenSim, and they pertain <br>
to the use of ExternalHostName in several data s! tructures. In some <br>
cases, an explicit conversion to IP addresses is made.<br>
  <br>
We should converge to one single thing. And I believe that thing should
  <br>
be whatever it is given in external_host_name config. Is this right? <br>
However, I am a bit afraid this is going to break 17 different things...<br>
  <br>
Crista<br>
  <br>
_______________________________________________<br>
Opensim-dev mailing list<br>
  <a moz-do-not-send="true"
 ymailto="mailto:Opensim-dev@lists.berlios.de"
 href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
  <a moz-do-not-send="true"
 href="https://lists.berlios.de/mailman/listinfo/opensim-dev"
 target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
  </div>
  </div>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Opensim-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a>
<a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/opensim-dev">https://lists.berlios.de/mailman/listinfo/opensim-dev</a>
  </pre>
</blockquote>
<br>
</body>
</html>