#---------------------------------------------------------- # this config file shows off muddleftpd running with 150 # virtual servers. It isn't really practical, it just shows # what can be done. It also uses includes [section] main # allow connections from port 21 ftpport 21 # set maximum users to 200 maxusers 200 # log everything execpt debugging logs logstrength 63 # set logfile logfile /var/log/muddleftpd.log # set default timeout to 300 seconds timeout 300 # set the file displayed on login logindump /etc/issue.ftp # allow anyhost to connect ipacl A:* # set admin email address email user@hostname # set scratchfile for inetd operation scratchfile /var/lock/muddleftpd.scratch # set the list of vserver muddleftpd is to use vserver a1 vserver a2 vserver a3 vserver a4 vserver a5 vserver a6 vserver a7 vserver a8 vserver a9 vserver a10 vserver a11 vserver a12 vserver a13 vserver a14 vserver a15 vserver a16 vserver a17 vserver a18 vserver a19 vserver a20 vserver a21 vserver a22 vserver a23 vserver a24 vserver a25 vserver a26 vserver a27 vserver a28 vserver a29 vserver a30 vserver a31 vserver a32 vserver a33 vserver a34 vserver a35 vserver a36 vserver a37 vserver a38 vserver a39 vserver a40 vserver a41 vserver a42 vserver a43 vserver a44 vserver a45 vserver a46 vserver a47 vserver a48 vserver a49 vserver a50 vserver a51 vserver a52 vserver a53 vserver a54 vserver a55 vserver a56 vserver a57 vserver a58 vserver a59 vserver a60 vserver a61 vserver a62 vserver a63 vserver a64 vserver a65 vserver a66 vserver a67 vserver a68 vserver a69 vserver a70 vserver a71 vserver a72 vserver a73 vserver a74 vserver a75 vserver a76 vserver a77 vserver a78 vserver a79 vserver a80 vserver a81 vserver a82 vserver a83 vserver a84 vserver a85 vserver a86 vserver a87 vserver a88 vserver a89 vserver a90 vserver a91 vserver a92 vserver a93 vserver a94 vserver a95 vserver a96 vserver a97 vserver a98 vserver a99 vserver a100 vserver b1 vserver b2 vserver b3 vserver b4 vserver b5 vserver b6 vserver b7 vserver b8 vserver b9 vserver b10 vserver b11 vserver b12 vserver b13 vserver b14 vserver b15 vserver b16 vserver b17 vserver b18 vserver b19 vserver b20 vserver b21 vserver b22 vserver b23 vserver b24 vserver b25 vserver b26 vserver b27 vserver b28 vserver b29 vserver b30 vserver b31 vserver b32 vserver b33 vserver b34 vserver b35 vserver b36 vserver b37 vserver b38 vserver b39 vserver b40 # set the server to use smartbind, which can significantly reduce # the number of file descriptors needed by the server smartbind 1 greeting Welcome to %V (%v). Enter username to continue. #---------------------------------------------------------- # This is a simple template for each virtual server. [section] vserver_template ipacl A:* group badusers group anonymous group realusers maxusers 100 #---------------------------------------------------------- # This is the virtual server diffinitions [section] a1 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.50 [section] a2 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.51 [section] a3 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.52 [section] a4 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.53 [section] a5 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.54 [section] a6 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.55 [section] a7 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.56 [section] a8 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.57 [section] a9 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.58 [section] a10 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.59 [section] a11 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.60 [section] a12 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.61 [section] a13 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.62 [section] a14 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.63 [section] a15 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.64 [section] a16 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.65 [section] a17 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.66 [section] a18 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.67 [section] a19 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.68 [section] a20 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.69 [section] a21 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.70 [section] a22 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.71 [section] a23 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.72 [section] a24 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.73 [section] a25 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.74 [section] a26 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.75 [section] a27 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.76 [section] a28 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.77 [section] a29 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.78 [section] a30 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.79 [section] a31 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.80 [section] a32 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.81 [section] a33 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.82 [section] a34 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.83 [section] a35 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.84 [section] a36 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.85 [section] a37 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.86 [section] a38 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.87 [section] a39 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.88 [section] a40 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.89 [section] a41 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.90 [section] a42 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.91 [section] a43 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.92 [section] a44 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.93 [section] a45 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.94 [section] a46 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.95 [section] a47 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.96 [section] a48 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.97 [section] a49 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.98 [section] a50 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.99 [section] a51 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.100 [section] a52 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.101 [section] a53 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.102 [section] a54 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.103 [section] a55 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.104 [section] a56 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.105 [section] a57 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.106 [section] a58 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.107 [section] a59 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.108 [section] a60 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.109 [section] a61 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.110 [section] a62 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.111 [section] a63 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.112 [section] a64 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.113 [section] a65 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.114 [section] a66 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.115 [section] a67 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.116 [section] a68 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.117 [section] a69 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.118 [section] a70 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.119 [section] a71 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.120 [section] a72 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.121 [section] a73 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.122 [section] a74 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.123 [section] a75 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.124 [section] a76 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.125 [section] a77 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.126 [section] a78 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.127 [section] a79 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.128 [section] a80 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.129 [section] a81 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.130 [section] a82 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.131 [section] a83 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.132 [section] a84 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.133 [section] a85 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.134 [section] a86 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.135 [section] a87 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.136 [section] a88 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.137 [section] a89 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.138 [section] a90 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.139 [section] a91 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.140 [section] a92 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.141 [section] a93 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.142 [section] a94 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.143 [section] a95 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.144 [section] a96 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.145 [section] a97 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.146 [section] a98 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.147 [section] a99 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.148 [section] a100 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.149 [section] b1 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.150 [section] b2 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.151 [section] b3 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.152 [section] b4 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.153 [section] b5 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.154 [section] b6 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.155 [section] b7 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.156 [section] b8 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.157 [section] b9 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.158 [section] b10 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.159 [section] b11 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.160 [section] b12 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.161 [section] b13 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.162 [section] b14 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.163 [section] b15 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.164 [section] b16 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.165 [section] b17 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.166 [section] b18 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.167 [section] b19 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.168 [section] b20 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.169 [section] b21 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.170 [section] b22 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.171 [section] b23 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.172 [section] b24 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.173 [section] b25 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.174 [section] b26 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.175 [section] b27 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.176 [section] b28 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.177 [section] b29 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.178 [section] b30 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.179 [section] b31 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.180 [section] b32 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.181 [section] b33 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.182 [section] b34 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.183 [section] b35 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.184 [section] b36 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.185 [section] b37 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.186 [section] b38 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.187 [section] b39 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.188 [section] b40 include vserver_template hostname external.somewhere.net ftpport 21/10.1.1.189 #---------------------------------------------------------- # This configures badusers. It catches any bad usernames that # should not be logged into [section] badusers # tell it to accept the usernames root, uucp and news nameacl A:realuser-root nameacl A:realuser-uucp nameacl A:realuser-news # accept these usernames from any host. ipacl A:* # tell the server these usernames are disabled authmethod disabled # set the maxuser count of this group to 0 so it isn't # added to the stats maxusers 0 #---------------------------------------------------------- # This configures the anonymous user. # Note: if the following doesn't work, then your computer # needs the ftp user to be set. [section] anonymous # tell the group that is can accept any host ipacl A:* # tell the server to accept anonymous or ftp for this group nameacl A:anonymous nameacl A:ftp # tell the server to use chroot to the anonymous rootdir chroot 1 # tell the server to use the ftp user as the anonymous rootdir # and uid/gid authparams ftp # tell the server to use the anonymous authenticator, and # accept any password. authmethod anonymous # use rootdir with vserver component rootdir %r/%v # disallow any changes to file permissions or upload umask chmoding 0 # print out this file when the user logs in. It is not relative # to anonymous's rootdir welcome /home/ftp/welcome.msg # display this file when a user changes into a new directory cddump .message # display this file when too many users are logged on busydump /etc/msgs/msg.toomany # set the umask files are uploaded with umask 077 # give anonymous user read/list access everywhere and add/list access # to the incoming folder. The / on the end of the second directive # tells muddleftpd to apply ACL to a directory rather than a file. access /:RLC access /incoming/:ALC # limit the size of this group so localusers can log in too maxusers 100 # set the niceness of anonymous users to 10 nice 10 #---------------------------------------------------------- # This configures the normal users. [section] realusers # tell the group that it can accept any host that the last group # didn't get ipacl A:* # tell the server to accept any username for this group nameacl A:realuser-* # tell the server to use chroot to the user's rootdir chroot 1 # set the users rootdir to their homedir, to lock them in there rootdir %h # set the users homedir to /, so he ends up in his own homedir homedir / # tell the server to use the unix authenticator, useful against # normal password files authuser %(9,100)U authmethod unix # give normal users full access to their userspace access /:ALL # allow server-server transfers with localusers fxpallow 1