On Samstag, 14. Oktober 2006 19:07, Oliver Schroeder wrote:
> Hi.
>
> I fear I introduced a bug on the server side:

Well, it wasn't me ;)

But this bug is funny anyway. The bug is in plib (or server config, depending 
on your viepoint). We had mpserver03.flightgear.org configured to be a relay 
(server side). But:

 magrathea 2$ host mpserver03.flightgear.org
Host mpserver03.flightgear.org not found: 3(NXDOMAIN)

(mpserver03.flightgear.org is an alias for flamebunny.homelinux.net, which is 
currently down).

As a result we get in plib here:

--- cut (void netAddress::set(...) ---

    sin_addr = inet_addr ( host ) ;

    if ( sin_addr == INADDR_NONE ) 
    {
      struct hostent *hp = gethostbyname ( host ) ;

      if ( hp != NULL )
      »·memcpy ( (char *) &sin_addr, hp->h_addr, hp->h_length ) ;
      else
      {
        perror ( "netAddress::set" ) ;
        sin_addr = INADDR_ANY ;
      }
    }

--- cut ---

The gethostbyname() call returns NULL, so "sin_addr = INADDR_ANY ;" counts...
(we don't know who we should send to, so we send to all. The right one will be 
there ...).

So, the solution is to simply remove mpserver03 from the relay list. Another 
would be to fix plib.

I've fixed the config of mpserver01. Please give pigeon some time to fix the 
config on mpserver02 and mpserver04.

regards,
Oliver



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to