Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 19/09/2010, à 13:10

Titan06

Probléme Proftpd

Bonjour voila j'ai proftpd et gadmin sur la 10.4

quant je me connecte a mon ftp avec filezila sa me log bien mes je vois pas mes fichier ni dossier
et dans filezila j'ai cette erreur

Commande :    MLSD
Réponse :    505 Command was blocked. Contact admin.
Erreur :    Échec lors de la récupération du contenu du dossier

merci pour votre aide

Hors ligne

#2 Le 19/09/2010, à 18:13

YannTech

Re : Probléme Proftpd

question déjà posté par toi même, ne fais pas de double post #3734685.
Gadmin à du effectuer une modification.

Essai d'ajouter MLSD dans ton allow
<Limit LIST NLST  STOR STOU  APPE  RETR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
AllowAll
</Limit>

ou commente dans un premier temps ceci :

<Limit RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
DenyAll
</Limit>


et ferme l'autre post wink

Hors ligne

#3 Le 20/09/2010, à 07:46

Titan06

Re : Probléme Proftpd

salut oui j'ai re crée le topic vue que j'avez aucune réponse je me suis dit que j'ai du mal formulé mon premier topic

MLSD quant je le rajoute comme tu a dit sa fait rien

quant je # la ligne

<Limit RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
DenyAll
</Limit>

sa me dit quant je re lance proftpd
- Fatal: </Anonymous>: directive not allowed in <Limit> context on line 84 of '/etc/proftpd/proftpd.conf'

mon fichier conf

ModulePath /usr/lib/proftpd
ServerType standalone
DefaultServer on
Umask 022
ServerName "XX.XX.XX.XX"
ServerIdent on "maison"
ServerAdmin email@example.org
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
DisplayChdir .message
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 220
TransferRate STOR 250
TransferRate STOU 250
TransferRate APPE 250
SystemLog /var/log/secure
RequireValidShell off
<IfModule mod_auth_pam.c>
AuthPAM off
</IfModule>
AuthUserFile /etc/gadmin-proftpd/users/proftpd.passwd
AuthGroupFile /etc/gadmin-proftpd/users/proftpd.group
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol SSLv23
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
TLSRenegotiate required off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
  AllowUser titan06
  DenyALL
</Limit>

<Anonymous /home/ftp>
User titan06
Group ftp
AnonRequirePassword on
MaxClients 10 "The server is full, hosting %m users"
DisplayLogin welcome.msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST  STOR STOU  APPE  RETR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

Dernière modification par Titan06 (Le 20/09/2010, à 07:53)

Hors ligne