diff --git a/doc/latex/ftpd.tex b/doc/latex/ftpd.tex index 7c1c0c3..d19b082 100644 --- a/doc/latex/ftpd.tex +++ b/doc/latex/ftpd.tex @@ -9,14 +9,17 @@ \section{Entry points} -\defun {ftpd} {anonymous-home \ovar{port \ovar{logfile}}} {\noreturn} +\defun {ftpd} {anonymous-home \ovar{port \ovar{logfile \ovar{dns-lookup?}}}} {\noreturn} \begin{defundescx}{ftp-inetd} {anonymous-home} {\noreturn} \ex{ftpd} starts the server, using \semvar{anonymous-home} as the root directory of the server. Usage of relative paths is not encouraged. \semvar{port} specifies the port the server is listening for connections. It defaults to 21. \ex{ftpd} makes a log entry for each file sent or retrieved. These logs are written to - \semvar{logfile}, if given. + \semvar{logfile}, if given. If \semvar{dns-lookup?} is \sharpt, the + logfile will contain the host names instead of their IP + addresses. If \semvar{dns-lookup?} is not specified or \sharpf, the + IP addresses are stored. The log format of \ex{ftpd} is the same as the one of \ex{wuftpd}. The fields are seperated by spaces and contain