[INN-COMMITTERS] inn/innd (inndstart.c)
rra at vix.com
rra at vix.com
Wed Sep 8 00:21:29 UTC 1999
Date: Tuesday, September 7, 1999 @ 17:21:29
Author: rra
Update of /dist1/cvs/isc/inn/inn/innd
from pub3.rc.vix.com:/tmp/cvs-serv14822
Modified Files:
inndstart.c
----------------------------- Log Message -----------------------------
Mostly rewritten. Changes include:
- Check the real UID and GID against NEWSUSER and NEWSGRP and abort if
they don't match. Also check against the ownership of pathrun.
inndstart can now only be run by NEWSUSER.
- Refuse to bind to any privileged ports other than 119.
- Drop privileges around all operations except obtaining UIDs and GIDs,
setting file descriptor limits, and binding to the port.
- Cleaned up command line option parsing, now allowing -P 1999 as well as
-P1999 and providing better diagnostics.
- Switched to concat() for copying strings from sprintf().
- Lots of cleanup and style stuff.
More information about the inn-committers
mailing list