danilorocha64
(usa Debian)
Enviado em 13/11/2010 - 19:00h
Pessoal, estou tentando subir um servidor ftp, porém o mesmo não lista os arquivos na rede externa ! Estou usando a porta 2121 porque a OI bloqueas certas portas e usuários anonymous !
Esse é meu proftpd.conf :
#/etc/proftpd/proftpd.conf
#Passive Mode
MasqueradeAddress linkdorato.no-ip.org
<Global>
PassivePorts 7071 7100
</Global>
ServerName "DANILO | FTP SERVER"
ServerAdmin danilorocha64@gmail.com
ServerType standalone
DefaultServer on
Port 2121
User nobody
MaxClientsPerHost 5
MaxInstances 50
TimeoutStalled 300
TimeoutNoTransfer 600
AuthPAM off
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
<Global>
DefaultRoot ~
DefaultTransferMode binary
DisplayLogin .welcome.msg
MaxClients 5
</Global>
<Limit LOGIN>
Order Deny,Allow
Allow from all
</Limit>
<Directory /webroot>
AllowOverwrite on
</Directory>
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
RequireValidShell off
DisplayLogin welcome.msg
AllowOverwrite off
PathAllowFilter "^[-A-Za-z0-9._+]*$"
PathDenyFilter "(^|/)[-.]"
AllowFilter "^[a-zA-Z0-9 .,/_+\-]*$"
<Directory incoming>
Umask 0133 0444
<Limit RMD DELE SITE_CHMOD RNFR>
DenyAll
</Limit>
<Limit CWD MKD STOR RETR STAT>
AllowAll
</Limit>
</Directory>
<Directory incoming/*/*>
Umask 0133
<Limit MKD RNFR DELE RMD SITE_CHMOD>
DenyAll
</Limit>
<Limit CWD RETR STAT>
AllowAll
</Limit>
</Directory>
</Anonymous>
Esse é o log do
http://ftptest.net :
Status: Resolving address of linkdorato.no-ip.org
Status: Connecting to 189.74.47.13
Status: Connected, waiting for welcome message
Reply: 220 ProFTPD 1.3.2e Server (DANILO | FTP SERVER) [189.74.47.13]
Command: CLNT
http://ftptest.net on behalf of 189.74.47.13
Reply: 500 CLNT not understood
Command: USER anonymous
Reply: 331 Anonymous login ok, send your complete email address as your password
Command: PASS anonymous@189.74.47.13
Reply: 230-Welcome, archive user anonymous@www2.filezilla-project.org !
Reply:
Reply: The local time is: Sat Nov 13 20:53:54 2010
Reply:
Reply: This is an experimental FTP server. If you have any unusual problems,
Reply: please report them via e-mail to <root@189.74.47.13>.
Reply:
Reply: 230 Anonymous access granted, restrictions apply
Command: SYST
Reply: 215 UNIX Type: L8
Command: FEAT
Reply: 211-Features:
Reply: MDTM
Reply: MFMT
Reply: UTF8
Reply: MFF modify;UNIX.group;UNIX.mode;
Reply: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Reply: REST STREAM
Reply: LANG pt-BR.UTF-8*
Reply: SIZE
Reply: 211 End
Command: PWD
Reply: 257 "/" is the current directory
Status: Current path is /
Command: TYPE I
Reply: 200 Type set to I
Command: PASV
Reply: 227 Entering Passive Mode (189,74,47,13,27,160).
Command: MLSD
Error: Connection timed out
E fala ainda :
Error: Connection timed out
* Timeouts are usually caused by some router and/or firewall that is interrupting the connection.
* Try uninstalling all firewalls and plug your computer directly into your modem, thus bypassing the router.
Esse é o log do Filezilla:
Status: Resolving address of linkdorato.no-ip.org
Status: Connecting to 189.74.47.13:2121...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server
Status: Waiting to retry...
Status: Resolving address of linkdorato.no-ip.org
Status: Connecting to 189.74.47.13:2121...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server