# This is a basic ProFTPD configuration file (rename it to # 'proftpd.conf' for actual use. It establishes a single server # and a single anonymous login. It assumes that you have a user/group # "nobody" and "ftp" for normal operation and anon. ServerName "Serveur ftp pour photos :)" ServerType standalone DefaultServer on # Allow FTP resuming. # Remember to set to off if you have an incoming ftp for upload. AllowStoreRestart on # Port 21 is the standard FTP port. Port 21 # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. Umask 022 # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd). MaxInstances 30 # Set the user and group under which the server will run. User nobody Group nogroup # To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. #DefaultRoot ~ DefaultRoot /var/ftp # Normally, we want files to be overwriteable. AllowOverwrite on # Bar use of SITE CHMOD by default DenyAll # Needed for NIS. PersistentPasswd off # Default root can be used to put users in a chroot environment. # As an example if you have a user foo and you want to put foo in /home/foo # chroot environment you would do this: # # DefaultRoot ~ DefaultChdir /var/ftp/pub/ DefaultRoot ~ DeleteAbortedStores off HiddenStor off AccessGrantMsg " -- Guest access granted for %u --" #drakwizard_proftpd Order allow,deny Allow from all Deny from all #drakwizard_proftpd ServerAdmin pvprie@gmail.com RootLogin off AllowForeignAddress off AllowRetrieveRestart on DirFakeUser off nobody LogFormat auth "%v [%P] %h %t "%r" %s" Extendedlog /var/log/proftpd/ftp.log UseReverseDNS off LogFormat default "%h %l %u %t "%r" %s %b" SystemLog /var/log/proftpd/proftpd.log DisplayConnect /etc/banner-proftpd DirFakeGroup off nobody IdentLookups off DeferWelcome on TimesGMT off TransferLog /var/log/proftpd/xferlog ServerIdent off LogFormat write "%h %l %u %t "%r" %s %b" AccessDenyMsg " !-!! ACCESS DENY !!-! SEEMS YOU HAVE NO RIGHT THERE !!" AccessGrantMsg "Bienvenue %u sur le serveur de PV...." DeferWelcome on