Vanilla Netrek Server Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VANILLA-L:821] Re: [VANILLA-L:820] Metaserver Solicitation Daemon Crash



On Mar 26, 14:05, James Cameron wrote:

>Solution
>
>	Double the buffer size on servers and metaserver,
>	Apply attached metaserver.scan.c.patch to metaserver,
>	(Can I have confirmation from metaserver guys when it's done?)
>	Apply attached server.solicit.c.patch to server.

Done. metaserver.eu.netrek.org should be ready to receive updates from
servers. Could some volunteer try it? (I have no server ready). James maybe?

Frank

PS: format of .metaservers attached

______________________________________________________________________________
"I mean what's the use of our sitting up half the night arguing that there 
may or may not be a God if this machine only goes and gives us his bleeding
phone number the next morning?"
	-- Douglas Adams, 'The Hitch Hiker's Guide to the Galaxy'
Delivery-Date: Thu, 22 Jan 1998 23:09:19 +0100
Return-Path: paladin.real-time.com!owner-vanilla-l-outgoing
Return-Path: <owner-vanilla-l-outgoing@paladin.real-time.com>
Received: from tornado.cs.vu.nl by top.cs.vu.nl with esmtp
	(Smail3.1.28.1 #39) id m0xvUoJ-00004va; Thu, 22 Jan 98 23:09 +0100
Received: from paladin.real-time.com by tornado.cs.vu.nl with esmtp
	(Smail3.1.28.1 #39) id m0xvUoE-0000CCa; Thu, 22 Jan 98 23:09 +0100
Received: (from majordom@localhost)
	by paladin.real-time.com (8.8.8/8.8.7) id QAA11512
	for vanilla-l-outgoing; Thu, 22 Jan 1998 16:07:20 -0600 (CST)
X-Authentication-Warning: paladin.real-time.com: majordom set sender to owner-vanilla-l using -f
Message-Id: <34C85D81.7FCAF570@stl.dec.com>
Date: Fri, 23 Jan 1998 09:06:09 +0000
From: James Cameron <cameron@stl.dec.com>
Organization: James Cameron
X-Mailer: Mozilla 2.02 (X11; I; VAXstation 4000-VLC )
Mime-Version: 1.0
To: vanilla-l@us.netrek.org
Subject: [VANILLA-L:777] Re: [VANILLA-L:776] Re: [VANILLA-L:774] netrek.org, metaserver and stuff
References: <9801220957.ZM25957@cs.vu.nl> <19980122110328.65430@wizard.real-time.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-vanilla-l@paladin.real-time.com
Precedence: bulk
Reply-To: vanilla-l@us.netrek.org
Content-Length: 1789
Status: OR

Bob Tanner wrote:
> I believe the soliciting code was crashing the metaserver. That does
> not explain why it was not in 2.7pl7 :).

Actually, the soliciting/solicitation code is in 2.7pl7, as module
ntserv/solicit.c, but requires the presence of a .metaservers file
before it works.

The format of the file is a series of space delimited fields interpreted
using fscanf().  The code looks for the file in the current working
directory rather than LIBDIR.  Ought to be fixed.

The .metaservers file for one of my internal servers is ...

metaserver.stl.dec.com 3521 0 60 netrek.stl.dec.com B 2592 3592 open

The order and format of the fields is described in ntserv/solicit.c

    /* data items derived from metaservers file */
    char host[32];          /* address of metaserver (DNS)          */
    int port;               /* port of metaserver                   */
    int minimum;            /* minimum update time                  */
    int maximum;            /* maximum update time                  */
    char ours[32];          /* DNS address of server                */
    char type[2];           /* server type code (B/P/C/H/?)         */
    int pport;              /* server main player port (e.g. 2592)  */
    int oport;              /* server observer player port          */
    char comment[32];       /* comment string                       */

I ought to put this in the documentation, but I was hoping to finish it
first.

Is Nick on this distribution list?  ;-}

--
James Cameron                                    (cameron@stl.dec.com)
Digital Equipment Corporation (Australia) Pty. Ltd. A.C.N. 000 446 800
+
++ Vanilla-l Mailing List ++
To unsubscribe: send "unsubscribe vanilla-l" to majordomo@real-time.com
For more information: http://archives.real-time.com

References: