cvs commit: src/libexec/ftpd ftpd.c

Yar Tikhiy yar at FreeBSD.org
Fri Jul 30 09:58:24 PDT 2004


yar         2004-07-30 16:57:42 UTC

  FreeBSD src repository

  Modified files:
    libexec/ftpd         ftpd.c 
  Log:
  Open a socket for a data transfer in active mode using euid
  of the current user, not root.  This will allow neat things
  like matching anonymous FTP data traffic with a single ipfw(8)
  rule:
          ipfw add ... tcp from any to any uid ftp
  
  Note that the control connection socket still belongs to the
  user ftpd(8) was started from, usually root.
  
  PR:             bin/65928
  Submitted by:   Eugene Grosbein <eugen at grosbein.pp.ru>
  MFC after:      1 month
  
  Revision  Changes    Path
  1.156     +1 -1      src/libexec/ftpd/ftpd.c


More information about the cvs-all mailing list