[Freeciv-Dev] Re: connect dialog update
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, Nov 10, 2002 at 02:09:12PM -0600, Mike Kaufman wrote:
> here the update on what's happening:
>
> Nutshell: the connect dialog is being postponed indefinitely.
>
> Longer explanation: I have become convinced for several reasons that the
> current implementation is not the ideal one. A better implementation is one
> that I originally started with: that being one in which the server is
> controlled via network packets rather than sockets and server commandline.
> This has many advantages:
> 1. you can resurrect a spawned server if you disconnect the client from it.
> 2. It is a much cleaner interface.
> 3. the current implementation depends on some functions that may not be fully
> portable across platforms.
> 4. It is semi-difficult to tell if commands have succeeded or not.
>
> it also has some disadvantages:
> 1. It is insecure. You must make sure that whoever has access to hack level
> is trusted.
> 2. Solving 1. requires either encryption or access to the same filesystem or
> probably both.
Simple solution mention before: pass a cookie to the server via the
command line of the server. A connection which also now has this
cookie get hack level access.
> 3. It probably requires writing a couple new packets which handle
> command-responses from the server. (we usually need to know that a command
> has succeeded or failed before sending another command)
A good idea anyway.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Like the ad says, at 300 dpi you can tell she's wearing a
swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you
can tell it's painted on. I suppose at 2400 dpi you can tell
if the paint is giving her a rash."
-- Joshua R. Poulson
|
|