[gopher] Running a MUD, was: Re: cgod - a new prototype gopher daemon

Graham Edgecombe graham at grahamedgecombe.com
Sat Dec 27 11:39:17 UTC 2014


On Wed, 24 Dec 2014 13:37:34 -0700
Kevin Veroneau <kevin at veroneau.net> wrote:

> As for port numbers, rarely any MUDs I visit use port 23, all
> PennMUSHs use 4201 by default, and Evennia uses 4000 I believe.  So
> there are no worries about port 23, and in fact having code that must
> switch UID and run as root would require additional security
> auditing.  So, lets just stick with a port > 1024.  All MUD clients
> support specifying a port number.

There are ways to bind to lower ports on Linux without ever needing to
run the process as root - e.g. use an iptables rule to forward traffic
from port 23 to a higher port that the process is listening on, or give
the process the CAP_NET_BIND_SERVICE capability.

Graham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/gopher-project/attachments/20141227/dcc5718b/attachment.sig>


More information about the Gopher-Project mailing list