Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 16:57:42 +0000 (UTC)
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/libexec/ftpd ftpd.c
Message-ID:  <200407301657.i6UGvgL5090743@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407301657.i6UGvgL5090743>