|
Bonjour,
je rencontre un probl�me d'acc�s ftp. Je voudrais
juste pouvoir uploader des fichiers dans le r�pertoire apache.
J'utilise Proftp et xinetd. Le service se lance
bien avec xinetd (v�rifier avec nmap), qui autorise les acc�s uniquement �
partir du r�seau priv� (193.168.1.0).
Proftp ne m'accepte pas en local (depuis le
serveur), depuis un client je suis refus�. Voici mon .conf, si vous avez une
id�e :
###################################################################################################
# This is the ProFTPD configuration
file
ServerName "ProFTPD
server"
ServerIdent on "FTP Server ready." ServerAdmin [EMAIL PROTECTED] ServerType xinetd DefaultServer on AccessGrantMsg "User %u logged in." AuthUserFile /etc/proftpd.passwd
# Do not perform ident nor DNS lookups (hangs when
the port is
filtered)
IdentLookups off UseReverseDNS off # 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 # Default to show dot files in directory
listings
ListOptions "-a" # Allow to resume not only the downloads but the
uploads
too
AllowRetrieveRestart on AllowStoreRestart on # 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 20 # Set the user and group that the server normally
runs
at.
User ftp Group ftp # This is where we want to put the pid
file
ScoreboardFile /var/run/proftpd.score # Normally, we want users to do a few things. <Global> AllowOverwrite yes <Limit ALL SITE_CHMOD> AllowAll </Limit> </Global> # <Directory /var/www/html/*>
# AllowOverwrite yes # # <Limit STOR> # AllowAll # </Limit> #</Directory> <Anonymous /var/www/html >
User ftp Group ftp UserAlias anonymous ftp
# Put the user into /pub right after
login
DefaultChdir /pub # Limit WRITE everywhere in the anonymous chroot
<Limit WRITE SITE_CHMOD> AllowAll </Limit> <Directory /var/www/html/*> AllowOverwrite yes <Limit READ> DenyAll </Limit> <Limit STOR>
AllowAll </Limit> </Directory> </Anonymous> # Define the log formats
LogFormat default "%h %l %u %t \"%r\" %s %b" LogFormat auth "%v [%P] %h %t \"%r\" %s" LogFormat write "%h %l %u %t \"%r\" %s %b" ###################################################################################################
|

