Authenticating authorised clients was Re: Helpful clients in client-server Nethack
- From: Andrew Kerr <andrewkerruk@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Dec 2005 19:56:09 GMT
In article news:<dnuvts$e4r$1@xxxxxxxxx>, Janis Papanagnou says...
> Andrew Kerr wrote:
> >
> > Actually, I think obfuscation could do the trick for an annual
> > tournament. For example:
> >
> > - Encrypted version of communication protocol using symmetric cypher
>
> Why not asymmetric? You'd get rid of some problems that are inherent
> to symmetric cipher protocols.
>
> > - Key different for each tourny
> >
> > - Tournament versions of server and clients are closed source to hide
> > the key
>
> So use asymmetric ciphers, then.
I don't see how an asymmetric cypher would help. The problem is ensuring
that the client is approved by the organisers. We are not trying to
secure the IP socket itself.
And having phrased the problem like that, suddenly I see a better way:
CHAP, challenge handshake authentication protocol. Client-server NH
protocol remains plaintext.
The closed source clients and server know a passphrase. On connection,
the server sends a challenge including random salt. The client combines
the salt and passphrase, feeds the result through a hash function, and
sends the hash to the server. The server checks this against its own
calculation. If accepted, the server still challenges the client with a
different salt value at random intervals.
(As asymmetric cyphers are relatively processor intensive, it is
standard practice to use one only to arrange a session key for a
symmetric cyper, with which the plaintext is encrypted. https and ssh do
this.)
> Every system that has the (symmetric) key hard coded in the code (or
> in the configuration files) and is passed to the end user needs no
> public test; it is insecure by design.
It doesn't need to be unbreakable. It needs to be as hard to cheat as it
is now, since we already know that the current level of protection is
sufficient.
.
- Follow-Ups:
- References:
- NetHack in Python???
- From: Michael Lehotay
- Re: NetHack in Python???
- From: Andrew Kerr
- Re: NetHack in Python???
- From: Trebor A. Rude
- Re: NetHack in Python???
- From: Andrew Kerr
- Re: NetHack in Python???
- From: Trebor A. Rude
- Re: NetHack in Python???
- From: Andrew Kerr
- Re: NetHack in Python???
- From: Trebor A. Rude
- Re: NetHack in Python???
- From: Andrew Kerr
- Re: NetHack in Python???
- From: Trebor A. Rude
- Re: NetHack in Python???
- From: Andrew Kerr
- Re: NetHack in Python???
- From: Douglas Henke
- Helpful clients in client-server Nethack was Re: NetHack in Python???
- From: Andrew Kerr
- Re: Helpful clients in client-server Nethack was Re: NetHack in Python???
- From: Douglas Henke
- Re: Helpful clients in client-server Nethack was Re: NetHack in Python???
- From: Andrew Kerr
- Re: Helpful clients in client-server Nethack was Re: NetHack in Python???
- From: Janis Papanagnou
- NetHack in Python???
- Prev by Date: Re: starting Slashem
- Next by Date: Re: The Eye of the Aethiopica needs to be renamed
- Previous by thread: Re: Helpful clients in client-server Nethack was Re: NetHack in Python???
- Next by thread: Re: Authenticating authorised clients was Re: Helpful clients in client-server Nethack
- Index(es):
Relevant Pages
|
Loading