[Opensim-dev] serverIP in regions

FoTo50 info at foto50.com
Wed Feb 16 09:18:10 UTC 2011


Hi

Running OpenSim with MySQL as database engine, if in regions.ini the 
value "ExternalHostName = SYSTEMIP" is changed to some hostname (e.g. 
when running on a dyndns system), then the value of "serverIP" in the 
table "regions" contains this hostname instead of it's IP. Would it be 
possible to do some "gethostbyname" during region registering process to 
insert always the IP address there?

I'm developing some web frontend extension and it would be an ideal 
security enhancement to cross check requests (e.g. groups, profile or 
search) if they come from a registered region or somewhere else. 
Currently I need to do a regexp and if it fails a "gethostbyname" on 
each single request to ensure it is valid which is a real performance 
loss while doing that during registering the region wouldnt be.

Greetz
FoTo50
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20110216/241a1980/attachment-0001.html>


More information about the Opensim-dev mailing list