Problema acesso FTP externo (421 Login Incorrect)

1. Problema acesso FTP externo (421 Login Incorrect)

Mateus Augusto Saggin
mateus_zorba

(usa Debian)

Enviado em 10/12/2014 - 15:06h

Galera ja procurei por tudo que eh site e em todo o forum e nao consegui configurar o meu servidor ftp. O erro que me retorna eh 421 login incorrect. Could not connect to server.

Arquivo proftpd.conf

#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 off

ServerName "Saggin FTP"
ServerType standalone
DeferWelcome off
ServerIdent off
AllowForeignAddress on

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayChdir .message
ListOptions "-l"

DenyFilter \*.*/

# Port 21 is the standard FTP port.
Port 21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
PassivePorts 52000 55000

# 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 37

# Set the user and group that the server normally runs at.
User proftpd
Group nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 111 000
# Normally, we want files to be overwriteable.
AllowOverwrite on

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
# PersistentPasswd off

# Be warned: use of this directive impacts CPU average load!
#
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
# UseSendFile off

TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
DefaultRoot ~

<IfModule mod_tls.c>
TLSEngine off
</IfModule>

<IfModule mod_quota.c>
QuotaEngine on
</IfModule>

<IfModule mod_ratio.c>
Ratios off
</IfModule>


# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
ControlsEngine on
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine on
</IfModule>

# A basic anonymous configuration, no upload directories.

# <Anonymous ~ftp>
# User ftp
# Group nogroup
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
# # Cosmetic changes, all files belongs to ftp user
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# RequireValidShell off
#
# # Limit the maximum number of anonymous logins
# MaxClients 10
#
# # We want 'welcome.msg' displayed at login, and '.message' displayed
# # in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayFirstChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Directory *>
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>
#
# # Uncomment this if you're brave.
# # <Directory incoming>
# # # Umask 022 is a good standard umask to prevent new files and dirs
# # # (second parm) from being group and world writable.
# # Umask 022 022
# # <Limit READ WRITE>
# # DenyAll
# # </Limit>
# # <Limit STOR>
# # AllowAll
# # </Limit>
# # </Directory>
#
# </Anonymous>
<Global>
DefaultRoot ~
RequireValidShell off

</Global>


SystemLog?

