CVSROOT:        /cvs
Module name:    src
Changes by:     gil...@cvs.openbsd.org  2009/01/27 16:39:41

Modified files:
        usr.sbin/smtpd : control.c 

Log message:
instead of relying on socket permissions to allow or disallow imsg's that
come from the external process (smtpctl/send-mail/etc...), make the socket
world-writeable and request credentials with getpeereid().

discussed with pyr@ who was happy to hand me over UNP opened at the
"passing credentials through a unix socket" page, but hopefully saved by
dlg@ who knew about getpeereid() :-)
cvs: ----------------------------------------------------------------------
cvs: eNTER lOG.  lINES BEGINNING WITH `cvs:' ARE REMOVED AUTOMATICALLY
cvs:
cvs: cOMMITTING IN .
cvs:
cvs: mODIFIED fILES:
cvs:    CONTROL.C PARSE.Y SMTP.C SMTPD.C SMTPD.H STORE.C

Reply via email to