head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2002.12.25.23.26.18; author swiergot; state Exp; branches; next ; desc @@ 1.1 log @- Initial release. - Version 1.27. @ text @diff -ruN troll-ftpd-1.27.orig/ftpd.8 troll-ftpd-1.27/ftpd.8 --- troll-ftpd-1.27.orig/ftpd.8 2001-07-19 14:40:23.000000000 +0200 +++ troll-ftpd-1.27/ftpd.8 2002-07-19 22:19:28.000000000 +0200 @@@@ -1,17 +1,17 @@@@ -.TH ftpd 8 "28 Sep 1995" "Troll Tech AS" \" -*- nroff -*- +.TH troll-ftpd 8 "28 Sep 1995" "Troll Tech AS" \" -*- nroff -*- .\" .\" Copyright 1995-2000 Trolltech AS. Copyright 2001 Arnt Gulbrandsen. .\" Use, modification and distribution is allowed without limitation, .\" warranty, or liability of any kind. .\" .SH NAME -ftpd \- simple File Transfer Protocol server +troll-ftpd \- simple File Transfer Protocol server .SH SYNOPSIS -.B ftpd [-b] [-c clients] [-d [-d]] [-f facility] [-m maxload] [-s] [-p first:last] [-u uid] +.B troll-ftpd [-b] [-c clients] [-d [-d]] [-f facility] [-m maxload] [-s] [-p first:last] [-u uid] .SH DESCRIPTION -.B Ftpd +.B troll-ftpd is a small, simple server for the old and hairy File Transfer Protocol, designed to use less resources than older servers, be smaller, and to never execute any external program. @@@@ -46,7 +46,7 @@@@ .TP .B -d turns on debug logging. You can also turn this on by sending SIGUSR1 -to the ftpd while it's running. Every command is logged at the +to troll-ftpd while it's running. Every command is logged at the LOG_DEBUG level, except that the argument to PASS is changed to "". If you repeat .B -d @@@@ -54,7 +54,7 @@@@ .BR "" SIGUSR1/ -d . .TP .B -f facility -makes ftpd use +makes troll-ftpd use .I facility for all .BR syslog (3) @@@@ -101,7 +101,7 @@@@ .I size kbytes to be allocated using either .BR mallloc "(3) or" alloca (3). -ftpd segfaults when either limit is reached. This effectively provides +troll-ftpd segfaults when either limit is reached. This effectively provides last-resort protection against denial of service attacks. .TP .B -s @@@@ -162,13 +162,13 @@@@ anonymous users to log in automatically, by simply changing directory, up- or downloading a file. .PP -.B Ftpd +.B troll-ftpd does a .BR chroot (2) to the relevant base directory when an anonymous user logs in. .PP Note that -.B ftpd +.B troll-ftpd allows remote users to log in as root if the password is known and -u not used. @@@@ -185,18 +185,18 @@@@ which is hopefully run nightly by .BR cron (8). .PP -.B Ftpd +.B troll-ftpd never switches uid and euid, it uses .BR setfsuid (2) instead. The main reason is that uid switching has been exploited in several breakins, but the sheer ugliness of uid switching counts too. -.B Ftpd +.B troll-ftpd only calls .BR setfsuid (2) once, at login. .PP -As noted above, this -.B ftpd +As noted above, +.B troll-ftpd omits several features that are required by the RFC or might be considered useful at first. Here is a list of the most important omissions. @@@@ -204,12 +204,12 @@@@ ASCII mode transfer is omitted, because it's useful so seldom and trips careless users so often. If the client tries to download a file in ASCII mode, -.B ftpd +.B troll-ftpd prints a warning at the start of the download. .PP STRU and MODE are not supported. If a client tries to set a structure other than file (the default) or a MODE other than ASCII, L8 or I -.B ftpd +.B troll-ftpd refuses to play. .PP On-the-fly tar is not supported, for several reasons. I feel that @@@@ -246,7 +246,7 @@@@ Use of the .B -s option is strongly suggested. (Simply add "-s" to the end of the -.B ftpd +.B troll-ftpd line in .I /etc/inetd.conf to enable it.) @@@@ -296,7 +296,7 @@@@ to make .I /dev/null the ftp account's home directory and shell. -.B Ftpd +.B troll-ftpd uses this account to set the anonymous users' uid. .PP 2. Create a directory as described in @@@@ -330,7 +330,7 @@@@ .I not enough to use CNAME records, you must use A and PTR records as in this example, otherwise -.B ftpd +.B troll-ftpd cannot differentiate between the different virtual servers. .PP That should be all. If you have problems, here are some things to @@@@ -340,7 +340,7 @@@@ .I /var/adm/ftp/localhost to some directory and say "ftp localhost". If that doesn't log you in, the problem is with -.B ftpd. +.B troll-ftpd. .PP If not, "ping -v 10.11.12.13" and/or "ping -v ftp.example.com" from the same host. If this does not work, the problem is with the IP alias. @@@@ -387,7 +387,7 @@@@ .I /var/adm/ftp/[hostname] is the base directory for the [hostname] virtual ftp server, or a symbolic link to its base directory. -.B Ftpd +.B troll-ftpd does a .BR chroot (2) into this directory when a user logs in to [hostname], thus symlinks @@@@ -395,7 +395,7 @@@@ .PP .I ~ftp is the base directory for "normal" anonymous FTP. -.B Ftpd +.B troll-ftpd does a .BR chroot (2) into this directory when an anonymous user logs in, thus symlinks @@@@ -477,7 +477,7 @@@@ .B DELE Delete one or more files. This is not available to anonymous users. Only one argument is allowed, but that argument may contain wildcards. -.B Ftpd +.B troll-ftpd returns success if at least one file is successfully deleted. .TP .B LIST @@@@ -549,8 +549,7 @@@@ servers are left out in order to keep the server simple, bug-free and secure. .PP -This -.B ftpd +.B troll-ftpd does not support the STAT command during data transfers. ABOR requests during data transfers appear not to work. @@@@ -578,5 +577,5 @@@@ and I'll add you) have made substantial contributions. .SH SEE ALSO -.BR ftp "(1), " ncftp "(1), " mkusers "(8), " mrtginfo "(8), " +.BR ftp "(1), " ncftp "(1), " mkusers "(8), " troll-ftpd-mrtg "(8), " .BR "RFC 959" ", " "RFC 2228" " and " "RFC 2428" diff -ruN troll-ftpd-1.27.orig/mkusers.8 troll-ftpd-1.27/mkusers.8 --- troll-ftpd-1.27.orig/mkusers.8 2001-07-19 14:40:23.000000000 +0200 +++ troll-ftpd-1.27/mkusers.8 2002-07-19 22:19:28.000000000 +0200 @@@@ -10,20 +10,20 @@@@ .\" $Id: troll-ftpd-man.pw.patch,v 1.1 2002/11/21 22:56:30 swiergot Exp $ .\" .SH NAME -mkusers \- make user/group databases for ftpd +mkusers \- make user/group databases for troll-ftpd .SH SYNOPSIS .B mkusers .SH DESCRIPTION -.B Mkusers +.B mkusers is program to compile .I /etc/passwd and .IR /etc/group, (or their YP/NIS equivalents) into database files that can be looked up very quickly by the built-in ls in -.BR ftpd (8). +.BR troll-ftpd (8). .SH OPTIONS .TP @@@@ -58,7 +58,7 @@@@ is stored as a null-terminated string at offset (9*gid). (If group names are longer than 8 characters, they are truncated.) .PP -.B Mkusers +.B mkusers takes care to use .BR seek (3) so that @@@@ -83,5 +83,5 @@@@ warranty, or liability of any kind. .SH SEE ALSO -.BR ftp "(1), " ncftp "(1), " ftpd "(8), " mrtginfo "(8), " +.BR ftp "(1), " ncftp "(1), " troll-ftpd "(8), " troll-ftpd-mrtg "(8), " .BR "RFC 959" ", " "RFC 2228" " and " "RFC 2428" diff -ruN troll-ftpd-1.27.orig/mrtginfo.8 troll-ftpd-1.27/mrtginfo.8 --- troll-ftpd-1.27.orig/mrtginfo.8 2001-07-19 14:40:23.000000000 +0200 +++ troll-ftpd-1.27/mrtginfo.8 2002-07-19 22:19:40.000000000 +0200 @@@@ -1,4 +1,4 @@@@ -.TH mrtginfo 8 "31 Oct 1998" "Troll Tech AS" \" -*- nroff -*- +.TH troll-ftpd-mrtg 8 "31 Oct 1998" "Troll Tech AS" \" -*- nroff -*- .\" .\" Written by Arnt Gulbrandsen and copyright 1995-1999 .\" Troll Tech AS, Waldemar Thranes gate 98B, N-0175 Oslo, Norway, fax +47 @@@@ -10,15 +10,15 @@@@ .\" $Id: troll-ftpd-man.pw.patch,v 1.1 2002/11/21 22:56:30 swiergot Exp $ .\" .SH NAME -mrtginfo \- provide an MRTG-graphable user count for ftpd +troll-ftpd-mrtg \- provide an MRTG-graphable user count for troll-ftpd .SH SYNOPSIS -.B mrtginfo +.B troll-ftpd-mrtg .SH DESCRIPTION -.B Mrtginfo +.B troll-ftpd-mrtg counts the number of clients currently connected to -.BR ftpd (8) +.BR troll-ftpd (8) and output the format in a format graphable by MRTG. .SH OPTIONS @@@@ -41,7 +41,7 @@@@ MRTG is a really nice package for graphing router traffic. Mrtg can also graph other information is available via SNMP or by running a program such as -.BR mrtginfo . +.BR troll-ftpd-mrtg . The author of this program uses it to graph CPU load, /var usage etc., and naturally the number of users connected to his FTP servers. See .nf @@@@ -64,5 +64,5 @@@@ warranty, or liability of any kind. .SH SEE ALSO -.BR ftp "(1), " ncftp "(1), " ftpd "(8), " mkusers "(8), " +.BR ftp "(1), " ncftp "(1), " troll-ftpd "(8), " mkusers "(8), " .BR "RFC 959" ", " "RFC 2228" ", " "RFC 2428" " and " @ .