Dez 10 14:38:27 SagginSrv proftpd[31530] SagginSrv: ProFTPD 1.3.1 (stable) (built Wed Nov 16 10:29:31 UTC 2011) standalone mode STARTUP
Dez 10 14:39:33 SagginSrv proftpd[31530] SagginSrv: ProFTPD killed (signal 15)
Dez 10 14:39:33 SagginSrv proftpd[31530] SagginSrv: ProFTPD 1.3.1 standalone mode SHUTDOWN
Dez 10 14:39:35 SagginSrv proftpd[31808] SagginSrv: ProFTPD 1.3.1 (stable) (built Wed Nov 16 10:29:31 UTC 2011) standalone mode STARTUP
Dez 10 14:45:13 SagginSrv proftpd[31808] SagginSrv: ProFTPD killed (signal 15)
Dez 10 14:45:13 SagginSrv proftpd[31808] SagginSrv: ProFTPD 1.3.1 standalone mode SHUTDOWN
Dez 10 14:45:15 SagginSrv proftpd[549] SagginSrv: ProFTPD 1.3.1 (stable) (built Wed Nov 16 10:29:31 UTC 2011) standalone mode STARTUP
Dez 10 14:51:55 SagginSrv proftpd[549] SagginSrv: ProFTPD killed (signal 15)
Dez 10 14:51:55 SagginSrv proftpd[549] SagginSrv: ProFTPD 1.3.1 standalone mode SHUTDOWN
Dez 10 14:51:57 SagginSrv proftpd[1965] SagginSrv: ProFTPD 1.3.1 (stable) (built Wed Nov 16 10:29:31 UTC 2011) standalone mode STARTUP
Dez 10 14:53:55 SagginSrv proftpd[1965] SagginSrv: ProFTPD killed (signal 15)
Dez 10 14:53:55 SagginSrv proftpd[1965] SagginSrv: ProFTPD 1.3.1 standalone mode SHUTDOWN
Dez 10 14:53:57 SagginSrv proftpd[2409] SagginSrv: ProFTPD 1.3.1 (stable) (built Wed Nov 16 10:29:31 UTC 2011) standalone mode STARTUP
Dez 10 14:58:17 SagginSrv proftpd[2409] SagginSrv: ProFTPD killed (signal 15)
Dez 10 14:58:17 SagginSrv proftpd[2409] SagginSrv: ProFTPD 1.3.1 standalone mode SHUTDOWN
Dez 10 14:58:19 SagginSrv proftpd[3425] SagginSrv: ProFTPD 1.3.1 (stable) (built Wed Nov 16 10:29:31 UTC 2011) standalone mode STARTUP
Dez 10 14:58:24 SagginSrv proftpd[3425] SagginSrv: ProFTPD killed (signal 15)
Dez 10 14:58:24 SagginSrv proftpd[3425] SagginSrv: ProFTPD 1.3.1 standalone mode SHUTDOWN
Dez 10 15:06:09 SagginSrv proftpd[15378] SagginSrv: ProFTPD 1.3.1 (stable) (built Wed Nov 16 10:29:31 UTC 2011) standalone mode STARTUP
Dez 10 15:11:13 SagginSrv proftpd[15378] SagginSrv: ProFTPD killed (signal 15)
Dez 10 15:11:13 SagginSrv proftpd[15378] SagginSrv: ProFTPD 1.3.1 standalone mode SHUTDOWN
Dez 10 15:12:00 SagginSrv proftpd[17456] SagginSrv: ProFTPD 1.3.1 (stable) (built Wed Nov 16 10:29:31 UTC 2011) standalone mode STARTUP
Dez 10 15:16:22 SagginSrv proftpd[18889] SagginSrv (191.251.34.119[191.251.34.119]): FTP session opened.
Dez 10 15:16:22 SagginSrv proftpd[18889] SagginSrv (191.251.34.119[191.251.34.119]): USER laboratorio: Login successful.
Dez 10 17:16:22 SagginSrv proftpd[18889] SagginSrv (191.251.34.119[191.251.34.119]): Preparing to chroot to directory '/srv/ftp/laboratorio'
Dez 10 15:17:18 SagginSrv proftpd[17456] SagginSrv: ProFTPD killed (signal 15)
Dez 10 15:17:18 SagginSrv proftpd[17456] SagginSrv: ProFTPD 1.3.1 standalone mode SHUTDOWN
Dez 10 17:17:18 SagginSrv proftpd[18889] SagginSrv (191.251.34.119[191.251.34.119]): FTP session closed.
Dez 10 15:17:24 SagginSrv proftpd[19059] SagginSrv (191.251.34.119[191.251.34.119]): FTP session closed.
Dez 10 15:17:45 SagginSrv proftpd[19229] SagginSrv: ProFTPD 1.3.1 (stable) (built Wed Nov 16 10:29:31 UTC 2011) standalone mode STARTUP
Dez 10 15:18:03 SagginSrv proftpd[19258] SagginSrv (191.251.34.119[191.251.34.119]): FTP session opened.
Dez 10 15:18:04 SagginSrv proftpd[19258] SagginSrv (191.251.34.119[191.251.34.119]): USER laboratorio: Login successful.
Dez 10 17:18:04 SagginSrv proftpd[19258] SagginSrv (191.251.34.119[191.251.34.119]): Preparing to chroot to directory '/srv/ftp/laboratorio'
Dez 10 15:20:12 SagginSrv proftpd[19742] SagginSrv (191.251.34.119[191.251.34.119]): FTP session opened.
Dez 10 15:20:21 SagginSrv proftpd[19742] SagginSrv (191.251.34.119[191.251.34.119]): USER laboratorio: Login successful.
Dez 10 17:20:21 SagginSrv proftpd[19742] SagginSrv (191.251.34.119[191.251.34.119]): Preparing to chroot to directory '/srv/ftp/laboratorio'
Dez 10 17:21:29 SagginSrv proftpd[19742] SagginSrv (191.251.34.119[191.251.34.119]): FTP session closed.


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts