[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Wed, 24 Dec 2014 13:37:34 -0700
Kevin Veroneau <kevin@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

Attachment: pgpBvvl_o8ryd.pgp
Description: OpenPGP digital signature

_______________________________________________
Gopher-Project mailing list
Gopher-Project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project

Reply to: